@leofcoin/chain 1.7.0 → 1.7.1
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/{browser-Ei0BXMlu-snXEaZGH.js → browser-Ei0BXMlu-Bru_cjhY.js} +1 -1
- package/exports/browser/{client-A009z8av-BEuROKOy.js → client-A009z8av-BwJnq5m9.js} +3 -3
- package/exports/browser/{index-G74WLzL7-C4adPwed.js → index-G74WLzL7-DW-xDkOL.js} +1 -1
- package/exports/browser/{index-YQrIDBUQ-BfKWAaDQ.js → index-YQrIDBUQ-RIYuLGAF.js} +1 -1
- package/exports/browser/{messages-lWRTai7t-BKY-q3u-.js → messages-lWRTai7t-J7Xx6IHA.js} +1 -1
- package/exports/browser/{node-browser-BJ4SfCPo.js → node-browser-Od7gtk-Y.js} +4 -4
- package/exports/browser/node-browser.js +1 -1
- package/exports/node.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LittlePubSub } from './node-browser-
|
|
1
|
+
import { L as LittlePubSub } from './node-browser-Od7gtk-Y.js';
|
|
2
2
|
import './index-XTbRdu6H.js';
|
|
3
3
|
|
|
4
4
|
class Api {
|
|
@@ -206,7 +206,7 @@ class SocketRequestClient {
|
|
|
206
206
|
const init = async () => {
|
|
207
207
|
// @ts-ignore
|
|
208
208
|
if (!globalThis.WebSocket)
|
|
209
|
-
globalThis.WebSocket = (await import('./browser-Ei0BXMlu-
|
|
209
|
+
globalThis.WebSocket = (await import('./browser-Ei0BXMlu-Bru_cjhY.js').then(function (n) { return n.b; })).default.w3cwebsocket;
|
|
210
210
|
const client = new WebSocket(this.#url, this.#protocol);
|
|
211
211
|
client.onmessage = this.onmessage;
|
|
212
212
|
client.onerror = this.onerror;
|
|
@@ -280,7 +280,7 @@ const iceServers = [
|
|
|
280
280
|
credential: 'openrelayproject'
|
|
281
281
|
}
|
|
282
282
|
];
|
|
283
|
-
const SimplePeer = (await import('./index-YQrIDBUQ-
|
|
283
|
+
const SimplePeer = (await import('./index-YQrIDBUQ-RIYuLGAF.js').then(function (n) { return n.i; })).default;
|
|
284
284
|
class Peer extends SimplePeer {
|
|
285
285
|
peerId;
|
|
286
286
|
channelName;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as inherits_browserExports, c as commonjsGlobal, g as getDefaultExportFromCjs, r as require$$3 } from './node-browser-
|
|
1
|
+
import { i as inherits_browserExports, c as commonjsGlobal, g as getDefaultExportFromCjs, r as require$$3 } from './node-browser-Od7gtk-Y.js';
|
|
2
2
|
import './index-XTbRdu6H.js';
|
|
3
3
|
|
|
4
4
|
var browser$2 = {exports: {}};
|
|
@@ -27208,7 +27208,7 @@ class Identity {
|
|
|
27208
27208
|
this.selectedAccount = new TextDecoder().decode(selected);
|
|
27209
27209
|
}
|
|
27210
27210
|
else {
|
|
27211
|
-
const importee = await import(/* webpackChunkName: "generate-account" */ './index-G74WLzL7-
|
|
27211
|
+
const importee = await import(/* webpackChunkName: "generate-account" */ './index-G74WLzL7-DW-xDkOL.js');
|
|
27212
27212
|
const { identity, accounts } = await importee.default(password, this.network);
|
|
27213
27213
|
await globalThis.accountStore.put('public', JSON.stringify({ walletId: identity.walletId }));
|
|
27214
27214
|
await globalThis.walletStore.put('version', String(1));
|
|
@@ -27400,7 +27400,7 @@ class Peernet {
|
|
|
27400
27400
|
this.root = options.root;
|
|
27401
27401
|
const { RequestMessage, ResponseMessage, PeerMessage, PeerMessageResponse, PeernetMessage, DHTMessage, DHTMessageResponse, DataMessage, DataMessageResponse, PsMessage, ChatMessage, PeernetFile
|
|
27402
27402
|
// FolderMessageResponse
|
|
27403
|
-
} = await import(/* webpackChunkName: "messages" */ './messages-lWRTai7t-
|
|
27403
|
+
} = await import(/* webpackChunkName: "messages" */ './messages-lWRTai7t-J7Xx6IHA.js');
|
|
27404
27404
|
/**
|
|
27405
27405
|
* proto Object containing protos
|
|
27406
27406
|
* @type {Object}
|
|
@@ -27494,7 +27494,7 @@ class Peernet {
|
|
|
27494
27494
|
if (this.#starting || this.#started)
|
|
27495
27495
|
return;
|
|
27496
27496
|
this.#starting = true;
|
|
27497
|
-
const importee = await import('./client-A009z8av-
|
|
27497
|
+
const importee = await import('./client-A009z8av-BwJnq5m9.js');
|
|
27498
27498
|
/**
|
|
27499
27499
|
* @access public
|
|
27500
27500
|
* @type {PeernetClient}
|
|
@@ -28008,7 +28008,7 @@ class Node {
|
|
|
28008
28008
|
async _init(config = {
|
|
28009
28009
|
network: 'leofcoin:peach',
|
|
28010
28010
|
networkVersion: 'peach',
|
|
28011
|
-
version: '1.2.
|
|
28011
|
+
version: '1.2.1',
|
|
28012
28012
|
stars: networks.leofcoin.peach.stars
|
|
28013
28013
|
}, password) {
|
|
28014
28014
|
config = { ...DEFAULT_NODE_OPTIONS, ...config };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { N as default } from './node-browser-
|
|
1
|
+
export { N as default } from './node-browser-Od7gtk-Y.js';
|
|
2
2
|
import './index-XTbRdu6H.js';
|
package/exports/node.js
CHANGED