@leofcoin/chain 1.10.3 → 1.10.5
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-BOiH47em-CNA0837Q.js → browser-D-r0O9Qn-BUd-PxvP.js} +2 -2
- package/exports/browser/{browser-BuaFyOQj-BCgu_5S8.js → browser-_hiyXwPp-CeZtoaRo.js} +2 -2
- package/exports/browser/chain.js +90 -46
- package/exports/browser/{client-B2wkkpij-CXdxWu9W.js → client-U5AYtQje-DAQ00fHP.js} +4 -4
- package/exports/browser/{constants-CUoFxEp2.js → constants-CVkCJ-VS.js} +490 -221
- package/exports/browser/{index-s61gSKAd-DUkaInec.js → index-BD0Anx7_-D-zybnw-.js} +2 -2
- package/exports/browser/{messages-CZ-3jxiD-BQAqB9Vv.js → messages-Dr5w-bq6-D-moQFGj.js} +2 -2
- package/exports/browser/{node-browser-Cveo6mdM.js → node-browser-D5TgXCwx.js} +11 -7
- package/exports/browser/node-browser.js +2 -2
- package/exports/browser/workers/block-worker.js +1 -1
- package/exports/browser/workers/machine-worker.js +9 -9
- package/exports/browser/workers/{worker-jeGMMCte-BwFbyiks.js → worker-CZqErLI7-BxofVJAn.js} +490 -221
- package/exports/chain.js +80 -36
- package/exports/workers/block-worker.js +1 -1
- package/exports/workers/machine-worker.js +9 -9
- package/exports/workers/{worker-jeGMMCte-BwFbyiks.js → worker-CZqErLI7-BxofVJAn.js} +490 -221
- package/package.json +9 -9
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as inflate_1, c as createDebugger, d as deflate_1, L as LittlePubSub } from './node-browser-
|
|
1
|
+
import { i as inflate_1, c as createDebugger, d as deflate_1, L as LittlePubSub } from './node-browser-D5TgXCwx.js';
|
|
2
2
|
import 'crypto';
|
|
3
|
-
import './constants-
|
|
3
|
+
import './constants-CVkCJ-VS.js';
|
|
4
4
|
|
|
5
5
|
class Api {
|
|
6
6
|
_pubsub;
|
|
@@ -231,7 +231,7 @@ class SocketRequestClient {
|
|
|
231
231
|
const init = async () => {
|
|
232
232
|
// @ts-ignore
|
|
233
233
|
if (!globalThis.WebSocket && !this.#experimentalWebsocket)
|
|
234
|
-
globalThis.WebSocket = (await import('./browser-
|
|
234
|
+
globalThis.WebSocket = (await import('./browser-_hiyXwPp-CeZtoaRo.js').then(function (n) { return n.b; })).default.w3cwebsocket;
|
|
235
235
|
const client = new WebSocket(this.#url, this.#protocol);
|
|
236
236
|
if (this.#experimentalWebsocket) {
|
|
237
237
|
client.addEventListener('error', this.onerror);
|
|
@@ -1302,7 +1302,7 @@ class Client {
|
|
|
1302
1302
|
}
|
|
1303
1303
|
}
|
|
1304
1304
|
async #loadNodeWebrtcImplementation() {
|
|
1305
|
-
const koushWrtcModule = await import('./browser-
|
|
1305
|
+
const koushWrtcModule = await import('./browser-D-r0O9Qn-BUd-PxvP.js').then(function (n) { return n.b; });
|
|
1306
1306
|
const koushWrtc = koushWrtcModule.default;
|
|
1307
1307
|
if (!isWrtcImplementation(koushWrtc)) {
|
|
1308
1308
|
throw new Error('@koush/wrtc does not match required wrtc contract');
|