@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.
- package/dist/{features-animation-DOhNzlMd.js → features-animation-C9buMQ2V.js} +1 -1
- package/dist/{index-BfznJjBG.js → index-Bc0f3Cwf.js} +4 -4
- package/dist/{index-eV4PiITL.js → index-DrBi1SXh.js} +997 -990
- package/dist/{index-DyL0IXF6.js → index-huu0-LA6.js} +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.js +4 -3
- package/dist/src-UW24ZMRV-CvlP3YUJ.js +5 -0
- package/package.json +3 -3
- package/dist/src-UW24ZMRV-Bshaoj5b.js +0 -5
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,
|
|
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
|
-
|
|
22
|
-
|
|
21
|
+
r as useAccount,
|
|
22
|
+
C as useConnectors,
|
|
23
|
+
l as useWalletConnect
|
|
23
24
|
};
|
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.
|
|
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.
|
|
30
|
-
"@tomo-inc/wallet-adaptor-base": "0.0.
|
|
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": {
|