@authing/react-ui-components 3.1.37-beta.1 → 3.1.37-beta.2
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/lib/index.d.ts +10 -1
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1658,6 +1658,10 @@ declare module '@authing/react-ui-components/components/Guard/core/hooks/useMult
|
|
|
1658
1658
|
_updateTime?: string;
|
|
1659
1659
|
}
|
|
1660
1660
|
class MultipleAccount {
|
|
1661
|
+
/**
|
|
1662
|
+
* 原始的登录账号
|
|
1663
|
+
*/
|
|
1664
|
+
private originAccount;
|
|
1661
1665
|
/**
|
|
1662
1666
|
* 原始的 localStore 值
|
|
1663
1667
|
*/
|
|
@@ -1819,6 +1823,7 @@ declare module '@authing/react-ui-components/components/Guard/core/hooks/useMult
|
|
|
1819
1823
|
delUserById: (id: string) => string;
|
|
1820
1824
|
getMemberState: () => boolean;
|
|
1821
1825
|
getFirstBackFillData: () => BackFillMultipleState | undefined;
|
|
1826
|
+
getOriginAccount: () => string;
|
|
1822
1827
|
};
|
|
1823
1828
|
}
|
|
1824
1829
|
/**
|
|
@@ -1854,6 +1859,7 @@ declare module '@authing/react-ui-components/components/Guard/core/hooks/useMult
|
|
|
1854
1859
|
delUserById: (id: string) => string;
|
|
1855
1860
|
getMemberState: () => boolean;
|
|
1856
1861
|
getFirstBackFillData: () => BackFillMultipleState | undefined;
|
|
1862
|
+
getOriginAccount: () => string;
|
|
1857
1863
|
} | undefined;
|
|
1858
1864
|
isMultipleAccount: boolean;
|
|
1859
1865
|
referMultipleState: (type: 'login' | 'multiple', data?: BackFillMultipleState | undefined) => void;
|
|
@@ -1946,6 +1952,7 @@ declare module '@authing/react-ui-components/components/Guard/event' {
|
|
|
1946
1952
|
delUserById: (id: string) => string;
|
|
1947
1953
|
getMemberState: () => boolean;
|
|
1948
1954
|
getFirstBackFillData: () => import("@authing/react-ui-components/components/Guard/core/hooks/useMultipleAccounts").BackFillMultipleState | undefined;
|
|
1955
|
+
getOriginAccount: () => string;
|
|
1949
1956
|
} | undefined, openEventsMapping?: boolean | undefined) => GuardEvents;
|
|
1950
1957
|
export const guardEventsHijacking: (events: GuardEvents, openEventsMapping?: boolean | undefined) => GuardEvents;
|
|
1951
1958
|
export const GuardEventsCamelToKebabMapping: {
|
|
@@ -2496,6 +2503,7 @@ declare module '@authing/react-ui-components/components/Login/hooks/useLoginMult
|
|
|
2496
2503
|
delUserById: (id: string) => string;
|
|
2497
2504
|
getMemberState: () => boolean;
|
|
2498
2505
|
getFirstBackFillData: () => BackFillMultipleState | undefined;
|
|
2506
|
+
getOriginAccount: () => string;
|
|
2499
2507
|
} | undefined;
|
|
2500
2508
|
referMultipleState: ((type: "login" | "multiple") => void) | undefined;
|
|
2501
2509
|
backfillData: BackFillMultipleState | undefined;
|
|
@@ -3631,6 +3639,7 @@ declare module '@authing/react-ui-components/components/_utils/context' {
|
|
|
3631
3639
|
delUserById: (id: string) => string;
|
|
3632
3640
|
getMemberState: () => boolean;
|
|
3633
3641
|
getFirstBackFillData: () => BackFillMultipleState | undefined;
|
|
3642
|
+
getOriginAccount: () => string;
|
|
3634
3643
|
} | undefined;
|
|
3635
3644
|
/**
|
|
3636
3645
|
* 切换多账号 isMultipleAccount 状态
|
|
@@ -4109,7 +4118,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
4109
4118
|
|
|
4110
4119
|
}
|
|
4111
4120
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
4112
|
-
const _default: "3.1.37-beta.
|
|
4121
|
+
const _default: "3.1.37-beta.2";
|
|
4113
4122
|
export default _default;
|
|
4114
4123
|
|
|
4115
4124
|
}
|