@forgerock/login-widget 1.2.0-beta.10 → 1.2.0-beta.12

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.10"
16
+ "version": "1.2.0-beta.12"
17
17
  }
package/types.d.ts CHANGED
@@ -619,13 +619,16 @@ interface CallbackMetadata {
619
619
  idx: number;
620
620
  platform?: Record<string, unknown>;
621
621
  }
622
+ interface StartOptions extends StepOptions {
623
+ recaptchaAction?: string;
624
+ }
622
625
  interface JourneyStore extends Pick<Writable<JourneyStoreValue$1>, 'subscribe'> {
623
626
  next: (prevStep?: StepTypes, nextOptions?: StepOptions) => void;
624
627
  pop: () => void;
625
628
  push: (changeOptions: StepOptions) => void;
626
629
  reset: () => void;
627
630
  resume: (url: string, resumeOptions?: StepOptions) => void;
628
- start: (startOptions?: StepOptions) => void;
631
+ start: (startOptions?: StartOptions) => void;
629
632
  }
630
633
  interface JourneyStoreValue$1 {
631
634
  completed: boolean;
@@ -640,7 +643,7 @@ interface JourneyStoreValue$1 {
640
643
  callbacks: CallbackMetadata[];
641
644
  step: StepMetadata;
642
645
  } | null;
643
- step: StepTypes;
646
+ step?: StepTypes;
644
647
  successful: boolean;
645
648
  response: Maybe<Step$1>;
646
649
  recaptchaAction?: Maybe<string>;