Skip to content

chore(auth): drop unused deps and remove IMX generated clients#2915

Merged
alex-connolly merged 3 commits into
mainfrom
chore/remove-unused-auth-passport-deps
Jul 27, 2026
Merged

chore(auth): drop unused deps and remove IMX generated clients#2915
alex-connolly merged 3 commits into
mainfrom
chore/remove-unused-auth-passport-deps

Conversation

@alex-connolly

@alex-connolly alex-connolly commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace @imtbl/auth's imx.APIError type with a local { code, message, details? } shape and remove the unused @imtbl/generated-clients dependency
  • Remove leftover @imtbl/passport production deps left after the auth/wallet split: ethers, localforage, oidc-client-ts, @imtbl/toolkit
  • Delete deprecated Immutable X OpenAPI clients from @imtbl/generated-clients (src/imx/, ImxApiClients, imxApiConfig, generate targets)
  • Remove imtbl_x_* webhook event types/handlers and drop @imtbl/webhook's dependency on @imtbl/generated-clients
  • Scrub remaining StarkEx leftovers: dead CI env vars, empty tests/func-tests/imx workspace entry, wallet confirmation StarkEx branch, Guardian starkex enums, checkout locale copy, docs links, and immutablex package keywords
  • Update pnpm-lock.yaml accordingly

Test plan

  • pnpm --filter @imtbl/auth test (25 passed)
  • pnpm --filter @imtbl/passport test (21 passed)
  • pnpm --filter @imtbl/generated-clients test + typecheck
  • pnpm --filter @imtbl/webhook typecheck + test
  • pnpm --filter @imtbl/wallet typecheck
  • CI green on this PR

Replace auth's imx.APIError type with a local shape so @imtbl/auth no
longer depends on @imtbl/generated-clients. Remove leftover passport
dependencies (ethers, localforage, oidc-client-ts, @imtbl/toolkit)
left after the auth/wallet split.

Co-authored-by: Cursor <cursoragent@cursor.com>
@alex-connolly
alex-connolly requested review from a team as code owners July 25, 2026 19:57
@github-actions

Copy link
Copy Markdown

⚠️ Audience Bundle Size — @imtbl/audience

Metric Size Delta vs main (f8ac366)
Gzipped 21683 bytes (21.17 KB) 0 bytes
Raw (minified) 63197 bytes 0 bytes

Budget: 24.00 KB gzipped (warn at 20.00 KB)

⚠️ Approaching budget — gzipped size exceeds 20.00 KB warning threshold.

@nx-cloud

nx-cloud Bot commented Jul 25, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 044a77d

Command Status Duration Result
nx affected -t build,lint,test ✅ Succeeded 2m 13s View ↗
nx run-many -p @imtbl/sdk,@imtbl/checkout-widge... ✅ Succeeded 1m 9s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-07-26 19:21:24 UTC

Delete the IMX OpenAPI-generated clients and related exports now that
Immutable X is sunset. Drop imtbl_x_* webhook event types/handlers and
the webhook dependency on generated-clients.

Co-authored-by: Cursor <cursoragent@cursor.com>
@alex-connolly alex-connolly changed the title chore(auth): drop unused auth and passport deps chore: drop unused deps and remove IMX generated clients Jul 26, 2026
Remove dead StarkEx CI env vars and the empty imx func-tests workspace
entry, drop the wallet confirmation StarkEx branch, align Guardian
chainType enums with the evm-only OpenAPI, update checkout warning copy
and docs links, and replace immutablex package keywords.

Co-authored-by: Cursor <cursoragent@cursor.com>
@alex-connolly
alex-connolly requested review from a team as code owners July 26, 2026 19:18
@alex-connolly alex-connolly changed the title chore: drop unused deps and remove IMX generated clients (chore): drop unused deps and remove IMX generated clients Jul 26, 2026
@alex-connolly alex-connolly changed the title (chore): drop unused deps and remove IMX generated clients chore(auth): drop unused deps and remove IMX generated clients Jul 26, 2026
@alex-connolly
alex-connolly enabled auto-merge July 26, 2026 23:54
@alex-connolly
alex-connolly added this pull request to the merge queue Jul 27, 2026
Merged via the queue into main with commit 8f6c316 Jul 27, 2026
10 of 12 checks passed
@alex-connolly
alex-connolly deleted the chore/remove-unused-auth-passport-deps branch July 27, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants