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

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
@@ -7,13 +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.5 - 2022-11-01
10
+ ## 1.0.0-beta.4-5 - 2022-11-01
11
+ ### Changed
12
+ - Release workflow changes.
11
13
 
12
- ## 1.0.0-beta.4 - 2022-11-01
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.
13
20
 
14
21
  ## 1.0.0-beta.3 - 2022-11-01
15
22
  ### Fixed
16
- - set some CSS values instead of inheriting them from the app
23
+ - Set some CSS values instead of inheriting them from the app.
17
24
 
18
25
  ## 1.0.0-beta.2 - 2022-10-28
19
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
  };