@dynamic-labs-wallet/midnight 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.js CHANGED
@@ -1264,7 +1264,7 @@ var DynamicMidnightWalletClient = /*#__PURE__*/ function(DynamicWalletClient) {
1264
1264
  ];
1265
1265
  case 4:
1266
1266
  error = _state.sent();
1267
- _this.logger.error(ERROR_SIGN_MESSAGE, error);
1267
+ _this.logOperationFailure(ERROR_SIGN_MESSAGE, error);
1268
1268
  throw new Error(ERROR_SIGN_MESSAGE, {
1269
1269
  cause: error
1270
1270
  });
@@ -1370,7 +1370,7 @@ var DynamicMidnightWalletClient = /*#__PURE__*/ function(DynamicWalletClient) {
1370
1370
  ];
1371
1371
  case 6:
1372
1372
  error = _state.sent();
1373
- _this.logger.error(ERROR_SIGN_TRANSACTION, error);
1373
+ _this.logOperationFailure(ERROR_SIGN_TRANSACTION, error);
1374
1374
  onError === null || onError === void 0 ? void 0 : onError(error);
1375
1375
  throw _instanceof(error, Error) ? error : new Error(ERROR_SIGN_TRANSACTION);
1376
1376
  case 7:
package/index.esm.js CHANGED
@@ -1243,7 +1243,7 @@ var DynamicMidnightWalletClient = /*#__PURE__*/ function(DynamicWalletClient) {
1243
1243
  ];
1244
1244
  case 4:
1245
1245
  error = _state.sent();
1246
- _this.logger.error(ERROR_SIGN_MESSAGE, error);
1246
+ _this.logOperationFailure(ERROR_SIGN_MESSAGE, error);
1247
1247
  throw new Error(ERROR_SIGN_MESSAGE, {
1248
1248
  cause: error
1249
1249
  });
@@ -1349,7 +1349,7 @@ var DynamicMidnightWalletClient = /*#__PURE__*/ function(DynamicWalletClient) {
1349
1349
  ];
1350
1350
  case 6:
1351
1351
  error = _state.sent();
1352
- _this.logger.error(ERROR_SIGN_TRANSACTION, error);
1352
+ _this.logOperationFailure(ERROR_SIGN_TRANSACTION, error);
1353
1353
  onError === null || onError === void 0 ? void 0 : onError(error);
1354
1354
  throw _instanceof(error, Error) ? error : new Error(ERROR_SIGN_TRANSACTION);
1355
1355
  case 7:
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/midnight",
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
  "@midnight-ntwrk/ledger-v8": "^8.1.0",
10
10
  "@midnight-ntwrk/wallet-sdk-abstractions": "2.1.0",