@tomo-inc/wallet-connect-kit 0.0.15 → 0.0.17

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.
@@ -11,7 +11,7 @@
11
11
  }
12
12
  })();
13
13
 
14
- import { G as a } from "./features-animation-DOhNzlMd.js";
14
+ import { G as a } from "./features-animation-C9buMQ2V.js";
15
15
  var t = a;
16
16
  export {
17
17
  t as default
package/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import { ChainTypeEnum } from '@tomo-inc/wallet-utils';
4
4
  import type { ConfigThemes } from '@heroui/theme';
5
5
  import { Connector } from '../../../wallet-adaptor-base';
6
6
  import { ConnectorProvider } from '../../../wallet-adaptor-base';
7
+ import { ConnectorProviders } from '../../../../wallet-adaptor-base';
7
8
  import { default as default_2 } from 'react';
8
9
  import type { DefaultThemeType } from '@heroui/theme';
9
10
  import { JSX as JSX_2 } from 'react/jsx-runtime';
@@ -12,6 +13,7 @@ import { SignInParams } from '../../../wallet-adaptor-base';
12
13
  import { WalletConfig } from '../../../wallet-adaptor-base';
13
14
  import { WalletConfig as WalletConfig_2 } from '../../../../wallet-adaptor-base';
14
15
  import { WalletProvider } from '@tomo-inc/inject-providers';
16
+ import { WalletProvider as WalletProvider_3 } from '../../../../wallet-adaptor-base';
15
17
 
16
18
  export declare type BasicLoginType = "email" | "externalWallets";
17
19
 
@@ -163,6 +165,11 @@ export declare type UseAccount = {
163
165
 
164
166
  export declare const useAccount: () => UseAccount;
165
167
 
168
+ export declare const useConnectors: () => {
169
+ connectors: ConnectorProviders | null;
170
+ currentProvider: WalletProvider_3 | null;
171
+ };
172
+
166
173
  export declare interface UserLoginConfig {
167
174
  basicLogins?: BasicLoginType[];
168
175
  socialLogins?: SocialLoginProvider[];
package/dist/index.js CHANGED
@@ -11,13 +11,14 @@
11
11
  }
12
12
  })();
13
13
 
14
- import { am as n, an as s, ao as t, ar as o, as as c, ap as l, aq as r } from "./index-eV4PiITL.js";
14
+ import { am as n, an as s, ao as t, as as o, at as c, ap as r, ar as C, aq as l } from "./index-DrBi1SXh.js";
15
15
  export {
16
16
  n as ChainTypeEnum,
17
17
  s as WalletConnectEmbed,
18
18
  t as WalletConnectProvider,
19
19
  o as getChains,
20
20
  c as getConnectors,
21
- l as useAccount,
22
- r as useWalletConnect
21
+ r as useAccount,
22
+ C as useConnectors,
23
+ l as useWalletConnect
23
24
  };
@@ -0,0 +1,5 @@
1
+ import { G as a } from "./features-animation-C9buMQ2V.js";
2
+ var r = a;
3
+ export {
4
+ r as default
5
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tomo-inc/wallet-connect-kit",
3
3
  "private": false,
4
- "version": "0.0.15",
4
+ "version": "0.0.17",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -26,8 +26,8 @@
26
26
  "qr-code-styling": "^1.9.2",
27
27
  "qrcode": "^1.5.4",
28
28
  "viem": "2.38.2",
29
- "@tomo-inc/embedded-wallet-providers": "0.0.17",
30
- "@tomo-inc/wallet-adaptor-base": "0.0.19",
29
+ "@tomo-inc/embedded-wallet-providers": "0.0.18",
30
+ "@tomo-inc/wallet-adaptor-base": "0.0.20",
31
31
  "@tomo-inc/tomo-ui": "0.0.11"
32
32
  },
33
33
  "peerDependencies": {
@@ -1,5 +0,0 @@
1
- import { G as a } from "./features-animation-DOhNzlMd.js";
2
- var r = a;
3
- export {
4
- r as default
5
- };