@dynamic-labs-wallet/btc 1.0.73 → 1.0.75

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
@@ -266,7 +266,9 @@ class DynamicBtcWalletClient extends browser.DynamicWalletClient {
266
266
  if (onError) {
267
267
  onError(error);
268
268
  }
269
- throw new Error(browser.ERROR_SIGN_MESSAGE);
269
+ throw new Error(browser.ERROR_SIGN_MESSAGE, {
270
+ cause: error
271
+ });
270
272
  }
271
273
  }
272
274
  /**
package/index.esm.js CHANGED
@@ -245,7 +245,9 @@ class DynamicBtcWalletClient extends DynamicWalletClient {
245
245
  if (onError) {
246
246
  onError(error);
247
247
  }
248
- throw new Error(ERROR_SIGN_MESSAGE);
248
+ throw new Error(ERROR_SIGN_MESSAGE, {
249
+ cause: error
250
+ });
249
251
  }
250
252
  }
251
253
  /**
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/btc",
3
- "version": "1.0.73",
3
+ "version": "1.0.75",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "dependencies": {
8
- "@dynamic-labs/sdk-api-core": "^0.0.984",
9
- "@dynamic-labs-wallet/browser": "1.0.73",
10
- "@dynamic-labs-wallet/btc-utils": "1.0.73",
8
+ "@dynamic-labs/sdk-api-core": "^0.0.1082",
9
+ "@dynamic-labs-wallet/browser": "1.0.75",
10
+ "@dynamic-labs-wallet/btc-utils": "1.0.75",
11
11
  "@bitcoinerlab/secp256k1": "^1.2.0",
12
12
  "bitcoinjs-lib": "^7.0.0"
13
13
  },