@leofcoin/chain 1.7.6 → 1.7.7

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 { M as MultiWallet, e as encrypt, b as base58$1 } from './node-browser-Bjb6j0bF.js';
1
+ import { M as MultiWallet, e as encrypt, b as base58$1 } from './node-browser-By4Fowr9.js';
2
2
  import './index-XTbRdu6H.js';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { F as FormatInterface } from './node-browser-Bjb6j0bF.js';
1
+ import { F as FormatInterface } from './node-browser-By4Fowr9.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-D5kDRHRC.js');
27211
+ const importee = await import(/* webpackChunkName: "generate-account" */ './index-fC0k-d_O-DQ-T8zrg.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-C3uUT_S7.js');
27403
+ } = await import(/* webpackChunkName: "messages" */ './messages-rdtq6jgH-Cpp_3cR4.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-D7GxR0o2.js');
27497
+ const importee = await import('./client-5mPwJbpC-DcusxC0q.js');
27498
27498
  /**
27499
27499
  * @access public
27500
27500
  * @type {PeernetClient}
@@ -27651,7 +27651,7 @@ class Peernet {
27651
27651
  let providers = this.dht.providersFor(hash);
27652
27652
  // walk the network to find a provider
27653
27653
  let tries = 0;
27654
- while ((!providers && tries < 3) || (Object.keys(providers).length === 0 && tries < 3)) {
27654
+ while ((!providers && tries < 3) || (providers && Object.keys(providers).length === 0 && tries < 3)) {
27655
27655
  tries += 1;
27656
27656
  await this.walk(hash);
27657
27657
  providers = this.dht.providersFor(hash);
@@ -1,2 +1,2 @@
1
- export { N as default } from './node-browser-Bjb6j0bF.js';
1
+ export { N as default } from './node-browser-By4Fowr9.js';
2
2
  import './index-XTbRdu6H.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/chain",
3
- "version": "1.7.6",
3
+ "version": "1.7.7",
4
4
  "description": "Official javascript implementation",
5
5
  "private": false,
6
6
  "exports": {