@leofcoin/chain 1.4.60 → 1.4.61
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/{client-10cfc17d-c47b062b.js → client-c3673dc8-4e2f093c.js} +2 -2
- package/exports/browser/{index-cf8b44ca-a27c61c1.js → index-f2f8db5e-087c8b04.js} +1 -1
- package/exports/browser/{messages-d292642b-e5aa934c.js → messages-fc7c059d-c1b190ab.js} +1 -1
- package/exports/browser/{node-browser-39985c71.js → node-browser-7733e2c1.js} +3 -3
- package/exports/browser/node-browser.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './node-browser-
|
|
1
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './node-browser-7733e2c1.js';
|
|
2
2
|
import './index-640d9f36.js';
|
|
3
3
|
|
|
4
4
|
function commonjsRequire(path) {
|
|
@@ -41044,7 +41044,7 @@ class P2PTClient extends P2PT {
|
|
|
41044
41044
|
let promises = Object.entries(peers).map(async ([id, peer]) => {
|
|
41045
41045
|
const hasPeer = this.#discovered[id];
|
|
41046
41046
|
if (!hasPeer) this.#discovered[id] = await new P2PTPeer(peer, this);
|
|
41047
|
-
if (this.#discovered[id].connected) pubsub.publish('peer:discovered', this.#discovered[id]);
|
|
41047
|
+
if (!hasPeer && this.#discovered[id].connected) pubsub.publish('peer:discovered', this.#discovered[id]);
|
|
41048
41048
|
});
|
|
41049
41049
|
promises = await Promise.allSettled(promises);
|
|
41050
41050
|
pubsub.publish('star:connected', tracker);
|
|
@@ -20266,7 +20266,7 @@ class Identity {
|
|
|
20266
20266
|
globalThis.peernet.selectedAccount = new TextDecoder().decode(selected);
|
|
20267
20267
|
}
|
|
20268
20268
|
else {
|
|
20269
|
-
const importee = await import(/* webpackChunkName: "generate-account" */ './index-
|
|
20269
|
+
const importee = await import(/* webpackChunkName: "generate-account" */ './index-f2f8db5e-087c8b04.js');
|
|
20270
20270
|
const { identity, accounts } = await importee.default(password, this.network);
|
|
20271
20271
|
await globalThis.accountStore.put('public', JSON.stringify({ walletId: identity.walletId }));
|
|
20272
20272
|
await globalThis.walletStore.put('version', String(1));
|
|
@@ -20437,7 +20437,7 @@ class Peernet {
|
|
|
20437
20437
|
this.root = options.root;
|
|
20438
20438
|
const { RequestMessage, ResponseMessage, PeerMessage, PeerMessageResponse, PeernetMessage, DHTMessage, DHTMessageResponse, DataMessage, DataMessageResponse, PsMessage, ChatMessage, PeernetFile
|
|
20439
20439
|
// FolderMessageResponse
|
|
20440
|
-
} = await import(/* webpackChunkName: "messages" */ './messages-
|
|
20440
|
+
} = await import(/* webpackChunkName: "messages" */ './messages-fc7c059d-c1b190ab.js');
|
|
20441
20441
|
/**
|
|
20442
20442
|
* proto Object containing protos
|
|
20443
20443
|
* @type {Object}
|
|
@@ -20516,7 +20516,7 @@ class Peernet {
|
|
|
20516
20516
|
if (this.#starting || this.#started)
|
|
20517
20517
|
return;
|
|
20518
20518
|
this.#starting = true;
|
|
20519
|
-
const importee = await import('./client-
|
|
20519
|
+
const importee = await import('./client-c3673dc8-4e2f093c.js');
|
|
20520
20520
|
/**
|
|
20521
20521
|
* @access public
|
|
20522
20522
|
* @type {PeernetClient}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { N as default } from './node-browser-
|
|
1
|
+
export { N as default } from './node-browser-7733e2c1.js';
|
|
2
2
|
import './index-640d9f36.js';
|