@forgerock/login-widget 1.2.0-beta.4 → 1.2.0-beta.6
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/CHANGELOG.md +14 -0
- package/index.cjs +558 -308
- package/index.cjs.map +1 -1
- package/index.d.ts +59 -59
- package/index.js +558 -308
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +59 -59
package/index.d.ts
CHANGED
|
@@ -1717,55 +1717,55 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1717
1717
|
serverConfig: ZodOptional<ZodObject<{
|
|
1718
1718
|
baseUrl: ZodString;
|
|
1719
1719
|
paths: ZodOptional<ZodObject<{
|
|
1720
|
-
authenticate: ZodString
|
|
1721
|
-
authorize: ZodString
|
|
1722
|
-
accessToken: ZodString
|
|
1723
|
-
endSession: ZodString
|
|
1724
|
-
userInfo: ZodString
|
|
1725
|
-
revoke: ZodString
|
|
1726
|
-
sessions: ZodString
|
|
1727
|
-
}, "
|
|
1728
|
-
authenticate
|
|
1729
|
-
authorize
|
|
1730
|
-
accessToken
|
|
1731
|
-
endSession
|
|
1732
|
-
userInfo
|
|
1733
|
-
revoke
|
|
1734
|
-
sessions
|
|
1720
|
+
authenticate: ZodOptional<ZodString>;
|
|
1721
|
+
authorize: ZodOptional<ZodString>;
|
|
1722
|
+
accessToken: ZodOptional<ZodString>;
|
|
1723
|
+
endSession: ZodOptional<ZodString>;
|
|
1724
|
+
userInfo: ZodOptional<ZodString>;
|
|
1725
|
+
revoke: ZodOptional<ZodString>;
|
|
1726
|
+
sessions: ZodOptional<ZodString>;
|
|
1727
|
+
}, "strict", ZodTypeAny, {
|
|
1728
|
+
authenticate?: string | undefined;
|
|
1729
|
+
authorize?: string | undefined;
|
|
1730
|
+
accessToken?: string | undefined;
|
|
1731
|
+
endSession?: string | undefined;
|
|
1732
|
+
userInfo?: string | undefined;
|
|
1733
|
+
revoke?: string | undefined;
|
|
1734
|
+
sessions?: string | undefined;
|
|
1735
1735
|
}, {
|
|
1736
|
-
authenticate
|
|
1737
|
-
authorize
|
|
1738
|
-
accessToken
|
|
1739
|
-
endSession
|
|
1740
|
-
userInfo
|
|
1741
|
-
revoke
|
|
1742
|
-
sessions
|
|
1736
|
+
authenticate?: string | undefined;
|
|
1737
|
+
authorize?: string | undefined;
|
|
1738
|
+
accessToken?: string | undefined;
|
|
1739
|
+
endSession?: string | undefined;
|
|
1740
|
+
userInfo?: string | undefined;
|
|
1741
|
+
revoke?: string | undefined;
|
|
1742
|
+
sessions?: string | undefined;
|
|
1743
1743
|
}>>;
|
|
1744
|
-
timeout: ZodNumber
|
|
1745
|
-
}, "
|
|
1746
|
-
timeout: number;
|
|
1744
|
+
timeout: ZodOptional<ZodNumber>;
|
|
1745
|
+
}, "strict", ZodTypeAny, {
|
|
1747
1746
|
baseUrl: string;
|
|
1748
1747
|
paths?: {
|
|
1749
|
-
authenticate
|
|
1750
|
-
authorize
|
|
1751
|
-
accessToken
|
|
1752
|
-
endSession
|
|
1753
|
-
userInfo
|
|
1754
|
-
revoke
|
|
1755
|
-
sessions
|
|
1748
|
+
authenticate?: string | undefined;
|
|
1749
|
+
authorize?: string | undefined;
|
|
1750
|
+
accessToken?: string | undefined;
|
|
1751
|
+
endSession?: string | undefined;
|
|
1752
|
+
userInfo?: string | undefined;
|
|
1753
|
+
revoke?: string | undefined;
|
|
1754
|
+
sessions?: string | undefined;
|
|
1756
1755
|
} | undefined;
|
|
1756
|
+
timeout?: number | undefined;
|
|
1757
1757
|
}, {
|
|
1758
|
-
timeout: number;
|
|
1759
1758
|
baseUrl: string;
|
|
1760
1759
|
paths?: {
|
|
1761
|
-
authenticate
|
|
1762
|
-
authorize
|
|
1763
|
-
accessToken
|
|
1764
|
-
endSession
|
|
1765
|
-
userInfo
|
|
1766
|
-
revoke
|
|
1767
|
-
sessions
|
|
1760
|
+
authenticate?: string | undefined;
|
|
1761
|
+
authorize?: string | undefined;
|
|
1762
|
+
accessToken?: string | undefined;
|
|
1763
|
+
endSession?: string | undefined;
|
|
1764
|
+
userInfo?: string | undefined;
|
|
1765
|
+
revoke?: string | undefined;
|
|
1766
|
+
sessions?: string | undefined;
|
|
1768
1767
|
} | undefined;
|
|
1768
|
+
timeout?: number | undefined;
|
|
1769
1769
|
}>>;
|
|
1770
1770
|
support: ZodOptional<ZodOptional<ZodUnion<[ZodLiteral<"legacy">, ZodLiteral<"modern">]>>>;
|
|
1771
1771
|
tokenStore: ZodOptional<ZodOptional<ZodUnion<[ZodObject<{
|
|
@@ -1787,7 +1787,7 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1787
1787
|
}>>>;
|
|
1788
1788
|
set: ZodFunction<ZodTuple<[ZodString], ZodUnknown>, ZodPromise<ZodVoid>>;
|
|
1789
1789
|
remove: ZodFunction<ZodTuple<[ZodString], ZodUnknown>, ZodPromise<ZodVoid>>;
|
|
1790
|
-
}, "
|
|
1790
|
+
}, "strict", ZodTypeAny, {
|
|
1791
1791
|
set: (args_0: string, ...args_1: unknown[]) => Promise<void>;
|
|
1792
1792
|
remove: (args_0: string, ...args_1: unknown[]) => Promise<void>;
|
|
1793
1793
|
get: (args_0: string, ...args_1: unknown[]) => Promise<{
|
|
@@ -1828,17 +1828,17 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1828
1828
|
redirectUri?: string | undefined;
|
|
1829
1829
|
scope?: string | undefined;
|
|
1830
1830
|
serverConfig?: {
|
|
1831
|
-
timeout: number;
|
|
1832
1831
|
baseUrl: string;
|
|
1833
1832
|
paths?: {
|
|
1834
|
-
authenticate
|
|
1835
|
-
authorize
|
|
1836
|
-
accessToken
|
|
1837
|
-
endSession
|
|
1838
|
-
userInfo
|
|
1839
|
-
revoke
|
|
1840
|
-
sessions
|
|
1833
|
+
authenticate?: string | undefined;
|
|
1834
|
+
authorize?: string | undefined;
|
|
1835
|
+
accessToken?: string | undefined;
|
|
1836
|
+
endSession?: string | undefined;
|
|
1837
|
+
userInfo?: string | undefined;
|
|
1838
|
+
revoke?: string | undefined;
|
|
1839
|
+
sessions?: string | undefined;
|
|
1841
1840
|
} | undefined;
|
|
1841
|
+
timeout?: number | undefined;
|
|
1842
1842
|
} | undefined;
|
|
1843
1843
|
support?: "legacy" | "modern" | undefined;
|
|
1844
1844
|
tokenStore?: "localStorage" | "sessionStorage" | {
|
|
@@ -1873,17 +1873,17 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1873
1873
|
redirectUri?: string | undefined;
|
|
1874
1874
|
scope?: string | undefined;
|
|
1875
1875
|
serverConfig?: {
|
|
1876
|
-
timeout: number;
|
|
1877
1876
|
baseUrl: string;
|
|
1878
1877
|
paths?: {
|
|
1879
|
-
authenticate
|
|
1880
|
-
authorize
|
|
1881
|
-
accessToken
|
|
1882
|
-
endSession
|
|
1883
|
-
userInfo
|
|
1884
|
-
revoke
|
|
1885
|
-
sessions
|
|
1878
|
+
authenticate?: string | undefined;
|
|
1879
|
+
authorize?: string | undefined;
|
|
1880
|
+
accessToken?: string | undefined;
|
|
1881
|
+
endSession?: string | undefined;
|
|
1882
|
+
userInfo?: string | undefined;
|
|
1883
|
+
revoke?: string | undefined;
|
|
1884
|
+
sessions?: string | undefined;
|
|
1886
1885
|
} | undefined;
|
|
1886
|
+
timeout?: number | undefined;
|
|
1887
1887
|
} | undefined;
|
|
1888
1888
|
support?: "legacy" | "modern" | undefined;
|
|
1889
1889
|
tokenStore?: "localStorage" | "sessionStorage" | {
|
|
@@ -2270,14 +2270,14 @@ declare const partialStyleSchema: ZodObject<{
|
|
|
2270
2270
|
}>>>;
|
|
2271
2271
|
sections: ZodOptional<ZodOptional<ZodObject<{
|
|
2272
2272
|
header: ZodOptional<ZodBoolean>;
|
|
2273
|
-
}, "
|
|
2273
|
+
}, "strict", ZodTypeAny, {
|
|
2274
2274
|
header?: boolean | undefined;
|
|
2275
2275
|
}, {
|
|
2276
2276
|
header?: boolean | undefined;
|
|
2277
2277
|
}>>>;
|
|
2278
2278
|
stage: ZodOptional<ZodOptional<ZodObject<{
|
|
2279
2279
|
icon: ZodOptional<ZodBoolean>;
|
|
2280
|
-
}, "
|
|
2280
|
+
}, "strict", ZodTypeAny, {
|
|
2281
2281
|
icon?: boolean | undefined;
|
|
2282
2282
|
}, {
|
|
2283
2283
|
icon?: boolean | undefined;
|