@veramo/credential-ld 3.1.1-next.8 → 3.1.1-next.9

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.
@@ -0,0 +1,26 @@
1
+ {
2
+ "@context": {
3
+ "id": "@id",
4
+ "type": "@type",
5
+ "@protected": true,
6
+ "X25519KeyAgreementKey2019": {
7
+ "@id": "https://w3id.org/security#X25519KeyAgreementKey2019",
8
+ "@context": {
9
+ "@protected": true,
10
+ "id": "@id",
11
+ "type": "@type",
12
+ "controller": {
13
+ "@id": "https://w3id.org/security#controller",
14
+ "@type": "@id"
15
+ },
16
+ "revoked": {
17
+ "@id": "https://w3id.org/security#revoked",
18
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
19
+ },
20
+ "publicKeyBase58": {
21
+ "@id": "https://w3id.org/security#publicKeyBase58"
22
+ }
23
+ }
24
+ }
25
+ }
26
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "@context": {
3
+ "@version": 1.1,
4
+ "id": "@id",
5
+ "type": "@type",
6
+
7
+ "dc": "http://purl.org/dc/terms/",
8
+ "schema": "http://schema.org/",
9
+ "sec": "https://w3id.org/security#",
10
+ "didv": "https://w3id.org/did#",
11
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
12
+
13
+ "EcdsaSecp256k1Signature2019": "sec:EcdsaSecp256k1Signature2019",
14
+ "EcdsaSecp256k1VerificationKey2019": "sec:EcdsaSecp256k1VerificationKey2019",
15
+ "Ed25519Signature2018": "sec:Ed25519Signature2018",
16
+ "Ed25519VerificationKey2018": "sec:Ed25519VerificationKey2018",
17
+ "RsaSignature2018": "sec:RsaSignature2018",
18
+ "RsaVerificationKey2018": "sec:RsaVerificationKey2018",
19
+ "SchnorrSecp256k1Signature2019": "sec:SchnorrSecp256k1Signature2019",
20
+ "SchnorrSecp256k1VerificationKey2019": "sec:SchnorrSecp256k1VerificationKey2019",
21
+ "ServiceEndpointProxyService": "didv:ServiceEndpointProxyService",
22
+
23
+ "allowedAction": "sec:allowedAction",
24
+ "assertionMethod": {"@id": "sec:assertionMethod", "@type": "@id", "@container": "@set"},
25
+ "authentication": {"@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set"},
26
+ "capability": {"@id": "sec:capability", "@type": "@id"},
27
+ "capabilityAction": "sec:capabilityAction",
28
+ "capabilityChain": {"@id": "sec:capabilityChain", "@type": "@id", "@container": "@list"},
29
+ "capabilityDelegation": {"@id": "sec:capabilityDelegationMethod", "@type": "@id", "@container": "@set"},
30
+ "capabilityInvocation": {"@id": "sec:capabilityInvocationMethod", "@type": "@id", "@container": "@set"},
31
+ "capabilityStatusList": {"@id": "sec:capabilityStatusList", "@type": "@id"},
32
+ "canonicalizationAlgorithm": "sec:canonicalizationAlgorithm",
33
+ "caveat": {"@id": "sec:caveat", "@type": "@id", "@container": "@set"},
34
+ "challenge": "sec:challenge",
35
+ "controller": {"@id": "sec:controller", "@type": "@id"},
36
+ "created": {"@id": "dc:created", "@type": "xsd:dateTime"},
37
+ "creator": {"@id": "dc:creator", "@type": "@id"},
38
+ "delegator": {"@id": "sec:delegator", "@type": "@id"},
39
+ "domain": "sec:domain",
40
+ "expirationDate": {"@id": "sec:expiration", "@type": "xsd:dateTime"},
41
+ "invocationTarget": {"@id": "sec:invocationTarget", "@type": "@id"},
42
+ "invoker": {"@id": "sec:invoker", "@type": "@id"},
43
+ "jws": "sec:jws",
44
+ "keyAgreement": {"@id": "sec:keyAgreementMethod", "@type": "@id", "@container": "@set"},
45
+ "nonce": "sec:nonce",
46
+ "owner": {"@id": "sec:owner", "@type": "@id"},
47
+ "proof": {"@id": "sec:proof", "@type": "@id", "@container": "@graph"},
48
+ "proofPurpose": {"@id": "sec:proofPurpose", "@type": "@vocab"},
49
+ "proofValue": "sec:proofValue",
50
+ "publicKey": {"@id": "sec:publicKey", "@type": "@id", "@container": "@set"},
51
+ "publicKeyBase58": "sec:publicKeyBase58",
52
+ "publicKeyPem": "sec:publicKeyPem",
53
+ "revoked": {"@id": "sec:revoked", "@type": "xsd:dateTime"},
54
+ "service": {"@id": "didv:service", "@type": "@id", "@container": "@set"},
55
+ "serviceEndpoint": {"@id": "didv:serviceEndpoint", "@type": "@id"},
56
+ "verificationMethod": {"@id": "sec:verificationMethod", "@type": "@id"}
57
+ }
58
+ }
@@ -0,0 +1,91 @@
1
+ {
2
+ "@context": {
3
+ "id": "@id",
4
+ "type": "@type",
5
+ "@protected": true,
6
+ "proof": {
7
+ "@id": "https://w3id.org/security#proof",
8
+ "@type": "@id",
9
+ "@container": "@graph"
10
+ },
11
+ "Ed25519VerificationKey2018": {
12
+ "@id": "https://w3id.org/security#Ed25519VerificationKey2018",
13
+ "@context": {
14
+ "@protected": true,
15
+ "id": "@id",
16
+ "type": "@type",
17
+ "controller": {
18
+ "@id": "https://w3id.org/security#controller",
19
+ "@type": "@id"
20
+ },
21
+ "revoked": {
22
+ "@id": "https://w3id.org/security#revoked",
23
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
24
+ },
25
+ "publicKeyBase58": {
26
+ "@id": "https://w3id.org/security#publicKeyBase58"
27
+ }
28
+ }
29
+ },
30
+ "Ed25519Signature2018": {
31
+ "@id": "https://w3id.org/security#Ed25519Signature2018",
32
+ "@context": {
33
+ "@protected": true,
34
+ "id": "@id",
35
+ "type": "@type",
36
+ "challenge": "https://w3id.org/security#challenge",
37
+ "created": {
38
+ "@id": "http://purl.org/dc/terms/created",
39
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
40
+ },
41
+ "domain": "https://w3id.org/security#domain",
42
+ "expires": {
43
+ "@id": "https://w3id.org/security#expiration",
44
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
45
+ },
46
+ "nonce": "https://w3id.org/security#nonce",
47
+ "proofPurpose": {
48
+ "@id": "https://w3id.org/security#proofPurpose",
49
+ "@type": "@vocab",
50
+ "@context": {
51
+ "@protected": true,
52
+ "id": "@id",
53
+ "type": "@type",
54
+ "assertionMethod": {
55
+ "@id": "https://w3id.org/security#assertionMethod",
56
+ "@type": "@id",
57
+ "@container": "@set"
58
+ },
59
+ "authentication": {
60
+ "@id": "https://w3id.org/security#authenticationMethod",
61
+ "@type": "@id",
62
+ "@container": "@set"
63
+ },
64
+ "capabilityInvocation": {
65
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
66
+ "@type": "@id",
67
+ "@container": "@set"
68
+ },
69
+ "capabilityDelegation": {
70
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
71
+ "@type": "@id",
72
+ "@container": "@set"
73
+ },
74
+ "keyAgreement": {
75
+ "@id": "https://w3id.org/security#keyAgreementMethod",
76
+ "@type": "@id",
77
+ "@container": "@set"
78
+ }
79
+ }
80
+ },
81
+ "jws": {
82
+ "@id": "https://w3id.org/security#jws"
83
+ },
84
+ "verificationMethod": {
85
+ "@id": "https://w3id.org/security#verificationMethod",
86
+ "@type": "@id"
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "@context": {
3
+ "@version": 1.1,
4
+ "@protected": true,
5
+ "VerifiableKyc": "https://veramo.io/contexts/kyc#VerifiableKyc",
6
+ "name": "https://schema.org/name"
7
+ }
8
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "@context": {
3
+ "@version": 1.1,
4
+ "id": "@id",
5
+ "type": "@type",
6
+ "esrs2020": "https://identity.foundation/EcdsaSecp256k1RecoverySignature2020#",
7
+
8
+ "EcdsaSecp256k1RecoverySignature2020": {
9
+ "@id": "https://w3id.org/security#EcdsaSecp256k1RecoverySignature2020",
10
+ "@context": {
11
+ "@version": 1.1,
12
+ "@protected": true,
13
+
14
+ "id": "@id",
15
+ "type": "@type",
16
+
17
+ "sec": "https://w3id.org/security#",
18
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
19
+
20
+ "challenge": "sec:challenge",
21
+ "created": {"@id": "http://purl.org/dc/terms/created", "@type": "xsd:dateTime"},
22
+ "domain": "sec:domain",
23
+ "expires": {"@id": "sec:expiration", "@type": "xsd:dateTime"},
24
+ "jws": "sec:jws",
25
+ "nonce": "sec:nonce",
26
+ "proofPurpose": {
27
+ "@id": "sec:proofPurpose",
28
+ "@type": "@vocab",
29
+ "@context": {
30
+ "@version": 1.1,
31
+ "@protected": true,
32
+
33
+ "id": "@id",
34
+ "type": "@type",
35
+
36
+ "sec": "https://w3id.org/security#",
37
+
38
+ "assertionMethod": {"@id": "sec:assertionMethod", "@type": "@id", "@container": "@set"},
39
+ "authentication": {"@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set"}
40
+ }
41
+ },
42
+ "proofValue": "sec:proofValue",
43
+ "verificationMethod": {"@id": "sec:verificationMethod", "@type": "@id"}
44
+ }
45
+ },
46
+
47
+ "EcdsaSecp256k1RecoveryMethod2020": "esrs2020:EcdsaSecp256k1RecoveryMethod2020",
48
+ "publicKeyJwk": {
49
+ "@id": "esrs2020:publicKeyJwk",
50
+ "@type": "@json"
51
+ },
52
+ "privateKeyJwk": {
53
+ "@id": "esrs2020:privateKeyJwk",
54
+ "@type": "@json"
55
+ },
56
+ "publicKeyHex": "esrs2020:publicKeyHex",
57
+ "privateKeyHex": "esrs2020:privateKeyHex",
58
+ "ethereumAddress": "esrs2020:ethereumAddress"
59
+ }
60
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "@context": {
3
+ "@version": 1.1,
4
+ "@protected": true,
5
+ "Profile": "https://veramo.io/contexts/profile#Profile",
6
+ "name": "https://schema.org/name"
7
+ }
8
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "@context": {
3
+ "@protected": true,
4
+ "id": "@id",
5
+ "type": "@type",
6
+
7
+ "alsoKnownAs": {
8
+ "@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
9
+ "@type": "@id"
10
+ },
11
+ "assertionMethod": {
12
+ "@id": "https://w3id.org/security#assertionMethod",
13
+ "@type": "@id",
14
+ "@container": "@set"
15
+ },
16
+ "authentication": {
17
+ "@id": "https://w3id.org/security#authenticationMethod",
18
+ "@type": "@id",
19
+ "@container": "@set"
20
+ },
21
+ "capabilityDelegation": {
22
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
23
+ "@type": "@id",
24
+ "@container": "@set"
25
+ },
26
+ "capabilityInvocation": {
27
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
28
+ "@type": "@id",
29
+ "@container": "@set"
30
+ },
31
+ "controller": {
32
+ "@id": "https://w3id.org/security#controller",
33
+ "@type": "@id"
34
+ },
35
+ "keyAgreement": {
36
+ "@id": "https://w3id.org/security#keyAgreementMethod",
37
+ "@type": "@id",
38
+ "@container": "@set"
39
+ },
40
+ "service": {
41
+ "@id": "https://www.w3.org/ns/did#service",
42
+ "@type": "@id",
43
+ "@context": {
44
+ "@protected": true,
45
+ "id": "@id",
46
+ "type": "@type",
47
+ "serviceEndpoint": {
48
+ "@id": "https://www.w3.org/ns/did#serviceEndpoint",
49
+ "@type": "@id"
50
+ }
51
+ }
52
+ },
53
+ "verificationMethod": {
54
+ "@id": "https://w3id.org/security#verificationMethod",
55
+ "@type": "@id"
56
+ }
57
+ }
58
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "@context": {
3
+ "@version": 1.1,
4
+ "@protected": true,
5
+ "VerifableSocialMediaPosting": "https://veramo.io/contexts/socialmedia#VerifableSocialMediaPosting"
6
+ }
7
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "@context": [
3
+ {
4
+ "@version": 1.1
5
+ },
6
+ "https://www.w3.org/ns/did/v1",
7
+ {
8
+ "JsonWebKey2020": "https://w3id.org/security#JsonWebKey2020",
9
+ "Ed25519VerificationKey2018": "https://w3id.org/security#Ed25519VerificationKey2018",
10
+ "X25519KeyAgreementKey2019": "https://w3id.org/security#X25519KeyAgreementKey2019",
11
+
12
+ "publicKeyJwk": {
13
+ "@id": "https://w3id.org/security#publicKeyJwk",
14
+ "@type": "@json"
15
+ },
16
+ "publicKeyBase58": {
17
+ "@id": "https://w3id.org/security#publicKeyBase58"
18
+ }
19
+ }
20
+ ]
21
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@veramo/credential-ld",
3
3
  "description": "Veramo plugin for working with W3C JSON-LD Verifiable Credentials & Presentations.",
4
- "version": "3.1.1-next.8+18c2226e",
4
+ "version": "3.1.1-next.9+3e2cf29e",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
7
7
  "scripts": {
@@ -17,9 +17,9 @@
17
17
  "@transmute/credentials-context": "^0.7.0-unstable.26",
18
18
  "@transmute/ed25519-signature-2018": "^0.7.0-unstable.27",
19
19
  "@transmute/lds-ecdsa-secp256k1-recovery2020": "^0.0.7",
20
- "@veramo/core": "^3.1.1-next.8+18c2226e",
21
- "@veramo/did-resolver": "^3.1.1-next.8+18c2226e",
22
- "@veramo/utils": "^3.1.1-next.8+18c2226e",
20
+ "@veramo/core": "^3.1.1-next.9+3e2cf29e",
21
+ "@veramo/did-resolver": "^3.1.1-next.9+3e2cf29e",
22
+ "@veramo/utils": "^3.1.1-next.9+3e2cf29e",
23
23
  "debug": "^4.1.1",
24
24
  "did-resolver": "3.1.3",
25
25
  "jsonld": "^5.2.0",
@@ -35,6 +35,7 @@
35
35
  "files": [
36
36
  "build/**/*",
37
37
  "src/**/*",
38
+ "contexts/**/*.jsonld",
38
39
  "plugin.schema.json",
39
40
  "README.md",
40
41
  "LICENSE"
@@ -46,5 +47,5 @@
46
47
  "author": "Mircea Nistor <mircea.nistor@mesh.xyz>",
47
48
  "license": "Apache-2.0",
48
49
  "keywords": [],
49
- "gitHead": "18c2226e375925446be8c1d15cd5bab4387b8d79"
50
+ "gitHead": "3e2cf29ecc7aecf0a3750beec7490306ceb79dab"
50
51
  }