@ledgerhq/connect-kit 1.1.0-beta.1 → 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,6 +7,11 @@ 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.3 - 2023-06-21
11
+ ### Changed
12
+ - Rename the version parameter to walletConnectVersion.
13
+ - Internal improvements.
14
+
10
15
  ## 1.1.0-beta.1 - 2023-06-19
11
16
  ### Added
12
17
  - Support for WalletConnect v2.
@@ -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;