@fedify/vocab-runtime 2.1.0-dev.592 → 2.1.0-dev.599

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 (58) hide show
  1. package/deno.json +1 -1
  2. package/dist/mod.cjs +4428 -4289
  3. package/dist/mod.d.cts +95 -4
  4. package/dist/mod.d.ts +95 -4
  5. package/dist/mod.js +4426 -4290
  6. package/dist/tests/decimal.test.cjs +154 -0
  7. package/dist/tests/decimal.test.d.cts +1 -0
  8. package/dist/tests/decimal.test.d.ts +1 -0
  9. package/dist/tests/decimal.test.js +153 -0
  10. package/dist/tests/docloader-B7jXFZpf.cjs +4562 -0
  11. package/dist/tests/docloader-DMCOWvVB.js +4550 -0
  12. package/dist/tests/docloader.test.cjs +7 -4491
  13. package/dist/tests/docloader.test.js +4 -4488
  14. package/dist/tests/internal/multicodec.test.cjs +1 -1
  15. package/dist/tests/internal/multicodec.test.js +1 -1
  16. package/dist/tests/key-ByCmSI2y.js +183 -0
  17. package/dist/tests/key-CCPn6TEY.cjs +231 -0
  18. package/dist/tests/key.test.cjs +33 -211
  19. package/dist/tests/key.test.js +3 -181
  20. package/dist/tests/langstr-BsVE3s9u.js +30 -0
  21. package/dist/tests/langstr-EPh86hXK.cjs +36 -0
  22. package/dist/tests/langstr.test.cjs +5 -33
  23. package/dist/tests/langstr.test.js +1 -29
  24. package/dist/tests/link.test.cjs +1 -1
  25. package/dist/tests/link.test.js +1 -1
  26. package/dist/tests/multibase/multibase.test.cjs +1 -1
  27. package/dist/tests/multibase/multibase.test.js +1 -1
  28. package/dist/tests/{request-DKDE-Rcx.js → request-BQtyeAfw.js} +1 -1
  29. package/dist/tests/{request-CK7hgRUX.cjs → request-CW9KOmQu.cjs} +1 -1
  30. package/dist/tests/request.test.cjs +1 -1
  31. package/dist/tests/request.test.js +1 -1
  32. package/dist/tests/url.test.cjs +1 -1
  33. package/dist/tests/url.test.js +1 -1
  34. package/package.json +1 -1
  35. package/src/contexts/activitystreams.json +379 -0
  36. package/src/contexts/did-v1.json +57 -0
  37. package/src/contexts/fep-5711.json +36 -0
  38. package/src/contexts/gotosocial.json +86 -0
  39. package/src/contexts/identity-v1.json +152 -0
  40. package/src/contexts/joinmastodon.json +28 -0
  41. package/src/contexts/schemaorg.json +8845 -0
  42. package/src/contexts/security-data-integrity-v1.json +78 -0
  43. package/src/contexts/security-data-integrity-v2.json +81 -0
  44. package/src/contexts/security-multikey-v1.json +35 -0
  45. package/src/contexts/security-v1.json +74 -0
  46. package/src/contexts/webfinger.json +10 -0
  47. package/src/contexts.ts +33 -4392
  48. package/src/decimal.test.ts +90 -0
  49. package/src/decimal.ts +112 -0
  50. package/src/mod.ts +6 -0
  51. /package/dist/tests/{link-Ck2yj4dH.js → link-C3q2TC2G.js} +0 -0
  52. /package/dist/tests/{link-CdFPEo9O.cjs → link-DYNFAdNu.cjs} +0 -0
  53. /package/dist/tests/{multibase-BdHCGO4H.js → multibase-B4g8pz6F.js} +0 -0
  54. /package/dist/tests/{multibase-B2D6B0V4.cjs → multibase-o_ovPHYJ.cjs} +0 -0
  55. /package/dist/tests/{multicodec-mHcRzSGY.cjs → multicodec--6hQ74zI.cjs} +0 -0
  56. /package/dist/tests/{multicodec-DvC5xnX2.js → multicodec-Dq3IiOV4.js} +0 -0
  57. /package/dist/tests/{url-fW_DHbih.js → url-CWEP9Zs9.js} +0 -0
  58. /package/dist/tests/{url-C5Vs9nYh.cjs → url-DIjOdK8Q.cjs} +0 -0
