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

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
@@ -670,7 +670,7 @@ interface JourneyStoreValue {
670
670
  callbacks: CallbackMetadata[];
671
671
  step: StepMetadata;
672
672
  } | null;
673
- step: StepTypes;
673
+ step?: StepTypes;
674
674
  successful: boolean;
675
675
  response: Maybe<Step>;
676
676
  recaptchaAction?: Maybe<string>;
package/index.js CHANGED
@@ -11942,7 +11942,7 @@ const journeyStore = writable({
11942
11942
  function initialize$4(initOptions) {
11943
11943
  const stack = initializeStack();
11944
11944
  let stepNumber = 0;
11945
- async function next(prevStep = null, nextOptions, resumeUrl) {
11945
+ async function next(prevStep, nextOptions, resumeUrl) {
11946
11946
  if (!Config.get().serverConfig?.baseUrl) {
11947
11947
  logErrorAndThrow('missingBaseUrl');
11948
11948
  }