New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cosmjs/cosmwasm

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cosmjs/cosmwasm - npm Package Compare versions

Comparing version 0.23.0-alpha.1 to 0.23.0

9

build/lcdapi/wasm.js

@@ -55,3 +55,10 @@ "use strict";

const data = unwrapWasmResponse(responseData);
return data.length === 0 ? null : encoding_1.fromBase64(data[0].val);
if (Array.isArray(data)) {
// The CosmWasm 0.10 interface
return data.length === 0 ? null : encoding_1.fromBase64(data[0].val);
}
else {
// The CosmWasm 0.11 interface
return !data ? null : encoding_1.fromBase64(data); // Yes, we cannot differentiate empty fields from non-existent fields :(
}
},

@@ -58,0 +65,0 @@ queryContractSmart: async (address, query) => {

2

build/signingcosmwasmclient.js

@@ -28,3 +28,3 @@ "use strict";

const defaultGasLimits = {
upload: 1000000,
upload: 1500000,
init: 500000,

@@ -31,0 +31,0 @@ migrate: 200000,

{
"name": "@cosmjs/cosmwasm",
"version": "0.23.0-alpha.1",
"version": "0.23.0",
"description": "CosmWasm SDK",

@@ -43,7 +43,7 @@ "author": "Ethan Frey <ethanfrey@users.noreply.github.com>",

"dependencies": {
"@cosmjs/crypto": "^0.23.0-alpha.1",
"@cosmjs/encoding": "^0.23.0-alpha.1",
"@cosmjs/launchpad": "^0.23.0-alpha.1",
"@cosmjs/math": "^0.23.0-alpha.1",
"@cosmjs/utils": "^0.23.0-alpha.1",
"@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",

@@ -56,3 +56,3 @@ "pako": "^1.0.11"

},
"gitHead": "864f3d237271b6c93b8bf1913165277ce5890575"
"gitHead": "432801364c32ea4a2a956b8525f324c5a1e5e140"
}

@@ -9,7 +9,8 @@ # @cosmjs/cosmwasm

| CosmWasm | x/wasm | @cosmjs/cosmwasm |
| -------- | ------ | ---------------- |
| 0.10 | 0.10 | `^0.22.0` |
| 0.9 | 0.9 | `^0.21.0` |
| 0.8 | 0.8 | `^0.20.1` |
| CosmWasm | x/wasm | @cosmjs/cosmwasm |
| --------- | --------- | ---------------- |
| 0.10-0.11 | 0.10-0.11 | `^0.23.0` |
| 0.10 | 0.10 | `^0.22.0` |
| 0.9 | 0.9 | `^0.21.0` |
| 0.8 | 0.8 | `^0.20.1` |

@@ -22,3 +23,3 @@ ## Development

cd packages/cosmwasm
export HACKATOM_URL=https://github.com/CosmWasm/cosmwasm/releases/download/v0.10.0-alpha2/hackatom.wasm
export HACKATOM_URL=https://github.com/CosmWasm/cosmwasm/releases/download/v0.11.0-alpha4/hackatom.wasm
echo "{\"// source\": \"$HACKATOM_URL\", \"data\": \"$(curl -sS --location $HACKATOM_URL | base64)\" }" | jq > src/testdata/contract.json

@@ -25,0 +26,0 @@ ```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc