@ledgerhq/connect-kit 1.0.0-beta.6 → 1.0.0-beta.8

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
@@ -11,12 +11,23 @@ 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
+
19
+ ## 1.0.0-beta.7 - 2022-11-14
20
+ ### Changed
21
+ - Added disconnect and emit to the EthereumProvider interface to implement
22
+ the lerger wagmi connector.
23
+
14
24
  ## 1.0.0-beta.6 - 2022-11-10
15
25
  ### Changed
16
26
  - The rpc parameter is now optional.
17
27
  - The chainId parameter is now optional, defaults to 1.
18
28
  - No defaults are set for WalletConnect parameters.
19
29
  - Hide the Connect Kit modal on the disconnect event handler.
30
+ - Add utm_medium parameter to buy URL.
20
31
 
21
32
  ## 1.0.0-beta.3 - 2022-11-01
22
33
  ### Fixed
@@ -3,6 +3,10 @@ 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?: {
7
+ (): Promise<void>;
8
+ };
9
+ emit(eventName: string | symbol, ...args: any[]): boolean;
6
10
  on(...args: unknown[]): void;
7
11
  removeListener(...args: unknown[]): void;
8
12
  }