@leofcoin/launch-chain 0.4.14 → 0.4.16
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/index.js +4 -2
- package/package.json +3 -3
package/exports/index.js
CHANGED
|
@@ -110,7 +110,8 @@ const launch = async (options, password) => {
|
|
|
110
110
|
else if (options.mode === 'direct') {
|
|
111
111
|
await new Node({ network: options.network, stars: options.stars, networkVersion: options.networkVersion }, password);
|
|
112
112
|
await nodeConfig({ network: options.network, networkVersion: options.networkVersion });
|
|
113
|
-
chain =
|
|
113
|
+
chain = new Chain({ network: options.network, stars: options.stars, networkVersion: options.networkVersion });
|
|
114
|
+
await chain.ready;
|
|
114
115
|
if (options.ws) {
|
|
115
116
|
const importee = await import('@leofcoin/endpoints/ws');
|
|
116
117
|
const wsServer = importee.default;
|
|
@@ -139,7 +140,8 @@ const launch = async (options, password) => {
|
|
|
139
140
|
else {
|
|
140
141
|
await new Node({ network: options.network, stars: options.stars, networkVersion: options.networkVersion }, password);
|
|
141
142
|
await nodeConfig({ network: options.network, networkVersion: options.networkVersion });
|
|
142
|
-
chain =
|
|
143
|
+
chain = new Chain({ network: options.network, stars: options.stars, networkVersion: options.networkVersion });
|
|
144
|
+
await chain.ready;
|
|
143
145
|
if (options.ws) {
|
|
144
146
|
const importee = await import('@leofcoin/endpoints/ws');
|
|
145
147
|
const wsServer = importee.default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leofcoin/launch-chain",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.16",
|
|
4
4
|
"description": "",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/leofcoin/launch-chain#readme",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@leofcoin/chain": "^1.
|
|
31
|
+
"@leofcoin/chain": "^1.8.5",
|
|
32
32
|
"@leofcoin/endpoint-clients": "^0.3.15",
|
|
33
33
|
"@leofcoin/endpoints": "^0.4.8",
|
|
34
34
|
"@leofcoin/networks": "^1.1.25"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
38
|
-
"rollup": "^4.
|
|
38
|
+
"rollup": "^4.54.0",
|
|
39
39
|
"tslib": "^2.8.1"
|
|
40
40
|
}
|
|
41
41
|
}
|