From 46680298c88bad12793206a32193bb0f104ce727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abel=20Fern=C3=A1ndez?= Date: Tue, 15 Sep 2020 10:06:53 +0200 Subject: [PATCH 1/6] Add Decimal.minus() implementation --- packages/math/src/decimal.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/packages/math/src/decimal.ts b/packages/math/src/decimal.ts index ffedd0ed..0d4f1e0a 100644 --- a/packages/math/src/decimal.ts +++ b/packages/math/src/decimal.ts @@ -124,6 +124,19 @@ export class Decimal { return new Decimal(sum.toString(), this.fractionalDigits); } + /** + * a.minus(b) returns a-b. + * + * Both values need to have the same fractional digits. + * The resulting difference needs to be non-negative. + */ + public minus(b: Decimal): Decimal { + if (this.fractionalDigits !== b.fractionalDigits) throw new Error("Fractional digits do not match"); + const difference = this.data.atomics.sub(new BN(b.atomics)); + if (difference.ltn(0)) throw new Error("Difference must not be negative"); + return new Decimal(difference.toString(), this.fractionalDigits); + } + public equals(b: Decimal): boolean { return Decimal.compare(this, b) === 0; } From 0975afcb4a011b0ca3a30c988967547b1e2bc3d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abel=20Fern=C3=A1ndez?= Date: Tue, 15 Sep 2020 10:07:10 +0200 Subject: [PATCH 2/6] Add Decimal.minus() unit tests --- packages/math/src/decimal.spec.ts | 48 +++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/packages/math/src/decimal.spec.ts b/packages/math/src/decimal.spec.ts index b0e1803b..fee086e9 100644 --- a/packages/math/src/decimal.spec.ts +++ b/packages/math/src/decimal.spec.ts @@ -211,6 +211,54 @@ describe("Decimal", () => { }); }); + describe("minus", () => { + it("returns correct values", () => { + const zero = Decimal.fromUserInput("0", 5); + expect(Decimal.fromUserInput("0", 5).minus(zero).toString()).toEqual("0"); + expect(Decimal.fromUserInput("1", 5).minus(zero).toString()).toEqual("1"); + expect(Decimal.fromUserInput("2", 5).minus(zero).toString()).toEqual("2"); + expect(Decimal.fromUserInput("2.8", 5).minus(zero).toString()).toEqual("2.8"); + expect(Decimal.fromUserInput("0.12345", 5).minus(zero).toString()).toEqual("0.12345"); + + const one = Decimal.fromUserInput("1", 5); + expect(Decimal.fromUserInput("1", 5).minus(one).toString()).toEqual("0"); + expect(Decimal.fromUserInput("2", 5).minus(one).toString()).toEqual("1"); + expect(Decimal.fromUserInput("3", 5).minus(one).toString()).toEqual("2"); + expect(Decimal.fromUserInput("3.8", 5).minus(one).toString()).toEqual("2.8"); + expect(Decimal.fromUserInput("1.12345", 5).minus(one).toString()).toEqual("0.12345"); + + const oneDotFive = Decimal.fromUserInput("1.5", 5); + expect(Decimal.fromUserInput("1.5", 5).minus(oneDotFive).toString()).toEqual("0"); + expect(Decimal.fromUserInput("2.5", 5).minus(oneDotFive).toString()).toEqual("1"); + expect(Decimal.fromUserInput("3.5", 5).minus(oneDotFive).toString()).toEqual("2"); + expect(Decimal.fromUserInput("4.3", 5).minus(oneDotFive).toString()).toEqual("2.8"); + expect(Decimal.fromUserInput("1.62345", 5).minus(oneDotFive).toString()).toEqual("0.12345"); + + // original value remain unchanged + expect(zero.toString()).toEqual("0"); + expect(one.toString()).toEqual("1"); + expect(oneDotFive.toString()).toEqual("1.5"); + }); + + it("throws for different fractional digits", () => { + const zero = Decimal.fromUserInput("0", 5); + expect(() => Decimal.fromUserInput("1", 1).minus(zero)).toThrowError(/do not match/i); + expect(() => Decimal.fromUserInput("1", 2).minus(zero)).toThrowError(/do not match/i); + expect(() => Decimal.fromUserInput("1", 3).minus(zero)).toThrowError(/do not match/i); + expect(() => Decimal.fromUserInput("1", 4).minus(zero)).toThrowError(/do not match/i); + + expect(() => Decimal.fromUserInput("1", 6).minus(zero)).toThrowError(/do not match/i); + expect(() => Decimal.fromUserInput("1", 7).minus(zero)).toThrowError(/do not match/i); + }); + + it("throws for negative results", () => { + const one = Decimal.fromUserInput("1", 5); + expect(() => Decimal.fromUserInput("0", 5).minus(one)).toThrowError(/must not be negative/i); + expect(() => Decimal.fromUserInput("0.5", 5).minus(one)).toThrowError(/must not be negative/i); + expect(() => Decimal.fromUserInput("0.98765", 5).minus(one)).toThrowError(/must not be negative/i); + }); + }); + describe("equals", () => { it("returns correct values", () => { const zero = Decimal.fromUserInput("0", 5); From eeec000076c63db51a01515f7dea4a737bcf7bd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Abel=20Fern=C3=A1ndez?= Date: Tue, 15 Sep 2020 10:08:00 +0200 Subject: [PATCH 3/6] Add Decimal.minus() to declaration file --- packages/math/types/decimal.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/math/types/decimal.d.ts b/packages/math/types/decimal.d.ts index 0642fa07..123da718 100644 --- a/packages/math/types/decimal.d.ts +++ b/packages/math/types/decimal.d.ts @@ -24,6 +24,13 @@ export declare class Decimal { * Both values need to have the same fractional digits. */ plus(b: Decimal): Decimal; + /** + * a.minus(b) returns a-b. + * + * Both values need to have the same fractional digits. + * The resulting difference needs to be non-negative. + */ + minus(b: Decimal): Decimal; equals(b: Decimal): boolean; isLessThan(b: Decimal): boolean; isLessThanOrEqual(b: Decimal): boolean; From b26541aa6a168f9b85d631aaf605b4ff386d3d15 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Tue, 15 Sep 2020 10:18:17 +0200 Subject: [PATCH 4/6] Add 0.22.3 CHANGELOG entry --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0924b41b..8bdda6b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 0.22.3 (2020-09-15) + +- @cosmjs/math: Add `Decimal.minus`. + ## 0.22.2 (2020-08-11) - @cosmjs/faucet: Log errors for failed send transactions. From 14bdb589437b4191f239ac0e0d3a97111455522a Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Tue, 15 Sep 2020 10:23:02 +0200 Subject: [PATCH 5/6] Add nonces --- packages/cli/nonces/1600158182 | 0 packages/cosmwasm/nonces/1600158182 | 0 packages/crypto/nonces/1600158182 | 0 packages/demo-staking/nonces/1600158182 | 0 packages/encoding/nonces/1600158182 | 0 packages/faucet/nonces/1600158182 | 0 packages/json-rpc/nonces/1600158182 | 0 packages/launchpad/nonces/1600158182 | 0 packages/math/nonces/1600158182 | 0 packages/proto-signing/nonces/1600158182 | 0 packages/sdk40/nonces/1600158182 | 0 packages/socket/nonces/1600158182 | 0 packages/stream/nonces/1600158182 | 0 packages/tendermint-rpc/nonces/1600158182 | 0 packages/utils/nonces/1600158182 | 0 15 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 packages/cli/nonces/1600158182 create mode 100644 packages/cosmwasm/nonces/1600158182 create mode 100644 packages/crypto/nonces/1600158182 create mode 100644 packages/demo-staking/nonces/1600158182 create mode 100644 packages/encoding/nonces/1600158182 create mode 100644 packages/faucet/nonces/1600158182 create mode 100644 packages/json-rpc/nonces/1600158182 create mode 100644 packages/launchpad/nonces/1600158182 create mode 100644 packages/math/nonces/1600158182 create mode 100644 packages/proto-signing/nonces/1600158182 create mode 100644 packages/sdk40/nonces/1600158182 create mode 100644 packages/socket/nonces/1600158182 create mode 100644 packages/stream/nonces/1600158182 create mode 100644 packages/tendermint-rpc/nonces/1600158182 create mode 100644 packages/utils/nonces/1600158182 diff --git a/packages/cli/nonces/1600158182 b/packages/cli/nonces/1600158182 new file mode 100644 index 00000000..e69de29b diff --git a/packages/cosmwasm/nonces/1600158182 b/packages/cosmwasm/nonces/1600158182 new file mode 100644 index 00000000..e69de29b diff --git a/packages/crypto/nonces/1600158182 b/packages/crypto/nonces/1600158182 new file mode 100644 index 00000000..e69de29b diff --git a/packages/demo-staking/nonces/1600158182 b/packages/demo-staking/nonces/1600158182 new file mode 100644 index 00000000..e69de29b diff --git a/packages/encoding/nonces/1600158182 b/packages/encoding/nonces/1600158182 new file mode 100644 index 00000000..e69de29b diff --git a/packages/faucet/nonces/1600158182 b/packages/faucet/nonces/1600158182 new file mode 100644 index 00000000..e69de29b diff --git a/packages/json-rpc/nonces/1600158182 b/packages/json-rpc/nonces/1600158182 new file mode 100644 index 00000000..e69de29b diff --git a/packages/launchpad/nonces/1600158182 b/packages/launchpad/nonces/1600158182 new file mode 100644 index 00000000..e69de29b diff --git a/packages/math/nonces/1600158182 b/packages/math/nonces/1600158182 new file mode 100644 index 00000000..e69de29b diff --git a/packages/proto-signing/nonces/1600158182 b/packages/proto-signing/nonces/1600158182 new file mode 100644 index 00000000..e69de29b diff --git a/packages/sdk40/nonces/1600158182 b/packages/sdk40/nonces/1600158182 new file mode 100644 index 00000000..e69de29b diff --git a/packages/socket/nonces/1600158182 b/packages/socket/nonces/1600158182 new file mode 100644 index 00000000..e69de29b diff --git a/packages/stream/nonces/1600158182 b/packages/stream/nonces/1600158182 new file mode 100644 index 00000000..e69de29b diff --git a/packages/tendermint-rpc/nonces/1600158182 b/packages/tendermint-rpc/nonces/1600158182 new file mode 100644 index 00000000..e69de29b diff --git a/packages/utils/nonces/1600158182 b/packages/utils/nonces/1600158182 new file mode 100644 index 00000000..e69de29b From ee205cc5f7b1154f2e8a5149092b19c82672b951 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Tue, 15 Sep 2020 10:28:11 +0200 Subject: [PATCH 6/6] v0.22.3 --- lerna.json | 2 +- packages/cli/package.json | 14 +++++++------- packages/cosmwasm/package.json | 12 ++++++------ packages/crypto/package.json | 8 ++++---- packages/demo-staking/package.json | 6 +++--- packages/encoding/package.json | 2 +- packages/faucet/package.json | 12 ++++++------ packages/json-rpc/package.json | 4 ++-- packages/launchpad/package.json | 10 +++++----- packages/math/package.json | 2 +- packages/proto-signing/package.json | 6 +++--- packages/sdk40/package.json | 6 +++--- packages/socket/package.json | 4 ++-- packages/stream/package.json | 2 +- packages/tendermint-rpc/package.json | 16 ++++++++-------- packages/utils/package.json | 2 +- 16 files changed, 54 insertions(+), 54 deletions(-) diff --git a/lerna.json b/lerna.json index ac8ee370..006447bc 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "0.22.2", + "version": "0.22.3", "useWorkspaces": true, "npmClient": "yarn" } diff --git a/packages/cli/package.json b/packages/cli/package.json index 8af71391..5c5da6ac 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/cli", - "version": "0.22.2", + "version": "0.22.3", "description": "Command line interface", "contributors": [ "IOV SAS ", @@ -39,12 +39,12 @@ "!**/testdata/" ], "dependencies": { - "@cosmjs/cosmwasm": "^0.22.2", - "@cosmjs/crypto": "^0.22.2", - "@cosmjs/encoding": "^0.22.2", - "@cosmjs/launchpad": "^0.22.2", - "@cosmjs/math": "^0.22.2", - "@cosmjs/utils": "^0.22.2", + "@cosmjs/cosmwasm": "^0.22.3", + "@cosmjs/crypto": "^0.22.3", + "@cosmjs/encoding": "^0.22.3", + "@cosmjs/launchpad": "^0.22.3", + "@cosmjs/math": "^0.22.3", + "@cosmjs/utils": "^0.22.3", "axios": "^0.19.2", "babylon": "^6.18.0", "colors": "^1.3.3", diff --git a/packages/cosmwasm/package.json b/packages/cosmwasm/package.json index 53a5e433..3ffe6739 100644 --- a/packages/cosmwasm/package.json +++ b/packages/cosmwasm/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/cosmwasm", - "version": "0.22.2", + "version": "0.22.3", "description": "CosmWasm SDK", "author": "Ethan Frey ", "license": "Apache-2.0", @@ -38,11 +38,11 @@ "pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js" }, "dependencies": { - "@cosmjs/crypto": "^0.22.2", - "@cosmjs/encoding": "^0.22.2", - "@cosmjs/launchpad": "^0.22.2", - "@cosmjs/math": "^0.22.2", - "@cosmjs/utils": "^0.22.2", + "@cosmjs/crypto": "^0.22.3", + "@cosmjs/encoding": "^0.22.3", + "@cosmjs/launchpad": "^0.22.3", + "@cosmjs/math": "^0.22.3", + "@cosmjs/utils": "^0.22.3", "axios": "^0.19.0", "pako": "^1.0.11" }, diff --git a/packages/crypto/package.json b/packages/crypto/package.json index 6064fdd7..16aff42b 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/crypto", - "version": "0.22.2", + "version": "0.22.3", "description": "Cryptography resources for blockchain projects", "contributors": [ "IOV SAS ", @@ -43,9 +43,9 @@ "pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js" }, "dependencies": { - "@cosmjs/encoding": "^0.22.2", - "@cosmjs/math": "^0.22.2", - "@cosmjs/utils": "^0.22.2", + "@cosmjs/encoding": "^0.22.3", + "@cosmjs/math": "^0.22.3", + "@cosmjs/utils": "^0.22.3", "bip39": "^3.0.2", "bn.js": "^4.11.8", "elliptic": "^6.5.3", diff --git a/packages/demo-staking/package.json b/packages/demo-staking/package.json index e3a307fa..75a284a5 100644 --- a/packages/demo-staking/package.json +++ b/packages/demo-staking/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/demo-staking", - "version": "0.22.2", + "version": "0.22.3", "description": "Demo interaction with the staking contract", "author": "Simon Warta ", "license": "Apache-2.0", @@ -34,7 +34,7 @@ "pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js" }, "dependencies": { - "@cosmjs/cosmwasm": "^0.22.2", - "@cosmjs/launchpad": "^0.22.2" + "@cosmjs/cosmwasm": "^0.22.3", + "@cosmjs/launchpad": "^0.22.3" } } diff --git a/packages/encoding/package.json b/packages/encoding/package.json index b80ecf3b..c49ffe16 100644 --- a/packages/encoding/package.json +++ b/packages/encoding/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/encoding", - "version": "0.22.2", + "version": "0.22.3", "description": "Encoding helpers for blockchain projects", "contributors": [ "IOV SAS " diff --git a/packages/faucet/package.json b/packages/faucet/package.json index 20b1d4d6..3608099c 100644 --- a/packages/faucet/package.json +++ b/packages/faucet/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/faucet", - "version": "0.22.2", + "version": "0.22.3", "description": "The faucet", "author": "Ethan Frey ", "license": "Apache-2.0", @@ -36,11 +36,11 @@ "start-coralnet": "FAUCET_ADDRESS_PREFIX=coral FAUCET_TOKENS=\"SHELL=10^6ushell, REEF=10^6ureef\" FAUCET_CREDIT_AMOUNT_SHELL=10 FAUCET_CREDIT_AMOUNT_REEF=2 FAUCET_CONCURRENCY=3 FAUCET_MNEMONIC=\"economy stock theory fatal elder harbor betray wasp final emotion task crumble siren bottom lizard educate guess current outdoor pair theory focus wife stone\" ./bin/cosmwasm-faucet start \"https://lcd.coralnet.cosmwasm.com\"" }, "dependencies": { - "@cosmjs/crypto": "^0.22.2", - "@cosmjs/encoding": "^0.22.2", - "@cosmjs/launchpad": "^0.22.2", - "@cosmjs/math": "^0.22.2", - "@cosmjs/utils": "^0.22.2", + "@cosmjs/crypto": "^0.22.3", + "@cosmjs/encoding": "^0.22.3", + "@cosmjs/launchpad": "^0.22.3", + "@cosmjs/math": "^0.22.3", + "@cosmjs/utils": "^0.22.3", "@koa/cors": "^3.0.0", "koa": "^2.11.0", "koa-bodyparser": "^4.2.1" diff --git a/packages/json-rpc/package.json b/packages/json-rpc/package.json index 6072a560..595784c9 100644 --- a/packages/json-rpc/package.json +++ b/packages/json-rpc/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/json-rpc", - "version": "0.22.2", + "version": "0.22.3", "description": "Framework for implementing a JSON-RPC 2.0 API", "contributors": [ "IOV SAS ", @@ -44,7 +44,7 @@ "pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js" }, "dependencies": { - "@cosmjs/stream": "^0.22.2", + "@cosmjs/stream": "^0.22.3", "xstream": "^11.10.0" } } diff --git a/packages/launchpad/package.json b/packages/launchpad/package.json index 4d519678..73f2faf5 100644 --- a/packages/launchpad/package.json +++ b/packages/launchpad/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/launchpad", - "version": "0.22.2", + "version": "0.22.3", "description": "A client library for the Cosmos SDK 0.37 (cosmoshub-3), 0.38 and 0.39 (Launchpad)", "contributors": [ "Ethan Frey ", @@ -41,10 +41,10 @@ "pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js" }, "dependencies": { - "@cosmjs/crypto": "^0.22.2", - "@cosmjs/encoding": "^0.22.2", - "@cosmjs/math": "^0.22.2", - "@cosmjs/utils": "^0.22.2", + "@cosmjs/crypto": "^0.22.3", + "@cosmjs/encoding": "^0.22.3", + "@cosmjs/math": "^0.22.3", + "@cosmjs/utils": "^0.22.3", "axios": "^0.19.0" }, "devDependencies": { diff --git a/packages/math/package.json b/packages/math/package.json index 28b686a1..8de6619c 100644 --- a/packages/math/package.json +++ b/packages/math/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/math", - "version": "0.22.2", + "version": "0.22.3", "description": "Math helpers for blockchain projects", "contributors": [ "IOV SAS " diff --git a/packages/proto-signing/package.json b/packages/proto-signing/package.json index 1d26d41b..ed3790c9 100644 --- a/packages/proto-signing/package.json +++ b/packages/proto-signing/package.json @@ -1,7 +1,7 @@ { "name": "@cosmjs/proto-signing", "private": true, - "version": "0.22.2", + "version": "0.22.3", "description": "Utilities for protobuf based signing (Cosmos SDK 0.40+)", "contributors": [ "Will Clark ", @@ -47,7 +47,7 @@ "protobufjs": "~6.10.0" }, "devDependencies": { - "@cosmjs/encoding": "^0.22.2", - "@cosmjs/utils": "^0.22.2" + "@cosmjs/encoding": "^0.22.3", + "@cosmjs/utils": "^0.22.3" } } diff --git a/packages/sdk40/package.json b/packages/sdk40/package.json index 4ffd0e0a..27eb3baa 100644 --- a/packages/sdk40/package.json +++ b/packages/sdk40/package.json @@ -1,7 +1,7 @@ { "name": "@cosmjs/sdk40", "private": true, - "version": "0.22.2", + "version": "0.22.3", "description": "Utilities for Cosmos SDK 0.40", "contributors": [ "Simon Warta " @@ -38,7 +38,7 @@ "pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js" }, "dependencies": { - "@cosmjs/proto-signing": "^0.22.2", - "@cosmjs/tendermint-rpc": "^0.22.2" + "@cosmjs/proto-signing": "^0.22.3", + "@cosmjs/tendermint-rpc": "^0.22.3" } } diff --git a/packages/socket/package.json b/packages/socket/package.json index 2cde51fe..612e26d1 100644 --- a/packages/socket/package.json +++ b/packages/socket/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/socket", - "version": "0.22.2", + "version": "0.22.3", "description": "Utility functions for working with WebSockets", "contributors": [ "IOV SAS ", @@ -44,7 +44,7 @@ "pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js" }, "dependencies": { - "@cosmjs/stream": "^0.22.2", + "@cosmjs/stream": "^0.22.3", "isomorphic-ws": "^4.0.1", "ws": "^6.2.0", "xstream": "^11.10.0" diff --git a/packages/stream/package.json b/packages/stream/package.json index 8e162174..04e9f204 100644 --- a/packages/stream/package.json +++ b/packages/stream/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/stream", - "version": "0.22.2", + "version": "0.22.3", "description": "Utility functions for producing and consuming streams", "contributors": [ "IOV SAS ", diff --git a/packages/tendermint-rpc/package.json b/packages/tendermint-rpc/package.json index 8d948597..168644ad 100644 --- a/packages/tendermint-rpc/package.json +++ b/packages/tendermint-rpc/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/tendermint-rpc", - "version": "0.22.2", + "version": "0.22.3", "description": "Tendermint RPC clients", "contributors": [ "IOV SAS ", @@ -44,18 +44,18 @@ "pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js" }, "dependencies": { - "@cosmjs/crypto": "^0.22.2", - "@cosmjs/encoding": "^0.22.2", - "@cosmjs/json-rpc": "^0.22.2", - "@cosmjs/math": "^0.22.2", - "@cosmjs/socket": "^0.22.2", - "@cosmjs/stream": "^0.22.2", + "@cosmjs/crypto": "^0.22.3", + "@cosmjs/encoding": "^0.22.3", + "@cosmjs/json-rpc": "^0.22.3", + "@cosmjs/math": "^0.22.3", + "@cosmjs/socket": "^0.22.3", + "@cosmjs/stream": "^0.22.3", "axios": "^0.19.0", "readonly-date": "^1.0.0", "type-tagger": "^1.0.0", "xstream": "^11.10.0" }, "devDependencies": { - "@cosmjs/utils": "^0.22.2" + "@cosmjs/utils": "^0.22.3" } } diff --git a/packages/utils/package.json b/packages/utils/package.json index 792e13de..1a9393fb 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/utils", - "version": "0.22.2", + "version": "0.22.3", "description": "Utility tools, primarily for testing code", "contributors": [ "IOV SAS "