-
Notifications
You must be signed in to change notification settings - Fork 3
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: Expose near-lake-primitives
to VM
#613
Conversation
near-lake-primitives
to VM
@@ -1,6114 +0,0 @@ | |||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. |
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.
The project expects npm install and we should stick to that
I believe we need to increase the primitives library version in the frontend too. I don't think we need to make any code changes though, since we pull the primitives type file from node nodules and add the whole file. Could be wrong on that though. |
4280afb
to
f517967
Compare
Done, looks like it does pull from |
Sorry another thought just occurred to me. The reason we can freeze Block as "block" is because we import it through |
Good catch - we do need to update the template, most likely to It also looks like type declarations are manually defined/included, so those will need to be updated. Would be more convenient if we could pull from the library/ |
I've updated the For reference, borsher is exported under the FYI @Tguntenaar |
- feat: Instrument Runner Service (#602) - Support WHERE col IN (...) in context.db.table.select and delete (#606) - feat: Include indexer name in context db build failure warning (#611) - Cache provisioning status (#607) - Fix ESLint on DmlHandler (#612) - fix: Substitution 'node-sql-parser' with a forked version until Apri 1st (#597) - feat: Add pgBouncer to QueryApi (#615) - feat: Expose near-lake-primitives to VM (#613) --------- Co-authored-by: Pavel Kudinov <mrkroz@gmail.com> Co-authored-by: Pavel Kudinov <pavel@near.org> Co-authored-by: Kevin Zhang <42101107+Kevin101Zhang@users.noreply.github.com> Co-authored-by: Morgan McCauley <morgan@mccauley.co.nz>
near-lake-primitives
to0.2.0
, which includesborsh
near-lake-primitives
library to VM viaprimitives
, e.g. borsh can be accessed viaprimitives.borsh.fromBorsh()