Comparing version 2.0.33 to 2.0.34
@@ -367,4 +367,6 @@ "use strict"; | ||
return null; | ||
const responseInfo = state.instance.exports.json_rpc_responses_peek(chainId) >>> 0; | ||
// Note that the memory must be created after calling the Wasm function, otherwise | ||
// it might be invalidated if it is grown. | ||
const mem = new Uint8Array(state.instance.exports.memory.buffer); | ||
const responseInfo = state.instance.exports.json_rpc_responses_peek(chainId) >>> 0; | ||
const ptr = buffer.readUInt32LE(mem, responseInfo) >>> 0; | ||
@@ -371,0 +373,0 @@ const len = buffer.readUInt32LE(mem, responseInfo + 4) >>> 0; |
@@ -364,4 +364,6 @@ // Smoldot | ||
return null; | ||
const responseInfo = state.instance.exports.json_rpc_responses_peek(chainId) >>> 0; | ||
// Note that the memory must be created after calling the Wasm function, otherwise | ||
// it might be invalidated if it is grown. | ||
const mem = new Uint8Array(state.instance.exports.memory.buffer); | ||
const responseInfo = state.instance.exports.json_rpc_responses_peek(chainId) >>> 0; | ||
const ptr = buffer.readUInt32LE(mem, responseInfo) >>> 0; | ||
@@ -368,0 +370,0 @@ const len = buffer.readUInt32LE(mem, responseInfo + 4) >>> 0; |
{ | ||
"name": "smoldot", | ||
"version": "2.0.33", | ||
"version": "2.0.34", | ||
"description": "Light client that connects to Polkadot and Substrate-based blockchains", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
30078
6234313