smoldot 2.0.24 → 2.0.26

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.
@@ -171,7 +171,7 @@ export function startLocalInstance(config, wasmModule, eventCallback) {
171
171
  case 4:
172
172
  case 5:
173
173
  case 6: {
174
- return config.forbidNonLocalWs ? 0 : 1;
174
+ return (config.forbidWs || config.forbidNonLocalWs) ? 0 : 1;
175
175
  }
176
176
  case 7: {
177
177
  return config.forbidWs ? 0 : 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smoldot",
3
- "version": "2.0.24",
3
+ "version": "2.0.26",
4
4
  "description": "Light client that connects to Polkadot and Substrate-based blockchains",
5
5
  "contributors": [
6
6
  "Parity Technologies <admin@parity.io>",