-
Notifications
You must be signed in to change notification settings - Fork 47
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
chore: remove anchor dependency in js #1415
Conversation
904f344
to
b6769ad
Compare
19861e1
to
3ba8d96
Compare
wip remove anchor from stateless.js add buffer-layout.dt.ts add note wip wip remove anchor dep in ctoken use bs58 fmt wip remove custom program id test fix dl keyss statelessjs bundle optimization. remove idls rm tweetnacl, minify compressed-token lib wip. less externals wip: try alpha npm release script with alpha option wip wip stateless.js works with web3js 1.73.5 - alpha wip
3ba8d96
to
7ba6eef
Compare
ready for first pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice it's more contained than I thought. A couple small things, and more tests would be great!
console.log(`Key ${key} not found in value`); | ||
return false; | ||
} | ||
if (!deepEqual(ref[key], val[key])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
circular references in objects will cause infinite recursion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, will fix in separate pr
problem:
some consumers use old solana versions (1.73.5) + prefer smaller bundle size
todo