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

Record.store(), Record.import(), and roles API support #385

Merged
merged 35 commits into from
Feb 2, 2024
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
91319bd
Adding changes to src
csuwildcat Jan 22, 2024
22e7fbd
Updates from branch
csuwildcat Jan 22, 2024
c277199
Removing logging
csuwildcat Jan 22, 2024
8676306
Add docs
csuwildcat Jan 22, 2024
fd78372
Update based on PR feedback
csuwildcat Jan 24, 2024
74348f2
update readme
csuwildcat Jan 24, 2024
a94d9d8
Add role-based record tests, fix for cloned obj issue
csuwildcat Jan 29, 2024
bd67e0c
Updated protocol config, added elaborate role tests
csuwildcat Jan 30, 2024
2f046b1
Pass option to initial write processing
csuwildcat Jan 30, 2024
9cdc8af
Add new test for updating with existing role in play
csuwildcat Jan 30, 2024
ff8ddc5
Store/Import Typing Updates (#388)
LiranCohen Jan 30, 2024
418adc7
fix lint
LiranCohen Jan 30, 2024
9f86f94
remove errant only() in tests
csuwildcat Jan 30, 2024
3271fd5
Add test for changing the protocol role that a record is being update…
csuwildcat Jan 30, 2024
a2742c2
Remove only() from test
csuwildcat Jan 30, 2024
443c615
method dyping more consistant
LiranCohen Jan 30, 2024
fb66a7b
Added comments and removed TODO
csuwildcat Jan 30, 2024
54a12ca
Add comment about send()'s new features
csuwildcat Jan 30, 2024
380085c
clean up types, use web5/common removeUndefinedProperties
LiranCohen Jan 30, 2024
9f52b83
Delete unused test
csuwildcat Jan 30, 2024
8ce30ac
Add comments to store/import and other functions added to Record class
csuwildcat Jan 30, 2024
8b28ac3
add code comments to make Frank smile
csuwildcat Jan 30, 2024
5122571
Some more clean up for import/store (#391)
LiranCohen Jan 31, 2024
9e4af87
update test cases and coverage
LiranCohen Jan 31, 2024
8bd889e
linting errors
LiranCohen Jan 31, 2024
ff8816d
move SendCache class into it's own file, not exported in index.ts
LiranCohen Jan 31, 2024
5df7574
js doc updates
LiranCohen Jan 31, 2024
420efb1
add test coverage to dwn manager
LiranCohen Jan 31, 2024
f5b3d55
test coverage for store/import scenarios
LiranCohen Jan 31, 2024
1790b94
fix test case in dwn manager test
LiranCohen Feb 1, 2024
f01bee1
remove unused import
LiranCohen Feb 1, 2024
7453b68
update test covreage for bug fix failures
LiranCohen Feb 1, 2024
3113697
remove unreachable code path
LiranCohen Feb 1, 2024
e30a466
send cache full coverage
LiranCohen Feb 1, 2024
f51f896
updated test to have a better description and comments
LiranCohen Feb 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix lint
LiranCohen committed Jan 31, 2024
commit 418adc7c925acaecca896d612435fb14d4fd525d
1 change: 0 additions & 1 deletion packages/api/src/record.ts
Original file line number Diff line number Diff line change
@@ -440,7 +440,6 @@ export class Record implements RecordModel {
return this._processRecord({ store: options?.store !== false, import: true });
}



/**
* Send the current record to a remote DWN by specifying their DID