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

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,10 @@
1
1
  import { ConnectSupportedChains, SupportedProviders, SupportedProviderImplementations } from "./provider";
2
2
  export declare type CheckSupportOptions = {
3
3
  providerType: SupportedProviders;
4
- chainId?: ConnectSupportedChains;
4
+ chainId?: number;
5
5
  bridge?: string;
6
6
  infuraId?: string;
7
- rpc: {
7
+ rpc?: {
8
8
  [chainId: number]: string;
9
9
  };
10
10
  };
@@ -1,11 +1,11 @@
1
1
  import { EthereumProvider } from './Ethereum';
2
2
  export interface initWalletConnectProviderOptions {
3
+ chainId?: number;
3
4
  bridge?: string;
4
5
  infuraId?: string;
5
6
  rpc?: {
6
7
  [chainId: number]: string;
7
8
  };
8
- chainId?: number;
9
9
  }
10
10
  export declare function initWalletConnectProvider(options: initWalletConnectProviderOptions): void;
11
11
  export declare function isWalletConnectProviderConnected(): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/connect-kit",
3
- "version": "1.0.0-beta.4",
3
+ "version": "1.0.0-beta.6",
4
4
  "description": "A library for dapps to integrate with Ledger Connect and Ledger Live",
5
5
  "author": "Hugo Lopes",
6
6
  "license": "MIT",