@dynamic-labs-wallet/evm 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 +6 -2
- package/index.esm.js +6 -2
- package/package.json +4 -4
package/index.cjs
CHANGED
|
@@ -211,7 +211,9 @@ class DynamicEvmWalletClient extends browser.DynamicWalletClient {
|
|
|
211
211
|
return serializedSignature;
|
|
212
212
|
} catch (error) {
|
|
213
213
|
this.logger.error(browser.ERROR_SIGN_MESSAGE, error);
|
|
214
|
-
throw new Error(browser.ERROR_SIGN_MESSAGE
|
|
214
|
+
throw new Error(browser.ERROR_SIGN_MESSAGE, {
|
|
215
|
+
cause: error
|
|
216
|
+
});
|
|
215
217
|
}
|
|
216
218
|
}
|
|
217
219
|
async verifyMessageSignature({ accountAddress, message, signature }) {
|
|
@@ -305,7 +307,9 @@ class DynamicEvmWalletClient extends browser.DynamicWalletClient {
|
|
|
305
307
|
return serializedSignature;
|
|
306
308
|
} catch (error) {
|
|
307
309
|
this.logger.error(browser.ERROR_SIGN_TYPED_DATA, error);
|
|
308
|
-
throw new Error(browser.ERROR_SIGN_TYPED_DATA
|
|
310
|
+
throw new Error(browser.ERROR_SIGN_TYPED_DATA, {
|
|
311
|
+
cause: error
|
|
312
|
+
});
|
|
309
313
|
}
|
|
310
314
|
}
|
|
311
315
|
deriveAccountAddress({ rawPublicKey }) {
|
package/index.esm.js
CHANGED
|
@@ -209,7 +209,9 @@ class DynamicEvmWalletClient extends DynamicWalletClient {
|
|
|
209
209
|
return serializedSignature;
|
|
210
210
|
} catch (error) {
|
|
211
211
|
this.logger.error(ERROR_SIGN_MESSAGE, error);
|
|
212
|
-
throw new Error(ERROR_SIGN_MESSAGE
|
|
212
|
+
throw new Error(ERROR_SIGN_MESSAGE, {
|
|
213
|
+
cause: error
|
|
214
|
+
});
|
|
213
215
|
}
|
|
214
216
|
}
|
|
215
217
|
async verifyMessageSignature({ accountAddress, message, signature }) {
|
|
@@ -303,7 +305,9 @@ class DynamicEvmWalletClient extends DynamicWalletClient {
|
|
|
303
305
|
return serializedSignature;
|
|
304
306
|
} catch (error) {
|
|
305
307
|
this.logger.error(ERROR_SIGN_TYPED_DATA, error);
|
|
306
|
-
throw new Error(ERROR_SIGN_TYPED_DATA
|
|
308
|
+
throw new Error(ERROR_SIGN_TYPED_DATA, {
|
|
309
|
+
cause: error
|
|
310
|
+
});
|
|
307
311
|
}
|
|
308
312
|
}
|
|
309
313
|
deriveAccountAddress({ rawPublicKey }) {
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs-wallet/evm",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.75",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dynamic-labs-wallet/browser": "1.0.
|
|
8
|
-
"@dynamic-labs-wallet/core": "1.0.
|
|
9
|
-
"@dynamic-labs/sdk-api-core": "^0.0.
|
|
7
|
+
"@dynamic-labs-wallet/browser": "1.0.75",
|
|
8
|
+
"@dynamic-labs-wallet/core": "1.0.75",
|
|
9
|
+
"@dynamic-labs/sdk-api-core": "^0.0.1082",
|
|
10
10
|
"@faker-js/faker": "^9.5.0"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|