@@ -0,0 +1,78 @@
1
+ {
2
+ "@context": {
3
+ "id": "@id",
4
+ "type": "@type",
5
+ "@protected": true,
6
+ "digestMultibase": {
7
+ "@id": "https://w3id.org/security#digestMultibase",
8
+ "@type": "https://w3id.org/security#multibase"
9
+ },
10
+ "proof": {
11
+ "@id": "https://w3id.org/security#proof",
12
+ "@type": "@id",
13
+ "@container": "@graph"
14
+ },
15
+ "DataIntegrityProof": {
16
+ "@id": "https://w3id.org/security#DataIntegrityProof",
17
+ "@context": {
18
+ "@protected": true,
19
+ "id": "@id",
20
+ "type": "@type",
21
+ "challenge": "https://w3id.org/security#challenge",
22
+ "created": {
23
+ "@id": "http://purl.org/dc/terms/created",
24
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
25
+ },
26
+ "domain": "https://w3id.org/security#domain",
27
+ "expires": {
28
+ "@id": "https://w3id.org/security#expiration",
29
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
30
+ },
31
+ "nonce": "https://w3id.org/security#nonce",
32
+ "proofPurpose": {
33
+ "@id": "https://w3id.org/security#proofPurpose",
34
+ "@type": "@vocab",
35
+ "@context": {
36
+ "@protected": true,
37
+ "id": "@id",
38
+ "type": "@type",
39
+ "assertionMethod": {
40
+ "@id": "https://w3id.org/security#assertionMethod",
41
+ "@type": "@id",
42
+ "@container": "@set"
43
+ },
44
+ "authentication": {
45
+ "@id": "https://w3id.org/security#authenticationMethod",
46
+ "@type": "@id",
47
+ "@container": "@set"
48
+ },
49
+ "capabilityInvocation": {
50
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
51
+ "@type": "@id",
52
+ "@container": "@set"
53
+ },
54
+ "capabilityDelegation": {
55
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
56
+ "@type": "@id",
57
+ "@container": "@set"
58
+ },
59
+ "keyAgreement": {
60
+ "@id": "https://w3id.org/security#keyAgreementMethod",
61
+ "@type": "@id",
62
+ "@container": "@set"
63
+ }
64
+ }
65
+ },
66
+ "cryptosuite": "https://w3id.org/security#cryptosuite",
67
+ "proofValue": {
68
+ "@id": "https://w3id.org/security#proofValue",
69
+ "@type": "https://w3id.org/security#multibase"
70
+ },
71
+ "verificationMethod": {
72
+ "@id": "https://w3id.org/security#verificationMethod",
73
+ "@type": "@id"
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,81 @@
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
+ "DataIntegrityProof": {
12
+ "@id": "https://w3id.org/security#DataIntegrityProof",
13
+ "@context": {
14
+ "@protected": true,
15
+ "id": "@id",
16
+ "type": "@type",
17
+ "challenge": "https://w3id.org/security#challenge",
18
+ "created": {
19
+ "@id": "http://purl.org/dc/terms/created",
20
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
21
+ },
22
+ "domain": "https://w3id.org/security#domain",
23
+ "expires": {
24
+ "@id": "https://w3id.org/security#expiration",
25
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
26
+ },
27
+ "nonce": "https://w3id.org/security#nonce",
28
+ "previousProof": {
29
+ "@id": "https://w3id.org/security#previousProof",
30
+ "@type": "@id"
31
+ },
32
+ "proofPurpose": {
33
+ "@id": "https://w3id.org/security#proofPurpose",
34
+ "@type": "@vocab",
35
+ "@context": {
36
+ "@protected": true,
37
+ "id": "@id",
38
+ "type": "@type",
39
+ "assertionMethod": {
40
+ "@id": "https://w3id.org/security#assertionMethod",
41
+ "@type": "@id",
42
+ "@container": "@set"
43
+ },
44
+ "authentication": {
45
+ "@id": "https://w3id.org/security#authenticationMethod",
46
+ "@type": "@id",
47
+ "@container": "@set"
48
+ },
49
+ "capabilityInvocation": {
50
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
51
+ "@type": "@id",
52
+ "@container": "@set"
53
+ },
54
+ "capabilityDelegation": {
55
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
56
+ "@type": "@id",
57
+ "@container": "@set"
58
+ },
59
+ "keyAgreement": {
60
+ "@id": "https://w3id.org/security#keyAgreementMethod",
61
+ "@type": "@id",
62
+ "@container": "@set"
63
+ }
64
+ }
65
+ },
66
+ "cryptosuite": {
67
+ "@id": "https://w3id.org/security#cryptosuite",
68
+ "@type": "https://w3id.org/security#cryptosuiteString"
69
+ },
70
+ "proofValue": {
71
+ "@id": "https://w3id.org/security#proofValue",
72
+ "@type": "https://w3id.org/security#multibase"
73
+ },
74
+ "verificationMethod": {
75
+ "@id": "https://w3id.org/security#verificationMethod",
76
+ "@type": "@id"
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "@context": {
3
+ "id": "@id",
4
+ "type": "@type",
5
+ "@protected": true,
6
+ "Multikey": {
7
+ "@id": "https://w3id.org/security#Multikey",
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
+ "expires": {
21
+ "@id": "https://w3id.org/security#expiration",
22
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
23
+ },
24
+ "publicKeyMultibase": {
25
+ "@id": "https://w3id.org/security#publicKeyMultibase",
26
+ "@type": "https://w3id.org/security#multibase"
27
+ },
28
+ "secretKeyMultibase": {
29
+ "@id": "https://w3id.org/security#secretKeyMultibase",
30
+ "@type": "https://w3id.org/security#multibase"
31
+ }
32
+ }
33
+ }
34
+ }
35
+ }
@@ -0,0 +1,74 @@
1
+ {
2
+ "@context": {
3
+ "id": "@id",
4
+ "type": "@type",
5
+ "dc": "http://purl.org/dc/terms/",
6
+ "sec": "https://w3id.org/security#",
7
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
8
+ "EcdsaKoblitzSignature2016": "sec:EcdsaKoblitzSignature2016",
9
+ "Ed25519Signature2018": "sec:Ed25519Signature2018",
10
+ "EncryptedMessage": "sec:EncryptedMessage",
11
+ "GraphSignature2012": "sec:GraphSignature2012",
12
+ "LinkedDataSignature2015": "sec:LinkedDataSignature2015",
13
+ "LinkedDataSignature2016": "sec:LinkedDataSignature2016",
14
+ "CryptographicKey": "sec:Key",
15
+ "authenticationTag": "sec:authenticationTag",
16
+ "canonicalizationAlgorithm": "sec:canonicalizationAlgorithm",
17
+ "cipherAlgorithm": "sec:cipherAlgorithm",
18
+ "cipherData": "sec:cipherData",
19
+ "cipherKey": "sec:cipherKey",
20
+ "created": {
21
+ "@id": "dc:created",
22
+ "@type": "xsd:dateTime"
23
+ },
24
+ "creator": {
25
+ "@id": "dc:creator",
26
+ "@type": "@id"
27
+ },
28
+ "digestAlgorithm": "sec:digestAlgorithm",
29
+ "digestValue": "sec:digestValue",
30
+ "domain": "sec:domain",
31
+ "encryptionKey": "sec:encryptionKey",
32
+ "expiration": {
33
+ "@id": "sec:expiration",
34
+ "@type": "xsd:dateTime"
35
+ },
36
+ "expires": {
37
+ "@id": "sec:expiration",
38
+ "@type": "xsd:dateTime"
39
+ },
40
+ "initializationVector": "sec:initializationVector",
41
+ "iterationCount": "sec:iterationCount",
42
+ "nonce": "sec:nonce",
43
+ "normalizationAlgorithm": "sec:normalizationAlgorithm",
44
+ "owner": {
45
+ "@id": "sec:owner",
46
+ "@type": "@id"
47
+ },
48
+ "password": "sec:password",
49
+ "privateKey": {
50
+ "@id": "sec:privateKey",
51
+ "@type": "@id"
52
+ },
53
+ "privateKeyPem": "sec:privateKeyPem",
54
+ "publicKey": {
55
+ "@id": "sec:publicKey",
56
+ "@type": "@id"
57
+ },
58
+ "publicKeyBase58": "sec:publicKeyBase58",
59
+ "publicKeyPem": "sec:publicKeyPem",
60
+ "publicKeyWif": "sec:publicKeyWif",
61
+ "publicKeyService": {
62
+ "@id": "sec:publicKeyService",
63
+ "@type": "@id"
64
+ },
65
+ "revoked": {
66
+ "@id": "sec:revoked",
67
+ "@type": "xsd:dateTime"
68
+ },
69
+ "salt": "sec:salt",
70
+ "signature": "sec:signature",
71
+ "signatureAlgorithm": "sec:signingAlgorithm",
72
+ "signatureValue": "sec:signatureValue"
73
+ }
74
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "@context": {
3
+ "wf": "https://purl.archive.org/socialweb/webfinger#",
4
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
5
+ "webfinger": {
6
+ "@id": "wf:webfinger",
7
+ "@type": "xsd:string"
8
+ }
9
+ }
10
+ }