smoldot 1.0.12 → 1.0.13

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.
@@ -136,10 +136,10 @@ export function startLocalInstance(config, wasmModule, eventCallback) {
136
136
  case 4:
137
137
  case 5:
138
138
  case 6: {
139
- return config.forbidWs ? 0 : 1;
139
+ return config.forbidNonLocalWs ? 0 : 1;
140
140
  }
141
141
  case 7: {
142
- return config.forbidNonLocalWs ? 0 : 1;
142
+ return config.forbidWs ? 0 : 1;
143
143
  }
144
144
  case 14: {
145
145
  return config.forbidWss ? 0 : 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smoldot",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Light client that connects to Polkadot and Substrate-based blockchains",
5
5
  "contributors": [
6
6
  "Parity Technologies <admin@parity.io>",