@blackglory/cache-js 0.1.1 → 0.1.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.
@@ -29,6 +29,8 @@
29
29
  });
30
30
  }
31
31
 
32
+ const expectedVersion = '0.1.1';
33
+
32
34
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
33
35
 
34
36
  function getAugmentedNamespace(n) {
@@ -24024,8 +24026,8 @@
24024
24026
  return __awaiter$d(this, void 0, void 0, function* () {
24025
24027
  const ws = new WebSocket(url);
24026
24028
  yield es2018$5.waitForEventTarget(ws, 'open');
24027
- const [client, closeClient] = es2018$6.createClient(ws);
24028
- const [batchClient, closeBatchClient] = es2018$6.createBatchClient(new WebSocket(url));
24029
+ const [client, closeClient] = es2018$6.createClient(ws, undefined, expectedVersion);
24030
+ const [batchClient, closeBatchClient] = es2018$6.createBatchClient(new WebSocket(url), expectedVersion);
24029
24031
  const proxy = es2018$n.createBatchProxy();
24030
24032
  return {
24031
24033
  client,