@leofcoin/peernet 1.1.39 → 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.
@@ -1,4 +1,4 @@
1
- import { c as commonjsGlobal, r as require$$5, i as inherits_browserExports } from './peernet-b645c748.js';
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,
@@ -1,4 +1,4 @@
1
- import { M as MultiWallet, e as encrypt, b as base58$1 } from './peernet-b645c748.js';
1
+ import { M as MultiWallet, e as encrypt, b as base58$1 } from './peernet-58a20efc.js';
2
2
  import './value-157ab062.js';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { F as FormatInterface } from './peernet-b645c748.js';
1
+ import { F as FormatInterface } from './peernet-58a20efc.js';
2
2
  import './value-157ab062.js';
3
3
 
4
4
  var proto$b = {
@@ -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-3335f096.js');
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-56ff4da4.js');
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-7b9cd236.js');
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-b645c748.js';
1
+ export { P as default } from './peernet-58a20efc.js';
2
2
  import './value-157ab062.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/peernet",
3
- "version": "1.1.39",
3
+ "version": "1.1.41",
4
4
  "description": "",
5
5
  "main": "src/peernet.js",
6
6
  "exports": {