@cosmjs/cosmwasm
Advanced tools
Comparing version 0.23.0 to 0.23.1
@@ -64,3 +64,3 @@ "use strict"; | ||
const response = await this.lcdClient.encodeTx(tx); | ||
const hash = new crypto_1.Sha256(encoding_1.fromBase64(response.tx)).digest(); | ||
const hash = crypto_1.sha256(encoding_1.fromBase64(response.tx)); | ||
return encoding_1.toHex(hash).toUpperCase(); | ||
@@ -67,0 +67,0 @@ } |
@@ -17,3 +17,3 @@ "use strict"; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
@@ -23,3 +23,3 @@ return result; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.logs = void 0; | ||
exports.isMsgStoreCode = exports.isMsgUpdateAdmin = exports.isMsgMigrateContract = exports.isMsgInstantiateContract = exports.isMsgExecuteContract = exports.isMsgClearAdmin = exports.SigningCosmWasmClient = exports.CosmWasmClient = exports.setupWasmExtension = exports.logs = void 0; | ||
const logs = __importStar(require("./logs")); | ||
@@ -26,0 +26,0 @@ exports.logs = logs; |
@@ -86,5 +86,5 @@ "use strict"; | ||
originalSize: wasmCode.length, | ||
originalChecksum: encoding_1.toHex(new crypto_1.Sha256(wasmCode).digest()), | ||
originalChecksum: encoding_1.toHex(crypto_1.sha256(wasmCode)), | ||
compressedSize: compressed.length, | ||
compressedChecksum: encoding_1.toHex(new crypto_1.Sha256(compressed).digest()), | ||
compressedChecksum: encoding_1.toHex(crypto_1.sha256(compressed)), | ||
codeId: Number.parseInt(codeIdAttr.value, 10), | ||
@@ -91,0 +91,0 @@ logs: result.logs, |
{ | ||
"name": "@cosmjs/cosmwasm", | ||
"version": "0.23.0", | ||
"version": "0.23.1", | ||
"description": "CosmWasm SDK", | ||
@@ -43,8 +43,7 @@ "author": "Ethan Frey <ethanfrey@users.noreply.github.com>", | ||
"dependencies": { | ||
"@cosmjs/crypto": "^0.23.0", | ||
"@cosmjs/encoding": "^0.23.0", | ||
"@cosmjs/launchpad": "^0.23.0", | ||
"@cosmjs/math": "^0.23.0", | ||
"@cosmjs/utils": "^0.23.0", | ||
"axios": "^0.19.0", | ||
"@cosmjs/crypto": "^0.23.1", | ||
"@cosmjs/encoding": "^0.23.1", | ||
"@cosmjs/launchpad": "^0.23.1", | ||
"@cosmjs/math": "^0.23.1", | ||
"@cosmjs/utils": "^0.23.1", | ||
"pako": "^1.0.11" | ||
@@ -56,3 +55,3 @@ }, | ||
}, | ||
"gitHead": "432801364c32ea4a2a956b8525f324c5a1e5e140" | ||
"gitHead": "ba76bf333bfb178a3ace83814521109be8b438f9" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
92726
6
1397
- Removedaxios@^0.19.0
- Removedaxios@0.19.2(transitive)
- Removedfollow-redirects@1.5.10(transitive)
Updated@cosmjs/crypto@^0.23.1
Updated@cosmjs/encoding@^0.23.1
Updated@cosmjs/launchpad@^0.23.1
Updated@cosmjs/math@^0.23.1
Updated@cosmjs/utils@^0.23.1