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

Conversation

noel-bitgo
Copy link
Contributor

CR-1073

TICKET: CR-1073

Copy link

socket-security bot commented Mar 22, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@nodelib/fs.stat@2.0.5 filesystem 0 11.8 kB mrmlnc
npm/array-union@2.1.0 None 0 3.17 kB sindresorhus
npm/array-uniq@1.0.3 None 0 3.57 kB sindresorhus
npm/asap@2.0.6 None 0 33.9 kB kriskowal
npm/base64-js@1.5.1 None 0 9.62 kB feross
npm/camelcase@6.3.0 None 0 11.7 kB sindresorhus
npm/content-type@1.0.5 None 0 10.5 kB dougwilson
npm/cookiejar@2.1.4 None 0 14.5 kB andyburke
npm/depd@2.0.0 environment, eval 0 27.1 kB dougwilson
npm/diff@5.0.0 None 0 369 kB kpdecker
npm/es-errors@1.3.0 None 0 12.3 kB ljharb
npm/esprima@4.0.1 None 0 314 kB ariya
npm/extend@3.0.2 None 0 23.5 kB ljharb
npm/fast-safe-stringify@2.1.1 None 0 39.7 kB matteo.collina
npm/functions-have-names@1.2.3 None 0 16.7 kB ljharb
npm/get-caller-file@2.0.5 None 0 4.72 kB stefanpenner
npm/has-bigints@1.0.2 None 0 12.8 kB ljharb
npm/has-symbols@1.0.3 None 0 20.6 kB ljharb
npm/he@1.2.0 None 0 124 kB mathias
npm/hexoid@1.0.0 None 0 7.72 kB lukeed
npm/ini@1.3.8 None 0 9.3 kB isaacs
npm/is-callable@1.2.7 None 0 28.9 kB ljharb
npm/json-stringify-safe@5.0.1 None 0 12.7 kB isaacs
npm/json5@2.2.3 None 0 235 kB jordanbtucker
npm/lodash@4.17.21 None 0 1.41 MB bnjmnt4n
npm/merge2@1.4.1 None 0 8.9 kB zensh
npm/methods@1.1.2 network 0 5.29 kB dougwilson
npm/mime-db@1.52.0 None 0 206 kB dougwilson
npm/negotiator@0.6.3 None 0 27.4 kB dougwilson
npm/normalize-path@3.0.0 None 0 9.22 kB jonschlinkert
npm/object-assign@4.1.1 None 0 5.49 kB sindresorhus
npm/parseurl@1.3.3 None 0 10.3 kB dougwilson
npm/path-key@3.1.1 None 0 4.55 kB sindresorhus
npm/picomatch@2.3.1 None 0 90 kB mrmlnc
npm/safe-buffer@5.2.1 None 0 32.1 kB feross
npm/safer-buffer@2.1.2 None 0 42.3 kB chalker
npm/strip-json-comments@3.1.1 None 0 6.96 kB sindresorhus
npm/unpipe@1.0.0 None 0 4.31 kB dougwilson
npm/uuid@8.3.2 None 0 116 kB ctavan
npm/vary@1.1.2 None 0 8.75 kB dougwilson
npm/yallist@4.0.0 None 0 14.8 kB isaacs

View full report↗︎

sol-mocha

This comment was marked as resolved.

Copy link
Contributor

@zahin-mohammad zahin-mohammad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few comments:

  • Browser tests won't pass due to cypress
  • Changing min version to node 18 is a breaking change, you need to add the appropriate footer tag for this

I already did both in my node 16 PR, please rebate off of mine.
#4119

@noel-bitgo
Copy link
Contributor Author

Few comments:

  • Browser tests won't pass due to cypress

  • Changing min version to node 18 is a breaking change, you need to add the appropriate footer tag for this

I already did both in my node 16 PR, please rebate off of mine.

#4119

Amazing thanks!
Yeah this PR was just testing feasibility of using the new avaxp sdk on node18

Copy link

socket-security bot commented Mar 25, 2024

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@noel-bitgo noel-bitgo force-pushed the CR-1073 branch 2 times, most recently from 837b3c7 to acee038 Compare March 25, 2024 14:24
@CapnMigraine CapnMigraine force-pushed the CR-1073 branch 2 times, most recently from cb41794 to b7fdba2 Compare March 25, 2024 19:05
@noel-bitgo noel-bitgo marked this pull request as ready for review March 25, 2024 19:29
@noel-bitgo noel-bitgo requested review from a team as code owners March 25, 2024 19:29
@noel-bitgo noel-bitgo force-pushed the CR-1073 branch 3 times, most recently from 58ecbcf to 6d26127 Compare March 26, 2024 13:35
@noel-bitgo noel-bitgo marked this pull request as draft March 26, 2024 15:51
@andrew-scott-fischer
Copy link
Contributor

andrew-scott-fischer commented Mar 26, 2024

Few comments:

  • Browser tests won't pass due to cypress

Looks like browser-tests did pass? Why wasn't that expected? @zahin-mohammad @noel-bitgo ?

@zahin-mohammad
Copy link
Contributor

zahin-mohammad commented Mar 26, 2024

Few comments:

  • Browser tests won't pass due to cypress

Looks like browser-tests did pass? Why wasn't that expected? @zahin-mohammad @noel-bitgo ?

Honestly not 100% sure why, but upgrading cypress fixed it for me. https://bitgo.slack.com/archives/C010AEXLLCR/p1711229931703669

They work now because this PR is rebased off of my node 16 deprecation PR.

@andrew-scott-fischer
Copy link
Contributor

  • Changing min version to node 18 is a breaking change, you need to add the appropriate footer tag for this

@zahin-mohammad When you merge your PR to remove 16, update the readme too

@zahin-mohammad
Copy link
Contributor

  • Changing min version to node 18 is a breaking change, you need to add the appropriate footer tag for this

@zahin-mohammad When you merge your PR to remove 16, update the readme too

Ah must have missed it, good catch.

@zahin-mohammad
Copy link
Contributor

  • Changing min version to node 18 is a breaking change, you need to add the appropriate footer tag for this

@zahin-mohammad When you merge your PR to remove 16, update the readme too

https://github.com/BitGo/BitGoJS/pull/4371/files

noel-bitgo and others added 5 commits March 26, 2024 11:10
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
In TypeScript 4.4 error objects changed from `any` to `unknown`.
Rather than fix this, this change ignores it.

Ticket: VL-1844
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
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.

10 participants