@dynamic-labs/ethereum 1.1.0-alpha.1 → 1.1.0-alpha.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 +7 -0
- package/package.json +7 -7
- package/src/EthWalletConnector.cjs +7 -0
- package/src/EthWalletConnector.js +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
|
|
2
|
+
## [1.1.0-alpha.2](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.1...v1.1.0-alpha.2) (2023-12-18)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* increase timeout when fetching wallet network ([#4197](https://github.com/dynamic-labs/DynamicAuth/issues/4197)) ([bd43d45](https://github.com/dynamic-labs/DynamicAuth/commit/bd43d452dccf36f68bd012e5737480599b93c3b5))
|
|
8
|
+
|
|
2
9
|
## [1.1.0-alpha.1](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.0...v1.1.0-alpha.1) (2023-12-15)
|
|
3
10
|
|
|
4
11
|
## [1.1.0-alpha.0](https://github.com/dynamic-labs/DynamicAuth/compare/v1.0.0-alpha.14...v1.1.0-alpha.0) (2023-12-12)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/ethereum",
|
|
3
|
-
"version": "1.1.0-alpha.
|
|
3
|
+
"version": "1.1.0-alpha.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.1.0-alpha.
|
|
36
|
-
"@dynamic-labs/turnkey": "1.1.0-alpha.
|
|
37
|
-
"@dynamic-labs/types": "1.1.0-alpha.
|
|
38
|
-
"@dynamic-labs/utils": "1.1.0-alpha.
|
|
39
|
-
"@dynamic-labs/wallet-book": "1.1.0-alpha.
|
|
40
|
-
"@dynamic-labs/wallet-connector-core": "1.1.0-alpha.
|
|
35
|
+
"@dynamic-labs/rpc-providers": "1.1.0-alpha.2",
|
|
36
|
+
"@dynamic-labs/turnkey": "1.1.0-alpha.2",
|
|
37
|
+
"@dynamic-labs/types": "1.1.0-alpha.2",
|
|
38
|
+
"@dynamic-labs/utils": "1.1.0-alpha.2",
|
|
39
|
+
"@dynamic-labs/wallet-book": "1.1.0-alpha.2",
|
|
40
|
+
"@dynamic-labs/wallet-connector-core": "1.1.0-alpha.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
|
}
|