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

changes to match new changes done in cord chain - v0.9.0 #144

Merged
merged 5 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 6 additions & 0 deletions . eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
__mocks__
dist
lib
jest.*
coverage
*.d.ts
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ settings.json
.vscode

# doc
/docs/api
docs/api
546 changes: 0 additions & 546 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

28 changes: 0 additions & 28 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

823 changes: 0 additions & 823 deletions .yarn/releases/yarn-3.3.1.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

12 changes: 5 additions & 7 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
compressionLevel: mixed

enableColors: true

enableGlobalCache: false

nodeLinker: node-modules

npmPublishAccess: public

npmPublishRegistry: "https://registry.npmjs.org"

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-3.3.1.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
24 changes: 24 additions & 0 deletions demo/res/cred.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/2018/credentials/examples/v1"
],
"id": "http://example.dway.in/credentials/3732",
"type": ["VerifiableCredential", "UniversityDegreeCredential"],
"issuer": "did:cord:3yuH8SE1rPjYyzTS8np2Zpka2KXagbkcCV6dNBU75wcvjc1p",
"issuanceDate": "2010-01-01T19:23:24Z",
"credentialSubject": {
"id": "did:cord:3yT76V5nBADwojuHcgqnUWm27RpRP7cXEUA6kFo24deFxLev",
"degree": {
"type": "BachelorDegree",
"name": "Bachelor of Science and Arts"
}
},
"proof": {
"type": "Ed25519Signature2020",
"created": "2021-11-13T18:19:39Z",
"verificationMethod": "did:cord:3yuH8SE1rPjYyzTS8np2Zpka2KXagbkcCV6dNBU75wcvjc1p#0xfffff01dde2773a43c61bb28ab61b72b7656584eb1ea367b3bd8b4be55d63c41",
"proofPurpose": "assertionMethod",
"proofValue": "z58DAdFfa9SkqZMVPxAQpic7ndSayn1PzZs6ZjWp1CktyGesjuTSwRdoWhAfGFCF5bppETSTojQCrfFPP2oumHKtz"
}
}
39 changes: 39 additions & 0 deletions demo/res/schema-properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Test Demo Schema v3",
"description": "Test Demo Schema",
"$metadata": {
"version": "1.0.0",
"slug": "test-demo-schema",
"discoverable": true
},
"type": "object",
"properties": {
"name": {
"type": "string"
},
"age": {
"type": "integer"
},
"id": {
"type": "string"
},
"country": {
"type": "string"
},
"address": {
"type": "object",
"properties": {
"street": { "type": "string" },
"pin": { "type": "integer" },
"location": {
"type": "object",
"properties": {
"state": { "type": "string" },
"country": { "type": "string" }
}
}
}
}
}
}
37 changes: 26 additions & 11 deletions demo/res/schema.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,39 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Basic Demo",
"description": "Test Demo Schema",
"$metadata": {
"version": "1.0.0",
"slug": "test-demo-schema",
"discoverable": true
},
"title": "Test Demo Schema v3",
"description": "Test Demo Schema",
"properties": {
"name": {
"type": "string"
},
"age": {
},
"age": {
"type": "integer"
},
"gender": {
},
"id": {
"type": "string"
},
"credit": {
"type": "integer"
}
},
"country": {
"type": "string"
},
"address": {
"type": "object",
"properties": {
"street": { "type": "string" },
"pin": { "type": "integer" },
"location": {
"type": "object",
"properties": {
"state": { "type": "string" },
"country": { "type": "string" }
}
}
}
}
},
"type": "object"
}
}
Loading
Loading