@leofcoin/chain 1.7.0 → 1.7.1

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,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from './node-browser-BJ4SfCPo.js';
1
+ import { g as getDefaultExportFromCjs } from './node-browser-Od7gtk-Y.js';
2
2
  import './index-XTbRdu6H.js';
3
3
 
4
4
  var global;
@@ -1,4 +1,4 @@
1
- import { L as LittlePubSub } from './node-browser-BJ4SfCPo.js';
1
+ import { L as LittlePubSub } from './node-browser-Od7gtk-Y.js';
2
2
  import './index-XTbRdu6H.js';
3
3
 
4
4
  class Api {
@@ -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-snXEaZGH.js').then(function (n) { return n.b; })).default.w3cwebsocket;
209
+ globalThis.WebSocket = (await import('./browser-Ei0BXMlu-Bru_cjhY.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-BfKWAaDQ.js').then(function (n) { return n.i; })).default;
283
+ const SimplePeer = (await import('./index-YQrIDBUQ-RIYuLGAF.js').then(function (n) { return n.i; })).default;
284
284
  class Peer extends SimplePeer {
285
285
  peerId;
286
286
  channelName;
@@ -1,4 +1,4 @@
1
- import { M as MultiWallet, e as encrypt, b as base58$1 } from './node-browser-BJ4SfCPo.js';
1
+ import { M as MultiWallet, e as encrypt, b as base58$1 } from './node-browser-Od7gtk-Y.js';
2
2
  import './index-XTbRdu6H.js';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { i as inherits_browserExports, c as commonjsGlobal, g as getDefaultExportFromCjs, r as require$$3 } from './node-browser-BJ4SfCPo.js';
1
+ import { i as inherits_browserExports, c as commonjsGlobal, g as getDefaultExportFromCjs, r as require$$3 } from './node-browser-Od7gtk-Y.js';
2
2
  import './index-XTbRdu6H.js';
3
3
 
4
4
  var browser$2 = {exports: {}};
@@ -1,4 +1,4 @@
1
- import { F as FormatInterface } from './node-browser-BJ4SfCPo.js';
1
+ import { F as FormatInterface } from './node-browser-Od7gtk-Y.js';
2
2
  import './index-XTbRdu6H.js';
3
3
 
4
4
  var proto$b = {
@@ -27208,7 +27208,7 @@ class Identity {
27208
27208
  this.selectedAccount = new TextDecoder().decode(selected);
27209
27209
  }
27210
27210
  else {
27211
- const importee = await import(/* webpackChunkName: "generate-account" */ './index-G74WLzL7-C4adPwed.js');
27211
+ const importee = await import(/* webpackChunkName: "generate-account" */ './index-G74WLzL7-DW-xDkOL.js');
27212
27212
  const { identity, accounts } = await importee.default(password, this.network);
27213
27213
  await globalThis.accountStore.put('public', JSON.stringify({ walletId: identity.walletId }));
27214
27214
  await globalThis.walletStore.put('version', String(1));
@@ -27400,7 +27400,7 @@ class Peernet {
27400
27400
  this.root = options.root;
27401
27401
  const { RequestMessage, ResponseMessage, PeerMessage, PeerMessageResponse, PeernetMessage, DHTMessage, DHTMessageResponse, DataMessage, DataMessageResponse, PsMessage, ChatMessage, PeernetFile
27402
27402
  // FolderMessageResponse
27403
- } = await import(/* webpackChunkName: "messages" */ './messages-lWRTai7t-BKY-q3u-.js');
27403
+ } = await import(/* webpackChunkName: "messages" */ './messages-lWRTai7t-J7Xx6IHA.js');
27404
27404
  /**
27405
27405
  * proto Object containing protos
27406
27406
  * @type {Object}
@@ -27494,7 +27494,7 @@ class Peernet {
27494
27494
  if (this.#starting || this.#started)
27495
27495
  return;
27496
27496
  this.#starting = true;
27497
- const importee = await import('./client-A009z8av-BEuROKOy.js');
27497
+ const importee = await import('./client-A009z8av-BwJnq5m9.js');
27498
27498
  /**
27499
27499
  * @access public
27500
27500
  * @type {PeernetClient}
@@ -28008,7 +28008,7 @@ class Node {
28008
28008
  async _init(config = {
28009
28009
  network: 'leofcoin:peach',
28010
28010
  networkVersion: 'peach',
28011
- version: '1.2.0',
28011
+ version: '1.2.1',
28012
28012
  stars: networks.leofcoin.peach.stars
28013
28013
  }, password) {
28014
28014
  config = { ...DEFAULT_NODE_OPTIONS, ...config };
@@ -1,2 +1,2 @@
1
- export { N as default } from './node-browser-BJ4SfCPo.js';
1
+ export { N as default } from './node-browser-Od7gtk-Y.js';
2
2
  import './index-XTbRdu6H.js';
package/exports/node.js CHANGED
@@ -20,7 +20,7 @@ class Node {
20
20
  network: 'leofcoin:peach',
21
21
  networkName: 'leofcoin:peach',
22
22
  networkVersion: 'peach',
23
- version: '1.2.0',
23
+ version: '1.2.1',
24
24
  stars: networks.leofcoin.peach.stars,
25
25
  autoStart: false
26
26
  }, password) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/chain",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Official javascript implementation",
5
5
  "private": false,
6
6
  "exports": {