@leofcoin/chain 1.6.0 → 1.6.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,5 +1,5 @@
1
- import { g as getDefaultExportFromCjs } from './node-browser-CeM_F-HL.js';
2
- import './_polyfill-node.child_process-CblghArn.js';
1
+ import { g as getDefaultExportFromCjs } from './node-browser-CC3grAN3.js';
2
+ import './index-Bz6K16zr.js';
3
3
 
4
4
  var global;
5
5
  var hasRequiredGlobal;
@@ -1,4 +1,4 @@
1
- import { c as BigNumber, L as Logger, v as version$1, h as hexZeroPad, i as isBigNumberish, d as arrayify, e as isBytes, T as TransactionMessage, t as toBase58, C as ContractMessage, R as RawTransactionMessage, f as getDefaultExportFromCjs, B as BlockMessage, a as BWMessage, b as BWRequestMessage } from './_polyfill-node.child_process-CblghArn.js';
1
+ import { B as BigNumber, L as Logger, v as version$1, h as hexZeroPad, i as isBigNumberish, a as arrayify, b as isBytes, T as TransactionMessage, t as toBase58, C as ContractMessage, R as RawTransactionMessage, g as getDefaultExportFromCjs, c as BlockMessage, d as BWMessage, e as BWRequestMessage } from './index-Bz6K16zr.js';
2
2
 
3
3
  if (!globalThis.DEBUG) {
4
4
  let DEBUG = [];
@@ -3819,7 +3819,7 @@ class EasyWorker {
3819
3819
  this.worker = new Worker(url, {...options});
3820
3820
  } else {
3821
3821
  return new Promise(async (resolve, reject) => {
3822
- const {fork} = await import('./_polyfill-node.child_process-CblghArn.js').then(function (n) { return n._; });
3822
+ const {fork} = await import('child_process');
3823
3823
  this.worker = fork(url, ['easy-worker-child'], options);
3824
3824
  resolve(this);
3825
3825
  })
@@ -4016,7 +4016,7 @@ class Machine {
4016
4016
  pubsub.subscribe('machine.ready', machineReady);
4017
4017
  let pre;
4018
4018
  try {
4019
- const importee = await import('./_polyfill-node.url-BLK_MhDf.js');
4019
+ const importee = await import('url');
4020
4020
  const url = importee.default;
4021
4021
  if (url)
4022
4022
  pre = url.fileURLToPath(new URL('.', import.meta.url));
@@ -1,5 +1,5 @@
1
- import { L as LittlePubSub } from './node-browser-CeM_F-HL.js';
2
- import './_polyfill-node.child_process-CblghArn.js';
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-C0woTcHa.js').then(function (n) { return n.b; })).default.w3cwebsocket;
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-APwDgUUG.js').then(function (n) { return n.i; })).default;
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;