@dynamic-labs-wallet/btc 1.0.77 → 1.0.78
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 +3 -1
- package/index.esm.js +3 -1
- package/package.json +3 -3
package/index.cjs
CHANGED
|
@@ -153,7 +153,9 @@ class DynamicBtcWalletClient extends browser.DynamicWalletClient {
|
|
|
153
153
|
if (onError) {
|
|
154
154
|
onError(error);
|
|
155
155
|
}
|
|
156
|
-
throw new Error(browser.ERROR_CREATE_WALLET_ACCOUNT
|
|
156
|
+
throw new Error(browser.ERROR_CREATE_WALLET_ACCOUNT, {
|
|
157
|
+
cause: error
|
|
158
|
+
});
|
|
157
159
|
}
|
|
158
160
|
}
|
|
159
161
|
/**
|
package/index.esm.js
CHANGED
|
@@ -132,7 +132,9 @@ class DynamicBtcWalletClient extends DynamicWalletClient {
|
|
|
132
132
|
if (onError) {
|
|
133
133
|
onError(error);
|
|
134
134
|
}
|
|
135
|
-
throw new Error(ERROR_CREATE_WALLET_ACCOUNT
|
|
135
|
+
throw new Error(ERROR_CREATE_WALLET_ACCOUNT, {
|
|
136
|
+
cause: error
|
|
137
|
+
});
|
|
136
138
|
}
|
|
137
139
|
}
|
|
138
140
|
/**
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs-wallet/btc",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.78",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@dynamic-labs/sdk-api-core": "^0.0.1082",
|
|
9
|
-
"@dynamic-labs-wallet/browser": "1.0.
|
|
10
|
-
"@dynamic-labs-wallet/btc-utils": "1.0.
|
|
9
|
+
"@dynamic-labs-wallet/browser": "1.0.78",
|
|
10
|
+
"@dynamic-labs-wallet/btc-utils": "1.0.78",
|
|
11
11
|
"@bitcoinerlab/secp256k1": "^1.2.0",
|
|
12
12
|
"bitcoinjs-lib": "^7.0.0"
|
|
13
13
|
},
|