@leofcoin/peernet 1.1.6 → 1.1.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/{client-1d0234a7.js → client-21cee984.js} +2 -2
- package/exports/browser/{index-1ce30988.js → index-543bc6a3.js} +1 -1
- package/exports/browser/{messages-e025829d.js → messages-48deb2c3.js} +1 -1
- package/exports/browser/{peernet-8a51792a.js → peernet-b4c44d17.js} +3 -3
- package/exports/browser/peernet.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LittlePubSub, c as commonjsGlobal } from './peernet-
|
|
1
|
+
import { L as LittlePubSub, c as commonjsGlobal } from './peernet-b4c44d17.js';
|
|
2
2
|
import './value-157ab062.js';
|
|
3
3
|
|
|
4
4
|
var clientApi = _pubsub => {
|
|
@@ -408,7 +408,7 @@ class Peer {
|
|
|
408
408
|
this.#connection.on('signal', signal => {
|
|
409
409
|
this._sendMessage({ signal });
|
|
410
410
|
});
|
|
411
|
-
this.#connection.on('
|
|
411
|
+
this.#connection.on('connect', () => {
|
|
412
412
|
this.#connected = true;
|
|
413
413
|
pubsub.publish('peer:connected', this);
|
|
414
414
|
});
|
|
@@ -16082,7 +16082,7 @@ class Identity {
|
|
|
16082
16082
|
globalThis.peernet.selectedAccount = new TextDecoder().decode(selected);
|
|
16083
16083
|
}
|
|
16084
16084
|
else {
|
|
16085
|
-
const importee = await import(/* webpackChunkName: "generate-account" */ './index-
|
|
16085
|
+
const importee = await import(/* webpackChunkName: "generate-account" */ './index-543bc6a3.js');
|
|
16086
16086
|
const { identity, accounts } = await importee.default(password, this.network);
|
|
16087
16087
|
await globalThis.accountStore.put('public', JSON.stringify({ walletId: identity.walletId }));
|
|
16088
16088
|
await globalThis.walletStore.put('version', String(1));
|
|
@@ -16252,7 +16252,7 @@ class Peernet {
|
|
|
16252
16252
|
this.root = options.root;
|
|
16253
16253
|
const { RequestMessage, ResponseMessage, PeerMessage, PeerMessageResponse, PeernetMessage, DHTMessage, DHTMessageResponse, DataMessage, DataMessageResponse, PsMessage, ChatMessage, PeernetFile
|
|
16254
16254
|
// FolderMessageResponse
|
|
16255
|
-
} = await import(/* webpackChunkName: "messages" */ './messages-
|
|
16255
|
+
} = await import(/* webpackChunkName: "messages" */ './messages-48deb2c3.js');
|
|
16256
16256
|
/**
|
|
16257
16257
|
* proto Object containing protos
|
|
16258
16258
|
* @type {Object}
|
|
@@ -16319,7 +16319,7 @@ class Peernet {
|
|
|
16319
16319
|
if (this.#starting || this.#started)
|
|
16320
16320
|
return;
|
|
16321
16321
|
this.#starting = true;
|
|
16322
|
-
const importee = await import('./client-
|
|
16322
|
+
const importee = await import('./client-21cee984.js');
|
|
16323
16323
|
/**
|
|
16324
16324
|
* @access public
|
|
16325
16325
|
* @type {PeernetClient}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { P as default } from './peernet-
|
|
1
|
+
export { P as default } from './peernet-b4c44d17.js';
|
|
2
2
|
import './value-157ab062.js';
|