@dynamic-labs-wallet/stellar 1.0.89 → 1.0.90

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
@@ -499,7 +499,7 @@ var DynamicStellarWalletClient = /*#__PURE__*/ function(DynamicWalletClient) {
499
499
  ];
500
500
  case 4:
501
501
  error = _state.sent();
502
- _this.logger.error(ERROR_SIGN_MESSAGE, error);
502
+ _this.logOperationFailure(ERROR_SIGN_MESSAGE, error);
503
503
  throw new Error(ERROR_SIGN_MESSAGE, {
504
504
  cause: error
505
505
  });
@@ -581,8 +581,10 @@ var DynamicStellarWalletClient = /*#__PURE__*/ function(DynamicWalletClient) {
581
581
  ];
582
582
  case 4:
583
583
  error = _state.sent();
584
- _this.logger.error(ERROR_SIGN_TRANSACTION, error);
585
- throw new Error(ERROR_SIGN_TRANSACTION);
584
+ _this.logOperationFailure(ERROR_SIGN_TRANSACTION, error);
585
+ throw new Error(ERROR_SIGN_TRANSACTION, {
586
+ cause: error
587
+ });
586
588
  case 5:
587
589
  return [
588
590
  2
package/index.esm.js CHANGED
@@ -479,7 +479,7 @@ var DynamicStellarWalletClient = /*#__PURE__*/ function(DynamicWalletClient) {
479
479
  ];
480
480
  case 4:
481
481
  error = _state.sent();
482
- _this.logger.error(ERROR_SIGN_MESSAGE, error);
482
+ _this.logOperationFailure(ERROR_SIGN_MESSAGE, error);
483
483
  throw new Error(ERROR_SIGN_MESSAGE, {
484
484
  cause: error
485
485
  });
@@ -561,8 +561,10 @@ var DynamicStellarWalletClient = /*#__PURE__*/ function(DynamicWalletClient) {
561
561
  ];
562
562
  case 4:
563
563
  error = _state.sent();
564
- _this.logger.error(ERROR_SIGN_TRANSACTION, error);
565
- throw new Error(ERROR_SIGN_TRANSACTION);
564
+ _this.logOperationFailure(ERROR_SIGN_TRANSACTION, error);
565
+ throw new Error(ERROR_SIGN_TRANSACTION, {
566
+ cause: error
567
+ });
566
568
  case 5:
567
569
  return [
568
570
  2
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/stellar",
3
- "version": "1.0.89",
3
+ "version": "1.0.90",
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.90",
8
8
  "@stellar/stellar-sdk": "^12.3.0",
9
9
  "@dynamic-labs/sdk-api-core": "^0.0.1093"
10
10
  },