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

feat(sdk-coin-avaxp): add avaxp new SDK #4361

Merged
merged 5 commits into from
Mar 26, 2024
Merged

feat(sdk-coin-avaxp): add avaxp new SDK #4361

merged 5 commits into from
Mar 26, 2024

Commits on Mar 26, 2024

  1. feat(sdk-coin-avaxp): add new avaxp library

    new AVAX library minimum node version is node 20.11.1
    https://github.com/ava-labs/avalanchejs
    
    this repo supports both node 18 and node 20
    
    this PR uses a forked version of the avax library that supports node 18
    https://www.npmjs.com/package/bitgo-aaron-avalanchejs?activeTab=readme
    
    TICKET: CR-1073
    noel-bitgo authored and andrew-scott-fischer committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    14d3767 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    08ad690 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    655126d View commit details
    Browse the repository at this point in the history
  4. fix: ignore type-checks of error objects

    In TypeScript 4.4 error objects changed from `any` to `unknown`.
    Rather than fix this, this change ignores it.
    
    Ticket: VL-1844
    andrew-scott-fischer committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    82c9cae View commit details
    Browse the repository at this point in the history
  5. fix: cast as unknown before recasting

    Exising code cast one object as another; the type might be wrong
    but I'm not a SME. Casting `as unknown` to suppress TypeScript
    errors.
    
    Ticket: VL-1844
    andrew-scott-fischer committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    abe6595 View commit details
    Browse the repository at this point in the history