@asgardeo/react 0.14.2 → 0.14.3

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/dist/cjs/index.js CHANGED
@@ -8517,8 +8517,7 @@ var createAuthComponentFromFlow = (component, formValues, touchedFields, formErr
8517
8517
  );
8518
8518
  }
8519
8519
  case import_browser50.EmbeddedFlowComponentTypeV2.Timer: {
8520
- const timerConfig = component.config || {};
8521
- const textTemplate = timerConfig.text || "Time remaining: {time}";
8520
+ const textTemplate = resolve(component.label) || "Time remaining: {time}";
8522
8521
  const timeoutMs = Number(options.additionalData?.["stepTimeout"]) || 0;
8523
8522
  const expiresIn = timeoutMs > 0 ? Math.max(0, Math.floor((timeoutMs - Date.now()) / 1e3)) : 0;
8524
8523
  return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(FlowTimer_default, { expiresIn, textTemplate }, key);