@dynamic-labs-wallet/tron 1.0.74 → 1.0.75

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/index.cjs CHANGED
@@ -745,7 +745,9 @@ function _ts_generator(thisArg, body) {
745
745
  case 4:
746
746
  error = _state.sent();
747
747
  _this.logger.error(ERROR_SIGN_MESSAGE, error);
748
- throw new Error(ERROR_SIGN_MESSAGE);
748
+ throw new Error(ERROR_SIGN_MESSAGE, {
749
+ cause: error
750
+ });
749
751
  case 5:
750
752
  return [
751
753
  2
@@ -854,7 +856,9 @@ function _ts_generator(thisArg, body) {
854
856
  case 4:
855
857
  error = _state.sent();
856
858
  _this.logger.error(ERROR_SIGN_TRANSACTION, error);
857
- throw new Error(ERROR_SIGN_TRANSACTION);
859
+ throw new Error(ERROR_SIGN_TRANSACTION, {
860
+ cause: error
861
+ });
858
862
  case 5:
859
863
  return [
860
864
  2
package/index.esm.js CHANGED
@@ -725,7 +725,9 @@ function _ts_generator(thisArg, body) {
725
725
  case 4:
726
726
  error = _state.sent();
727
727
  _this.logger.error(ERROR_SIGN_MESSAGE, error);
728
- throw new Error(ERROR_SIGN_MESSAGE);
728
+ throw new Error(ERROR_SIGN_MESSAGE, {
729
+ cause: error
730
+ });
729
731
  case 5:
730
732
  return [
731
733
  2
@@ -834,7 +836,9 @@ function _ts_generator(thisArg, body) {
834
836
  case 4:
835
837
  error = _state.sent();
836
838
  _this.logger.error(ERROR_SIGN_TRANSACTION, error);
837
- throw new Error(ERROR_SIGN_TRANSACTION);
839
+ throw new Error(ERROR_SIGN_TRANSACTION, {
840
+ cause: error
841
+ });
838
842
  case 5:
839
843
  return [
840
844
  2
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/tron",
3
- "version": "1.0.74",
3
+ "version": "1.0.75",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "dependencies": {
7
- "@dynamic-labs-wallet/browser": "1.0.74",
7
+ "@dynamic-labs-wallet/browser": "1.0.75",
8
8
  "@dynamic-labs/sdk-api-core": "^0.0.1082",
9
9
  "@noble/hashes": "1.7.1",
10
10
  "bs58": "^6.0.0"