Skip to content

fix(miniapps): unwrap {success,result} API responses - #147

Merged
Gaubee merged 2 commits into
mainfrom
fix/miniapps-api-wrap
Jan 3, 2026
Merged

Gaubee merged 2 commits into
mainfrom
fix/miniapps-api-wrap

Conversation

@Gaubee

@Gaubee Gaubee commented Jan 3, 2026

Copy link
Copy Markdown
Contributor

Fix Forge + Teleport API clients to handle backend responses wrapped as { success, result }.

  • Unwraps wrapped responses in both miniapps
  • Adds unit test coverage for Forge wrapper + updates Teleport test

Tests:

  • pnpm --filter @biochain/miniapp-teleport test:run
  • pnpm --filter @biochain/miniapp-teleport typecheck:run
  • pnpm --filter @biochain/miniapp-forge test:run
  • pnpm --filter @biochain/miniapp-forge typecheck:run

@Gaubee
Gaubee merged commit a145b07 into main Jan 3, 2026
5 checks passed
@Gaubee
Gaubee deleted the fix/miniapps-api-wrap branch January 4, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant