Skip to content

chore: update @near-wallet-selector/core to v10 and adjust compatibility for wallet selector v10#9

Open
ahnafalfariza wants to merge 1 commit intoBitteProtocol:mainfrom
ahnafalfariza:main
Open

chore: update @near-wallet-selector/core to v10 and adjust compatibility for wallet selector v10#9
ahnafalfariza wants to merge 1 commit intoBitteProtocol:mainfrom
ahnafalfariza:main

Conversation

@ahnafalfariza
Copy link
Copy Markdown

update the @bitte-ai/wallet to support wallet selector v10. Details of changes in wallet selector v10: https://github.com/near/wallet-selector/blob/main/MIGRATION-v10.md

tl;dr:
in wallet-selector v10, we migrated the action interface to accept only the near-api-js action. to minimize code changes, I added the najActionToInternal function that converts actions to the old ws-action interface

upon testing the package by linking it locally, I confirmed that it is functioning correctly

Comment thread src/bitte-wallet.ts
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