Skip to content

Commit

Permalink
fix: attachment descriptor parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Allain Magyar <[email protected]>
  • Loading branch information
amagyar-iohk committed Jul 4, 2024
1 parent f165531 commit 9afadd6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 23 deletions.
2 changes: 1 addition & 1 deletion integration-tests/e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"homepage": "https://github.com/input-output-hk/atala-prism-wallet-sdk-ts-e2e",
"dependencies": {
"@atala/prism-wallet-sdk": "../../",
"@atala/prism-wallet-sdk": "../..",
"@cucumber/cucumber": "^10.3.1",
"@cucumber/pretty-formatter": "^1.0.0",
"@hyperledger-labs/open-enterprise-agent-ts-client": "^1.31.0",
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/e2e-tests/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
hash.js "1.1.7"
stream-browserify "3.0.0"

"@atala/prism-wallet-sdk@../../":
"@atala/prism-wallet-sdk@../..":
version "3.1.0"
dependencies:
"@atala/apollo" "^1.3.5"
Expand Down
24 changes: 4 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/mercury/didcomm/Wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ export class DIDCommWrapper implements DIDCommProtocol {

return new Domain.AttachmentDescriptor(
this.parseAttachmentDataToDomain(attachment.data),
attachment.id,
attachment.media_type,
attachment.id,
attachment.filename?.split("/"),
attachment.format,
attachment.lastmod_time?.toString(),
Expand Down

0 comments on commit 9afadd6

Please sign in to comment.