@ledgerhq/connect-kit 1.0.0-beta.4 → 1.0.0-beta.6

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -7,11 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## Unreleased
9
9
 
10
- ## 1.0.0-beta.4 - 2022-11-01
10
+ ## 1.0.0-beta.4-5 - 2022-11-01
11
+ ### Changed
12
+ - Release workflow changes.
13
+
14
+ ## 1.0.0-beta.6 - 2022-11-10
15
+ ### Changed
16
+ - The rpc parameter is now optional.
17
+ - The chainId parameter is now optional, defaults to 1.
18
+ - No defaults are set for WalletConnect parameters.
19
+ - Hide the Connect Kit modal on the disconnect event handler.
11
20
 
12
21
  ## 1.0.0-beta.3 - 2022-11-01
13
22
  ### Fixed
14
- - set some CSS values instead of inheriting them from the app
23
+ - Set some CSS values instead of inheriting them from the app.
15
24
 
16
25
  ## 1.0.0-beta.2 - 2022-10-28
17
26
  This is the first public version of the package.
@@ -17,9 +17,6 @@ interface SolanaProvider {
17
17
  disconnect(): Promise<void>;
18
18
  }
19
19
 
20
- declare enum ConnectSupportedChains {
21
- EthereumMainnet = 1
22
- }
23
20
  declare enum SupportedProviders {
24
21
  Ethereum = "Ethereum",
25
22
  Solana = "Solana"
@@ -33,10 +30,10 @@ declare function getProvider(): Promise<ProviderResult>;
33
30
 
34
31
  declare type CheckSupportOptions = {
35
32
  providerType: SupportedProviders;
36
- chainId?: ConnectSupportedChains;
33
+ chainId?: number;
37
34
  bridge?: string;
38
35
  infuraId?: string;
39
- rpc: {
36
+ rpc?: {
40
37
  [chainId: number]: string;
41
38
  };
42
39
  };