@ledgerhq/connect-kit 1.1.0-beta.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +8 -1
- package/dist/umd/components/Modal/Modal.d.ts +0 -1
- package/dist/umd/index.d.ts +1 -4
- package/dist/umd/index.js +12 -12
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/lib/supportOptions.d.ts +1 -3
- package/dist/umd/support/EthereumProvider/EthereumProvider.d.ts +24 -21
- package/package.json +1 -1
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
|
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
|
package/dist/umd/index.d.ts
CHANGED
@@ -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
|
-
|
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;
|