@leofcoin/peernet 1.1.40 → 1.1.41
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-7b9cd236.js → client-22e4daf2.js} +1 -2
- package/exports/browser/{index-3335f096.js → index-adb03c44.js} +1 -1
- package/exports/browser/{messages-56ff4da4.js → messages-45c0ed82.js} +1 -1
- package/exports/browser/{peernet-b645c748.js → peernet-58a20efc.js} +3 -3
- package/exports/browser/peernet.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as commonjsGlobal, r as require$$5, i as inherits_browserExports } from './peernet-
|
|
1
|
+
import { c as commonjsGlobal, r as require$$5, i as inherits_browserExports } from './peernet-58a20efc.js';
|
|
2
2
|
import './value-157ab062.js';
|
|
3
3
|
|
|
4
4
|
var cloneExports = {};
|
|
@@ -9313,7 +9313,6 @@ class P2PTPeer {
|
|
|
9313
9313
|
constructor(peer, p2pt, options = {}) {
|
|
9314
9314
|
this.#connection = peer;
|
|
9315
9315
|
this.p2pt = p2pt;
|
|
9316
|
-
this.id = options.id || peer.id;
|
|
9317
9316
|
this.localPeerId = this.p2pt.peerId;
|
|
9318
9317
|
this.bw = {
|
|
9319
9318
|
up: 0,
|
|
@@ -20179,7 +20179,7 @@ class Identity {
|
|
|
20179
20179
|
globalThis.peernet.selectedAccount = new TextDecoder().decode(selected);
|
|
20180
20180
|
}
|
|
20181
20181
|
else {
|
|
20182
|
-
const importee = await import(/* webpackChunkName: "generate-account" */ './index-
|
|
20182
|
+
const importee = await import(/* webpackChunkName: "generate-account" */ './index-adb03c44.js');
|
|
20183
20183
|
const { identity, accounts } = await importee.default(password, this.network);
|
|
20184
20184
|
await globalThis.accountStore.put('public', JSON.stringify({ walletId: identity.walletId }));
|
|
20185
20185
|
await globalThis.walletStore.put('version', String(1));
|
|
@@ -20350,7 +20350,7 @@ class Peernet {
|
|
|
20350
20350
|
this.root = options.root;
|
|
20351
20351
|
const { RequestMessage, ResponseMessage, PeerMessage, PeerMessageResponse, PeernetMessage, DHTMessage, DHTMessageResponse, DataMessage, DataMessageResponse, PsMessage, ChatMessage, PeernetFile
|
|
20352
20352
|
// FolderMessageResponse
|
|
20353
|
-
} = await import(/* webpackChunkName: "messages" */ './messages-
|
|
20353
|
+
} = await import(/* webpackChunkName: "messages" */ './messages-45c0ed82.js');
|
|
20354
20354
|
/**
|
|
20355
20355
|
* proto Object containing protos
|
|
20356
20356
|
* @type {Object}
|
|
@@ -20429,7 +20429,7 @@ class Peernet {
|
|
|
20429
20429
|
if (this.#starting || this.#started)
|
|
20430
20430
|
return;
|
|
20431
20431
|
this.#starting = true;
|
|
20432
|
-
const importee = await import('./client-
|
|
20432
|
+
const importee = await import('./client-22e4daf2.js');
|
|
20433
20433
|
/**
|
|
20434
20434
|
* @access public
|
|
20435
20435
|
* @type {PeernetClient}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { P as default } from './peernet-
|
|
1
|
+
export { P as default } from './peernet-58a20efc.js';
|
|
2
2
|
import './value-157ab062.js';
|