chore(auth): drop unused deps and remove IMX generated clients#2915
Merged
Conversation
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>
|
| 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.
|
View your CI Pipeline Execution ↗ for commit 044a77d
💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗ ☁️ Nx Cloud last updated this comment at |
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>
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>
nattb8
approved these changes
Jul 26, 2026
alex-connolly
enabled auto-merge
July 26, 2026 23:54
shineli1984
approved these changes
Jul 26, 2026
ermyas
approved these changes
Jul 27, 2026
bruno-imx
approved these changes
Jul 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@imtbl/auth'simx.APIErrortype with a local{ code, message, details? }shape and remove the unused@imtbl/generated-clientsdependency@imtbl/passportproduction deps left after the auth/wallet split:ethers,localforage,oidc-client-ts,@imtbl/toolkit@imtbl/generated-clients(src/imx/,ImxApiClients,imxApiConfig, generate targets)imtbl_x_*webhook event types/handlers and drop@imtbl/webhook's dependency on@imtbl/generated-clientstests/func-tests/imxworkspace entry, wallet confirmation StarkEx branch, Guardianstarkexenums, checkout locale copy, docs links, andimmutablexpackage keywordspnpm-lock.yamlaccordinglyTest plan
pnpm --filter @imtbl/auth test(25 passed)pnpm --filter @imtbl/passport test(21 passed)pnpm --filter @imtbl/generated-clients test+typecheckpnpm --filter @imtbl/webhook typecheck+testpnpm --filter @imtbl/wallet typecheck