Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to node 45 #39

Merged
merged 4 commits into from
Feb 27, 2025
Merged

Upgrade to node 45 #39

merged 4 commits into from
Feb 27, 2025

Conversation

humanagent
Copy link
Collaborator

Hey @rygine seems there is a breaking change for the helpers, flagging this one

examples/gm/index.ts:27:38 - error TS2345: Argument of type '{ getAddress: () => `0x${string}`; signMessage: (message: string) => Promise<ByteArray>; }' is not assignable to parameter of type 'Signer'.
  Type '{ getAddress: () => `0x${string}`; signMessage: (message: string) => Promise<ByteArray>; }' is missing the following properties from type '{ walletType: "SCW"; getAddress: GetAddress; signMessage: SignMessage; getBlockNumber?: GetBlockNumber | undefined; getChainId: GetChainId; }': walletType, getChainId

27   const client = await Client.create(signer, encryptionKey, { env });
                                        ~~~~~~

@humanagent humanagent requested a review from a team as a code owner February 26, 2025 22:07
@humanagent humanagent changed the title upgrade node Upgrade to node 45 Feb 26, 2025
@humanagent humanagent requested a review from rygine February 27, 2025 16:37
@humanagent humanagent merged commit 27b74b6 into main Feb 27, 2025
1 check passed
@humanagent humanagent deleted the upgrade-node branch February 27, 2025 23:49
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