Skip to content

Commit

Permalink
Add fix for edge case for older links in IB
Browse files Browse the repository at this point in the history
  • Loading branch information
yashovardhan committed Dec 18, 2024
1 parent 17db167 commit 3171c4b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/pages/quick-start/builder/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,18 @@ const builder: IntegrationBuilder = {
sdkChoices = SDKS_SFA;
} else if (finalValues.product === MPC_CORE_KIT) {
sdkChoices = SDKS_MPC_CORE_KIT;
} else if (
finalValues.product === "CORE_KIT" &&
SDKS_SFA.some((sdk) => sdk.key === finalValues.sdk)
) {
finalValues.product = SFA;
sdkChoices = SDKS_SFA;
} else if (
finalValues.product === "CORE_KIT" &&
SDKS_MPC_CORE_KIT.some((sdk) => sdk.key === finalValues.sdk)
) {
finalValues.product = MPC_CORE_KIT;
sdkChoices = SDKS_MPC_CORE_KIT;
} else {
sdkChoices = SDKS_PNP;
}
Expand Down

0 comments on commit 3171c4b

Please sign in to comment.