@dynamic-labs-wallet/tempo 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
@@ -643,8 +643,10 @@ function _ts_generator(thisArg, body) {
643
643
  ];
644
644
  case 4:
645
645
  error = _state.sent();
646
- _this.logger.error(browser.ERROR_SIGN_MESSAGE, error);
647
- throw new Error(browser.ERROR_SIGN_MESSAGE);
646
+ _this.logOperationFailure(browser.ERROR_SIGN_MESSAGE, error);
647
+ throw new Error(browser.ERROR_SIGN_MESSAGE, {
648
+ cause: error
649
+ });
648
650
  case 5:
649
651
  return [
650
652
  2
@@ -875,8 +877,10 @@ function _ts_generator(thisArg, body) {
875
877
  ];
876
878
  case 4:
877
879
  error = _state.sent();
878
- _this.logger.error(browser.ERROR_SIGN_TYPED_DATA, error);
879
- throw new Error(browser.ERROR_SIGN_TYPED_DATA);
880
+ _this.logOperationFailure(browser.ERROR_SIGN_TYPED_DATA, error);
881
+ throw new Error(browser.ERROR_SIGN_TYPED_DATA, {
882
+ cause: error
883
+ });
880
884
  case 5:
881
885
  return [
882
886
  2
package/index.esm.js CHANGED
@@ -641,8 +641,10 @@ function _ts_generator(thisArg, body) {
641
641
  ];
642
642
  case 4:
643
643
  error = _state.sent();
644
- _this.logger.error(ERROR_SIGN_MESSAGE, error);
645
- throw new Error(ERROR_SIGN_MESSAGE);
644
+ _this.logOperationFailure(ERROR_SIGN_MESSAGE, error);
645
+ throw new Error(ERROR_SIGN_MESSAGE, {
646
+ cause: error
647
+ });
646
648
  case 5:
647
649
  return [
648
650
  2
@@ -873,8 +875,10 @@ function _ts_generator(thisArg, body) {
873
875
  ];
874
876
  case 4:
875
877
  error = _state.sent();
876
- _this.logger.error(ERROR_SIGN_TYPED_DATA, error);
877
- throw new Error(ERROR_SIGN_TYPED_DATA);
878
+ _this.logOperationFailure(ERROR_SIGN_TYPED_DATA, error);
879
+ throw new Error(ERROR_SIGN_TYPED_DATA, {
880
+ cause: error
881
+ });
878
882
  case 5:
879
883
  return [
880
884
  2
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/tempo",
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
  },
10
10
  "peerDependencies": {