genlayer 0.0.32 → 0.0.33

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 CHANGED
@@ -1,5 +1,12 @@
1
1
 
2
2
 
3
+ ## 0.0.33 (2024-10-22)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * response check ([#78](https://github.com/yeagerai/genlayer-cli/issues/78)) ([09c824f](https://github.com/yeagerai/genlayer-cli/commit/09c824f8b7ac1fff5355317d046752fbf58ab162))
9
+
3
10
  ## 0.0.32 (2024-07-15)
4
11
 
5
12
  ## 0.0.32-beta.2 (2024-07-03)
package/dist/index.js CHANGED
@@ -37739,7 +37739,7 @@ var {
37739
37739
  } = import_index.default;
37740
37740
 
37741
37741
  // package.json
37742
- var version = "0.0.32";
37742
+ var version = "0.0.33";
37743
37743
 
37744
37744
  // src/lib/config/text.ts
37745
37745
  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.";
@@ -38547,7 +38547,7 @@ var SimulatorService = class {
38547
38547
  console.log("Waiting for the simulator to start up...");
38548
38548
  try {
38549
38549
  const response = yield rpcClient.request({ method: "ping", params: [] });
38550
- if (response && (response.result.status === "OK" || response.result.data.status === "OK")) {
38550
+ if (response && (response.result === "OK" || response.result.status === "OK" || response.result.data.status === "OK")) {
38551
38551
  return { initialized: true };
38552
38552
  }
38553
38553
  if (retries > 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genlayer",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "GenLayer Command Line Tool",
5
5
  "main": "src/index.ts",
6
6
  "bin": {
@@ -180,7 +180,7 @@ export class SimulatorService implements ISimulatorService {
180
180
  const response = await rpcClient.request({method: "ping", params: []});
181
181
 
182
182
  //Compatibility with current simulator version
183
- if (response && (response.result.status === "OK" || response.result.data.status === "OK")) {
183
+ if (response && (response.result === "OK" || response.result.status === "OK" || response.result.data.status === "OK")) {
184
184
  return {initialized: true};
185
185
  }
186
186
  if (retries > 0) {