@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.
@@ -4,6 +4,8 @@
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Cache = {}));
5
5
  })(this, (function (exports) { 'use strict';
6
6
 
7
+ const expectedVersion = '0.1.1';
8
+
7
9
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
8
10
 
9
11
  function getAugmentedNamespace(n) {
@@ -23998,8 +24000,8 @@
23998
24000
  async function createRPCClient(url) {
23999
24001
  const ws = new WebSocket(url);
24000
24002
  await es2018$5.waitForEventTarget(ws, 'open');
24001
- const [client, closeClient] = es2018$6.createClient(ws);
24002
- const [batchClient, closeBatchClient] = es2018$6.createBatchClient(new WebSocket(url));
24003
+ const [client, closeClient] = es2018$6.createClient(ws, undefined, expectedVersion);
24004
+ const [batchClient, closeBatchClient] = es2018$6.createBatchClient(new WebSocket(url), expectedVersion);
24003
24005
  const proxy = es2018$n.createBatchProxy();
24004
24006
  return {
24005
24007
  client,