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

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -7,8 +7,9 @@ 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-beta.3 - 2023-06-21
11
11
  ### Changed
12
+ - Rename the version parameter to walletConnectVersion.
12
13
  - Internal improvements.
13
14
 
14
15
  ## 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;