@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/package.json CHANGED
@@ -13,5 +13,5 @@
13
13
  },
14
14
  "license": "MIT",
15
15
  "dependencies": {},
16
- "version": "1.2.0-beta.4"
16
+ "version": "1.2.0-beta.5"
17
17
  }
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
- }, "strip", ZodTypeAny, {
1715
- authenticate: string;
1716
- authorize: string;
1717
- accessToken: string;
1718
- endSession: string;
1719
- userInfo: string;
1720
- revoke: string;
1721
- sessions: string;
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: string;
1724
- authorize: string;
1725
- accessToken: string;
1726
- endSession: string;
1727
- userInfo: string;
1728
- revoke: string;
1729
- sessions: string;
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
- }, "strip", ZodTypeAny, {
1733
- timeout: number;
1731
+ timeout: ZodOptional<ZodNumber>;
1732
+ }, "strict", ZodTypeAny, {
1734
1733
  baseUrl: string;
1735
1734
  paths?: {
1736
- authenticate: string;
1737
- authorize: string;
1738
- accessToken: string;
1739
- endSession: string;
1740
- userInfo: string;
1741
- revoke: string;
1742
- sessions: string;
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: string;
1749
- authorize: string;
1750
- accessToken: string;
1751
- endSession: string;
1752
- userInfo: string;
1753
- revoke: string;
1754
- sessions: string;
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
- }, "strip", ZodTypeAny, {
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: string;
1822
- authorize: string;
1823
- accessToken: string;
1824
- endSession: string;
1825
- userInfo: string;
1826
- revoke: string;
1827
- sessions: string;
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: string;
1867
- authorize: string;
1868
- accessToken: string;
1869
- endSession: string;
1870
- userInfo: string;
1871
- revoke: string;
1872
- sessions: string;
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
- }, "strip", ZodTypeAny, {
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
- }, "strip", ZodTypeAny, {
2267
+ }, "strict", ZodTypeAny, {
2268
2268
  icon?: boolean | undefined;
2269
2269
  }, {
2270
2270
  icon?: boolean | undefined;