@forgerock/login-widget 1.0.0-alpha.9 → 1.0.0-beta.1

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/modal.d.ts CHANGED
@@ -1468,7 +1468,7 @@ declare enum ZodFirstPartyTypeKind {
1468
1468
 
1469
1469
  declare const partialLinksSchema: ZodObject<{
1470
1470
  termsAndConditions: ZodOptional<ZodString>;
1471
- }, "strip", ZodTypeAny, {
1471
+ }, "strict", ZodTypeAny, {
1472
1472
  termsAndConditions?: string | undefined;
1473
1473
  }, {
1474
1474
  termsAndConditions?: string | undefined;
@@ -2033,7 +2033,7 @@ declare const __propDef: {
2033
2033
  config: TypeOf<typeof partialConfigSchema>;
2034
2034
  content: TypeOf<typeof partialStringsSchema>;
2035
2035
  journeys?: TypeOf<typeof journeyConfigSchema> | undefined;
2036
- links: TypeOf<typeof partialLinksSchema>;
2036
+ links?: TypeOf<typeof partialLinksSchema> | undefined;
2037
2037
  style?: Style | undefined;
2038
2038
  };
2039
2039
  events: {
package/modal.js CHANGED
@@ -22791,12 +22791,12 @@ class Link extends SvelteComponent {
22791
22791
 
22792
22792
  const linksSchema = mod.object({
22793
22793
  termsAndConditions: mod.string(),
22794
- });
22795
- const partialLinksSchema = linksSchema.partial();
22794
+ }).strict();
22795
+ linksSchema.partial();
22796
22796
  let links;
22797
22797
  function initialize$2(customLinks) {
22798
22798
  // Provide developer feedback for custom links
22799
- partialLinksSchema.parse(customLinks);
22799
+ linksSchema.parse(customLinks);
22800
22800
  links = readable(customLinks);
22801
22801
  }
22802
22802
 
@@ -28105,7 +28105,7 @@ function instance($$self, $$props, $$invalidate) {
28105
28105
  let { config } = $$props;
28106
28106
  let { content } = $$props;
28107
28107
  let { journeys = undefined } = $$props;
28108
- let { links } = $$props;
28108
+ let { links = undefined } = $$props;
28109
28109
  let { style = undefined } = $$props;
28110
28110
  const dispatch = createEventDispatcher();
28111
28111