@meshsdk/core-csl 1.7.4 → 1.7.6

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/dist/index.cjs CHANGED
@@ -1104,7 +1104,7 @@ var CSLSerializer = class {
1104
1104
  }
1105
1105
  const txBuildResult = csl.js_serialize_tx_body(txBodyJson, params);
1106
1106
  if (txBuildResult.get_status() !== "success") {
1107
- throw new Error(`txBuildResult error: ${txBuildResult.get_data()}`);
1107
+ throw new Error(`txBuildResult error: ${txBuildResult.get_error()}`);
1108
1108
  }
1109
1109
  return txBuildResult.get_data();
1110
1110
  }
package/dist/index.js CHANGED
@@ -984,7 +984,7 @@ var CSLSerializer = class {
984
984
  }
985
985
  const txBuildResult = csl.js_serialize_tx_body(txBodyJson, params);
986
986
  if (txBuildResult.get_status() !== "success") {
987
- throw new Error(`txBuildResult error: ${txBuildResult.get_data()}`);
987
+ throw new Error(`txBuildResult error: ${txBuildResult.get_error()}`);
988
988
  }
989
989
  return txBuildResult.get_data();
990
990
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshsdk/core-csl",
3
- "version": "1.7.4",
3
+ "version": "1.7.6",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -38,9 +38,9 @@
38
38
  "typescript": "^5.3.3"
39
39
  },
40
40
  "dependencies": {
41
- "@meshsdk/common": "1.7.4",
42
- "@sidan-lab/sidan-csl-rs-browser": "0.8.3",
43
- "@sidan-lab/sidan-csl-rs-nodejs": "0.8.3",
41
+ "@meshsdk/common": "1.7.6",
42
+ "@sidan-lab/sidan-csl-rs-browser": "0.8.5",
43
+ "@sidan-lab/sidan-csl-rs-nodejs": "0.8.5",
44
44
  "json-bigint": "^1.0.0"
45
45
  },
46
46
  "prettier": "@meshsdk/configs/prettier",