@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.
@@ -1,3 +1,5 @@
1
+ const expectedVersion = '0.1.1';
2
+
1
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2
4
 
3
5
  function getAugmentedNamespace(n) {
@@ -23992,8 +23994,8 @@ __exportStar(waitForUrlChanged$1, exports);
23992
23994
  async function createRPCClient(url) {
23993
23995
  const ws = new WebSocket(url);
23994
23996
  await es2018$5.waitForEventTarget(ws, 'open');
23995
- const [client, closeClient] = es2018$6.createClient(ws);
23996
- const [batchClient, closeBatchClient] = es2018$6.createBatchClient(new WebSocket(url));
23997
+ const [client, closeClient] = es2018$6.createClient(ws, undefined, expectedVersion);
23998
+ const [batchClient, closeBatchClient] = es2018$6.createBatchClient(new WebSocket(url), expectedVersion);
23997
23999
  const proxy = es2018$n.createBatchProxy();
23998
24000
  return {
23999
24001
  client,