@dynamic-labs/ethereum 1.0.0 → 1.0.2
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,21 @@
|
|
|
1
1
|
|
|
2
|
+
### [1.0.2](https://github.com/dynamic-labs/DynamicAuth/compare/v1.0.1...v1.0.2) (2023-12-18)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* prevent duplicated brave wallet connector ([#4209](https://github.com/dynamic-labs/DynamicAuth/issues/4209)) ([31589b9](https://github.com/dynamic-labs/DynamicAuth/commit/31589b92ea067a5e7ca5a5bd9adb881d086d7868))
|
|
8
|
+
* ensure wagmi connects to primary wallet ([#4206](https://github.com/dynamic-labs/DynamicAuth/issues/4206)) ([#4210](https://github.com/dynamic-labs/DynamicAuth/issues/4210)) ([072bb05](https://github.com/dynamic-labs/DynamicAuth/commit/072bb05a5a9fd5b82f5498c20ff74ca966f3ea9f))
|
|
9
|
+
* ensure wallets group view shows multiple options ([#4184](https://github.com/dynamic-labs/DynamicAuth/issues/4184)) ([#4187](https://github.com/dynamic-labs/DynamicAuth/issues/4187)) ([b751f49](https://github.com/dynamic-labs/DynamicAuth/commit/b751f4952ea5a46b536edc999f37ea134348f8ef)), closes [#4186](https://github.com/dynamic-labs/DynamicAuth/issues/4186)
|
|
10
|
+
* enable brave to read the connected network ([#4198](https://github.com/dynamic-labs/DynamicAuth/issues/4198)) ([979e866](https://github.com/dynamic-labs/DynamicAuth/commit/979e86660f13982992cd43b1d9a8218150437e8b))
|
|
11
|
+
|
|
12
|
+
### [1.0.1](https://github.com/dynamic-labs/DynamicAuth/compare/v1.0.0...v1.0.1) (2023-12-14)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* update wagmi to v1.4.12 ([#4171](https://github.com/dynamic-labs/DynamicAuth/issues/4171)) ([a741989](https://github.com/dynamic-labs/DynamicAuth/commit/a74198978f4708e96b12743b2f1f372b23940020))
|
|
18
|
+
|
|
2
19
|
## [1.0.0](https://github.com/dynamic-labs/DynamicAuth/compare/v1.0.0-alpha.14...v1.0.0) (2023-12-12)
|
|
3
20
|
|
|
4
21
|
Changelog: https://docs.dynamic.xyz/changelog/v1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/ethereum",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@walletconnect/universal-provider": "2.10.6",
|
|
33
33
|
"eventemitter3": "5.0.1",
|
|
34
34
|
"buffer": "6.0.3",
|
|
35
|
-
"@dynamic-labs/rpc-providers": "1.0.
|
|
36
|
-
"@dynamic-labs/turnkey": "1.0.
|
|
37
|
-
"@dynamic-labs/types": "1.0.
|
|
38
|
-
"@dynamic-labs/utils": "1.0.
|
|
39
|
-
"@dynamic-labs/wallet-book": "1.0.
|
|
40
|
-
"@dynamic-labs/wallet-connector-core": "1.0.
|
|
35
|
+
"@dynamic-labs/rpc-providers": "1.0.2",
|
|
36
|
+
"@dynamic-labs/turnkey": "1.0.2",
|
|
37
|
+
"@dynamic-labs/types": "1.0.2",
|
|
38
|
+
"@dynamic-labs/utils": "1.0.2",
|
|
39
|
+
"@dynamic-labs/wallet-book": "1.0.2",
|
|
40
|
+
"@dynamic-labs/wallet-connector-core": "1.0.2",
|
|
41
41
|
"stream": "0.0.2"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
@@ -66,6 +66,13 @@ class EthWalletConnector extends walletConnectorCore.WalletConnectorBase {
|
|
|
66
66
|
}
|
|
67
67
|
return utils.retryableFn(provider.getChainId, {
|
|
68
68
|
fallbackValue: utils.FALLBACK_UNDEFINED,
|
|
69
|
+
/**
|
|
70
|
+
* The timeout is set to 1 second because the getChainId method
|
|
71
|
+
* takes around 500ms to resolve on Brave. If the timeout is not set
|
|
72
|
+
* it will use 100ms by default and the method will fail.
|
|
73
|
+
* QNTM-815
|
|
74
|
+
*/
|
|
75
|
+
timeoutMs: 1000,
|
|
69
76
|
});
|
|
70
77
|
});
|
|
71
78
|
}
|
|
@@ -62,6 +62,13 @@ class EthWalletConnector extends WalletConnectorBase {
|
|
|
62
62
|
}
|
|
63
63
|
return retryableFn(provider.getChainId, {
|
|
64
64
|
fallbackValue: FALLBACK_UNDEFINED,
|
|
65
|
+
/**
|
|
66
|
+
* The timeout is set to 1 second because the getChainId method
|
|
67
|
+
* takes around 500ms to resolve on Brave. If the timeout is not set
|
|
68
|
+
* it will use 100ms by default and the method will fail.
|
|
69
|
+
* QNTM-815
|
|
70
|
+
*/
|
|
71
|
+
timeoutMs: 1000,
|
|
65
72
|
});
|
|
66
73
|
});
|
|
67
74
|
}
|