Remove @cosmjs/launchpad dependency

This commit is contained in:
Simon Warta 2022-01-10 16:42:49 +01:00
parent 42e30d37c1
commit c8a72504e4
3 changed files with 2 additions and 32 deletions

View File

@ -1,12 +1,12 @@
import axios from "axios";
import { coins } from "@cosmjs/launchpad";
import { coins } from "@cosmjs/amino";
import { calculateFee } from "@cosmjs/stargate";
import React from "react";
import { withRouter } from "next/router";
import Button from "../../components/inputs/Button";
import Input from "../../components/inputs/Input";
import StackableContainer from "../layout/StackableContainer";
import { calculateFee } from "@cosmjs/stargate";
class TransactionForm extends React.Component {
constructor(props) {

29
package-lock.json generated
View File

@ -8,7 +8,6 @@
"dependencies": {
"@cosmjs/amino": "^0.27.0",
"@cosmjs/encoding": "^0.27.0",
"@cosmjs/launchpad": "^0.27.0",
"@cosmjs/math": "^0.27.0",
"@cosmjs/proto-signing": "^0.27.0",
"@cosmjs/stargate": "^0.27.0",
@ -153,20 +152,6 @@
"xstream": "^11.14.0"
}
},
"node_modules/@cosmjs/launchpad": {
"version": "0.27.0",
"resolved": "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.27.0.tgz",
"integrity": "sha512-V8pK3jNvLw/2jf0DK0uD0fN0qUgh+v04NxSNIdRxyn2sdZ8CkD1L+FeKM5mGEn9vreSHOD4Z9pRy2s2roD/tEw==",
"dependencies": {
"@cosmjs/amino": "0.27.0",
"@cosmjs/crypto": "0.27.0",
"@cosmjs/encoding": "0.27.0",
"@cosmjs/math": "0.27.0",
"@cosmjs/utils": "0.27.0",
"axios": "^0.21.2",
"fast-deep-equal": "^3.1.3"
}
},
"node_modules/@cosmjs/math": {
"version": "0.27.0",
"resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.27.0.tgz",
@ -3734,20 +3719,6 @@
"xstream": "^11.14.0"
}
},
"@cosmjs/launchpad": {
"version": "0.27.0",
"resolved": "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.27.0.tgz",
"integrity": "sha512-V8pK3jNvLw/2jf0DK0uD0fN0qUgh+v04NxSNIdRxyn2sdZ8CkD1L+FeKM5mGEn9vreSHOD4Z9pRy2s2roD/tEw==",
"requires": {
"@cosmjs/amino": "0.27.0",
"@cosmjs/crypto": "0.27.0",
"@cosmjs/encoding": "0.27.0",
"@cosmjs/math": "0.27.0",
"@cosmjs/utils": "0.27.0",
"axios": "^0.21.2",
"fast-deep-equal": "^3.1.3"
}
},
"@cosmjs/math": {
"version": "0.27.0",
"resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.27.0.tgz",

View File

@ -8,7 +8,6 @@
"dependencies": {
"@cosmjs/amino": "^0.27.0",
"@cosmjs/encoding": "^0.27.0",
"@cosmjs/launchpad": "^0.27.0",
"@cosmjs/math": "^0.27.0",
"@cosmjs/proto-signing": "^0.27.0",
"@cosmjs/stargate": "^0.27.0",