From 283262701a920f1296a42cd40ce4ea0e70763338 Mon Sep 17 00:00:00 2001 From: Brion Date: Wed, 17 Dec 2025 14:11:48 +0530 Subject: [PATCH 1/3] Refactor flows v2 models exports --- packages/react/src/index.ts | 44 ++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index 2e703c6b..f6b54652 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -280,26 +280,26 @@ export { navigate, // Export `v2` models and types as first class citizens since they are // going to be the primary way to interact with embedded flows moving forward. - type EmbeddedFlowComponentTypeV2, - type EmbeddedFlowActionVariantV2, - type EmbeddedFlowTextVariantV2, - type EmbeddedFlowEventTypeV2, - type EmbeddedFlowComponentV2, - type EmbeddedFlowResponseDataV2, - type EmbeddedFlowExecuteRequestConfigV2, - type EmbeddedSignInFlowStatusV2, - type EmbeddedSignInFlowTypeV2, - type ExtendedEmbeddedSignInFlowResponseV2, - type EmbeddedSignInFlowResponseV2, - type EmbeddedSignInFlowCompleteResponseV2, - type EmbeddedSignInFlowInitiateRequestV2, - type EmbeddedSignInFlowRequestV2, - type EmbeddedSignUpFlowStatusV2, - type EmbeddedSignUpFlowTypeV2, - type ExtendedEmbeddedSignUpFlowResponseV2, - type EmbeddedSignUpFlowResponseV2, - type EmbeddedSignUpFlowCompleteResponseV2, - type EmbeddedSignUpFlowInitiateRequestV2, - type EmbeddedSignUpFlowRequestV2, - type EmbeddedSignUpFlowErrorResponseV2, + type EmbeddedFlowComponentTypeV2 as EmbeddedFlowComponentType, + type EmbeddedFlowActionVariantV2 as EmbeddedFlowActionVariant, + type EmbeddedFlowTextVariantV2 as EmbeddedFlowTextVariant, + type EmbeddedFlowEventTypeV2 as EmbeddedFlowEventType, + type EmbeddedFlowComponentV2 as EmbeddedFlowComponent, + type EmbeddedFlowResponseDataV2 as EmbeddedFlowResponseData, + type EmbeddedFlowExecuteRequestConfigV2 as EmbeddedFlowExecuteRequestConfig, + type EmbeddedSignInFlowStatusV2 as EmbeddedSignInFlowStatus, + type EmbeddedSignInFlowTypeV2 as EmbeddedSignInFlowType, + type ExtendedEmbeddedSignInFlowResponseV2 as ExtendedEmbeddedSignInFlowResponse, + type EmbeddedSignInFlowResponseV2 as EmbeddedSignInFlowResponse, + type EmbeddedSignInFlowCompleteResponseV2 as EmbeddedSignInFlowCompleteResponse, + type EmbeddedSignInFlowInitiateRequestV2 as EmbeddedSignInFlowInitiateRequest, + type EmbeddedSignInFlowRequestV2 as EmbeddedSignInFlowRequest, + type EmbeddedSignUpFlowStatusV2 as EmbeddedSignUpFlowStatus, + type EmbeddedSignUpFlowTypeV2 as EmbeddedSignUpFlowType, + type ExtendedEmbeddedSignUpFlowResponseV2 as ExtendedEmbeddedSignUpFlowResponse, + type EmbeddedSignUpFlowResponseV2 as EmbeddedSignUpFlowResponse, + type EmbeddedSignUpFlowCompleteResponseV2 as EmbeddedSignUpFlowCompleteResponse, + type EmbeddedSignUpFlowInitiateRequestV2 as EmbeddedSignUpFlowInitiateRequest, + type EmbeddedSignUpFlowRequestV2 as EmbeddedSignUpFlowRequest, + type EmbeddedSignUpFlowErrorResponseV2 as EmbeddedSignUpFlowErrorResponse, } from '@asgardeo/browser'; From 383405d4d267f7546d1b0362cebd08cd58d533a5 Mon Sep 17 00:00:00 2001 From: Brion Date: Wed, 17 Dec 2025 14:12:04 +0530 Subject: [PATCH 2/3] =?UTF-8?q?Add=20changeset=20=F0=9F=A6=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/seven-wasps-act.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/seven-wasps-act.md diff --git a/.changeset/seven-wasps-act.md b/.changeset/seven-wasps-act.md new file mode 100644 index 00000000..b77eda9c --- /dev/null +++ b/.changeset/seven-wasps-act.md @@ -0,0 +1,5 @@ +--- +'@asgardeo/react': patch +--- + +Refactor flows v2 models exports From 9542ba91ffb40d8e81f1fb3e168d5497e255198d Mon Sep 17 00:00:00 2001 From: Brion Date: Wed, 17 Dec 2025 14:21:22 +0530 Subject: [PATCH 3/3] Refactor embedded flow exports in index.ts: change from type exports to direct exports for improved clarity and usability. --- packages/react/src/index.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index f6b54652..4f8e6f89 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -280,15 +280,15 @@ export { navigate, // Export `v2` models and types as first class citizens since they are // going to be the primary way to interact with embedded flows moving forward. - type EmbeddedFlowComponentTypeV2 as EmbeddedFlowComponentType, - type EmbeddedFlowActionVariantV2 as EmbeddedFlowActionVariant, - type EmbeddedFlowTextVariantV2 as EmbeddedFlowTextVariant, - type EmbeddedFlowEventTypeV2 as EmbeddedFlowEventType, + EmbeddedFlowComponentTypeV2 as EmbeddedFlowComponentType, + EmbeddedFlowActionVariantV2 as EmbeddedFlowActionVariant, + EmbeddedFlowTextVariantV2 as EmbeddedFlowTextVariant, + EmbeddedFlowEventTypeV2 as EmbeddedFlowEventType, type EmbeddedFlowComponentV2 as EmbeddedFlowComponent, type EmbeddedFlowResponseDataV2 as EmbeddedFlowResponseData, type EmbeddedFlowExecuteRequestConfigV2 as EmbeddedFlowExecuteRequestConfig, - type EmbeddedSignInFlowStatusV2 as EmbeddedSignInFlowStatus, - type EmbeddedSignInFlowTypeV2 as EmbeddedSignInFlowType, + EmbeddedSignInFlowStatusV2 as EmbeddedSignInFlowStatus, + EmbeddedSignInFlowTypeV2 as EmbeddedSignInFlowType, type ExtendedEmbeddedSignInFlowResponseV2 as ExtendedEmbeddedSignInFlowResponse, type EmbeddedSignInFlowResponseV2 as EmbeddedSignInFlowResponse, type EmbeddedSignInFlowCompleteResponseV2 as EmbeddedSignInFlowCompleteResponse,