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.
@@ -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
- config.eventCallback({ ty: "json-rpc-responses-non-empty", chainId: message.chainId });
139
+ config.eventCallback({ ty: "json-rpc-responses-non-empty", chainId: message.chainId });
140
+ }
140
141
  return;
141
142
  }
142
143
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smoldot",
3
- "version": "2.0.14",
3
+ "version": "2.0.16",
4
4
  "description": "Light client that connects to Polkadot and Substrate-based blockchains",
5
5
  "contributors": [
6
6
  "Parity Technologies <admin@parity.io>",