@leofcoin/chain 1.4.66 → 1.4.68
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-04e44411-04e44411.js +41087 -0
- package/exports/browser/{index-3335f096-9107fef9.js → index-b5c99174-8b90872e.js} +1 -1
- package/exports/browser/{messages-56ff4da4-d9fa0d76.js → messages-3a71ed04-db6dbd83.js} +1 -1
- package/exports/browser/{node-browser-8efb8048.js → node-browser-e61b575b.js} +8 -8
- package/exports/browser/node-browser.js +1 -1
- package/package.json +1 -1
- package/exports/browser/client-7b9cd236-6d716d62.js +0 -9425
|
@@ -772,7 +772,7 @@ var _nodeResolve_empty$1 = /*#__PURE__*/Object.freeze({
|
|
|
772
772
|
default: _nodeResolve_empty
|
|
773
773
|
});
|
|
774
774
|
|
|
775
|
-
var require$$
|
|
775
|
+
var require$$0$1 = /*@__PURE__*/getAugmentedNamespace(_nodeResolve_empty$1);
|
|
776
776
|
|
|
777
777
|
(function (module) {
|
|
778
778
|
(function (module, exports) {
|
|
@@ -829,7 +829,7 @@ var require$$5 = /*@__PURE__*/getAugmentedNamespace(_nodeResolve_empty$1);
|
|
|
829
829
|
if (typeof window !== 'undefined' && typeof window.Buffer !== 'undefined') {
|
|
830
830
|
Buffer = window.Buffer;
|
|
831
831
|
} else {
|
|
832
|
-
Buffer = require$$
|
|
832
|
+
Buffer = require$$0$1.Buffer;
|
|
833
833
|
}
|
|
834
834
|
} catch (e) {
|
|
835
835
|
}
|
|
@@ -7290,7 +7290,7 @@ var bn = {
|
|
|
7290
7290
|
if (typeof window !== 'undefined' && typeof window.Buffer !== 'undefined') {
|
|
7291
7291
|
Buffer = window.Buffer;
|
|
7292
7292
|
} else {
|
|
7293
|
-
Buffer = require$$
|
|
7293
|
+
Buffer = require$$0$1.Buffer;
|
|
7294
7294
|
}
|
|
7295
7295
|
} catch (e) {
|
|
7296
7296
|
}
|
|
@@ -10936,7 +10936,7 @@ if (typeof self === 'object') {
|
|
|
10936
10936
|
} else {
|
|
10937
10937
|
// Node.js or Web worker with no crypto support
|
|
10938
10938
|
try {
|
|
10939
|
-
var crypto$1 = require$$
|
|
10939
|
+
var crypto$1 = require$$0$1;
|
|
10940
10940
|
if (typeof crypto$1.randomBytes !== 'function')
|
|
10941
10941
|
throw new Error('Not supported');
|
|
10942
10942
|
|
|
@@ -20262,7 +20262,7 @@ class Identity {
|
|
|
20262
20262
|
globalThis.peernet.selectedAccount = new TextDecoder().decode(selected);
|
|
20263
20263
|
}
|
|
20264
20264
|
else {
|
|
20265
|
-
const importee = await import(/* webpackChunkName: "generate-account" */ './index-
|
|
20265
|
+
const importee = await import(/* webpackChunkName: "generate-account" */ './index-b5c99174-8b90872e.js');
|
|
20266
20266
|
const { identity, accounts } = await importee.default(password, this.network);
|
|
20267
20267
|
await globalThis.accountStore.put('public', JSON.stringify({ walletId: identity.walletId }));
|
|
20268
20268
|
await globalThis.walletStore.put('version', String(1));
|
|
@@ -20433,7 +20433,7 @@ class Peernet {
|
|
|
20433
20433
|
this.root = options.root;
|
|
20434
20434
|
const { RequestMessage, ResponseMessage, PeerMessage, PeerMessageResponse, PeernetMessage, DHTMessage, DHTMessageResponse, DataMessage, DataMessageResponse, PsMessage, ChatMessage, PeernetFile
|
|
20435
20435
|
// FolderMessageResponse
|
|
20436
|
-
} = await import(/* webpackChunkName: "messages" */ './messages-
|
|
20436
|
+
} = await import(/* webpackChunkName: "messages" */ './messages-3a71ed04-db6dbd83.js');
|
|
20437
20437
|
/**
|
|
20438
20438
|
* proto Object containing protos
|
|
20439
20439
|
* @type {Object}
|
|
@@ -20512,7 +20512,7 @@ class Peernet {
|
|
|
20512
20512
|
if (this.#starting || this.#started)
|
|
20513
20513
|
return;
|
|
20514
20514
|
this.#starting = true;
|
|
20515
|
-
const importee = await import('./client-
|
|
20515
|
+
const importee = await import('./client-04e44411-04e44411.js');
|
|
20516
20516
|
/**
|
|
20517
20517
|
* @access public
|
|
20518
20518
|
* @type {PeernetClient}
|
|
@@ -21000,4 +21000,4 @@ class Node {
|
|
|
21000
21000
|
}
|
|
21001
21001
|
}
|
|
21002
21002
|
|
|
21003
|
-
export { FormatInterface as F, MultiWallet as M, Node as N, base58$1 as b,
|
|
21003
|
+
export { FormatInterface as F, MultiWallet as M, Node as N, base58$1 as b, encrypt as e };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { N as default } from './node-browser-
|
|
1
|
+
export { N as default } from './node-browser-e61b575b.js';
|
|
2
2
|
import './index-640d9f36.js';
|