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
|
@@ -134,9 +134,10 @@ export function connectToInstanceServer(config) {
|
|
|
134
134
|
case "json-rpc-response": {
|
|
135
135
|
const queue = state.jsonRpcResponses.get(message.chainId);
|
|
136
136
|
// The chain might have been removed locally in the past.
|
|
137
|
-
if (queue)
|
|
137
|
+
if (queue) {
|
|
138
138
|
queue.push(message.response);
|
|
139
|
-
|
|
139
|
+
config.eventCallback({ ty: "json-rpc-responses-non-empty", chainId: message.chainId });
|
|
140
|
+
}
|
|
140
141
|
return;
|
|
141
142
|
}
|
|
142
143
|
}
|