Skip to content

chore(deps): bump @shapeshiftoss packages to latest - #49

Merged
kaladinlight merged 1 commit into
developfrom
chore/bump-shapeshiftoss-deps
Jul 2, 2026
Merged

chore(deps): bump @shapeshiftoss packages to latest#49
kaladinlight merged 1 commit into
developfrom
chore/bump-shapeshiftoss-deps

Conversation

@kaladinlight

@kaladinlight kaladinlight commented Jul 2, 2026

Copy link
Copy Markdown
Member

Description

Bumps the @shapeshiftoss/* packages to their latest published versions:

Package From To
caip 8.16.7 8.16.9
chain-adapters 11.3.9 11.4.0
swapper 17.7.3 17.8.0
types 8.6.7 8.6.8
unchained-client 10.14.10 10.14.11

unchained-pulumi was already at the latest (1.0.2).

swapper@17.8.0 introduces a new BobGateway swapper plus two SwapperConfig fields (VITE_BOB_GATEWAY_API_KEY, VITE_TRON_GRID_API_KEY). swap-service is updated to compile against the new surface:

  • swapper-config — provides the two new config fields as empty strings. Neither is needed by this service: BobGateway isn't verified, and Sunio's Tron-grid key is only read by quote/execution paths, not checkTradeStatus.
  • affiliateFeeAssetBobGateway fee strategy is null, matching the other bridges (ArbitrumBridge, Relay).
  • swap-verificationBobGateway routes to the "Verification not implemented" group, keeping the exhaustive switch complete.

Follow-up: VITE_BOB_GATEWAY_API_KEY is intentionally empty. BobGateway's checkTradeStatus does read it, so if/when this service starts processing BobGateway swaps, wire that key through env. A real BobGateway verifier is likewise deferred.

Testing

  • yarn build — all 6 packages build successfully
  • swap-service — 56/56 unit tests pass

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Bug Fixes
    • Improved swap handling for BobGateway by updating fee resolution and verification behavior.
    • Prevented certain gateway API keys from being used in the app’s runtime configuration.
  • Chores
    • Updated several internal package versions to newer releases.

Bumps caip, chain-adapters, swapper, types, and unchained-client to their
latest published versions. swapper 17.8.0 adds a new BobGateway swapper and
two SwapperConfig fields, so swap-service is updated to compile against them:

- swapper-config: provide VITE_BOB_GATEWAY_API_KEY / VITE_TRON_GRID_API_KEY
  (empty — neither is used by verification; BobGateway isn't verified and the
  Tron-grid key is only read by swapper quote/execution paths, not checkTradeStatus)
- affiliateFeeAsset: BobGateway fee strategy null (bridge, like ArbitrumBridge)
- swap-verification: route BobGateway to the not-implemented group

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0e1cfe11-c2d2-44ed-a267-a4df0ab359b9

📥 Commits

Reviewing files that changed from the base of the PR and between 6650696 and 5fe8021.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (4)
  • apps/swap-service/src/swaps/swapper-config.ts
  • apps/swap-service/src/utils/affiliateFeeAsset.ts
  • apps/swap-service/src/verification/swap-verification.service.ts
  • package.json

📝 Walkthrough

Walkthrough

Adds SwapperName.BobGateway support to the affiliate fee strategy lookup and swap verification switch, hardcodes two previously env-sourced API keys to empty strings in swapper config, and bumps several @shapeshiftoss/* package dependency versions in package.json.

Changes

BobGateway Swapper Support

Layer / File(s) Summary
Affiliate fee and verification handling for BobGateway
apps/swap-service/src/utils/affiliateFeeAsset.ts, apps/swap-service/src/verification/swap-verification.service.ts
Adds SwapperName.BobGateway with a null strategy to SWAPPER_FEE_STRATEGY, and adds a BobGateway case to verifySwap's switch that falls through to the existing "Verification not implemented" path.
Swapper config key clearing and dependency bump
apps/swap-service/src/swaps/swapper-config.ts, package.json
getSwapperConfig now hardcodes VITE_BOB_GATEWAY_API_KEY and VITE_TRON_GRID_API_KEY to empty strings instead of reading from env; several @shapeshiftoss/* dependency versions are bumped.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

Poem

A gateway hops in, new and spry,
BobGateway now gets a null reply.
Keys turned blank, quiet as a mouse,
Packages bumped in the burrow house.
Thump thump — ship it, no delay! 🐰

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the dependency bump to newer @shapeshiftoss package versions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/bump-shapeshiftoss-deps

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@kaladinlight
kaladinlight merged commit 7ce8c3f into develop Jul 2, 2026
2 checks passed
@kaladinlight
kaladinlight deleted the chore/bump-shapeshiftoss-deps branch July 2, 2026 20:20
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