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: DID package refactor #447

Merged
merged 126 commits into from
Jan 28, 2022
Merged
Show file tree
Hide file tree
Changes from 120 commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
c45f625
fix: resolution result for missing DID
ntn-x2 Nov 9, 2021
86d72d7
chore: update DID resolution metadata structure
ntn-x2 Nov 9, 2021
e282db0
test: unit tests passing again
ntn-x2 Nov 9, 2021
39ef1df
wip: improve unit tests for resolver
ntn-x2 Nov 9, 2021
675e847
test: unit tests for default DID resolver completed
ntn-x2 Nov 10, 2021
ec03b7f
Merge commit 'c4bf163f7122185a2ee3648867929ad6faf05cb0' into aa-did-r…
ntn-x2 Nov 10, 2021
57200b4
fix: fix unit tests after regex correction
ntn-x2 Nov 10, 2021
4980c0d
test: update small test change condition
ntn-x2 Nov 10, 2021
8cf4be6
test: fix integration tests
ntn-x2 Nov 10, 2021
d898030
fix: rename exported DID serviceEndpoints to serviceEndpoint
ntn-x2 Nov 11, 2021
1151d49
chore: enable lint for utils.ts in integration tests
ntn-x2 Nov 11, 2021
aba92e2
chore: fix lint warning for CType unit tests
ntn-x2 Nov 11, 2021
2ec9074
Merge branch 'develop' into aa-did-resolver
ntn-x2 Nov 24, 2021
e3cdbcb
docs: add explanation of parameter for getRemoveEndpointExtrinsic fun…
ntn-x2 Nov 26, 2021
e635aa2
feat: first attempt at DID refactor
ntn-x2 Dec 2, 2021
892f57c
feat: making progress
ntn-x2 Dec 3, 2021
e5dfa89
feat: done for today
ntn-x2 Dec 3, 2021
e6b36c6
wip: DID builder logic
ntn-x2 Dec 6, 2021
e02105d
wip: refactring types
ntn-x2 Dec 6, 2021
eac8ba0
wip: complete abstract DidDetails class
ntn-x2 Dec 8, 2021
8aab8b4
wip: complete LightDidDetails class
ntn-x2 Dec 8, 2021
c6c067f
wip: complete refactor for FullDidDetails
ntn-x2 Dec 8, 2021
101e406
wip: minor fixes before moving on
ntn-x2 Dec 8, 2021
ac16dfc
wip: fixed DefaultResolver
ntn-x2 Dec 8, 2021
2d9777c
wip: refactored DemoKeystore
ntn-x2 Dec 8, 2021
0c69ab5
wip: refactored DidDocumentExporter
ntn-x2 Dec 8, 2021
44d8d7b
wip: refactored Did.chain.ts
ntn-x2 Dec 9, 2021
f2eb1a4
wip: refactored Did.utils.ts
ntn-x2 Dec 9, 2021
d0c3759
chore: refactor imports
ntn-x2 Dec 9, 2021
ce05e8e
chore: replace old did package with new one
ntn-x2 Dec 9, 2021
de94741
chore: add index.ts
ntn-x2 Dec 9, 2021
3015d59
fix: re-add global.d.ts to did package
ntn-x2 Dec 9, 2021
2689861
chore: temporarily comment out FullDidBuilder module
ntn-x2 Dec 9, 2021
d2dfb97
wip: refactor attestation module
ntn-x2 Dec 9, 2021
7f560c7
wip: refactor claim module
ntn-x2 Dec 9, 2021
7435741
wip: refactored credential module
ntn-x2 Dec 10, 2021
9c119d5
wip: refactored delegation module
ntn-x2 Dec 10, 2021
06c9a66
wip: refactored quote module
ntn-x2 Dec 10, 2021
3f6c3ba
wip: refactored requestforattestation module
ntn-x2 Dec 10, 2021
ebef6cc
wip: updated resolver to return correct values
ntn-x2 Dec 10, 2021
88a0cdc
wip: refactored messaging package
ntn-x2 Dec 10, 2021
c4d20f7
chore: it compiles again
ntn-x2 Dec 10, 2021
4a1f792
chore: it builds now after few adjustments
ntn-x2 Dec 10, 2021
c75178a
test: first unit test passing again
ntn-x2 Dec 10, 2021
c6ee120
feat: add migration function to LightDidDetails
ntn-x2 Dec 13, 2021
4c106e0
wip: add tests for LightDidDetails
ntn-x2 Dec 13, 2021
ad13172
test: LightDidDetails tests complete
ntn-x2 Dec 13, 2021
b31bfec
test: more test cases
ntn-x2 Dec 13, 2021
1dbb7b0
wip: adding tests for DefaultResolver
ntn-x2 Dec 13, 2021
212e923
Merge commit '19703c4695e983d3c76c67d4748f3229160fb9de' into aa-did-r…
ntn-x2 Dec 13, 2021
3819217
test: complete resolver tests
ntn-x2 Dec 13, 2021
2c8cefb
test: complete tests for DidDocumentExporter
ntn-x2 Dec 13, 2021
1cdc6eb
chore: remove FullDidBuilder class for now
ntn-x2 Dec 13, 2021
f188737
test: fix Message tests
ntn-x2 Dec 13, 2021
7900ea2
test: finalise Message unit tests
ntn-x2 Dec 14, 2021
64462c2
test: message.utils.spec tests passing
ntn-x2 Dec 14, 2021
d33153b
test: all tests but core passing
ntn-x2 Dec 14, 2021
6002609
wip: fixed part of Credential.spec.ts tests
ntn-x2 Dec 14, 2021
69d4466
test: passing Credential.spec.ts unit tests
ntn-x2 Dec 14, 2021
2c92f79
test: passing Quote.spec.ts test
ntn-x2 Dec 14, 2021
4d2fab5
test: unit tests passing 🎉🎉🎉
ntn-x2 Dec 14, 2021
f3ce7f4
wip: fixing Attestation.spec.ts tests
ntn-x2 Dec 14, 2021
11806ef
fix: DID DELETION TESTS NOW PASSING
ntn-x2 Dec 16, 2021
eefa21a
docs: add comments for the future
ntn-x2 Dec 17, 2021
043be02
wip: add changes comments
ntn-x2 Jan 10, 2022
3b4cf91
fix: delegation integration test
ntn-x2 Jan 10, 2022
befa50b
chore: make query deletion status more readable
ntn-x2 Jan 10, 2022
acb4496
chore: rename DefaultResolver to DidResolver
ntn-x2 Jan 11, 2022
b944af0
chore: change light DID migration function to take a closure
ntn-x2 Jan 11, 2022
9ec66c7
chore: apply changes based on meeting feedback
ntn-x2 Jan 11, 2022
462576d
wip: fixing DID integration tests
ntn-x2 Jan 11, 2022
6080dba
fix: nonce retrieving function for full DIDs
ntn-x2 Jan 12, 2022
e6b394e
test: DID integration tests passing
ntn-x2 Jan 12, 2022
97bd6bd
test: Ctype integration tests passing
ntn-x2 Jan 12, 2022
c4ab798
chore: expose function to encode a DidSignature to the expected chain…
ntn-x2 Jan 12, 2022
51ce804
test: delegation integration tests passing
ntn-x2 Jan 12, 2022
7c41047
test: all integration tests updated
ntn-x2 Jan 12, 2022
5c3d091
test: un-skip Attestation integration tests
ntn-x2 Jan 12, 2022
cd3eb78
test: all integration tests are passing now
ntn-x2 Jan 13, 2022
8f1bb8b
chore: replace input maps with records for DIDs
ntn-x2 Jan 13, 2022
ea13a7b
chore: rename all closures to *Closure and make them async
ntn-x2 Jan 13, 2022
57b586e
chore: refactor integration tests utility functions
ntn-x2 Jan 13, 2022
ee667fe
test: refactoring
ntn-x2 Jan 13, 2022
bb8b837
test: fix deposit wrong test expected result
ntn-x2 Jan 14, 2022
b76372a
fix: yarn warnings
ntn-x2 Jan 14, 2022
632249c
fix: yarn style
ntn-x2 Jan 14, 2022
c6e3714
Merge branch 'develop' into 'aa-did-refactor'
ntn-x2 Jan 14, 2022
4696bb1
Merge branch 'develop' into 'aa-did-refactor'
ntn-x2 Jan 14, 2022
9e8c177
chore: add .vscode to .gitignore
ntn-x2 Jan 14, 2022
dd0976e
test: fix CType check in utils.ts
ntn-x2 Jan 14, 2022
aa66422
fix: Deposit integration tests
ntn-x2 Jan 14, 2022
71ec1ef
fix: Deposit integration tests
ntn-x2 Jan 14, 2022
970394f
fix: attempt n. 2
ntn-x2 Jan 14, 2022
8cf209c
fix: delegation integration tests
ntn-x2 Jan 17, 2022
a13f349
fix: timeout in integration tests
ntn-x2 Jan 17, 2022
cc34703
test: try to change the CType for deposit testing
ntn-x2 Jan 17, 2022
f0a6494
style: minor changes
ntn-x2 Jan 17, 2022
b6470a1
Merge remote-tracking branch 'origin/develop' into aa-did-refactor
ntn-x2 Jan 19, 2022
1535011
chore: address some of Dudley's PR comments
ntn-x2 Jan 19, 2022
8d64a45
Merge branch 'develop' into aa-did-refactor
ntn-x2 Jan 21, 2022
e3164f5
chore: add comment for did deletion status
ntn-x2 Jan 21, 2022
f8cc402
chore: make getNonce public
ntn-x2 Jan 21, 2022
3596ef3
chore: replace submitterAccount type to IIdentity['address']
ntn-x2 Jan 21, 2022
1e2cbfa
chore: add comment about methodMapping
ntn-x2 Jan 21, 2022
17cecac
chore: revert type guard change to validateDidSignature function
ntn-x2 Jan 21, 2022
41f5a47
chore: fixes
ntn-x2 Jan 21, 2022
ab2e941
chore: add comment for queryKey optimization
ntn-x2 Jan 21, 2022
eebefff
fix: replace .pop() with [0]
ntn-x2 Jan 21, 2022
f324954
fix: addEndpointExtrinsic encoding fix
ntn-x2 Jan 21, 2022
a92d3c2
fix: warnings
ntn-x2 Jan 21, 2022
ee13bf4
fix: attestation integration tests
ntn-x2 Jan 24, 2022
603ec7c
feat: batch DID signature + tests
ntn-x2 Jan 24, 2022
b4bebd5
fix: delegation integration test
ntn-x2 Jan 24, 2022
44a9ace
Merge remote-tracking branch 'origin/develop' into aa-did-refactor
ntn-x2 Jan 25, 2022
a4f8faa
chore: update utility functions
ntn-x2 Jan 25, 2022
ef1fb2a
fix: I'll never stop fixing this PR
ntn-x2 Jan 25, 2022
70f0cd2
fix: restore exporter README
ntn-x2 Jan 27, 2022
d669855
chore: move default migration handler to utils
ntn-x2 Jan 27, 2022
717e627
docs: add JSDocs to DID classes
ntn-x2 Jan 27, 2022
46efcec
chore: replace general errors with SDK errors
ntn-x2 Jan 27, 2022
565addc
chore: add warning for multiple keys in DID before creation
ntn-x2 Jan 27, 2022
37b246c
wip: refactor object arguments
ntn-x2 Jan 27, 2022
48b0222
chore: refactor complete
ntn-x2 Jan 28, 2022
7854040
chore: last chores
ntn-x2 Jan 28, 2022
5cb27df
chore: final one
ntn-x2 Jan 28, 2022
850c624
chore: very final one
ntn-x2 Jan 28, 2022
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ settings.json

# misc
/.idea
.vscode

# doc
/docs/api
Loading