@dynamic-labs/solana 3.1.2 → 3.1.4

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/CHANGELOG.md CHANGED
@@ -1,4 +1,23 @@
1
1
 
2
+ ### [3.1.4](https://github.com/dynamic-labs/DynamicAuth/compare/v3.1.3...v3.1.4) (2024-09-30)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * add popper context to send balance ([#7017](https://github.com/dynamic-labs/DynamicAuth/issues/7017)) ([bedcc5e](https://github.com/dynamic-labs/DynamicAuth/commit/bedcc5ec005267b7fa40a2020bc9fef6e2e09714))
8
+ * add retry to useConnectWithOtp ([#7013](https://github.com/dynamic-labs/DynamicAuth/issues/7013)) ([4d3455a](https://github.com/dynamic-labs/DynamicAuth/commit/4d3455a5ead6585ec309ff32294f392154900d73))
9
+ * don't re-fetch wallet address on network change ([#7023](https://github.com/dynamic-labs/DynamicAuth/issues/7023)) ([d23b716](https://github.com/dynamic-labs/DynamicAuth/commit/d23b71608af8b6b75b015efdfcb8bea34602dc6a))
10
+ * fix sign message with solana wallet standard provider ([#7015](https://github.com/dynamic-labs/DynamicAuth/issues/7015)) ([b575622](https://github.com/dynamic-labs/DynamicAuth/commit/b575622d7ec8b3dc61049acb592b7c7fa458ec61))
11
+ * persist isHardwareWalletEnabled on wallet connector ([#7025](https://github.com/dynamic-labs/DynamicAuth/issues/7025)) ([7ed7832](https://github.com/dynamic-labs/DynamicAuth/commit/7ed7832235ecafe8172a16528d428f7c03485064))
12
+ * update wallet reference when user switches wallet in connect-only ([#7031](https://github.com/dynamic-labs/DynamicAuth/issues/7031)) ([031515f](https://github.com/dynamic-labs/DynamicAuth/commit/031515fc6c785facbbc95d2f65d58551559334e6))
13
+
14
+ ### [3.1.3](https://github.com/dynamic-labs/DynamicAuth/compare/v3.1.2...v3.1.3) (2024-09-25)
15
+
16
+
17
+ ### Features
18
+
19
+ * add isInstalledOnBrowser prop to wallet options in useWalletOptions ([#6977](https://github.com/dynamic-labs/DynamicAuth/issues/6977)) ([9436e48](https://github.com/dynamic-labs/DynamicAuth/commit/9436e48994663b62d1ef5afa0c37df436f68caae))
20
+
2
21
  ### [3.1.2](https://github.com/dynamic-labs/DynamicAuth/compare/v3.1.1...v3.1.2) (2024-09-23)
3
22
 
4
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/solana",
3
- "version": "3.1.2",
3
+ "version": "3.1.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
@@ -33,14 +33,14 @@
33
33
  "@wallet-standard/experimental-features": "0.1.1",
34
34
  "bs58": "5.0.0",
35
35
  "tweetnacl": "1.0.3",
36
- "@dynamic-labs/embedded-wallet-solana": "3.1.2",
37
- "@dynamic-labs/rpc-providers": "3.1.2",
38
- "@dynamic-labs/sdk-api-core": "0.0.529",
39
- "@dynamic-labs/solana-core": "3.1.2",
40
- "@dynamic-labs/types": "3.1.2",
41
- "@dynamic-labs/utils": "3.1.2",
42
- "@dynamic-labs/wallet-book": "3.1.2",
43
- "@dynamic-labs/wallet-connector-core": "3.1.2"
36
+ "@dynamic-labs/embedded-wallet-solana": "3.1.4",
37
+ "@dynamic-labs/rpc-providers": "3.1.4",
38
+ "@dynamic-labs/sdk-api-core": "0.0.535",
39
+ "@dynamic-labs/solana-core": "3.1.4",
40
+ "@dynamic-labs/types": "3.1.4",
41
+ "@dynamic-labs/utils": "3.1.4",
42
+ "@dynamic-labs/wallet-book": "3.1.4",
43
+ "@dynamic-labs/wallet-connector-core": "3.1.4"
44
44
  },
45
45
  "peerDependencies": {}
46
46
  }
@@ -58,7 +58,7 @@ class SolanaWalletStandardConnector extends solanaCore.SolWalletConnector {
58
58
  throw new Error('Signer not found');
59
59
  }
60
60
  const message = encoder.encode(messageToSign);
61
- const signature = yield signer.signMessage(message);
61
+ const { signature } = yield signer.signMessage(message);
62
62
  if (!(signature instanceof Uint8Array)) {
63
63
  throw new Error('Signature not found');
64
64
  }
@@ -54,7 +54,7 @@ class SolanaWalletStandardConnector extends SolWalletConnector {
54
54
  throw new Error('Signer not found');
55
55
  }
56
56
  const message = encoder.encode(messageToSign);
57
- const signature = yield signer.signMessage(message);
57
+ const { signature } = yield signer.signMessage(message);
58
58
  if (!(signature instanceof Uint8Array)) {
59
59
  throw new Error('Signature not found');
60
60
  }