@veramo/credential-ld 3.1.3-next.114 → 3.1.5-next.116

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 (33) hide show
  1. package/build/ld-credential-module.js +1 -1
  2. package/build/ld-credential-module.js.map +1 -1
  3. package/build/ld-default-contexts.d.ts.map +1 -1
  4. package/build/ld-default-contexts.js +18 -14
  5. package/build/ld-default-contexts.js.map +1 -1
  6. package/build/ld-suites.js +2 -1
  7. package/build/ld-suites.js.map +1 -1
  8. package/build/suites/EcdsaSecp256k1RecoverySignature2020.d.ts +2 -1
  9. package/build/suites/EcdsaSecp256k1RecoverySignature2020.d.ts.map +1 -1
  10. package/build/suites/EcdsaSecp256k1RecoverySignature2020.js +20 -7
  11. package/build/suites/EcdsaSecp256k1RecoverySignature2020.js.map +1 -1
  12. package/package.json +8 -8
  13. package/src/__tests__/issue-verify-flow.test.ts +106 -3
  14. package/{contexts → src/contexts}/did_v0.11.json +0 -0
  15. package/{contexts → src/contexts}/ed25519-signature-2018-v1.json +0 -0
  16. package/{contexts → src/contexts}/kyc-v1.json +0 -0
  17. package/src/contexts/lds-ecdsa-secp256k1-recovery2020-0.0.json +21 -0
  18. package/{contexts → src/contexts}/socialmedia-v1.json +0 -0
  19. package/{contexts → src/contexts}/transmute_v1.json +0 -0
  20. package/{contexts/profile-v1.json → src/contexts/veramo.io_contexts_profile_v1.json} +0 -0
  21. package/src/contexts/w3id.org_security_suites_ed25519-2018_v1.json +59 -0
  22. package/src/contexts/w3id.org_security_suites_secp256k1recovery-2020_v2.json +87 -0
  23. package/{contexts/X25519KeyAgreementKey2019.json → src/contexts/w3id.org_security_suites_x25519-2019_v1.json} +0 -0
  24. package/src/contexts/w3id.org_security_v1.json +50 -0
  25. package/src/contexts/w3id.org_security_v2.json +59 -0
  26. package/src/contexts/w3id.org_security_v3-unstable.json +720 -0
  27. package/{contexts/w3_2018_credentials_v1.json → src/contexts/www.w3.org_2018_credentials_v1.json} +0 -0
  28. package/{contexts/security_context_v1.json → src/contexts/www.w3.org_ns_did_v1.json} +0 -0
  29. package/src/ld-credential-module.ts +1 -1
  30. package/src/ld-default-contexts.ts +18 -15
  31. package/src/ld-suites.ts +1 -1
  32. package/src/suites/EcdsaSecp256k1RecoverySignature2020.ts +21 -6
  33. package/contexts/lds-ecdsa-secp256k1-recovery2020-0.0.json +0 -60
@@ -0,0 +1,59 @@
1
+ {
2
+ "@context": [{
3
+ "@version": 1.1
4
+ }, "https://w3id.org/security/v1", {
5
+ "AesKeyWrappingKey2019": "sec:AesKeyWrappingKey2019",
6
+ "DeleteKeyOperation": "sec:DeleteKeyOperation",
7
+ "DeriveSecretOperation": "sec:DeriveSecretOperation",
8
+ "EcdsaSecp256k1Signature2019": "sec:EcdsaSecp256k1Signature2019",
9
+ "EcdsaSecp256r1Signature2019": "sec:EcdsaSecp256r1Signature2019",
10
+ "EcdsaSecp256k1VerificationKey2019": "sec:EcdsaSecp256k1VerificationKey2019",
11
+ "EcdsaSecp256r1VerificationKey2019": "sec:EcdsaSecp256r1VerificationKey2019",
12
+ "Ed25519Signature2018": "sec:Ed25519Signature2018",
13
+ "Ed25519VerificationKey2018": "sec:Ed25519VerificationKey2018",
14
+ "EquihashProof2018": "sec:EquihashProof2018",
15
+ "ExportKeyOperation": "sec:ExportKeyOperation",
16
+ "GenerateKeyOperation": "sec:GenerateKeyOperation",
17
+ "KmsOperation": "sec:KmsOperation",
18
+ "RevokeKeyOperation": "sec:RevokeKeyOperation",
19
+ "RsaSignature2018": "sec:RsaSignature2018",
20
+ "RsaVerificationKey2018": "sec:RsaVerificationKey2018",
21
+ "Sha256HmacKey2019": "sec:Sha256HmacKey2019",
22
+ "SignOperation": "sec:SignOperation",
23
+ "UnwrapKeyOperation": "sec:UnwrapKeyOperation",
24
+ "VerifyOperation": "sec:VerifyOperation",
25
+ "WrapKeyOperation": "sec:WrapKeyOperation",
26
+ "X25519KeyAgreementKey2019": "sec:X25519KeyAgreementKey2019",
27
+
28
+ "allowedAction": "sec:allowedAction",
29
+ "assertionMethod": {"@id": "sec:assertionMethod", "@type": "@id", "@container": "@set"},
30
+ "authentication": {"@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set"},
31
+ "capability": {"@id": "sec:capability", "@type": "@id"},
32
+ "capabilityAction": "sec:capabilityAction",
33
+ "capabilityChain": {"@id": "sec:capabilityChain", "@type": "@id", "@container": "@list"},
34
+ "capabilityDelegation": {"@id": "sec:capabilityDelegationMethod", "@type": "@id", "@container": "@set"},
35
+ "capabilityInvocation": {"@id": "sec:capabilityInvocationMethod", "@type": "@id", "@container": "@set"},
36
+ "caveat": {"@id": "sec:caveat", "@type": "@id", "@container": "@set"},
37
+ "challenge": "sec:challenge",
38
+ "ciphertext": "sec:ciphertext",
39
+ "controller": {"@id": "sec:controller", "@type": "@id"},
40
+ "delegator": {"@id": "sec:delegator", "@type": "@id"},
41
+ "equihashParameterK": {"@id": "sec:equihashParameterK", "@type": "xsd:integer"},
42
+ "equihashParameterN": {"@id": "sec:equihashParameterN", "@type": "xsd:integer"},
43
+ "invocationTarget": {"@id": "sec:invocationTarget", "@type": "@id"},
44
+ "invoker": {"@id": "sec:invoker", "@type": "@id"},
45
+ "jws": "sec:jws",
46
+ "keyAgreement": {"@id": "sec:keyAgreementMethod", "@type": "@id", "@container": "@set"},
47
+ "kmsModule": {"@id": "sec:kmsModule"},
48
+ "parentCapability": {"@id": "sec:parentCapability", "@type": "@id"},
49
+ "plaintext": "sec:plaintext",
50
+ "proof": {"@id": "sec:proof", "@type": "@id", "@container": "@graph"},
51
+ "proofPurpose": {"@id": "sec:proofPurpose", "@type": "@vocab"},
52
+ "proofValue": "sec:proofValue",
53
+ "referenceId": "sec:referenceId",
54
+ "unwrappedKey": "sec:unwrappedKey",
55
+ "verificationMethod": {"@id": "sec:verificationMethod", "@type": "@id"},
56
+ "verifyData": "sec:verifyData",
57
+ "wrappedKey": "sec:wrappedKey"
58
+ }]
59
+ }