@cosmjs/proto-signing
Advanced tools
Comparing version 0.29.0-rc.1 to 0.29.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.parseCoins = void 0; | ||
const math_1 = require("@cosmjs/math"); | ||
/** | ||
@@ -22,3 +21,3 @@ * Takes a coins list like "819966000ucosm,700000000ustake" and parses it. | ||
return { | ||
amount: math_1.Uint64.fromString(match[1]).toString(), | ||
amount: match[1].replace(/^0+/, "") || "0", | ||
denom: match[2], | ||
@@ -25,0 +24,0 @@ }; |
{ | ||
"name": "@cosmjs/proto-signing", | ||
"version": "0.29.0-rc.1", | ||
"version": "0.29.0", | ||
"description": "Utilities for protobuf based signing (Cosmos SDK 0.40+)", | ||
@@ -42,7 +42,7 @@ "contributors": [ | ||
"dependencies": { | ||
"@cosmjs/amino": "^0.29.0-rc.1", | ||
"@cosmjs/crypto": "^0.29.0-rc.1", | ||
"@cosmjs/encoding": "^0.29.0-rc.1", | ||
"@cosmjs/math": "^0.29.0-rc.1", | ||
"@cosmjs/utils": "^0.29.0-rc.1", | ||
"@cosmjs/amino": "^0.29.0", | ||
"@cosmjs/crypto": "^0.29.0", | ||
"@cosmjs/encoding": "^0.29.0", | ||
"@cosmjs/math": "^0.29.0", | ||
"@cosmjs/utils": "^0.29.0", | ||
"cosmjs-types": "^0.5.0", | ||
@@ -87,4 +87,3 @@ "long": "^4.0.0" | ||
"webpack-cli": "^4.6.0" | ||
}, | ||
"stableVersion": "0.28.11" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77487
1066
Updated@cosmjs/amino@^0.29.0
Updated@cosmjs/crypto@^0.29.0
Updated@cosmjs/encoding@^0.29.0
Updated@cosmjs/math@^0.29.0
Updated@cosmjs/utils@^0.29.0