@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/CHANGELOG.md +14 -0
- package/index.cjs +9 -15
- package/index.cjs.map +1 -1
- package/index.d.ts +1 -1
- package/index.js +9 -15
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +5 -2
package/package.json
CHANGED
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?:
|
|
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
|
|
646
|
+
step?: StepTypes;
|
|
644
647
|
successful: boolean;
|
|
645
648
|
response: Maybe<Step$1>;
|
|
646
649
|
recaptchaAction?: Maybe<string>;
|