@matchain/matchid-sdk-react 0.1.40-alpha.8 → 0.1.41
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/assets/icon/index.d.mts +1 -1
- package/dist/assets/icon/index.d.ts +1 -1
- package/dist/{chunk-MF44ADCA.mjs → chunk-B2HVAJPQ.mjs} +2 -2
- package/dist/{chunk-OKOZY4RW.mjs → chunk-RYZFW6P6.mjs} +5 -2
- package/dist/{chunk-OKOZY4RW.mjs.map → chunk-RYZFW6P6.mjs.map} +1 -1
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.js +4 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/hooks/api/index.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +2 -2
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +2 -2
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/{index-Cstk9nHt.d.mts → index-C3KZYrtu.d.mts} +1 -1
- package/dist/{index-TFllRsbX.d.mts → index-COlsBC-b.d.mts} +1 -1
- package/dist/{index-DC_1BPN0.d.ts → index-DoF5jRoi.d.ts} +1 -1
- package/dist/{index-CdzHWQ8o.d.ts → index-Dq9Swg8r.d.ts} +1 -1
- package/dist/{index-CPh9cui0.d.ts → index-fS75Swm8.d.ts} +1 -1
- package/dist/{index-DYxqLc-m.d.mts → index-fl6SNIZC.d.mts} +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/{types.d-DiCO-2z2.d.mts → types.d-CLO_WLka.d.mts} +1 -1
- package/dist/{types.d-DiCO-2z2.d.ts → types.d-CLO_WLka.d.ts} +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-MF44ADCA.mjs.map → chunk-B2HVAJPQ.mjs.map} +0 -0
package/dist/hooks/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseQueryOptions } from '@tanstack/react-query/src/types';
|
|
3
|
-
import { m as PohZkpassParams, n as BindItemType, o as BindInfoType, p as PohItemType } from './types.d-
|
|
3
|
+
import { m as PohZkpassParams, n as BindItemType, o as BindInfoType, p as PohItemType } from './types.d-CLO_WLka.mjs';
|
|
4
4
|
|
|
5
5
|
interface MyResponseType<T> {
|
|
6
6
|
code: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { E as EmailModalProps,
|
|
2
|
+
import { E as EmailModalProps, b as InputProps, B as ButtonProps, M as ModalProps, c as ModalWithHeaderProps, P as PopoverProps, d as LoginBoxProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, W as WalletType, e as PopoverPositionType, f as PopoverTypeType, g as LoginPanelProps, h as LoginModalProps } from './types.d-CLO_WLka.mjs';
|
|
3
3
|
import { ReactNode, PropsWithChildren } from 'react';
|
|
4
4
|
|
|
5
5
|
declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as ISocialLoginMethod, j as OverviewInfo, C as CEXType, k as LoginMethodType, I as IMatchEvents } from './types.d-CLO_WLka.js';
|
|
2
2
|
import * as viem from 'viem';
|
|
3
3
|
import { SignableMessage, Hex, TransactionSerializable, Account } from 'viem';
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseQueryOptions } from '@tanstack/react-query/src/types';
|
|
3
|
-
import { m as PohZkpassParams, n as BindItemType, o as BindInfoType, p as PohItemType } from './types.d-
|
|
3
|
+
import { m as PohZkpassParams, n as BindItemType, o as BindInfoType, p as PohItemType } from './types.d-CLO_WLka.js';
|
|
4
4
|
|
|
5
5
|
interface MyResponseType<T> {
|
|
6
6
|
code: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { E as EmailModalProps,
|
|
2
|
+
import { E as EmailModalProps, b as InputProps, B as ButtonProps, M as ModalProps, c as ModalWithHeaderProps, P as PopoverProps, d as LoginBoxProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, W as WalletType, e as PopoverPositionType, f as PopoverTypeType, g as LoginPanelProps, h as LoginModalProps } from './types.d-CLO_WLka.js';
|
|
3
3
|
import { ReactNode, PropsWithChildren } from 'react';
|
|
4
4
|
|
|
5
5
|
declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as ISocialLoginMethod, j as OverviewInfo, C as CEXType, k as LoginMethodType, I as IMatchEvents } from './types.d-CLO_WLka.mjs';
|
|
2
2
|
import * as viem from 'viem';
|
|
3
3
|
import { SignableMessage, Hex, TransactionSerializable, Account } from 'viem';
|
|
4
4
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType } from './types.d-
|
|
3
|
-
export { i as Components } from './index-
|
|
4
|
-
export { i as Hooks } from './index-
|
|
5
|
-
export { i as Api } from './index-
|
|
2
|
+
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType } from './types.d-CLO_WLka.mjs';
|
|
3
|
+
export { i as Components } from './index-COlsBC-b.mjs';
|
|
4
|
+
export { i as Hooks } from './index-fl6SNIZC.mjs';
|
|
5
|
+
export { i as Api } from './index-C3KZYrtu.mjs';
|
|
6
6
|
export { i as Chains } from './index-DXRGMAbv.mjs';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'viem';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType } from './types.d-
|
|
3
|
-
export { i as Components } from './index-
|
|
4
|
-
export { i as Hooks } from './index-
|
|
5
|
-
export { i as Api } from './index-
|
|
2
|
+
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType } from './types.d-CLO_WLka.js';
|
|
3
|
+
export { i as Components } from './index-fS75Swm8.js';
|
|
4
|
+
export { i as Hooks } from './index-DoF5jRoi.js';
|
|
5
|
+
export { i as Api } from './index-Dq9Swg8r.js';
|
|
6
6
|
export { i as Chains } from './index-DXRGMAbv.js';
|
|
7
7
|
import 'react/jsx-runtime';
|
|
8
8
|
import 'viem';
|
package/dist/index.js
CHANGED
|
@@ -3737,9 +3737,12 @@ function WalletContent2({
|
|
|
3737
3737
|
disconnect: tonConnectUI.disconnect,
|
|
3738
3738
|
address: userFriendlyAddress,
|
|
3739
3739
|
visible: state.status == "opened",
|
|
3740
|
-
setVisible: (v) => {
|
|
3740
|
+
setVisible: async (v) => {
|
|
3741
3741
|
console.log("setVisible", v);
|
|
3742
3742
|
if (v) {
|
|
3743
|
+
if (wallet) {
|
|
3744
|
+
await tonConnectUI.disconnect();
|
|
3745
|
+
}
|
|
3743
3746
|
setStatus("");
|
|
3744
3747
|
statusRef.current = "";
|
|
3745
3748
|
open();
|