@asgardeo/react 0.6.24 → 0.6.25
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 +2 -6
- package/dist/cjs/index.js.map +2 -2
- package/dist/index.js +2 -7
- package/dist/index.js.map +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -6877,7 +6877,6 @@ import {
|
|
|
6877
6877
|
// src/components/presentation/auth/AuthOptionFactory.tsx
|
|
6878
6878
|
import React from "react";
|
|
6879
6879
|
import {
|
|
6880
|
-
AsgardeoRuntimeError as AsgardeoRuntimeError7,
|
|
6881
6880
|
FieldType as FieldType7,
|
|
6882
6881
|
EmbeddedFlowComponentTypeV2 as EmbeddedFlowComponentType,
|
|
6883
6882
|
EmbeddedFlowActionVariantV2 as EmbeddedFlowActionVariant,
|
|
@@ -7067,12 +7066,8 @@ var createAuthComponentFromFlow = (component, formValues, touchedFields, formErr
|
|
|
7067
7066
|
return null;
|
|
7068
7067
|
}
|
|
7069
7068
|
default:
|
|
7070
|
-
|
|
7071
|
-
|
|
7072
|
-
`${authType === "signin" ? "SignIn" : "SignUp"}-UnsupportedComponentType-001`,
|
|
7073
|
-
"react",
|
|
7074
|
-
`Something went wrong while rendering the ${authType} component. Please try again later.`
|
|
7075
|
-
);
|
|
7069
|
+
console.warn(`Unsupported component type: ${component.type}. Skipping render.`);
|
|
7070
|
+
return null;
|
|
7076
7071
|
}
|
|
7077
7072
|
};
|
|
7078
7073
|
var renderSignInComponents = (components, formValues, touchedFields, formErrors, isLoading, isFormValid, onInputChange, options) => components.map(
|