@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/index.js CHANGED
@@ -8454,8 +8454,7 @@ var createAuthComponentFromFlow = (component, formValues, touchedFields, formErr
8454
8454
  );
8455
8455
  }
8456
8456
  case EmbeddedFlowComponentType.Timer: {
8457
- const timerConfig = component.config || {};
8458
- const textTemplate = timerConfig.text || "Time remaining: {time}";
8457
+ const textTemplate = resolve(component.label) || "Time remaining: {time}";
8459
8458
  const timeoutMs = Number(options.additionalData?.["stepTimeout"]) || 0;
8460
8459
  const expiresIn = timeoutMs > 0 ? Math.max(0, Math.floor((timeoutMs - Date.now()) / 1e3)) : 0;
8461
8460
  return /* @__PURE__ */ jsx66(FlowTimer_default, { expiresIn, textTemplate }, key);