@leofcoin/chain 1.7.49 → 1.7.52
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/README.md +5 -0
- package/exports/browser/{browser-DQJ6xf_F-C6-szetT.js → browser-DQJ6xf_F-BegK2uLt.js} +2 -2
- package/exports/browser/chain.js +4253 -36
- package/exports/browser/{client-Depp28gl-B4Mz_hP5.js → client-Depp28gl-CXOVR2or.js} +4 -4
- package/exports/browser/{index-BeqbCwUk-k7nFljXa.js → index-BeqbCwUk-DFZB5z7Q.js} +2 -2
- package/exports/browser/{index-DqPlTtAJ-BCTqnABp.js → index-DqPlTtAJ-1o5kJ_mi.js} +2 -2
- package/exports/browser/{workers/worker-Botf--mj-BUK2CMT9.js → index-jJAWNcIz.js} +68 -4224
- package/exports/browser/{messages-RYLqPGkg-Jd6OizO7.js → messages-RYLqPGkg-007SVYHA.js} +2 -2
- package/exports/browser/{node-browser-lePEPRA6.js → node-browser-CuHuGNar.js} +4 -4
- package/exports/browser/node-browser.js +2 -2
- package/exports/chain.d.ts +5 -7
- package/exports/chain.js +43 -28
- package/exports/flags.d.ts +2 -0
- package/exports/machine.d.ts +9 -10
- package/exports/transaction.d.ts +1 -1
- package/package.json +12 -12
- package/exports/browser/index-XTbRdu6H.js +0 -12611
- package/exports/browser/workers/block-worker.js +0 -33
- package/exports/browser/workers/machine-worker.js +0 -505
- package/exports/workers/block-worker.js +0 -33
- package/exports/workers/machine-worker.js +0 -505
- package/exports/workers/worker-Botf--mj-BUK2CMT9.js +0 -12565
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LittlePubSub } from './node-browser-
|
|
2
|
-
import './index-
|
|
1
|
+
import { L as LittlePubSub } from './node-browser-CuHuGNar.js';
|
|
2
|
+
import './index-jJAWNcIz.js';
|
|
3
3
|
|
|
4
4
|
class Api {
|
|
5
5
|
_pubsub;
|
|
@@ -209,7 +209,7 @@ class SocketRequestClient {
|
|
|
209
209
|
const init = async () => {
|
|
210
210
|
// @ts-ignore
|
|
211
211
|
if (!globalThis.WebSocket && !this.#experimentalWebsocket)
|
|
212
|
-
globalThis.WebSocket = (await import('./browser-DQJ6xf_F-
|
|
212
|
+
globalThis.WebSocket = (await import('./browser-DQJ6xf_F-BegK2uLt.js').then(function (n) { return n.b; })).default.w3cwebsocket;
|
|
213
213
|
const client = new WebSocket(this.#url, this.#protocol);
|
|
214
214
|
if (this.#experimentalWebsocket) {
|
|
215
215
|
client.addEventListener('error', this.onerror);
|
|
@@ -313,7 +313,7 @@ const iceServers = [
|
|
|
313
313
|
credential: 'openrelayproject'
|
|
314
314
|
}
|
|
315
315
|
];
|
|
316
|
-
const SimplePeer = (await import('./index-DqPlTtAJ-
|
|
316
|
+
const SimplePeer = (await import('./index-DqPlTtAJ-1o5kJ_mi.js').then(function (n) { return n.i; })).default;
|
|
317
317
|
class Peer extends SimplePeer {
|
|
318
318
|
peerId;
|
|
319
319
|
channelName;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MultiWallet, e as encrypt, b as base58$1 } from './node-browser-
|
|
2
|
-
import './index-
|
|
1
|
+
import { M as MultiWallet, e as encrypt, b as base58$1 } from './node-browser-CuHuGNar.js';
|
|
2
|
+
import './index-jJAWNcIz.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @params {String} network
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as inherits_browserExports, c as commonjsGlobal, g as getDefaultExportFromCjs, r as require$$3 } from './node-browser-
|
|
2
|
-
import './index-
|
|
1
|
+
import { i as inherits_browserExports, c as commonjsGlobal, g as getDefaultExportFromCjs, r as require$$3 } from './node-browser-CuHuGNar.js';
|
|
2
|
+
import './index-jJAWNcIz.js';
|
|
3
3
|
|
|
4
4
|
var browser$2 = {exports: {}};
|
|
5
5
|
|