@abraca/dabra 2.0.1 → 2.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abraca/dabra",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "abracadabra provider",
5
5
  "keywords": [
6
6
  "abracadabra",
@@ -188,7 +188,7 @@ export class AbracadabraWS extends EventEmitter {
188
188
 
189
189
  this.configuration.WebSocketPolyfill = configuration.WebSocketPolyfill
190
190
  ? configuration.WebSocketPolyfill
191
- : WebSocket;
191
+ : (globalThis as { WebSocket?: typeof WebSocket }).WebSocket;
192
192
 
193
193
  this.on("open", this.configuration.onOpen);
194
194
  this.on("open", this.onOpen.bind(this));