@ledgerhq/connect-kit 1.0.0-beta.7 → 1.0.0-beta.8
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +5 -0
- package/dist/umd/index.d.ts +3 -1
- package/dist/umd/providers/Ethereum.d.ts +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -11,6 +11,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
11
11
|
### Changed
|
12
12
|
- Release workflow changes.
|
13
13
|
|
14
|
+
## 1.0.0-beta.8 - 2022-11-15
|
15
|
+
### Changed
|
16
|
+
- Make disconnect on EthereumProvider optional since it is only available on
|
17
|
+
WalletConnect.
|
18
|
+
|
14
19
|
## 1.0.0-beta.7 - 2022-11-14
|
15
20
|
### Changed
|
16
21
|
- Added disconnect and emit to the EthereumProvider interface to implement
|
package/dist/umd/index.d.ts
CHANGED
@@ -3,7 +3,9 @@ import WalletConnectProvider from '@walletconnect/ethereum-provider/dist/esm';
|
|
3
3
|
interface EthereumProvider {
|
4
4
|
providers?: EthereumProvider[];
|
5
5
|
request(...args: unknown[]): Promise<unknown>;
|
6
|
-
disconnect
|
6
|
+
disconnect?: {
|
7
|
+
(): Promise<void>;
|
8
|
+
};
|
7
9
|
emit(eventName: string | symbol, ...args: any[]): boolean;
|
8
10
|
on(...args: unknown[]): void;
|
9
11
|
removeListener(...args: unknown[]): void;
|
@@ -4,7 +4,9 @@ export declare const LEDGER_CONNECT_ETHEREUM_PROP = "isLedgerConnect";
|
|
4
4
|
export interface EthereumProvider {
|
5
5
|
providers?: EthereumProvider[];
|
6
6
|
request(...args: unknown[]): Promise<unknown>;
|
7
|
-
disconnect
|
7
|
+
disconnect?: {
|
8
|
+
(): Promise<void>;
|
9
|
+
};
|
8
10
|
emit(eventName: string | symbol, ...args: any[]): boolean;
|
9
11
|
on(...args: unknown[]): void;
|
10
12
|
removeListener(...args: unknown[]): void;
|