@sphereon/ssi-sdk.credential-validation 0.30.2-next.103 → 0.30.2-next.129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +7 -7
  2. package/plugin.schema.json +17 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sphereon/ssi-sdk.credential-validation",
3
- "version": "0.30.2-next.103+cde7f3c2",
3
+ "version": "0.30.2-next.129+85479f8a",
4
4
  "source": "src/index.ts",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,11 +16,11 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@sphereon/kmp-mdl-mdoc": "0.2.0-SNAPSHOT.22",
19
- "@sphereon/ssi-sdk.agent-config": "0.30.2-next.103+cde7f3c2",
20
- "@sphereon/ssi-sdk.core": "0.30.2-next.103+cde7f3c2",
21
- "@sphereon/ssi-sdk.mdl-mdoc": "0.30.2-next.103+cde7f3c2",
22
- "@sphereon/ssi-sdk.sd-jwt": "0.30.2-next.103+cde7f3c2",
23
- "@sphereon/ssi-types": "0.30.2-next.103+cde7f3c2",
19
+ "@sphereon/ssi-sdk.agent-config": "0.30.2-next.129+85479f8a",
20
+ "@sphereon/ssi-sdk.core": "0.30.2-next.129+85479f8a",
21
+ "@sphereon/ssi-sdk.mdl-mdoc": "0.30.2-next.129+85479f8a",
22
+ "@sphereon/ssi-sdk.sd-jwt": "0.30.2-next.129+85479f8a",
23
+ "@sphereon/ssi-types": "0.30.2-next.129+85479f8a",
24
24
  "@veramo/core": "4.2.0",
25
25
  "@veramo/utils": "4.2.0",
26
26
  "ajv": "^8.17.1",
@@ -54,5 +54,5 @@
54
54
  "Credential",
55
55
  "VerifiableCredential"
56
56
  ],
57
- "gitHead": "cde7f3c299c3793385eb32ebf0f6b07b11952997"
57
+ "gitHead": "85479f8ad18e6eef981de750c81cd9be5b6d9c53"
58
58
  }
@@ -1002,9 +1002,8 @@
1002
1002
  "description": "Original IssuerSigned to Mdoc that we've received. Can be either the encoded or decoded variant."
1003
1003
  },
1004
1004
  "decoded": {
1005
- "type": "object",
1006
- "properties": {},
1007
- "description": "Decoded version of the Mdoc payload. We add the record to make sure existing implementations remain happy"
1005
+ "$ref": "#/components/schemas/MdocDecodedPayload",
1006
+ "description": "Record where keys are the namespaces and the values are objects again with the namespace values"
1008
1007
  },
1009
1008
  "type": {
1010
1009
  "anyOf": [
@@ -1025,7 +1024,7 @@
1025
1024
  "description": "The claim format, typically used during exchange transport protocols"
1026
1025
  },
1027
1026
  "credential": {
1028
- "$ref": "#/components/schemas/IVerifiableCredential",
1027
+ "$ref": "#/components/schemas/MdocDocument",
1029
1028
  "description": "Internal stable representation of a Credential"
1030
1029
  }
1031
1030
  },
@@ -1037,6 +1036,20 @@
1037
1036
  "credential"
1038
1037
  ]
1039
1038
  },
1039
+ "MdocDecodedPayload": {
1040
+ "type": "object",
1041
+ "additionalProperties": {
1042
+ "type": "object",
1043
+ "additionalProperties": {
1044
+ "type": [
1045
+ "string",
1046
+ "number",
1047
+ "boolean"
1048
+ ]
1049
+ }
1050
+ },
1051
+ "description": "Record where keys are the namespaces and the values are objects again with the namespace values"
1052
+ },
1040
1053
  "WrappedVerifiablePresentation": {
1041
1054
  "anyOf": [
1042
1055
  {