@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.
- package/exports/browser/{browser-Ei0BXMlu-CUWm-sMO.js → browser-P2HFBJsB-D1PEhFyZ.js} +1 -1
- package/exports/browser/chain.js +656 -673
- package/exports/browser/{client-A009z8av-D7GxR0o2.js → client-5mPwJbpC-DcusxC0q.js} +3 -3
- package/exports/browser/{index-YQrIDBUQ-COx7Reww.js → index-00QxgDks-D31Jchhm.js} +422 -408
- package/exports/browser/{index-G74WLzL7-D5kDRHRC.js → index-fC0k-d_O-DQ-T8zrg.js} +1 -1
- package/exports/browser/{messages-lWRTai7t-C3uUT_S7.js → messages-rdtq6jgH-Cpp_3cR4.js} +1 -1
- package/exports/browser/{node-browser-Bjb6j0bF.js → node-browser-By4Fowr9.js} +4 -4
- package/exports/browser/node-browser.js +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
1
|
+
export { N as default } from './node-browser-By4Fowr9.js';
|
|
2
2
|
import './index-XTbRdu6H.js';
|