@dynamic-labs/ethereum 1.1.0-alpha.1 → 1.1.0-alpha.3

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,26 @@
1
1
 
2
+ ## [1.1.0-alpha.3](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.2...v1.1.0-alpha.3) (2023-12-19)
3
+
4
+
5
+ ### Features
6
+
7
+ * add Flow support in magic wallet connector ([#4158](https://github.com/dynamic-labs/DynamicAuth/issues/4158)) ([fbbaea7](https://github.com/dynamic-labs/DynamicAuth/commit/fbbaea76b36ceb693f6bd4f2404dfa1204e61492))
8
+ * add showDynamicUserProfile to DynamicContext ([#4214](https://github.com/dynamic-labs/DynamicAuth/issues/4214)) ([2aeb8e3](https://github.com/dynamic-labs/DynamicAuth/commit/2aeb8e3c45a3d9f87bd9196ea9b46927e02eb633))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add shortname to braveevm to allow for lookups by name as well as key ([#4213](https://github.com/dynamic-labs/DynamicAuth/issues/4213)) ([969b089](https://github.com/dynamic-labs/DynamicAuth/commit/969b089be516fb57fcdc941f908c078998eb4ec0))
14
+ * solflare connect ([#4215](https://github.com/dynamic-labs/DynamicAuth/issues/4215)) ([9a4164e](https://github.com/dynamic-labs/DynamicAuth/commit/9a4164e53198f33ef7201cd4e1eff745a09e9701))
15
+ * wagmi attempt to connect to primary wallet first ([#4206](https://github.com/dynamic-labs/DynamicAuth/issues/4206)) ([9e5fc8e](https://github.com/dynamic-labs/DynamicAuth/commit/9e5fc8ef026628935ac32d3bb0c22bda35057e5d))
16
+
17
+ ## [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)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * increase timeout when fetching wallet network ([#4197](https://github.com/dynamic-labs/DynamicAuth/issues/4197)) ([bd43d45](https://github.com/dynamic-labs/DynamicAuth/commit/bd43d452dccf36f68bd012e5737480599b93c3b5))
23
+
2
24
  ## [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
25
 
4
26
  ## [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.1",
3
+ "version": "1.1.0-alpha.3",
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.1",
36
- "@dynamic-labs/turnkey": "1.1.0-alpha.1",
37
- "@dynamic-labs/types": "1.1.0-alpha.1",
38
- "@dynamic-labs/utils": "1.1.0-alpha.1",
39
- "@dynamic-labs/wallet-book": "1.1.0-alpha.1",
40
- "@dynamic-labs/wallet-connector-core": "1.1.0-alpha.1",
35
+ "@dynamic-labs/rpc-providers": "1.1.0-alpha.3",
36
+ "@dynamic-labs/turnkey": "1.1.0-alpha.3",
37
+ "@dynamic-labs/types": "1.1.0-alpha.3",
38
+ "@dynamic-labs/utils": "1.1.0-alpha.3",
39
+ "@dynamic-labs/wallet-book": "1.1.0-alpha.3",
40
+ "@dynamic-labs/wallet-connector-core": "1.1.0-alpha.3",
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
  }
@@ -15,6 +15,10 @@ export declare class EthProviderHelper {
15
15
  value: boolean;
16
16
  flag: string;
17
17
  }[];
18
+ walletStandard?: {
19
+ features: string[];
20
+ name: string;
21
+ } | undefined;
18
22
  windowLocations?: string[] | undefined;
19
23
  } | undefined;
20
24
  installedProviders(): IEthereum[];