smoldot 2.0.14 → 2.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/internals/bytecode/wasm0.js +1 -1
- package/dist/cjs/internals/bytecode/wasm1.js +1 -1
- package/dist/cjs/internals/bytecode/wasm2.js +1 -1
- package/dist/cjs/internals/remote-instance.js +3 -2
- package/dist/mjs/internals/bytecode/wasm0.js +1 -1
- package/dist/mjs/internals/bytecode/wasm1.js +1 -1
- package/dist/mjs/internals/bytecode/wasm2.js +1 -1
- package/dist/mjs/internals/remote-instance.js +3 -2
- package/package.json +1 -1
|
@@ -137,9 +137,10 @@ function connectToInstanceServer(config) {
|
|
|
137
137
|
case "json-rpc-response": {
|
|
138
138
|
const queue = state.jsonRpcResponses.get(message.chainId);
|
|
139
139
|
// The chain might have been removed locally in the past.
|
|
140
|
-
if (queue)
|
|
140
|
+
if (queue) {
|
|
141
141
|
queue.push(message.response);
|
|
142
|
-
|
|
142
|
+
config.eventCallback({ ty: "json-rpc-responses-non-empty", chainId: message.chainId });
|
|
143
|
+
}
|
|
143
144
|
return;
|
|
144
145
|
}
|
|
145
146
|
}
|