@leofcoin/peernet 1.2.9 → 1.2.10
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, d as deflate_1, i as inflate_1, c as createDebugger } from './peernet-
|
|
1
|
+
import { L as LittlePubSub, d as deflate_1, i as inflate_1, c as createDebugger } from './peernet-CCZ65IdF.js';
|
|
2
2
|
import './identity-CqSnKXWH.js';
|
|
3
3
|
import './value-C3vAp-wb.js';
|
|
4
4
|
|
|
@@ -7540,9 +7540,10 @@ let Codec$1 = class Codec extends BasicInterface {
|
|
|
7540
7540
|
else
|
|
7541
7541
|
this.fromString(buffer);
|
|
7542
7542
|
}
|
|
7543
|
-
if (
|
|
7543
|
+
else if (typeof buffer === 'number') {
|
|
7544
7544
|
if (utils.getCodec(buffer))
|
|
7545
7545
|
this.fromCodec(buffer);
|
|
7546
|
+
}
|
|
7546
7547
|
}
|
|
7547
7548
|
}
|
|
7548
7549
|
fromEncoded(encoded) {
|
|
@@ -8472,7 +8473,7 @@ class Peernet {
|
|
|
8472
8473
|
await getAddress();
|
|
8473
8474
|
this.storePrefix = options.storePrefix;
|
|
8474
8475
|
this.root = options.root;
|
|
8475
|
-
const { RequestMessage, ResponseMessage, PeerMessage, PeerMessageResponse, PeernetMessage, DHTMessage, DHTMessageResponse, DataMessage, DataMessageResponse, PsMessage, ChatMessage, PeernetFile } = await import(/* webpackChunkName: "messages" */ './messages-
|
|
8476
|
+
const { RequestMessage, ResponseMessage, PeerMessage, PeerMessageResponse, PeernetMessage, DHTMessage, DHTMessageResponse, DataMessage, DataMessageResponse, PsMessage, ChatMessage, PeernetFile } = await import(/* webpackChunkName: "messages" */ './messages-odneBhMk.js');
|
|
8476
8477
|
/**
|
|
8477
8478
|
* proto Object containing protos
|
|
8478
8479
|
* @type {Object}
|
|
@@ -8519,7 +8520,7 @@ class Peernet {
|
|
|
8519
8520
|
if (this.#starting || this.#started)
|
|
8520
8521
|
return;
|
|
8521
8522
|
this.#starting = true;
|
|
8522
|
-
const importee = await import('./client-
|
|
8523
|
+
const importee = await import('./client-CwKuEJRO.js');
|
|
8523
8524
|
/**
|
|
8524
8525
|
* @access public
|
|
8525
8526
|
* @type {PeernetClient}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leofcoin/peernet",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"browser": "./exports/browser/peernet.js",
|
|
6
6
|
"exports": {
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
"author": "",
|
|
249
249
|
"license": "MIT",
|
|
250
250
|
"dependencies": {
|
|
251
|
-
"@leofcoin/codec-format-interface": "^1.8.
|
|
251
|
+
"@leofcoin/codec-format-interface": "^1.8.1",
|
|
252
252
|
"@leofcoin/codecs": "^1.0.7",
|
|
253
253
|
"@leofcoin/generate-account": "^2.0.3",
|
|
254
254
|
"@leofcoin/identity-utils": "^1.0.2",
|