@dynamic-labs-wallet/ton 1.0.88 → 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
@@ -474,8 +474,10 @@ var DynamicTonWalletClient = /*#__PURE__*/ function(DynamicWalletClient) {
474
474
  ];
475
475
  case 4:
476
476
  error = _state.sent();
477
- _this.logger.error(ERROR_SIGN_MESSAGE, error);
478
- throw new Error(ERROR_SIGN_MESSAGE);
477
+ _this.logOperationFailure(ERROR_SIGN_MESSAGE, error);
478
+ throw new Error(ERROR_SIGN_MESSAGE, {
479
+ cause: error
480
+ });
479
481
  case 5:
480
482
  return [
481
483
  2
@@ -544,8 +546,10 @@ var DynamicTonWalletClient = /*#__PURE__*/ function(DynamicWalletClient) {
544
546
  ];
545
547
  case 4:
546
548
  error = _state.sent();
547
- _this.logger.error(ERROR_SIGN_TRANSACTION, error);
548
- throw new Error(ERROR_SIGN_TRANSACTION);
549
+ _this.logOperationFailure(ERROR_SIGN_TRANSACTION, error);
550
+ throw new Error(ERROR_SIGN_TRANSACTION, {
551
+ cause: error
552
+ });
549
553
  case 5:
550
554
  return [
551
555
  2
package/index.esm.js CHANGED
@@ -454,8 +454,10 @@ var DynamicTonWalletClient = /*#__PURE__*/ function(DynamicWalletClient) {
454
454
  ];
455
455
  case 4:
456
456
  error = _state.sent();
457
- _this.logger.error(ERROR_SIGN_MESSAGE, error);
458
- throw new Error(ERROR_SIGN_MESSAGE);
457
+ _this.logOperationFailure(ERROR_SIGN_MESSAGE, error);
458
+ throw new Error(ERROR_SIGN_MESSAGE, {
459
+ cause: error
460
+ });
459
461
  case 5:
460
462
  return [
461
463
  2
@@ -524,8 +526,10 @@ var DynamicTonWalletClient = /*#__PURE__*/ function(DynamicWalletClient) {
524
526
  ];
525
527
  case 4:
526
528
  error = _state.sent();
527
- _this.logger.error(ERROR_SIGN_TRANSACTION, error);
528
- throw new Error(ERROR_SIGN_TRANSACTION);
529
+ _this.logOperationFailure(ERROR_SIGN_TRANSACTION, error);
530
+ throw new Error(ERROR_SIGN_TRANSACTION, {
531
+ cause: error
532
+ });
529
533
  case 5:
530
534
  return [
531
535
  2
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/ton",
3
- "version": "1.0.88",
3
+ "version": "1.0.90",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "dependencies": {
7
- "@dynamic-labs-wallet/browser": "1.0.88",
7
+ "@dynamic-labs-wallet/browser": "1.0.90",
8
8
  "@ton/crypto": "^3.3.0",
9
9
  "@ton/ton": "^16.0.0",
10
- "@dynamic-labs/sdk-api-core": "^0.0.1083"
10
+ "@dynamic-labs/sdk-api-core": "^0.0.1093"
11
11
  },
12
12
  "publishConfig": {
13
13
  "access": "public"