Skip to content

Release: v2.18.0#805

Merged
kvhnuke merged 9 commits into
mainfrom
develop
Jun 9, 2026
Merged

Release: v2.18.0#805
kvhnuke merged 9 commits into
mainfrom
develop

Conversation

@kvhnuke

@kvhnuke kvhnuke commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • New Features

    • Extension updated to version 2.18.0.
  • Bug Fixes

    • Updated Ethereum block explorer integration for improved transaction and address lookups.
  • Chores

    • Updated development dependencies across all packages for improved stability and security.
    • Optimized geo-restriction checking efficiency.

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@kvhnuke, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 16 minutes and 35 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 80783dc1-0dda-459f-9ebc-125bd38f8407

📥 Commits

Reviewing files that changed from the base of the PR and between f4d6588 and df1cd61.

📒 Files selected for processing (1)
  • packages/swap/src/configs.ts

Walkthrough

Extension version 2.18.0 release with monorepo dependency updates, including geo-restriction caching optimization, screening endpoint migration with error fallback inversion, Etherscan explorer URL consolidation, and consistent TypeScript tooling and hardware wallet SDK version bumps across 16 workspace packages.

Changes

Extension v2.18.0 Release with Monorepo Dependency Updates

Layer / File(s) Summary
Extension package version and dependency updates
packages/extension/package.json
Extension version bumped from 2.17.0 to 2.18.0; runtime dependencies updated for @amplitude/analytics-browser, @ledgerhq/hw-transport-webusb, echarts, lodash, qrcode.vue, uuid, and vue; development dependencies refreshed across @types/node, @vitejs/plugin-vue, @vue/tsconfig, @vueuse/core, eslint-plugin-vue, fs-extra, jsdom, less-loader, prettier, rollup, semver, systeminformation, vite, and vitest/vue-tsc.
Geo-restriction caching optimization
packages/extension/src/libs/background/index.ts, packages/extension/src/libs/utils/screening.ts
Background handler defers isGeoRestricted() call to first window initialization when cache is undefined, preventing repeated async calls; screening endpoint migrated from ipcomply to enkrypt with error/non-OK fallback inverted from false to true; wallet restriction endpoint and success-path logic remain unchanged.
Ethereum provider updates
packages/extension/src/providers/ethereum/networks/eth.ts, packages/extension/src/providers/ethereum/libs/transaction/index.ts
Ethereum network block explorer URLs updated from ethvm.com to etherscan.io for transaction and address links; debug console.log(feeMarketTx) removed from EIP-1559 finalization path.
Monorepo toolchain consolidation
package.json, packages/extension-bridge/package.json, packages/hw-wallets/package.json, packages/keyring/package.json, packages/name-resolution/package.json, packages/request/package.json, packages/signers/{bitcoin,ethereum,kadena,massa,polkadot}/package.json, packages/storage/package.json, packages/swap/package.json, packages/types/package.json, packages/utils/package.json
Root and 15 workspace packages updated with consistent versions for TypeScript ESLint tooling (@typescript-eslint/* to 8.59.4), Prettier, Vitest, Node typings; hardware wallet SDKs (Ledger @ledgerhq/hw-app-* and @ledgerhq/hw-transport*, Trezor @trezor/connect*) and name-service package (@bonfida/spl-name-service) bumped to latest patch/minor versions; @commitlint and @swc/core also refreshed in root and applicable packages.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • enkryptcom/enKrypt#803: Matches the same functional code updates in extension package (geo-restriction, screening endpoint, Etherscan URL, transaction cleanup) as part of v2.18.0 preparation.
  • enkryptcom/enKrypt#758: Overlapping Etherscan explorer URL construction changes in Ethereum provider configuration.
  • enkryptcom/enKrypt#600: Previous extension package version bump (2.0.32.1.0) with similar dependency consolidation pattern.

Suggested reviewers

  • NickKelly1
  • SemajaM
  • gamalielhere
🚥 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 'Release: v2.18.0' accurately reflects the main change in the changeset, which includes bumping the extension version from 2.17.0 to 2.18.0 and updating multiple dependencies across the project.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch develop

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 and usage tips.

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

💼 Build Files
chrome: enkrypt-chrome-df1cd61c.zip
firefox: enkrypt-firefox-df1cd61c.zip

💉 Virus total analysis
chrome: df1cd61c
firefox: df1cd61c

@coderabbitai coderabbitai 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.

Actionable comments posted: 3

🧹 Nitpick comments (1)
packages/signers/ethereum/package.json (1)

35-50: @types/node mismatch in @enkryptcom/signer-ethereum appears low-risk for cross-package typing

  • Workspace uses @types/node@^25.9.1 in @enkryptcom/signer-ethereum (and @enkryptcom/signer-bitcoin) vs @types/node@^22.19.19 in most other packages.
  • @enkryptcom/types’s SignerInterface uses only string/unknown, and EthereumSigner/BitcoinSigner exported methods also only accept/return string, so Node type definitions don’t seem to leak across package boundaries.
  • Aligning @types/node versions is still worthwhile for maintenance consistency, but this mismatch is unlikely to cause type incompatibilities by itself.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/signers/ethereum/package.json` around lines 35 - 50, The package
uses `@types/node`@^25.9.1 which mismatches the workspace standard
`@types/node`@^22.19.19; update the devDependency entry for "`@types/node`" in
packages/signers/ethereum/package.json (and mirror the same change in
packages/signers/bitcoin/package.json if present) to the workspace version
(^22.19.19) to align types across packages, then reinstall deps
(pnpm/yarn/install) to ensure the lockfile and node resolution are consistent.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/extension/package.json`:
- Line 41: The package.json update adds `@ledgerhq/hw-transport-webusb`; inspect
all ledger modules (packages/hw-wallets/src/ledger/bitcoin/index.ts,
ethereum/index.ts, solana/index.ts, substrate/index.ts) for the symbol
webUsbTransport (and any factory functions that instantiate it) to verify where
it is created and used, update the conditional/import checks to reflect actual
usage sites (not just substrate), and run or add targeted tests/validation of
the extension hardware-wallet onboarding/connection flows for Bitcoin, Ethereum,
Solana and Substrate to ensure webUsbTransport is only invoked where supported
and onboarding still succeeds across those networks.

In `@packages/extension/src/libs/background/index.ts`:
- Around line 92-96: The geo-check is currently started but not awaited, leaving
this.#geoRestricted undefined and stale; change the flow so newWindowInit awaits
a fresh isGeoRestricted() call (or awaits the promise when undefined) before
allowing requests to proceed and update this.#geoRestricted every newWindowInit;
implement an awaited call to isGeoRestricted() (with an optional short
timeout/fallback) inside the newWindowInit path instead of the fire-and-forget
block so the gate that uses this.#geoRestricted always sees a resolved boolean.

In `@packages/signers/polkadot/package.json`:
- Line 25: The package.json for the polkadot signer incorrectly lists
"`@commitlint/cli`" under runtime "dependencies"; since there are no scripts or
code in this package that use commitlint (it’s configured at repo root), remove
"`@commitlint/cli`" from the "dependencies" object in
packages/signers/polkadot/package.json and either add it to "devDependencies" or
delete the entry entirely (if only the root uses it); update package.json
accordingly and run your package manager to refresh lockfiles.

---

Nitpick comments:
In `@packages/signers/ethereum/package.json`:
- Around line 35-50: The package uses `@types/node`@^25.9.1 which mismatches the
workspace standard `@types/node`@^22.19.19; update the devDependency entry for
"`@types/node`" in packages/signers/ethereum/package.json (and mirror the same
change in packages/signers/bitcoin/package.json if present) to the workspace
version (^22.19.19) to align types across packages, then reinstall deps
(pnpm/yarn/install) to ensure the lockfile and node resolution are consistent.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 88800eb6-9d5e-4f3d-9beb-6f8df13459a1

📥 Commits

Reviewing files that changed from the base of the PR and between 1362fcf and f4d6588.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (20)
  • package.json
  • packages/extension-bridge/package.json
  • packages/extension/package.json
  • packages/extension/src/libs/background/index.ts
  • packages/extension/src/libs/utils/screening.ts
  • packages/extension/src/providers/ethereum/libs/transaction/index.ts
  • packages/extension/src/providers/ethereum/networks/eth.ts
  • packages/hw-wallets/package.json
  • packages/keyring/package.json
  • packages/name-resolution/package.json
  • packages/request/package.json
  • packages/signers/bitcoin/package.json
  • packages/signers/ethereum/package.json
  • packages/signers/kadena/package.json
  • packages/signers/massa/package.json
  • packages/signers/polkadot/package.json
  • packages/storage/package.json
  • packages/swap/package.json
  • packages/types/package.json
  • packages/utils/package.json
💤 Files with no reviewable changes (1)
  • packages/extension/src/providers/ethereum/libs/transaction/index.ts

Comment thread packages/extension/package.json
Comment thread packages/extension/src/libs/background/index.ts
Comment thread packages/signers/polkadot/package.json
@kvhnuke kvhnuke merged commit b9ba802 into main Jun 9, 2026
4 of 5 checks passed
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.

3 participants