-
Notifications
You must be signed in to change notification settings - Fork 57
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
Record.store(), Record.import(), and roles API support #385
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
TBDocs Report ✅ No errors or warnings @web5/api
TBDocs Report Updated at 2024-02-02T17:28:28Z |
@csuwildcat Node and one of the browser tests are failing. Can you look into why? |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #385 +/- ##
==========================================
+ Coverage 91.90% 93.25% +1.35%
==========================================
Files 67 77 +10
Lines 18241 23450 +5209
Branches 1550 1869 +319
==========================================
+ Hits 16764 21869 +5105
- Misses 1454 1542 +88
- Partials 23 39 +16
|
* optional target for send * guard store options
* simplification of records class * rename record options to reflect signing/storing
73aa304
to
5df7574
Compare
@frankhinek Would love another run through and blessing from you. There is more clean up to do, specifically I'd love to get rid of But I think this is in a good place to un-block some bugs. And do further cleanup in subsequent PRs. Would also love feedback from the community and users if the |
This is the biggest open question I still have. Something about |
- Add `store()` method to the `api` `Record` class. - Add `import()` method to the `api` `Record` class. These now allow to import and store initial writes as well as the current state write in local and remote DWNs.
- Add `store()` method to the `api` `Record` class. - Add `import()` method to the `api` `Record` class. These now allow to import and store initial writes as well as the current state write in local and remote DWNs.
- Add `store()` method to the `api` `Record` class. - Add `import()` method to the `api` `Record` class. These now allow to import and store initial writes as well as the current state write in local and remote DWNs.
First pass at PR