Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
333 commits
Select commit Hold shift + click to select a range
cb12af6
removed hcs identity network
vijayshiyani Feb 4, 2022
7a84bde
rename HscDidv2 to HscDid removed hcs-did-root-key classes and test fix
vijayshiyani Feb 4, 2022
66e4279
rename HscDidv2 to HscDid removed hcs-did-root-key classes and test fix
vijayshiyani Feb 4, 2022
a35f4c9
fix the demo with new hsc did api
vijayshiyani Feb 4, 2022
1c125ec
fix the demo with new hsc did api
vijayshiyani Feb 4, 2022
0094858
added add service method to DID
vijayshiyani Feb 4, 2022
b143788
added add service method to DID
vijayshiyani Feb 4, 2022
b97e2e2
added add verification method event message
vijayshiyani Feb 4, 2022
ac2670f
added add verification method event message
vijayshiyani Feb 4, 2022
f9f6c1d
added add verification relationship event
vijayshiyani Feb 4, 2022
bcb4edf
added add verification relationship event
vijayshiyani Feb 4, 2022
1ce9312
Merge pull request #9 from Meeco/feature/new-did-api
linasi Feb 4, 2022
7b3cebf
Merge pull request #9 from Meeco/feature/new-did-api
linasi Feb 4, 2022
63dce61
Merge pull request #6 from Meeco/feature/events
linasi Feb 4, 2022
8f22002
Merge pull request #6 from Meeco/feature/events
linasi Feb 4, 2022
25352ef
Move some code around; Fix a few tests; Disable no longer relevant te…
linasi Feb 4, 2022
ad90392
Move some code around; Fix a few tests; Disable no longer relevant te…
linasi Feb 4, 2022
3208faf
Fix submitTransaction to return Promise other function can await for
linasi Feb 4, 2022
1e5a428
Fix submitTransaction to return Promise other function can await for
linasi Feb 4, 2022
2ea101b
Cleanup of unused code; Change HcsDidResolver API
linasi Feb 4, 2022
6066180
Cleanup of unused code; Change HcsDidResolver API
linasi Feb 4, 2022
2c01a80
Resolve other item CREATE events
linasi Feb 4, 2022
991158c
Resolve other item CREATE events
linasi Feb 4, 2022
0fb7136
updating, revoking and deleting event message write to hedera
vijayshiyani Feb 7, 2022
407d85e
updating, revoking and deleting event message write to hedera
vijayshiyani Feb 7, 2022
177a86d
renaming and fixing tests
vijayshiyani Feb 7, 2022
938ef52
renaming and fixing tests
vijayshiyani Feb 7, 2022
4494611
changing it to jest test from mocha
vijayshiyani Feb 7, 2022
c4d5cb5
changing it to jest test from mocha
vijayshiyani Feb 7, 2022
7f8d8cc
Merge pull request #10 from Meeco/feature/resolve-add-events
linasi Feb 7, 2022
9e9ff5c
Merge pull request #10 from Meeco/feature/resolve-add-events
linasi Feb 7, 2022
4ee15a5
Fix jest configuration
linasi Feb 7, 2022
607bc9a
Fix jest configuration
linasi Feb 7, 2022
9a941ea
fix demo
vijayshiyani Feb 7, 2022
5ae9211
fix demo
vijayshiyani Feb 7, 2022
3908f97
Drop MessageMode; Code style fixes; Renamings
linasi Feb 7, 2022
8b65f3d
Drop MessageMode; Code style fixes; Renamings
linasi Feb 7, 2022
1a984d7
Service or Key ID is set by user. Fixing some tests. Adding ID valida…
linasi Feb 7, 2022
6ce5a73
Service or Key ID is set by user. Fixing some tests. Adding ID valida…
linasi Feb 7, 2022
e9f06d1
Update and revoke logic for Services, VerificationMethods and Verific…
linasi Feb 7, 2022
b349e3e
Update and revoke logic for Services, VerificationMethods and Verific…
linasi Feb 7, 2022
c8da482
Bug fixes; Success scenario tests for DidDocument
linasi Feb 7, 2022
7a40425
Bug fixes; Success scenario tests for DidDocument
linasi Feb 7, 2022
52dd5b6
Task/multiple event classes (#11)
vijayshiyani Feb 8, 2022
ac6a035
Task/multiple event classes (#11)
vijayshiyani Feb 8, 2022
f746abe
Implementation of did delete event
linasi Feb 8, 2022
b35d526
Implementation of did delete event
linasi Feb 8, 2022
f90f316
Cleanup; fixes; renamings
linasi Feb 8, 2022
417c4d6
Cleanup; fixes; renamings
linasi Feb 8, 2022
2301143
Event tests; bug fixes
linasi Feb 8, 2022
81dc1d6
Event tests; bug fixes
linasi Feb 8, 2022
5df8cb4
Better handling of invalid/non-did related events that might to appea…
linasi Feb 8, 2022
3edf2c9
Better handling of invalid/non-did related events that might to appea…
linasi Feb 8, 2022
a729765
git actions to run test on develop branch and main branch and for rel…
vijayshiyani Feb 8, 2022
97600f9
git actions to run test on develop branch and main branch and for rel…
vijayshiyani Feb 8, 2022
c3c89d7
fix npm command
vijayshiyani Feb 8, 2022
0ab1b84
fix npm command
vijayshiyani Feb 8, 2022
3766988
updated read me and added demo files for add update and revoke events
vijayshiyani Feb 9, 2022
e765e68
updated read me and added demo files for add update and revoke events
vijayshiyani Feb 9, 2022
41ea550
added DELETE DID to READ ME
vijayshiyani Feb 9, 2022
26013ed
added DELETE DID to READ ME
vijayshiyani Feb 9, 2022
9ae6d0c
fix some typos
vijayshiyani Feb 9, 2022
4a0d34a
fix some typos
vijayshiyani Feb 9, 2022
f03c0fe
jest config to setup env var
vijayshiyani Feb 9, 2022
f8b5645
jest config to setup env var
vijayshiyani Feb 9, 2022
9dcfeaa
updated read me on how to run integration test
vijayshiyani Feb 9, 2022
a2a571c
updated read me on how to run integration test
vijayshiyani Feb 9, 2022
0dc1365
added signature varificaiton back to topic listner (#12)
vijayshiyani Feb 9, 2022
a6cefe3
added signature varificaiton back to topic listner (#12)
vijayshiyani Feb 9, 2022
71c007f
Logic to handle UPDATE DID_OWNER event
linasi Feb 9, 2022
1380e67
Logic to handle UPDATE DID_OWNER event
linasi Feb 9, 2022
37fa03b
HcsDid changeOwner API method
linasi Feb 9, 2022
aae43b7
HcsDid changeOwner API method
linasi Feb 9, 2022
fe50f26
Add some tests for HcsDidMessage
linasi Feb 9, 2022
9eccd8e
Add some tests for HcsDidMessage
linasi Feb 9, 2022
77413f5
added integration test for revoke and re-add service with same id
vijayshiyani Feb 10, 2022
2b3b43f
added integration test for revoke and re-add service with same id
vijayshiyani Feb 10, 2022
b4bd2e4
style: Fix some typos(MEE-3046).
Feb 10, 2022
22096e8
style: Fix some typos(MEE-3046).
Feb 10, 2022
2df5788
Merge pull request #13 from Meeco/MEE-3046_Small_fixes
vijayshiyani Feb 10, 2022
6ceca06
Merge pull request #13 from Meeco/MEE-3046_Small_fixes
vijayshiyani Feb 10, 2022
4884b12
minor fixies and added tests
vijayshiyani Feb 10, 2022
a646859
minor fixies and added tests
vijayshiyani Feb 10, 2022
55868dc
fix has owner bug
vijayshiyani Feb 10, 2022
b7e4a85
fix has owner bug
vijayshiyani Feb 10, 2022
c7206e9
added few more tests
vijayshiyani Feb 10, 2022
15cbbf8
added few more tests
vijayshiyani Feb 10, 2022
7c746b9
Set submitKey to topic; Implemented change topic ownership logic; Mor…
linasi Feb 10, 2022
8f7bdae
Set submitKey to topic; Implemented change topic ownership logic; Mor…
linasi Feb 10, 2022
ec9c1d7
Fetch receipt after the transaction to make sure message was successf…
linasi Feb 10, 2022
d7d9d9c
Fetch receipt after the transaction to make sure message was successf…
linasi Feb 10, 2022
ca3cca9
Move some event validation logic to Event classes; Add tests;
linasi Feb 10, 2022
c68be1e
Move some event validation logic to Event classes; Add tests;
linasi Feb 10, 2022
ee01bdd
Change the way errors are tested. Don't do validation in catch{} bloc…
linasi Feb 10, 2022
0376b1a
Change the way errors are tested. Don't do validation in catch{} bloc…
linasi Feb 10, 2022
644cb58
Make all imports target specific files
linasi Feb 10, 2022
0b5fc35
Make all imports target specific files
linasi Feb 10, 2022
64f1a5a
Merge pull request #14 from Meeco/feature/change-did-owner
vijayshiyani Feb 10, 2022
6307c90
Merge pull request #14 from Meeco/feature/change-did-owner
vijayshiyani Feb 10, 2022
11e0389
updated demo files and added change did owner step (#15)
vijayshiyani Feb 11, 2022
e07aa47
updated demo files and added change did owner step (#15)
vijayshiyani Feb 11, 2022
886cf9c
Task/more tests (#17)
vijayshiyani Feb 11, 2022
1b86f89
Task/more tests (#17)
vijayshiyani Feb 11, 2022
7950e4c
Task/update demo files (#19)
vijayshiyani Feb 11, 2022
d1ab0b6
Task/update demo files (#19)
vijayshiyani Feb 11, 2022
caa4332
Ignore event if operation or target type was not recognised without t…
linasi Feb 11, 2022
748902c
Ignore event if operation or target type was not recognised without t…
linasi Feb 11, 2022
c1eaa99
Get rid of unnecessary hierarcy structure
linasi Feb 11, 2022
e47c445
Get rid of unnecessary hierarcy structure
linasi Feb 11, 2022
85064d3
Move a few demo flow variables to config.js file
linasi Feb 11, 2022
d01ba37
Move a few demo flow variables to config.js file
linasi Feb 11, 2022
3db463c
#changeOwner method no longer requires did of the current did owner
linasi Feb 11, 2022
0e20e50
#changeOwner method no longer requires did of the current did owner
linasi Feb 11, 2022
3383360
Refactoring
linasi Feb 11, 2022
190752a
Refactoring
linasi Feb 11, 2022
3d438a2
Upgrade @hashgraph/sdk dependency
javereec Feb 13, 2022
9bfe7dc
Upgrade @hashgraph/sdk dependency
javereec Feb 13, 2022
a1f1f20
Merge pull request #20 from Meeco/feature/cleanup
vijayshiyani Feb 13, 2022
20003b0
Merge pull request #20 from Meeco/feature/cleanup
vijayshiyani Feb 13, 2022
c2edc6e
Update did resolve result to be more inline with https://w3c-ccg.gith…
linasi Feb 14, 2022
782ec51
Update did resolve result to be more inline with https://w3c-ccg.gith…
linasi Feb 14, 2022
c115b02
added change log and bump up package version
vijayshiyani Feb 15, 2022
9570d33
added change log and bump up package version
vijayshiyani Feb 15, 2022
6bd0541
added did resolver package and resolver for universal resolver driver
vijayshiyani Feb 15, 2022
7542560
added did resolver package and resolver for universal resolver driver
vijayshiyani Feb 15, 2022
76281de
added resolver to index
vijayshiyani Feb 15, 2022
a3884d0
added resolver to index
vijayshiyani Feb 15, 2022
74b7b68
Merge pull request #23 from Meeco/task/changelog-version-bump
vijayshiyani Feb 15, 2022
3fe24c7
Merge pull request #23 from Meeco/task/changelog-version-bump
vijayshiyani Feb 15, 2022
9f98a8f
Introduce DidError; Resolver makes better decisions on error types; C…
linasi Feb 15, 2022
9be7678
Introduce DidError; Resolver makes better decisions on error types; C…
linasi Feb 15, 2022
1d2e5b2
Handle possible case when created and updated timestamps are not present
linasi Feb 15, 2022
2d5294b
Handle possible case when created and updated timestamps are not present
linasi Feb 15, 2022
2ff54be
DID resolver client param is optional. If not passed, client is chose…
linasi Feb 15, 2022
77521b8
DID resolver client param is optional. If not passed, client is chose…
linasi Feb 15, 2022
f219b45
Merge pull request #21 from Meeco/feature/did-resolve-map-to-spec
vijayshiyani Feb 15, 2022
6193a52
Merge pull request #21 from Meeco/feature/did-resolve-map-to-spec
vijayshiyani Feb 15, 2022
2472b58
style: Fix some typos(MEE-3046).
Feb 16, 2022
a6e6a84
style: Fix some typos(MEE-3046).
Feb 16, 2022
aa448f5
Merge pull request #24 from Meeco/Fix_some_typos_
vijayshiyani Feb 17, 2022
f5fbd37
Merge pull request #24 from Meeco/Fix_some_typos_
vijayshiyani Feb 17, 2022
71bded1
style: Change 'Private Topic' to 'Restricted Topic' in the readme fil…
Feb 18, 2022
230b147
style: Change 'Private Topic' to 'Restricted Topic' in the readme fil…
Feb 18, 2022
ef2ca1a
refactor: Change conf.js to .env file for demo. (MEE-3225).
Feb 18, 2022
3e5ce0c
refactor: Change conf.js to .env file for demo. (MEE-3225).
Feb 18, 2022
8f6592c
refactor: Change conf.js to .env in readme file. (MEE-3225).
Feb 18, 2022
9b686a1
refactor: Change conf.js to .env in readme file. (MEE-3225).
Feb 18, 2022
c257e53
refactor: Fix some typos. (MEE-3225).
Feb 21, 2022
4f4b3ad
refactor: Fix some typos. (MEE-3225).
Feb 21, 2022
5168700
refactor: Remove dotenv package and rename .env file to .env.json. (M…
Feb 21, 2022
5736100
refactor: Remove dotenv package and rename .env file to .env.json. (M…
Feb 21, 2022
581aaac
refactor: Rename .env file to .env.json. (MEE-3225).
Feb 21, 2022
b242638
refactor: Rename .env file to .env.json. (MEE-3225).
Feb 21, 2022
d2a1633
refactor: Rename .env file to .env.json in README. (MEE-3225).
Feb 21, 2022
d92bcd9
refactor: Rename .env file to .env.json in README. (MEE-3225).
Feb 21, 2022
59b6cee
refactor: Use `ledgerId` instead of deprecated 'networkName'. (MEE-32…
Feb 21, 2022
d6c99e7
refactor: Use `ledgerId` instead of deprecated 'networkName'. (MEE-32…
Feb 21, 2022
e84fbbb
Add option to pass onMessageConfirmed callback to HcsDid constructor
linasi Feb 21, 2022
8f2fae7
Add option to pass onMessageConfirmed callback to HcsDid constructor
linasi Feb 21, 2022
44e95b7
read did messages from timestamp
vijayshiyani Feb 22, 2022
d5686d3
read did messages from timestamp
vijayshiyani Feb 22, 2022
19d907f
Merge pull request #26 from Meeco/feature/message-submit-callback
vijayshiyani Feb 22, 2022
f10e074
Merge pull request #26 from Meeco/feature/message-submit-callback
vijayshiyani Feb 22, 2022
ecce7ea
Merge branch 'develop' into MEE-3225_Small_fixes
vijayshiyani Feb 22, 2022
3693b04
Merge branch 'develop' into MEE-3225_Small_fixes
vijayshiyani Feb 22, 2022
14db341
Merge pull request #25 from Meeco/MEE-3225_Small_fixes
vijayshiyani Feb 22, 2022
e5d5897
Merge pull request #25 from Meeco/MEE-3225_Small_fixes
vijayshiyani Feb 22, 2022
e887b78
minor fixies
vijayshiyani Feb 22, 2022
09e641b
minor fixies
vijayshiyani Feb 22, 2022
2741d22
added async to read messages method
vijayshiyani Feb 22, 2022
0ebb2d6
added async to read messages method
vijayshiyani Feb 22, 2022
96dbb4f
HcsDidEventMessageResolver always gives back envelopes; Remove HcsDid…
linasi Feb 22, 2022
5c77a9f
HcsDidEventMessageResolver always gives back envelopes; Remove HcsDid…
linasi Feb 22, 2022
eccb426
Missing import fix
linasi Feb 22, 2022
79e9959
Missing import fix
linasi Feb 22, 2022
66b2bea
Use TopicMessageQuery completion handler
linasi Feb 22, 2022
ffcfbc1
Use TopicMessageQuery completion handler
linasi Feb 22, 2022
1327a9a
Use existing helper function instead of building manual values map
linasi Feb 22, 2022
361c480
Use existing helper function instead of building manual values map
linasi Feb 22, 2022
41deb42
Merge pull request #27 from Meeco/feature/consistent-result-from-mess…
vijayshiyani Feb 23, 2022
0c7d111
Merge pull request #27 from Meeco/feature/consistent-result-from-mess…
vijayshiyani Feb 23, 2022
8477286
updated package-lock file
vijayshiyani Feb 24, 2022
6737524
updated package-lock file
vijayshiyani Feb 24, 2022
6a6b2e0
style: Fix some typos and add some small fixes. (MEE-3225).
Mar 8, 2022
b36f1b4
style: Fix some typos and add some small fixes. (MEE-3225).
Mar 8, 2022
c424839
Merge pull request #28 from Meeco/Small_fixes
emurova Mar 8, 2022
776b1bb
Merge pull request #28 from Meeco/Small_fixes
emurova Mar 8, 2022
43f8eaa
docs: Add a few diagrams.
Mar 9, 2022
4bc20ba
docs: Add a few diagrams.
Mar 9, 2022
85d7315
Merge pull request #29 from Meeco/docs/Add_a_few_diagrams
linasi Mar 29, 2022
666786d
Merge pull request #29 from Meeco/docs/Add_a_few_diagrams
linasi Mar 29, 2022
cd70f08
Update sequence diagrams
linasi Apr 7, 2022
9f102d6
Update sequence diagrams
linasi Apr 7, 2022
2975ad5
Merge pull request #30 from Meeco/fix/update-diagrams
vijayshiyani Apr 7, 2022
2374de2
Merge pull request #30 from Meeco/fix/update-diagrams
vijayshiyani Apr 7, 2022
5881db3
Merge pull request #31 from Meeco/develop
linasi May 27, 2022
32f6efe
Merge pull request #31 from Meeco/develop
linasi May 27, 2022
71dccf6
fix hashgraph SDK version to last stable version 2.15.0. Version 2.16…
vijayshiyani Jun 24, 2022
27f4863
fix hashgraph SDK version to last stable version 2.15.0. Version 2.16…
vijayshiyani Jun 24, 2022
4ad131b
updated hashgraph sdk to only have patch release
vijayshiyani Jun 24, 2022
467f532
updated hashgraph sdk to only have patch release
vijayshiyani Jun 24, 2022
1949a42
Squashed commit of the following:
vijayshiyani Jun 24, 2022
3e2b1ff
Squashed commit of the following:
vijayshiyani Jun 24, 2022
61a5e63
update hashgraph SDK to latest, as previous issue was with mirror nod…
vijayshiyani Jun 24, 2022
e8e69cc
update hashgraph SDK to latest, as previous issue was with mirror nod…
vijayshiyani Jun 24, 2022
c190a8f
Merge branch 'main' into develop
vijayshiyani Jun 24, 2022
15e1e15
Merge branch 'main' into develop
vijayshiyani Jun 24, 2022
643efad
Merge pull request #32 from Meeco/develop
vijayshiyani Jun 24, 2022
05b7611
Merge pull request #32 from Meeco/develop
vijayshiyani Jun 24, 2022
26cb5c0
updated package lock file
vijayshiyani Jun 24, 2022
25484f3
updated package lock file
vijayshiyani Jun 24, 2022
f856593
Merge pull request #33 from Meeco/develop
vijayshiyani Jun 24, 2022
814a47e
Merge pull request #33 from Meeco/develop
vijayshiyani Jun 24, 2022
4c1952a
Don't apply key codec before encoding with multibase
Feb 23, 2023
94d566e
Don't apply key codec before encoding with multibase
Feb 23, 2023
cbf246c
Upgrade @hashgraph/sdk. Fix tests
Feb 27, 2023
301237b
Upgrade @hashgraph/sdk. Fix tests
Feb 27, 2023
7e01aa3
fixing integration test and small
vijayshiyani Feb 28, 2023
c64dcdc
fixing integration test and small
vijayshiyani Feb 28, 2023
597b93e
Merge pull request #34 from Meeco/feature/no-public-key-codec-applied
derek-meeco Jul 3, 2023
275ef25
Merge pull request #34 from Meeco/feature/no-public-key-codec-applied
derek-meeco Jul 3, 2023
eb7d70b
Upgrade @hashgraph/sdk to 2.28.0; publicKeyMultibase is replaced with…
Jul 17, 2023
c803a41
Upgrade @hashgraph/sdk to 2.28.0; publicKeyMultibase is replaced with…
Jul 17, 2023
287dc48
Use default mirror nodes that sdk provides
Jul 17, 2023
6f9a2c9
Use default mirror nodes that sdk provides
Jul 17, 2023
47e0ffa
Update tests with better logic to read mirror nodes
Jul 17, 2023
915ef01
Update tests with better logic to read mirror nodes
Jul 17, 2023
fd1b006
Add delayUntil for test checking already registered DID flow
Jul 17, 2023
ba1f783
Add delayUntil for test checking already registered DID flow
Jul 17, 2023
457d1d3
Merge pull request #36 from Meeco/feature/sdk-upgrade
derek-meeco Jul 17, 2023
8f9f6d6
Merge pull request #36 from Meeco/feature/sdk-upgrade
derek-meeco Jul 17, 2023
b4d0845
Merge pull request #1 from Meeco/main
nextalias Jul 19, 2023
76a4e7f
Merge pull request #1 from Meeco/main
nextalias Jul 19, 2023
fd6f828
Add support for resolving DID documents from IPFS
zbarbuto Jun 30, 2023
c9f3a48
Add support for resolving DID documents from IPFS
zbarbuto Jun 30, 2023
9b1fbbc
Switch returns to continues
zbarbuto Jul 20, 2023
25b2938
Switch returns to continues
zbarbuto Jul 20, 2023
e754607
Merge pull request #35 from NextFaze/feature/ipfs-did-resolution
linasi Jul 20, 2023
51f6139
Merge pull request #35 from NextFaze/feature/ipfs-did-resolution
linasi Jul 20, 2023
706f6ec
Update few integration tests
Jul 20, 2023
a6aca59
Update few integration tests
Jul 20, 2023
903abe1
Fix some issues resolving IPFS DIDs
zbarbuto Aug 17, 2023
32f56fb
Fix some issues resolving IPFS DIDs
zbarbuto Aug 17, 2023
1208cbe
Merge pull request #37 from NextFaze/fix/ipfs-resolve-bugs
linasi Aug 18, 2023
d956e9f
Merge pull request #37 from NextFaze/fix/ipfs-resolve-bugs
linasi Aug 18, 2023
2266822
Update issue templates
derek-meeco Jan 24, 2024
b67575c
Update issue templates
derek-meeco Jan 24, 2024
562a11e
Update README
derek-meeco May 17, 2024
b088022
Update README
derek-meeco May 17, 2024
271e87f
Merge branch 'v1_0-signoff' of github.com:Meeco/hedera-did-sdk-js int…
derek-meeco May 29, 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
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''

---


20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '14', '16' ]
node: [ '16' ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
cache: 'npm'
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test
- run: npm run build --if-present
- run: npm run test
env:
OPERATOR_ID: ${{ secrets.OPERATOR_ID }}
OPERATOR_KEY: ${{ secrets.OPERATOR_KEY }}
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/test.unit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test

on:
pull_request:
branches:
- develop
push:
branches:
- develop

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '16' ]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: install dependencies
run: npm ci
- name: build
run: npm run build --if-present
- name: run unit test
run: npm run test:unit

22 changes: 14 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,30 @@ name: Test

on:
pull_request:
branches: [ main ]
branches:
- main
push:
branches: [ main ]
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '14', '16' ]
node: [ '16' ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
cache: 'npm'
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm test
node-version: ${{ matrix.node-version }}
- name: install dependencies
run: npm ci
- name: build
run: npm run build --if-present
- name: run all tests
run: npm run test
env:
OPERATOR_ID: ${{ secrets.OPERATOR_ID }}
OPERATOR_KEY: ${{ secrets.OPERATOR_KEY }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/node_modules/
/dist/
/demo/.env.json
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/dist/
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"singleQuote": false,
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "es5"
}
126 changes: 126 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@

# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

# v1.0.0

## Removed

* Generation of decentralized identifiers and creation of DID documents based on old [Hedera DID Method][did-method-spec]
* Creation of `identity networks` within `appnets`.
* Address book - a file on `Hedera File Service` that provides information about HCS topics and `appnet servers`.
* Creation and initialization of the `VC topic` - an HCS topic playing a role of verifiable credentials' registry.
* Creation (publishing), update, deletion and resolution of DID documents in `appnet identity networks`.
* Issuance, revocation and status verification of `Verifiable Credentials`.

## Added

* Generation of decentralized identifiers and creation of DID documents based on new [Hedera DID Method][did-method-spec]
Creation and initialization of the DID registration on `HCS Private Topic`
* Create, update, revoke, deletion, and resolution of DID documents based on [DID Document Core Properties][did-core-prop] `event/log messages` recorded on `HCS Topic`
* Transferring ownership of DID identifier and DID Document to another party.
* Publishing **DID Events Messages** to resolve and validate **DID Document**

[did-core-prop]: https://w3c.github.io/did-core/#core-properties
[did-method-spec]: https://github.com/hashgraph/did-method

### DID API's

* Generate & Register

```js
...
const registeredDid = await did.register();
```

* Resolve

```js
...
const didDoc = await registeredDid.resolve();
```

* Change Ownership

```js
...
await registeredDid.changeOwner({
controller: newOwnerIdentifier,
newPrivateKey: newOwnerDidPrivateKey,
});
```

* Create, Update and Revoke [DID Document Core Properties][did-core-prop]
* Service

```js
...
await registeredDid.addService({
id: serviceIdentifier + "#service-1",
type: "LinkedDomains",
serviceEndpoint: "https://example.com/vcs",
});
...
await registeredDid.updateService({
id: serviceIdentifier + "#service-1",
type: "LinkedDomains",
serviceEndpoint: "https://test.com/did",
});
...
await registeredDid.revokeService({
id: serviceIdentifier + "#service-1",
});
```

* Verification Method

```js
...
await registeredDid.addVerificationMethod({
id: verificationMethodIdentifier + "#key-1",
type: "Ed25519VerificationKey2018",
controller: registeredDid.getIdentifier(),
publicKey: verificationMethodPublicKey,
});
...
await registeredDid.updateVerificationMethod({
id: verificationMethodIdentifier + "#key-1",
type: "Ed25519VerificationKey2018",
controller: registeredDid.getIdentifier(),
publicKey: updatedVerificationMethodPublicKey,
});
...
await registeredDid.revokeVerificationMethod({
id: verificationMethodIdentifier + "#key-1",
});
```

* Verification Relationship

```js
...
await registeredDid.addVerificationRelationship({
id: verificationRelationshipIdentifier + "#key-1",
relationshipType: verificationRelationshipType,
type: "Ed25519VerificationKey2018",
controller: registeredDid.getIdentifier(),
publicKey: verificationRelationshipPublicKey,
});
...
await registeredDid.updateVerificationRelationship({
id: verificationRelationshipIdentifier + "#key-1",
relationshipType: verificationRelationshipType,
type: "Ed25519VerificationKey2018",
controller: registeredDid.getIdentifier(),
publicKey: updatedVerificationRelationshipPublicKey,
});
...
await registeredDid.revokeVerificationRelationship({
id: verificationRelationshipIdentifier + "#key-1",
relationshipType: verificationRelationshipType,
});
```
Loading