@interopio/browser 3.3.1 → 3.3.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.
@@ -4156,14 +4156,13 @@
4156
4156
  stateChange: { name: "stateChange", resultDecoder: notificationSetStateRequestDecoder }
4157
4157
  };
4158
4158
 
4159
- const urlAlphabet$1 =
4159
+ let urlAlphabet$1 =
4160
4160
  'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
4161
-
4162
4161
  let nanoid$1 = (size = 21) => {
4163
4162
  let id = '';
4164
- let bytes = crypto.getRandomValues(new Uint8Array(size));
4165
- while (size--) {
4166
- id += urlAlphabet$1[bytes[size] & 63];
4163
+ let i = size;
4164
+ while (i--) {
4165
+ id += urlAlphabet$1[(Math.random() * 64) | 0];
4167
4166
  }
4168
4167
  return id
4169
4168
  };
@@ -6119,7 +6118,7 @@
6119
6118
  }
6120
6119
  }
6121
6120
 
6122
- var version$1 = "3.3.1";
6121
+ var version$1 = "3.3.2";
6123
6122
 
6124
6123
  const createFactoryFunction = (coreFactoryFunction) => {
6125
6124
  return async (userConfig) => {
@@ -7226,7 +7225,7 @@
7226
7225
  return timerObj;
7227
7226
  }
7228
7227
 
7229
- const WebSocketConstructor = Utils.isNode() ? require("ws") : window.WebSocket;
7228
+ const WebSocketConstructor = Utils.isNode() ? null : window.WebSocket;
7230
7229
  class WS {
7231
7230
  ws;
7232
7231
  logger;
@@ -7455,14 +7454,13 @@
7455
7454
  }
7456
7455
  }
7457
7456
 
7458
- const urlAlphabet =
7457
+ let urlAlphabet =
7459
7458
  'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
7460
-
7461
7459
  let nanoid = (size = 21) => {
7462
7460
  let id = '';
7463
- let bytes = crypto.getRandomValues(new Uint8Array(size));
7464
- while (size--) {
7465
- id += urlAlphabet[bytes[size] & 63];
7461
+ let i = size;
7462
+ while (i--) {
7463
+ id += urlAlphabet[(Math.random() * 64) | 0];
7466
7464
  }
7467
7465
  return id
7468
7466
  };
@@ -9077,7 +9075,7 @@
9077
9075
  }
9078
9076
  };
9079
9077
 
9080
- var version = "6.3.1";
9078
+ var version = "6.3.2";
9081
9079
 
9082
9080
  function prepareConfig (configuration, ext, glue42gd) {
9083
9081
  let nodeStartingContext;