genlayer 0.0.30 → 0.0.31
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/CHANGELOG.md +7 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/lib/services/simulator.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## 0.0.31 (2024-05-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* handle Fetch Error (Mac M3) ([#36](https://github.com/yeagerai/genlayer-cli/issues/36)) ([deae77a](https://github.com/yeagerai/genlayer-cli/commit/deae77a7c5a0f00694d2aa94f26d3e3be67e0178))
|
|
9
|
+
|
|
3
10
|
## 0.0.30 (2024-05-22)
|
|
4
11
|
|
|
5
12
|
## 0.0.29 (2024-05-15)
|
package/dist/index.js
CHANGED
|
@@ -39896,7 +39896,7 @@ var {
|
|
|
39896
39896
|
} = import_index.default;
|
|
39897
39897
|
|
|
39898
39898
|
// package.json
|
|
39899
|
-
var version = "0.0.
|
|
39899
|
+
var version = "0.0.31";
|
|
39900
39900
|
|
|
39901
39901
|
// src/lib/config/text.ts
|
|
39902
39902
|
var CLI_DESCRIPTION = "GenLayer CLI is a development environment for the GenLayer ecosystem. It allows developers to interact with the protocol by creating accounts, sending transactions, and working with Intelligent Contracts by testing, debugging, and deploying them.";
|
|
@@ -44586,7 +44586,7 @@ function waitForSimulatorToBeReady() {
|
|
|
44586
44586
|
return waitForSimulatorToBeReady(retries - 1);
|
|
44587
44587
|
}
|
|
44588
44588
|
} catch (error) {
|
|
44589
|
-
if ((error.name === "FetchError" || error.message.includes("ECONNRESET") || error.message.includes("ECONNREFUSED") || error.message.includes("socket hang up")) && retries > 0) {
|
|
44589
|
+
if ((error.name === "FetchError" || error.message.includes("Fetch Error") || error.message.includes("ECONNRESET") || error.message.includes("ECONNREFUSED") || error.message.includes("socket hang up")) && retries > 0) {
|
|
44590
44590
|
yield sleep(STARTING_TIMEOUT_WAIT_CYLCE * 2);
|
|
44591
44591
|
return waitForSimulatorToBeReady(retries - 1);
|
|
44592
44592
|
}
|
package/package.json
CHANGED
|
@@ -176,6 +176,7 @@ export async function waitForSimulatorToBeReady(
|
|
|
176
176
|
} catch (error: any) {
|
|
177
177
|
if (
|
|
178
178
|
(error.name === "FetchError" ||
|
|
179
|
+
error.message.includes("Fetch Error") ||
|
|
179
180
|
error.message.includes("ECONNRESET") ||
|
|
180
181
|
error.message.includes("ECONNREFUSED") ||
|
|
181
182
|
error.message.includes("socket hang up")) &&
|