@forgerock/login-widget 1.2.0-beta.4 → 1.2.0-beta.5
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 +7 -0
- package/index.cjs +35 -16
- package/index.cjs.map +1 -1
- package/index.d.ts +59 -59
- package/index.js +35 -16
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +59 -59
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1704,55 +1704,55 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1704
1704
|
serverConfig: ZodOptional<ZodObject<{
|
|
1705
1705
|
baseUrl: ZodString;
|
|
1706
1706
|
paths: ZodOptional<ZodObject<{
|
|
1707
|
-
authenticate: ZodString
|
|
1708
|
-
authorize: ZodString
|
|
1709
|
-
accessToken: ZodString
|
|
1710
|
-
endSession: ZodString
|
|
1711
|
-
userInfo: ZodString
|
|
1712
|
-
revoke: ZodString
|
|
1713
|
-
sessions: ZodString
|
|
1714
|
-
}, "
|
|
1715
|
-
authenticate
|
|
1716
|
-
authorize
|
|
1717
|
-
accessToken
|
|
1718
|
-
endSession
|
|
1719
|
-
userInfo
|
|
1720
|
-
revoke
|
|
1721
|
-
sessions
|
|
1707
|
+
authenticate: ZodOptional<ZodString>;
|
|
1708
|
+
authorize: ZodOptional<ZodString>;
|
|
1709
|
+
accessToken: ZodOptional<ZodString>;
|
|
1710
|
+
endSession: ZodOptional<ZodString>;
|
|
1711
|
+
userInfo: ZodOptional<ZodString>;
|
|
1712
|
+
revoke: ZodOptional<ZodString>;
|
|
1713
|
+
sessions: ZodOptional<ZodString>;
|
|
1714
|
+
}, "strict", ZodTypeAny, {
|
|
1715
|
+
authenticate?: string | undefined;
|
|
1716
|
+
authorize?: string | undefined;
|
|
1717
|
+
accessToken?: string | undefined;
|
|
1718
|
+
endSession?: string | undefined;
|
|
1719
|
+
userInfo?: string | undefined;
|
|
1720
|
+
revoke?: string | undefined;
|
|
1721
|
+
sessions?: string | undefined;
|
|
1722
1722
|
}, {
|
|
1723
|
-
authenticate
|
|
1724
|
-
authorize
|
|
1725
|
-
accessToken
|
|
1726
|
-
endSession
|
|
1727
|
-
userInfo
|
|
1728
|
-
revoke
|
|
1729
|
-
sessions
|
|
1723
|
+
authenticate?: string | undefined;
|
|
1724
|
+
authorize?: string | undefined;
|
|
1725
|
+
accessToken?: string | undefined;
|
|
1726
|
+
endSession?: string | undefined;
|
|
1727
|
+
userInfo?: string | undefined;
|
|
1728
|
+
revoke?: string | undefined;
|
|
1729
|
+
sessions?: string | undefined;
|
|
1730
1730
|
}>>;
|
|
1731
|
-
timeout: ZodNumber
|
|
1732
|
-
}, "
|
|
1733
|
-
timeout: number;
|
|
1731
|
+
timeout: ZodOptional<ZodNumber>;
|
|
1732
|
+
}, "strict", ZodTypeAny, {
|
|
1734
1733
|
baseUrl: string;
|
|
1735
1734
|
paths?: {
|
|
1736
|
-
authenticate
|
|
1737
|
-
authorize
|
|
1738
|
-
accessToken
|
|
1739
|
-
endSession
|
|
1740
|
-
userInfo
|
|
1741
|
-
revoke
|
|
1742
|
-
sessions
|
|
1735
|
+
authenticate?: string | undefined;
|
|
1736
|
+
authorize?: string | undefined;
|
|
1737
|
+
accessToken?: string | undefined;
|
|
1738
|
+
endSession?: string | undefined;
|
|
1739
|
+
userInfo?: string | undefined;
|
|
1740
|
+
revoke?: string | undefined;
|
|
1741
|
+
sessions?: string | undefined;
|
|
1743
1742
|
} | undefined;
|
|
1743
|
+
timeout?: number | undefined;
|
|
1744
1744
|
}, {
|
|
1745
|
-
timeout: number;
|
|
1746
1745
|
baseUrl: string;
|
|
1747
1746
|
paths?: {
|
|
1748
|
-
authenticate
|
|
1749
|
-
authorize
|
|
1750
|
-
accessToken
|
|
1751
|
-
endSession
|
|
1752
|
-
userInfo
|
|
1753
|
-
revoke
|
|
1754
|
-
sessions
|
|
1747
|
+
authenticate?: string | undefined;
|
|
1748
|
+
authorize?: string | undefined;
|
|
1749
|
+
accessToken?: string | undefined;
|
|
1750
|
+
endSession?: string | undefined;
|
|
1751
|
+
userInfo?: string | undefined;
|
|
1752
|
+
revoke?: string | undefined;
|
|
1753
|
+
sessions?: string | undefined;
|
|
1755
1754
|
} | undefined;
|
|
1755
|
+
timeout?: number | undefined;
|
|
1756
1756
|
}>>;
|
|
1757
1757
|
support: ZodOptional<ZodOptional<ZodUnion<[ZodLiteral<"legacy">, ZodLiteral<"modern">]>>>;
|
|
1758
1758
|
tokenStore: ZodOptional<ZodOptional<ZodUnion<[ZodObject<{
|
|
@@ -1774,7 +1774,7 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1774
1774
|
}>>>;
|
|
1775
1775
|
set: ZodFunction<ZodTuple<[ZodString], ZodUnknown>, ZodPromise<ZodVoid>>;
|
|
1776
1776
|
remove: ZodFunction<ZodTuple<[ZodString], ZodUnknown>, ZodPromise<ZodVoid>>;
|
|
1777
|
-
}, "
|
|
1777
|
+
}, "strict", ZodTypeAny, {
|
|
1778
1778
|
set: (args_0: string, ...args_1: unknown[]) => Promise<void>;
|
|
1779
1779
|
remove: (args_0: string, ...args_1: unknown[]) => Promise<void>;
|
|
1780
1780
|
get: (args_0: string, ...args_1: unknown[]) => Promise<{
|
|
@@ -1815,17 +1815,17 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1815
1815
|
redirectUri?: string | undefined;
|
|
1816
1816
|
scope?: string | undefined;
|
|
1817
1817
|
serverConfig?: {
|
|
1818
|
-
timeout: number;
|
|
1819
1818
|
baseUrl: string;
|
|
1820
1819
|
paths?: {
|
|
1821
|
-
authenticate
|
|
1822
|
-
authorize
|
|
1823
|
-
accessToken
|
|
1824
|
-
endSession
|
|
1825
|
-
userInfo
|
|
1826
|
-
revoke
|
|
1827
|
-
sessions
|
|
1820
|
+
authenticate?: string | undefined;
|
|
1821
|
+
authorize?: string | undefined;
|
|
1822
|
+
accessToken?: string | undefined;
|
|
1823
|
+
endSession?: string | undefined;
|
|
1824
|
+
userInfo?: string | undefined;
|
|
1825
|
+
revoke?: string | undefined;
|
|
1826
|
+
sessions?: string | undefined;
|
|
1828
1827
|
} | undefined;
|
|
1828
|
+
timeout?: number | undefined;
|
|
1829
1829
|
} | undefined;
|
|
1830
1830
|
support?: "legacy" | "modern" | undefined;
|
|
1831
1831
|
tokenStore?: "localStorage" | "sessionStorage" | {
|
|
@@ -1860,17 +1860,17 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1860
1860
|
redirectUri?: string | undefined;
|
|
1861
1861
|
scope?: string | undefined;
|
|
1862
1862
|
serverConfig?: {
|
|
1863
|
-
timeout: number;
|
|
1864
1863
|
baseUrl: string;
|
|
1865
1864
|
paths?: {
|
|
1866
|
-
authenticate
|
|
1867
|
-
authorize
|
|
1868
|
-
accessToken
|
|
1869
|
-
endSession
|
|
1870
|
-
userInfo
|
|
1871
|
-
revoke
|
|
1872
|
-
sessions
|
|
1865
|
+
authenticate?: string | undefined;
|
|
1866
|
+
authorize?: string | undefined;
|
|
1867
|
+
accessToken?: string | undefined;
|
|
1868
|
+
endSession?: string | undefined;
|
|
1869
|
+
userInfo?: string | undefined;
|
|
1870
|
+
revoke?: string | undefined;
|
|
1871
|
+
sessions?: string | undefined;
|
|
1873
1872
|
} | undefined;
|
|
1873
|
+
timeout?: number | undefined;
|
|
1874
1874
|
} | undefined;
|
|
1875
1875
|
support?: "legacy" | "modern" | undefined;
|
|
1876
1876
|
tokenStore?: "localStorage" | "sessionStorage" | {
|
|
@@ -2257,14 +2257,14 @@ declare const partialStyleSchema: ZodObject<{
|
|
|
2257
2257
|
}>>>;
|
|
2258
2258
|
sections: ZodOptional<ZodOptional<ZodObject<{
|
|
2259
2259
|
header: ZodOptional<ZodBoolean>;
|
|
2260
|
-
}, "
|
|
2260
|
+
}, "strict", ZodTypeAny, {
|
|
2261
2261
|
header?: boolean | undefined;
|
|
2262
2262
|
}, {
|
|
2263
2263
|
header?: boolean | undefined;
|
|
2264
2264
|
}>>>;
|
|
2265
2265
|
stage: ZodOptional<ZodOptional<ZodObject<{
|
|
2266
2266
|
icon: ZodOptional<ZodBoolean>;
|
|
2267
|
-
}, "
|
|
2267
|
+
}, "strict", ZodTypeAny, {
|
|
2268
2268
|
icon?: boolean | undefined;
|
|
2269
2269
|
}, {
|
|
2270
2270
|
icon?: boolean | undefined;
|