Repository navigation
chore: bump node example to provider 4.2.11 and viem 2.57.7 - #526
Merged
Merged
Conversation
|
Contributor
📦 Bundle size✅ No significant changes. Every check is within budget. @lifi/sdk
Providers
Full integration
How to read this
|
2 of 3 tasks
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.
Which Linear task is linked to this PR?
No ticket yet.
Why was it implemented this way?
This PR changes only
examples/node. The root workspace does not change.@lifi/sdk-provider-ethereum4.2.11 fixes the shared-poll problem with viem 2.57.5 and later. It asks forviem^2.57.7. This PR moves the Node example to these versions. The example now uses viem 2.57.7 safely. The PR also moves the example to pnpm 12.14.0.Version changes
@lifi/sdk-provider-ethereumviem^2.57.7)ox(transitive)ox0.14.56 exactlypackageManager)@lifi/sdkstays at 4.12.1. The provider pins it exactly.pnpm outdatedinexamples/nodeshows no outdated package.pnpm
packageManageris nowpnpm@12.14.0+sha512.c18ba6d8…89a6. The hash is the hex form of thedist.integrityvalue fromnpm view pnpm@12.14.0. The old 12.11.2 value uses the same method.Lockfile
examples/node/pnpm-lock.yamlandexamples/node/node_modules. Then I ranpnpm installwith pnpm 12.14.0, from thepackageManagerfield.packageManagerDependenciesrecord.pnpmand the 14@pnpm/exe.*platform packages move from 12.11.2 to 12.14.0. No other package changes.main, the lockfile diff has the three packages in the version table and the pnpm records.pnpm whyshows one copy ofviem(2.57.7),@lifi/sdk(4.12.1), and@lifi/types(18.13.0).Overrides
The overrides in
examples/node/pnpm-workspace.yamldo not change.ws@<=8.22.0: still needed. viem 2.57.7 pinsws8.21.0.zod@<4.6.0: no change.zodis an optional peer ofabitypeand is not installed.@lifi/data-types>@lifi/types: still needed. The tree has one copy of@lifi/types.axios: no change.axiosis not in the tree.Release-age gate
'@lifi/*'scope entry.@lifi/sdk-provider-ethereum4.2.11 (published 2026-10-16 13:58 UTC) is now older than 24 h. The'@lifi/*'entry stays.viem2.57.7 (published 2026-10-14 17:05 UTC),ox0.14.56 (published 2026-10-11 20:53 UTC), and pnpm 12.14.0 are older than 24 h.Verification in
examples/node(before -> after the pnpm commit)pnpm install --frozen-lockfile: pass -> passpnpm exec tsc --noEmit: pass -> passpnpm audit: no known vulnerabilities -> no known vulnerabilitiespnpm dedupe --check: pass -> passpnpm outdated: none -> noneexample:*scripts needPRIVATE_KEYand send real transactions, so I did not run them. An offlinetsxscript rancreateClientandsetProviders([EthereumProvider(...)]). It passed with viem 2.57.7 and pnpm 12.14.0.No changeset is needed. This PR changes only an example.
Visual showcase (Screenshots or Videos)
Not applicable.
Checklist before requesting a review