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

support newer did-communication service type #233

Conversation

TimoGlastra
Copy link
Contributor

This adds support for the newer did-communication service type in did docs according to RFC 0076

IndyAgent services are still supported and we now send out both. This means it is backwards compatible in both ways (receiving and sending diddocs)

Signed-off-by: Timo Glastra <timo@animo.id>
@TimoGlastra TimoGlastra requested a review from a team as a code owner April 10, 2021 23:58
Copy link
Contributor

@jakubkoci jakubkoci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to see we will be up to date 👍 We should just align naming conventions.

src/agent/__tests__/AgentConfig.test.ts Outdated Show resolved Hide resolved
src/modules/connections/models/did/DidDoc.ts Outdated Show resolved Hide resolved
Signed-off-by: Timo Glastra <timo@animo.id>
Signed-off-by: Timo Glastra <timo@animo.id>
@TimoGlastra
Copy link
Contributor Author

@jakubkoci I updated the PR according to your feedback

Git ignores casing by default.

Signed-off-by: Timo Glastra <timo@animo.id>
@codecov-commenter
Copy link

Codecov Report

Merging #233 (c1e04b0) into main (2ae11f7) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #233      +/-   ##
==========================================
- Coverage   89.06%   89.06%   -0.01%     
==========================================
  Files         174      178       +4     
  Lines        3302     3383      +81     
  Branches      364      389      +25     
==========================================
+ Hits         2941     3013      +72     
- Misses        358      367       +9     
  Partials        3        3              
Impacted Files Coverage Δ
src/agent/AgentConfig.ts 94.87% <100.00%> (ø)
src/agent/helpers.ts 91.66% <100.00%> (-0.65%) ⬇️
src/modules/connections/models/did/DidDoc.ts 100.00% <100.00%> (ø)
...s/connections/models/did/service/DidCommService.ts 100.00% <100.00%> (ø)
...connections/models/did/service/IndyAgentService.ts 100.00% <100.00%> (ø)
...rc/modules/connections/models/did/service/index.ts 100.00% <100.00%> (ø)
...modules/connections/repository/ConnectionRecord.ts 97.14% <100.00%> (+0.04%) ⬆️
.../modules/connections/services/ConnectionService.ts 100.00% <100.00%> (ø)
src/modules/connections/ConnectionsModule.ts 64.61% <0.00%> (-7.76%) ⬇️
...modules/routing/services/ProviderRoutingService.ts 10.41% <0.00%> (-1.22%) ⬇️
... and 18 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2ae11f7...c1e04b0. Read the comment docs.

Copy link
Contributor

@jakubkoci jakubkoci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jakubkoci jakubkoci merged commit cf29d8f into openwallet-foundation:main May 1, 2021
berendsliedrecht pushed a commit to berendsliedrecht/credo-ts that referenced this pull request May 11, 2021
@TimoGlastra TimoGlastra deleted the did-communication-service-type branch May 15, 2021 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants