Skip to content

chore: [Nextiva] Add WASM for Nextiva Connector in Dashboard#4922

Open
shuklatushar226 wants to merge 1 commit into
mainfrom
add-nextiva-connector-wasm
Open

chore: [Nextiva] Add WASM for Nextiva Connector in Dashboard#4922
shuklatushar226 wants to merge 1 commit into
mainfrom
add-nextiva-connector-wasm

Conversation

@shuklatushar226

Copy link
Copy Markdown

Summary

Regenerates the euclid WebAssembly bundle so the Control Center recognizes the Nextiva connector (PayConex / Bluefin), added in hyperswitch PR #12608.

Nextiva is a UCS-only connector; its dashboard auth config is BodyKey:

  • api_key — PayConex API access key
  • key1 — PayConex Account ID

Built from the add-nextiva-connector branch via:

wasm-pack build --target web --out-dir <cc>/public/hyperswitch/wasm --out-name euclid \
  crates/euclid_wasm -- --features dummy_connector,v1

Files

  • public/hyperswitch/wasm/euclid_bg.wasm — the substantive change (now includes Nextiva's connector config)
  • public/hyperswitch/wasm/euclid.js, euclid.d.ts, euclid_bg.wasm.d.ts — regenerated glue

Note: the euclid.js / .d.ts churn is wasm-bindgen export-ordering noise — the exported API is unchanged (same 34 exports, none added or removed). The meaningful change is in euclid_bg.wasm.

🤖 Generated with Claude Code

Rebuilt euclid_wasm from hyperswitch add-nextiva-connector so the Control Center recognizes the Nextiva connector (BodyKey: API access key + Account ID). The euclid.js/.d.ts line churn is wasm-bindgen export-ordering noise (same 34 exports, none added/removed); the substantive change is in euclid_bg.wasm.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@shuklatushar226 shuklatushar226 requested a review from a team as a code owner June 4, 2026 22:20
@semanticdiff-com

semanticdiff-com Bot commented Jun 4, 2026

Copy link
Copy Markdown

Review changes with  SemanticDiff

Changed Files
File Status
  public/hyperswitch/wasm/euclid_bg.wasm.d.ts  49% smaller
  public/hyperswitch/wasm/euclid.js  37% smaller
  public/hyperswitch/wasm/euclid.d.ts  19% smaller
  public/hyperswitch/wasm/euclid_bg.wasm Unsupported file format

@github-actions github-actions Bot added the Closed Applied to issues or pull requests that have been successfully resolved or completed label Jun 4, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9ffd250069

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +653 to +656
export function getAllConnectors() {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
wasm.getPayoutDescriptionCategory(retptr);
wasm.getAllConnectors(retptr);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add Nextiva to the frontend connector mapping

When the regenerated wasm starts returning nextiva from getAllConnectors(), the rest of the Control Center still has no corresponding frontend connector type or string mapping. In the V2 connector list path, ConnectorInterfaceUtils.res:361-362 maps backend connector_name through getConnectorNameTypeFromString, but ConnectorUtils.res:1217-1219 falls through to UnknownConnector("Not known") for anything not listed, so any configured Nextiva account returned by the API is rendered/routed as an unknown connector instead of Nextiva. Please add the Nextiva enum/string/display/info/list entries alongside this wasm update.

Useful? React with 👍 / 👎.

@shuklatushar226 shuklatushar226 changed the title feat(wasm): regenerate euclid wasm with Nextiva connector chore: [Nextiva] Add WASM for Nextiva Connector in Dashboard Jun 4, 2026

@XyneSpaces XyneSpaces left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

Classification: WASM Bundle Regeneration — Nextiva Connector Support
Risk Level: Low
Files Changed: 4 files (generated wasm-bindgen artifacts)


Verification

Build Artifact Review:
Source branch documented — Built from add-nextiva-connector branch with proper flags
Export count unchanged — PR confirms same 34 exports, none added/removed
Expected churn patterneuclid.js / .d.ts changes are export-ordering noise from wasm-bindgen
Substantive change confirmedeuclid_bg.wasm binary updated with Nextiva connector config

Dependency Coordination:

  • This PR pairs with #4923 (dashboard registration)
  • Both must merge together for the connector config form to render correctly

Findings

None. Standard WASM regeneration following documented build process.


Verdict: ✅ Routine WASM bundle update. Safe to merge alongside #4923.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Closed Applied to issues or pull requests that have been successfully resolved or completed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants