@leofcoin/peernet 0.18.6 → 0.18.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.
@@ -1,4 +1,4 @@
1
- import { L as LittlePubSub } from './peernet-b0cce194.js';
1
+ import { L as LittlePubSub } from './peernet-29c659a0.js';
2
2
  import './value-40634404.js';
3
3
 
4
4
  var clientApi = _pubsub => {
@@ -1,5 +1,5 @@
1
- import MultiWallet from './index-53a6455f.js';
2
- import './peernet-b0cce194.js';
1
+ import MultiWallet from './index-f3625c4a.js';
2
+ import './peernet-29c659a0.js';
3
3
  import './value-40634404.js';
4
4
 
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { b as base58$1, i as index$1, a as index$2, c as index$3, d as index$4, e as createRIPEMD160, f as createHMAC, g as createSHA512, h as createKeccak } from './peernet-b0cce194.js';
1
+ import { b as base58$1, i as index$1, a as index$2, c as index$3, d as index$4, e as createRIPEMD160, f as createHMAC, g as createSHA512, h as createKeccak } from './peernet-29c659a0.js';
2
2
  import './value-40634404.js';
3
3
 
4
4
  const randombytes = strength => crypto.getRandomValues(new Uint8Array(strength));
@@ -1,4 +1,4 @@
1
- import { F as FormatInterface } from './peernet-b0cce194.js';
1
+ import { F as FormatInterface } from './peernet-29c659a0.js';
2
2
  import './value-40634404.js';
3
3
 
4
4
  var proto$b = {
@@ -121,7 +121,7 @@ class RequestMessage extends FormatInterface {
121
121
  }
122
122
 
123
123
  var proto$4 = {
124
- response: new Uint8Array()
124
+ response: {}
125
125
  };
126
126
 
127
127
  class ResponseMessage extends FormatInterface {
@@ -2150,7 +2150,7 @@ class MessageHandler {
2150
2150
  let identity = await walletStore.get('identity');
2151
2151
  identity = JSON.parse(identity);
2152
2152
  if (!globalThis.MultiWallet) {
2153
- const importee = await import(/* webpackChunkName: "multi-wallet" */ './index-53a6455f.js');
2153
+ const importee = await import(/* webpackChunkName: "multi-wallet" */ './index-f3625c4a.js');
2154
2154
  globalThis.MultiWallet = importee.default;
2155
2155
  }
2156
2156
  const wallet = new MultiWallet(this.network);
@@ -2475,7 +2475,7 @@ class Peernet {
2475
2475
  this.root = options.root;
2476
2476
  const { RequestMessage, ResponseMessage, PeerMessage, PeerMessageResponse, PeernetMessage, DHTMessage, DHTMessageResponse, DataMessage, DataMessageResponse, PsMessage, ChatMessage, PeernetFile
2477
2477
  // FolderMessageResponse
2478
- } = await import(/* webpackChunkName: "messages" */ './messages-9ae8a6d0.js');
2478
+ } = await import(/* webpackChunkName: "messages" */ './messages-d87e15a0.js');
2479
2479
  /**
2480
2480
  * proto Object containing protos
2481
2481
  * @type {Object}
@@ -2523,7 +2523,7 @@ class Peernet {
2523
2523
  }
2524
2524
  }
2525
2525
  else {
2526
- const importee = await import(/* webpackChunkName: "generate-account" */ './index-9bf6b3b4.js');
2526
+ const importee = await import(/* webpackChunkName: "generate-account" */ './index-9f9f4d27.js');
2527
2527
  const generateAccount = importee.default;
2528
2528
  const { identity, accounts, config } = await generateAccount(this.network);
2529
2529
  // await accountStore.put('config', JSON.stringify(config));
@@ -2552,7 +2552,7 @@ class Peernet {
2552
2552
  * @see DataHandler
2553
2553
  */
2554
2554
  pubsub.subscribe('peer:data', dataHandler);
2555
- const importee = await import('./client-185cbc7f.js');
2555
+ const importee = await import('./client-4e947338.js');
2556
2556
  /**
2557
2557
  * @access public
2558
2558
  * @type {PeernetClient}
@@ -1,2 +1,2 @@
1
- export { P as default } from './peernet-b0cce194.js';
1
+ export { P as default } from './peernet-29c659a0.js';
2
2
  import './value-40634404.js';
@@ -1,4 +1,4 @@
1
1
  declare namespace _default {
2
- const response: Uint8Array;
2
+ const response: {};
3
3
  }
4
4
  export default _default;
@@ -120,7 +120,7 @@ class RequestMessage extends FormatInterface {
120
120
  }
121
121
 
122
122
  var proto$4 = {
123
- response: new Uint8Array()
123
+ response: {}
124
124
  };
125
125
 
126
126
  class ResponseMessage extends FormatInterface {
@@ -426,7 +426,7 @@ class Peernet {
426
426
  this.root = options.root;
427
427
  const { RequestMessage, ResponseMessage, PeerMessage, PeerMessageResponse, PeernetMessage, DHTMessage, DHTMessageResponse, DataMessage, DataMessageResponse, PsMessage, ChatMessage, PeernetFile
428
428
  // FolderMessageResponse
429
- } = await import(/* webpackChunkName: "messages" */ './messages-ebdc8c69.js');
429
+ } = await import(/* webpackChunkName: "messages" */ './messages-75fe56a4.js');
430
430
  /**
431
431
  * proto Object containing protos
432
432
  * @type {Object}
@@ -1,4 +1,4 @@
1
1
  declare namespace _default {
2
- const response: Uint8Array;
2
+ const response: {};
3
3
  }
4
4
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/peernet",
3
- "version": "0.18.6",
3
+ "version": "0.18.7",
4
4
  "description": "",
5
5
  "main": "src/peernet.js",
6
6
  "exports": {
@@ -1,3 +1,3 @@
1
1
  export default {
2
- response: new Uint8Array()
2
+ response: {}
3
3
  }