From c8a72504e4aa572a4ea3cca0e2d58d0e185b538d Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Mon, 10 Jan 2022 16:42:49 +0100 Subject: [PATCH] Remove @cosmjs/launchpad dependency --- components/forms/TransactionForm.js | 4 ++-- package-lock.json | 29 ----------------------------- package.json | 1 - 3 files changed, 2 insertions(+), 32 deletions(-) diff --git a/components/forms/TransactionForm.js b/components/forms/TransactionForm.js index c7e5236..4beec76 100644 --- a/components/forms/TransactionForm.js +++ b/components/forms/TransactionForm.js @@ -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) { diff --git a/package-lock.json b/package-lock.json index 20f78dd..a4e3531 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index 5285699..ce93d0b 100644 --- a/package.json +++ b/package.json @@ -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",