@dynamic-labs/multi-wallet 0.19.2 → 0.19.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,35 @@
1
1
 
2
+ ### [0.19.4](https://github.com/dynamic-labs/DynamicAuth/compare/v0.19.3...v0.19.4) (2023-11-29)
3
+
4
+
5
+ ### Features
6
+
7
+ * passkey management and recovery ([#4018](https://github.com/dynamic-labs/DynamicAuth/issues/4018)) ([6fae19f](https://github.com/dynamic-labs/DynamicAuth/commit/6fae19f26d9bbbff5dd5863ac012cfb67e3fe535))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * add hydration safeguard for embedded widget ([#3953](https://github.com/dynamic-labs/DynamicAuth/issues/3953)) ([#3955](https://github.com/dynamic-labs/DynamicAuth/issues/3955)) ([848a684](https://github.com/dynamic-labs/DynamicAuth/commit/848a684a08fd38e23f86898b287f3badaa0a3b49))
13
+ * ensure all chain rpc providers are always assigned correctly ([#3985](https://github.com/dynamic-labs/DynamicAuth/issues/3985)) ([f36aebe](https://github.com/dynamic-labs/DynamicAuth/commit/f36aebeb8ddffa7fb65f6865005f44d5eacf3982))
14
+ * initialize selected chain with first evm network if no value in ls ([#4008](https://github.com/dynamic-labs/DynamicAuth/issues/4008)) ([b7d99be](https://github.com/dynamic-labs/DynamicAuth/commit/b7d99be80d990c264838f2619b45750b1a0037bc))
15
+ * nextjs issues to show transaction modals ([#3964](https://github.com/dynamic-labs/DynamicAuth/issues/3964)) ([#3978](https://github.com/dynamic-labs/DynamicAuth/issues/3978)) ([0ef4c3a](https://github.com/dynamic-labs/DynamicAuth/commit/0ef4c3adbc0883e127023c3c475637dfb648160d))
16
+ * onEmbeddedWalletCreated not being called ([#3977](https://github.com/dynamic-labs/DynamicAuth/issues/3977)) ([24de7c0](https://github.com/dynamic-labs/DynamicAuth/commit/24de7c0443d957302a52055e59196592f87e70e1)), closes [#3975](https://github.com/dynamic-labs/DynamicAuth/issues/3975)
17
+ * return linked wallets even when there's no primary wallet ([#3965](https://github.com/dynamic-labs/DynamicAuth/issues/3965)) ([#3976](https://github.com/dynamic-labs/DynamicAuth/issues/3976)) ([7052f99](https://github.com/dynamic-labs/DynamicAuth/commit/7052f990638295ddfc3cbe35853736dfc6250268))
18
+ * transaction modal not throwing viem compatible exception ([#3971](https://github.com/dynamic-labs/DynamicAuth/issues/3971)) ([#3979](https://github.com/dynamic-labs/DynamicAuth/issues/3979)) ([8bc551f](https://github.com/dynamic-labs/DynamicAuth/commit/8bc551f432e140e1cf16eb2b3305a8de761d4305))
19
+
20
+ ### [0.19.3](https://github.com/dynamic-labs/DynamicAuth/compare/v0.19.2...v0.19.3) (2023-11-22)
21
+
22
+
23
+ ### Features
24
+
25
+ * multiple starknet improvements [Support for default/custom RPC Providers + Dynamic Domains in signature] ([#3938](https://github.com/dynamic-labs/DynamicAuth/issues/3938)) ([d299622](https://github.com/dynamic-labs/DynamicAuth/commit/d299622197cb28483c6c6d6d051c917d6cbbe5df)), closes [#3881](https://github.com/dynamic-labs/DynamicAuth/issues/3881) [#3927](https://github.com/dynamic-labs/DynamicAuth/issues/3927)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * allow user's metadata field to be updated in updateUser hook ([#3930](https://github.com/dynamic-labs/DynamicAuth/issues/3930)) ([7d00014](https://github.com/dynamic-labs/DynamicAuth/commit/7d000140f87453bd158798b973917fa8309c8e5e))
31
+ * better handling of wallet disconnect state edge case ([#3940](https://github.com/dynamic-labs/DynamicAuth/issues/3940)) ([#3942](https://github.com/dynamic-labs/DynamicAuth/issues/3942)) ([e9f944c](https://github.com/dynamic-labs/DynamicAuth/commit/e9f944c2c68de446e83c1dbd62aaaedd07443326))
32
+
2
33
  ### [0.19.2](https://github.com/dynamic-labs/DynamicAuth/compare/v0.19.1...v0.19.2) (2023-11-17)
3
34
 
4
35
 
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@dynamic-labs/multi-wallet",
3
- "version": "0.19.2",
3
+ "version": "0.19.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
7
7
  "directory": "packages/multi-wallet"
8
8
  },
9
9
  "dependencies": {
10
- "@dynamic-labs/sdk-api": "0.0.307",
10
+ "@dynamic-labs/sdk-api": "0.0.311",
11
11
  "tslib": "2.4.1",
12
- "@dynamic-labs/rpc-providers": "0.19.2",
13
- "@dynamic-labs/types": "0.19.2",
14
- "@dynamic-labs/utils": "0.19.2",
15
- "@dynamic-labs/wallet-book": "0.19.2",
16
- "@dynamic-labs/wallet-connector-core": "0.19.2"
12
+ "@dynamic-labs/rpc-providers": "0.19.4",
13
+ "@dynamic-labs/types": "0.19.4",
14
+ "@dynamic-labs/utils": "0.19.4",
15
+ "@dynamic-labs/wallet-book": "0.19.4",
16
+ "@dynamic-labs/wallet-connector-core": "0.19.4"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@walletconnect/types": "2.4.2"
@@ -8,7 +8,10 @@ var walletConnectorCore = require('@dynamic-labs/wallet-connector-core');
8
8
  const generateMessageToSign = ({ blockchain, domain, chainId, nonce, uri, publicKey, issuedAt = new Date().toISOString(), statement, requestId, resources, }) => {
9
9
  var _a, _b;
10
10
  if (blockchain === 'STARK') {
11
- return nonce;
11
+ return JSON.stringify({
12
+ domain: domain || 'dynamic.xyz',
13
+ nonce,
14
+ });
12
15
  }
13
16
  const blockchainName = (_b = (_a = walletConnectorCore.getChainInfo(blockchain)) === null || _a === void 0 ? void 0 : _a.blockchainName) !== null && _b !== void 0 ? _b : 'Ethereum';
14
17
  // This format follows the sign-in with ethereum (SIWE) standard,
@@ -4,7 +4,10 @@ import { getChainInfo, logger } from '@dynamic-labs/wallet-connector-core';
4
4
  const generateMessageToSign = ({ blockchain, domain, chainId, nonce, uri, publicKey, issuedAt = new Date().toISOString(), statement, requestId, resources, }) => {
5
5
  var _a, _b;
6
6
  if (blockchain === 'STARK') {
7
- return nonce;
7
+ return JSON.stringify({
8
+ domain: domain || 'dynamic.xyz',
9
+ nonce,
10
+ });
8
11
  }
9
12
  const blockchainName = (_b = (_a = getChainInfo(blockchain)) === null || _a === void 0 ? void 0 : _a.blockchainName) !== null && _b !== void 0 ? _b : 'Ethereum';
10
13
  // This format follows the sign-in with ethereum (SIWE) standard,