@leofcoin/chain 1.6.1 → 1.6.3
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/exports/browser/{browser-Ei0BXMlu-C0woTcHa.js → browser-Ei0BXMlu-9eQR3AGp.js} +2 -2
- package/exports/browser/chain.js +678 -661
- package/exports/browser/{client-A009z8av-Ssch8Yea.js → client-A009z8av-DavUUkay.js} +4 -4
- package/exports/browser/{_polyfill-node.child_process-CblghArn.js → index-Bz6K16zr.js} +6 -2003
- package/exports/browser/{index-G74WLzL7-BnLRqHoy.js → index-G74WLzL7-d1Vs_wqe.js} +2 -2
- package/exports/browser/{index-YQrIDBUQ-APwDgUUG.js → index-YQrIDBUQ-CbL47K_x.js} +2 -2
- package/exports/browser/{messages-lWRTai7t-DJnHZSdM.js → messages-lWRTai7t-Cs3eU5Cb.js} +2 -2
- package/exports/browser/{node-browser-CeM_F-HL.js → node-browser-CC3grAN3.js} +4 -4
- package/exports/browser/node-browser.js +2 -2
- package/exports/browser/workers/block-worker.js +1 -1
- package/exports/browser/workers/machine-worker.js +348 -349
- package/exports/browser/workers/{worker-CbAak_hM.js → worker-CFrwP8cD.js} +1 -4
- package/exports/chain.js +2 -2
- package/exports/workers/block-worker.js +1 -1
- package/exports/workers/machine-worker.js +348 -349
- package/exports/workers/{worker-CbAak_hM.js → worker-CFrwP8cD.js} +1 -4
- package/package.json +27 -56
- package/exports/browser/_polyfill-node.url-BLK_MhDf.js +0 -1196
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LittlePubSub } from './node-browser-
|
|
2
|
-
import './
|
|
1
|
+
import { L as LittlePubSub } from './node-browser-CC3grAN3.js';
|
|
2
|
+
import './index-Bz6K16zr.js';
|
|
3
3
|
|
|
4
4
|
class Api {
|
|
5
5
|
_pubsub;
|
|
@@ -206,7 +206,7 @@ class SocketRequestClient {
|
|
|
206
206
|
const init = async () => {
|
|
207
207
|
// @ts-ignore
|
|
208
208
|
if (!globalThis.WebSocket)
|
|
209
|
-
globalThis.WebSocket = (await import('./browser-Ei0BXMlu-
|
|
209
|
+
globalThis.WebSocket = (await import('./browser-Ei0BXMlu-9eQR3AGp.js').then(function (n) { return n.b; })).default.w3cwebsocket;
|
|
210
210
|
const client = new WebSocket(this.#url, this.#protocol);
|
|
211
211
|
client.onmessage = this.onmessage;
|
|
212
212
|
client.onerror = this.onerror;
|
|
@@ -280,7 +280,7 @@ const iceServers = [
|
|
|
280
280
|
credential: 'openrelayproject'
|
|
281
281
|
}
|
|
282
282
|
];
|
|
283
|
-
const SimplePeer = (await import('./index-YQrIDBUQ-
|
|
283
|
+
const SimplePeer = (await import('./index-YQrIDBUQ-CbL47K_x.js').then(function (n) { return n.i; })).default;
|
|
284
284
|
class Peer extends SimplePeer {
|
|
285
285
|
peerId;
|
|
286
286
|
channelName;
|