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

fix dependencies #545

Closed
wants to merge 3 commits into from
Closed

fix dependencies #545

wants to merge 3 commits into from

Conversation

rubenmarcus
Copy link
Member

@rubenmarcus rubenmarcus commented Oct 8, 2024

PR Type

enhancement, dependencies


Description

  • Introduced a new BitteWalletContext and BitteWalletContextProvider in the React package to manage wallet connections, including functions for connecting and disconnecting wallets, and state management for accounts and connection status.
  • Updated dependencies in package.json, including @near-wallet-selector/core and @near-wallet-selector/wallet-utils to version 8.9.13, and added near-api-js version 5.0.0.

Changes walkthrough 📝

Relevant files
Enhancement
WalletContext.tsx
Introduce `BitteWalletContext` for wallet management in React

packages/react/src/WalletContext.tsx

  • Added a new BitteWalletContext and BitteWalletContextProvider for
    managing wallet connections.
  • Implemented functions for connecting and disconnecting wallets.
  • Set up state management for wallet accounts and connection status.
  • Added event listeners for modal interactions.
  • +195/-0 
    Dependencies
    package.json
    Update dependencies for wallet selector and near-api-js   

    package.json

  • Updated @near-wallet-selector/core dependency to version 8.9.13.
  • Updated @near-wallet-selector/wallet-utils dependency to version
    8.9.13.
  • Added near-api-js dependency version 5.0.0.
  • +4/-3     
    Additional files (token-limit)
    package-lock.json
    ...                                                                                                           

    package-lock.json

    ...

    +3376/-2535

    💡 PR-Agent usage:
    Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    @rubenmarcus rubenmarcus closed this Oct 8, 2024
    @bh2smith bh2smith deleted the fix-dependencies branch November 19, 2024 14:09
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    dependencies enhancement New feature or request
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    1 participant