@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/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
- }, "strip", ZodTypeAny, {
1728
- authenticate: string;
1729
- authorize: string;
1730
- accessToken: string;
1731
- endSession: string;
1732
- userInfo: string;
1733
- revoke: string;
1734
- sessions: string;
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: string;
1737
- authorize: string;
1738
- accessToken: string;
1739
- endSession: string;
1740
- userInfo: string;
1741
- revoke: string;
1742
- sessions: string;
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
- }, "strip", ZodTypeAny, {
1746
- timeout: number;
1744
+ timeout: ZodOptional<ZodNumber>;
1745
+ }, "strict", ZodTypeAny, {
1747
1746
  baseUrl: string;
1748
1747
  paths?: {
1749
- authenticate: string;
1750
- authorize: string;
1751
- accessToken: string;
1752
- endSession: string;
1753
- userInfo: string;
1754
- revoke: string;
1755
- sessions: string;
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: string;
1762
- authorize: string;
1763
- accessToken: string;
1764
- endSession: string;
1765
- userInfo: string;
1766
- revoke: string;
1767
- sessions: string;
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
- }, "strip", ZodTypeAny, {
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: string;
1835
- authorize: string;
1836
- accessToken: string;
1837
- endSession: string;
1838
- userInfo: string;
1839
- revoke: string;
1840
- sessions: string;
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: string;
1880
- authorize: string;
1881
- accessToken: string;
1882
- endSession: string;
1883
- userInfo: string;
1884
- revoke: string;
1885
- sessions: string;
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
- }, "strip", ZodTypeAny, {
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
- }, "strip", ZodTypeAny, {
2280
+ }, "strict", ZodTypeAny, {
2281
2281
  icon?: boolean | undefined;
2282
2282
  }, {
2283
2283
  icon?: boolean | undefined;