-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: New schema to be w3c compliant Changes are: - issuers is not an array anymore. Consequence, proof.value is not an array anymore - issuer.id is a new mandatory field which must be an URI - issuer.identityProof.subject has been remove because it's not needed anymore - @context has been added for w3c compliance to help consumer provide terminology. It's an optional field - id has been updated to follow w3c compliance. It's an optional uri about the subject of the VC - reference has been added and is equal to the previous id - type has been added as the type of the VC (w3c compliance) - validFrom has been added (w3c compliance) - validUntil has been added (w3c compliance). It's an optional field - attachments.type has been updated to follow w3c compliance. It refers to a valid evidence type. - attachments.mimeType has been added and is equal to the previous attachments.type - rename $template to template Adding v2 schema which is a simple version of schema used in tradetrust and opencerts Generate types from schema. Types are exported Update wording: - sign => wrap - SignedDocument => WrappedDocument
- Loading branch information
Showing
36 changed files
with
5,564 additions
and
2,578 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules | ||
coverage | ||
dist | ||
dist | ||
src/__generated__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
node_modules | ||
coverage | ||
/node_modules | ||
/coverage | ||
.nyc_output | ||
yarn-error.log | ||
yarn.lock | ||
dist/ | ||
.idea | ||
/dist | ||
/.idea | ||
*.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
module.exports = { | ||
preset: "ts-jest", | ||
setupFiles: ["core-js"], | ||
testEnvironment: "node", | ||
testPathIgnorePatterns: ["node_modules", "dist"] | ||
}; |
Oops, something went wrong.