@dynamic-labs-wallet/svm 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
@@ -124,7 +124,9 @@ class DynamicSvmWalletClient extends browser.DynamicWalletClient {
124
124
  return base58Signature;
125
125
  } catch (error) {
126
126
  this.logger.error(browser.ERROR_SIGN_MESSAGE, error);
127
- throw new Error(browser.ERROR_SIGN_MESSAGE);
127
+ throw new Error(browser.ERROR_SIGN_MESSAGE, {
128
+ cause: error
129
+ });
128
130
  }
129
131
  }
130
132
  async signTransaction({ senderAddress, transaction, password = undefined, signedSessionId, mfaToken, elevatedAccessToken, chainId, context, onError, traceContext }) {
package/index.esm.js CHANGED
@@ -122,7 +122,9 @@ class DynamicSvmWalletClient extends DynamicWalletClient {
122
122
  return base58Signature;
123
123
  } catch (error) {
124
124
  this.logger.error(ERROR_SIGN_MESSAGE, error);
125
- throw new Error(ERROR_SIGN_MESSAGE);
125
+ throw new Error(ERROR_SIGN_MESSAGE, {
126
+ cause: error
127
+ });
126
128
  }
127
129
  }
128
130
  async signTransaction({ senderAddress, transaction, password = undefined, signedSessionId, mfaToken, elevatedAccessToken, chainId, context, onError, traceContext }) {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/svm",
3
- "version": "1.0.73",
3
+ "version": "1.0.75",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "dependencies": {
7
- "@dynamic-labs-wallet/browser": "1.0.73",
7
+ "@dynamic-labs-wallet/browser": "1.0.75",
8
8
  "@solana/web3.js": "^1.98.2",
9
9
  "bs58": "^6.0.0",
10
- "@dynamic-labs/sdk-api-core": "^0.0.984"
10
+ "@dynamic-labs/sdk-api-core": "^0.0.1082"
11
11
  },
12
12
  "publishConfig": {
13
13
  "access": "public"