@ledgerhq/connect-kit 1.1.0-beta.2 → 1.1.0

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,8 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## Unreleased
9
9
 
10
- ## 1.1.0-beta.2 - 2023-06-19
10
+ ## 1.1.0 - 2023-06-22
11
+ Connect Kit now supports WalletConnect v2.
12
+
13
+ Have a look at the Connect Kit loader documentation for
14
+ more details.
15
+
16
+ ## 1.1.0-beta.3 - 2023-06-21
11
17
  ### Changed
18
+ - Rename the version parameter to walletConnectVersion.
12
19
  - Internal improvements.
13
20
 
14
21
  ## 1.1.0-beta.1 - 2023-06-19
@@ -1,6 +1,5 @@
1
1
  import { ReactElement } from "react";
2
2
  export declare let setIsModalOpen: (isModalOpen: boolean) => void;
3
- export declare let isModalOpen: Function;
4
3
  export interface ModalProps {
5
4
  isOpen?: boolean;
6
5
  onClose?: Function;
@@ -1,5 +1,3 @@
1
- import { CoreTypes } from '@walletconnect/types';
2
-
3
1
  type EthereumRequestPayload = {
4
2
  method: string;
5
3
  params?: unknown[] | Record<string, unknown> | undefined;
@@ -44,7 +42,7 @@ type ProviderResult = EthereumProvider | SolanaProvider;
44
42
  declare function getProvider(): Promise<ProviderResult>;
45
43
 
46
44
  type CheckSupportCommonOptions = {
47
- version?: number;
45
+ walletConnectVersion?: number;
48
46
  providerType: SupportedProviders;
49
47
  };
50
48
  type CheckSupportWalletConnectProviderOptions = {
@@ -58,7 +56,6 @@ type CheckSupportWalletConnectProviderOptions = {
58
56
  rpcMap?: {
59
57
  [chainId: string]: string;
60
58
  };
61
- metadata?: CoreTypes.Metadata;
62
59
  };
63
60
  type CheckSupportWalletConnectLegacyProviderOptions = {
64
61
  chainId?: number;