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.
@@ -139,10 +139,10 @@ function startLocalInstance(config, wasmModule, eventCallback) {
139
139
  case 4:
140
140
  case 5:
141
141
  case 6: {
142
- return config.forbidWs ? 0 : 1;
142
+ return config.forbidNonLocalWs ? 0 : 1;
143
143
  }
144
144
  case 7: {
145
- return config.forbidNonLocalWs ? 0 : 1;
145
+ return config.forbidWs ? 0 : 1;
146
146
  }
147
147
  case 14: {
148
148
  return config.forbidWss ? 0 : 1;