@dynamic-labs-wallet/tron 1.0.89 → 1.0.91

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