@fedify/vocab-runtime 2.0.4 → 2.0.6-dev.548

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.
package/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/vocab-runtime",
3
- "version": "2.0.4",
3
+ "version": "2.0.6-dev.548+136de698",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./src/mod.ts"
package/dist/mod.cjs CHANGED
@@ -562,6 +562,85 @@ const preloadedContexts = {
562
562
  }
563
563
  }
564
564
  } },
565
+ "https://w3id.org/security/data-integrity/v2": { "@context": {
566
+ "id": "@id",
567
+ "type": "@type",
568
+ "@protected": true,
569
+ "proof": {
570
+ "@id": "https://w3id.org/security#proof",
571
+ "@type": "@id",
572
+ "@container": "@graph"
573
+ },
574
+ "DataIntegrityProof": {
575
+ "@id": "https://w3id.org/security#DataIntegrityProof",
576
+ "@context": {
577
+ "@protected": true,
578
+ "id": "@id",
579
+ "type": "@type",
580
+ "challenge": "https://w3id.org/security#challenge",
581
+ "created": {
582
+ "@id": "http://purl.org/dc/terms/created",
583
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
584
+ },
585
+ "domain": "https://w3id.org/security#domain",
586
+ "expires": {
587
+ "@id": "https://w3id.org/security#expiration",
588
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
589
+ },
590
+ "nonce": "https://w3id.org/security#nonce",
591
+ "previousProof": {
592
+ "@id": "https://w3id.org/security#previousProof",
593
+ "@type": "@id"
594
+ },
595
+ "proofPurpose": {
596
+ "@id": "https://w3id.org/security#proofPurpose",
597
+ "@type": "@vocab",
598
+ "@context": {
599
+ "@protected": true,
600
+ "id": "@id",
601
+ "type": "@type",
602
+ "assertionMethod": {
603
+ "@id": "https://w3id.org/security#assertionMethod",
604
+ "@type": "@id",
605
+ "@container": "@set"
606
+ },
607
+ "authentication": {
608
+ "@id": "https://w3id.org/security#authenticationMethod",
609
+ "@type": "@id",
610
+ "@container": "@set"
611
+ },
612
+ "capabilityInvocation": {
613
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
614
+ "@type": "@id",
615
+ "@container": "@set"
616
+ },
617
+ "capabilityDelegation": {
618
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
619
+ "@type": "@id",
620
+ "@container": "@set"
621
+ },
622
+ "keyAgreement": {
623
+ "@id": "https://w3id.org/security#keyAgreementMethod",
624
+ "@type": "@id",
625
+ "@container": "@set"
626
+ }
627
+ }
628
+ },
629
+ "cryptosuite": {
630
+ "@id": "https://w3id.org/security#cryptosuite",
631
+ "@type": "https://w3id.org/security#cryptosuiteString"
632
+ },
633
+ "proofValue": {
634
+ "@id": "https://w3id.org/security#proofValue",
635
+ "@type": "https://w3id.org/security#multibase"
636
+ },
637
+ "verificationMethod": {
638
+ "@id": "https://w3id.org/security#verificationMethod",
639
+ "@type": "@id"
640
+ }
641
+ }
642
+ }
643
+ } },
565
644
  "https://www.w3.org/ns/did/v1": { "@context": {
566
645
  "@protected": true,
567
646
  "id": "@id",
@@ -4175,6 +4254,32 @@ const preloadedContexts = {
4175
4254
  "@id": "https://w3id.org/fep/5711#likedOf",
4176
4255
  "@type": "@id"
4177
4256
  }
4257
+ } },
4258
+ "http://joinmastodon.org/ns": { "@context": {
4259
+ "toot": "http://joinmastodon.org/ns#",
4260
+ "Emoji": "toot:Emoji",
4261
+ "featured": {
4262
+ "@id": "toot:featured",
4263
+ "@type": "@id"
4264
+ },
4265
+ "featuredTags": {
4266
+ "@id": "toot:featuredTags",
4267
+ "@type": "@id"
4268
+ },
4269
+ "focalPoint": {
4270
+ "@container": "@list",
4271
+ "@id": "toot:focalPoint"
4272
+ },
4273
+ "blurhash": "toot:blurhash",
4274
+ "discoverable": "toot:discoverable",
4275
+ "indexable": "toot:indexable",
4276
+ "memorial": "toot:memorial",
4277
+ "votersCount": "toot:votersCount",
4278
+ "suspended": "toot:suspended",
4279
+ "attributionDomains": {
4280
+ "@id": "toot:attributionDomains",
4281
+ "@type": "@id"
4282
+ }
4178
4283
  } }
4179
4284
  };
4180
4285
  var contexts_default = preloadedContexts;
@@ -4182,7 +4287,7 @@ var contexts_default = preloadedContexts;
4182
4287
  //#endregion
4183
4288
  //#region deno.json
4184
4289
  var name = "@fedify/vocab-runtime";
4185
- var version = "2.0.4";
4290
+ var version = "2.0.6-dev.548+136de698";
4186
4291
  var license = "MIT";
4187
4292
  var exports$1 = { ".": "./src/mod.ts" };
4188
4293
  var description = "Runtime library for @fedify/vocab";
package/dist/mod.js CHANGED
@@ -539,6 +539,85 @@ const preloadedContexts = {
539
539
  }
540
540
  }
541
541
  } },
542
+ "https://w3id.org/security/data-integrity/v2": { "@context": {
543
+ "id": "@id",
544
+ "type": "@type",
545
+ "@protected": true,
546
+ "proof": {
547
+ "@id": "https://w3id.org/security#proof",
548
+ "@type": "@id",
549
+ "@container": "@graph"
550
+ },
551
+ "DataIntegrityProof": {
552
+ "@id": "https://w3id.org/security#DataIntegrityProof",
553
+ "@context": {
554
+ "@protected": true,
555
+ "id": "@id",
556
+ "type": "@type",
557
+ "challenge": "https://w3id.org/security#challenge",
558
+ "created": {
559
+ "@id": "http://purl.org/dc/terms/created",
560
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
561
+ },
562
+ "domain": "https://w3id.org/security#domain",
563
+ "expires": {
564
+ "@id": "https://w3id.org/security#expiration",
565
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
566
+ },
567
+ "nonce": "https://w3id.org/security#nonce",
568
+ "previousProof": {
569
+ "@id": "https://w3id.org/security#previousProof",
570
+ "@type": "@id"
571
+ },
572
+ "proofPurpose": {
573
+ "@id": "https://w3id.org/security#proofPurpose",
574
+ "@type": "@vocab",
575
+ "@context": {
576
+ "@protected": true,
577
+ "id": "@id",
578
+ "type": "@type",
579
+ "assertionMethod": {
580
+ "@id": "https://w3id.org/security#assertionMethod",
581
+ "@type": "@id",
582
+ "@container": "@set"
583
+ },
584
+ "authentication": {
585
+ "@id": "https://w3id.org/security#authenticationMethod",
586
+ "@type": "@id",
587
+ "@container": "@set"
588
+ },
589
+ "capabilityInvocation": {
590
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
591
+ "@type": "@id",
592
+ "@container": "@set"
593
+ },
594
+ "capabilityDelegation": {
595
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
596
+ "@type": "@id",
597
+ "@container": "@set"
598
+ },
599
+ "keyAgreement": {
600
+ "@id": "https://w3id.org/security#keyAgreementMethod",
601
+ "@type": "@id",
602
+ "@container": "@set"
603
+ }
604
+ }
605
+ },
606
+ "cryptosuite": {
607
+ "@id": "https://w3id.org/security#cryptosuite",
608
+ "@type": "https://w3id.org/security#cryptosuiteString"
609
+ },
610
+ "proofValue": {
611
+ "@id": "https://w3id.org/security#proofValue",
612
+ "@type": "https://w3id.org/security#multibase"
613
+ },
614
+ "verificationMethod": {
615
+ "@id": "https://w3id.org/security#verificationMethod",
616
+ "@type": "@id"
617
+ }
618
+ }
619
+ }
620
+ } },
542
621
  "https://www.w3.org/ns/did/v1": { "@context": {
543
622
  "@protected": true,
544
623
  "id": "@id",
@@ -4152,6 +4231,32 @@ const preloadedContexts = {
4152
4231
  "@id": "https://w3id.org/fep/5711#likedOf",
4153
4232
  "@type": "@id"
4154
4233
  }
4234
+ } },
4235
+ "http://joinmastodon.org/ns": { "@context": {
4236
+ "toot": "http://joinmastodon.org/ns#",
4237
+ "Emoji": "toot:Emoji",
4238
+ "featured": {
4239
+ "@id": "toot:featured",
4240
+ "@type": "@id"
4241
+ },
4242
+ "featuredTags": {
4243
+ "@id": "toot:featuredTags",
4244
+ "@type": "@id"
4245
+ },
4246
+ "focalPoint": {
4247
+ "@container": "@list",
4248
+ "@id": "toot:focalPoint"
4249
+ },
4250
+ "blurhash": "toot:blurhash",
4251
+ "discoverable": "toot:discoverable",
4252
+ "indexable": "toot:indexable",
4253
+ "memorial": "toot:memorial",
4254
+ "votersCount": "toot:votersCount",
4255
+ "suspended": "toot:suspended",
4256
+ "attributionDomains": {
4257
+ "@id": "toot:attributionDomains",
4258
+ "@type": "@id"
4259
+ }
4155
4260
  } }
4156
4261
  };
4157
4262
  var contexts_default = preloadedContexts;
@@ -4159,7 +4264,7 @@ var contexts_default = preloadedContexts;
4159
4264
  //#endregion
4160
4265
  //#region deno.json
4161
4266
  var name = "@fedify/vocab-runtime";
4162
- var version = "2.0.4";
4267
+ var version = "2.0.6-dev.548+136de698";
4163
4268
  var license = "MIT";
4164
4269
  var exports = { ".": "./src/mod.ts" };
4165
4270
  var description = "Runtime library for @fedify/vocab";
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-DWy1uDak.cjs');
2
- const require_request = require('./request-Cf-YYi1X.cjs');
2
+ const require_request = require('./request-CtdLNp_I.cjs');
3
3
  const require_link = require('./link-CdFPEo9O.cjs');
4
4
  const require_url = require('./url-C5Vs9nYh.cjs');
5
5
  const node_assert = require_chunk.__toESM(require("node:assert"));
@@ -1768,6 +1768,85 @@ const preloadedContexts = {
1768
1768
  }
1769
1769
  }
1770
1770
  } },
1771
+ "https://w3id.org/security/data-integrity/v2": { "@context": {
1772
+ "id": "@id",
1773
+ "type": "@type",
1774
+ "@protected": true,
1775
+ "proof": {
1776
+ "@id": "https://w3id.org/security#proof",
1777
+ "@type": "@id",
1778
+ "@container": "@graph"
1779
+ },
1780
+ "DataIntegrityProof": {
1781
+ "@id": "https://w3id.org/security#DataIntegrityProof",
1782
+ "@context": {
1783
+ "@protected": true,
1784
+ "id": "@id",
1785
+ "type": "@type",
1786
+ "challenge": "https://w3id.org/security#challenge",
1787
+ "created": {
1788
+ "@id": "http://purl.org/dc/terms/created",
1789
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
1790
+ },
1791
+ "domain": "https://w3id.org/security#domain",
1792
+ "expires": {
1793
+ "@id": "https://w3id.org/security#expiration",
1794
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
1795
+ },
1796
+ "nonce": "https://w3id.org/security#nonce",
1797
+ "previousProof": {
1798
+ "@id": "https://w3id.org/security#previousProof",
1799
+ "@type": "@id"
1800
+ },
1801
+ "proofPurpose": {
1802
+ "@id": "https://w3id.org/security#proofPurpose",
1803
+ "@type": "@vocab",
1804
+ "@context": {
1805
+ "@protected": true,
1806
+ "id": "@id",
1807
+ "type": "@type",
1808
+ "assertionMethod": {
1809
+ "@id": "https://w3id.org/security#assertionMethod",
1810
+ "@type": "@id",
1811
+ "@container": "@set"
1812
+ },
1813
+ "authentication": {
1814
+ "@id": "https://w3id.org/security#authenticationMethod",
1815
+ "@type": "@id",
1816
+ "@container": "@set"
1817
+ },
1818
+ "capabilityInvocation": {
1819
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
1820
+ "@type": "@id",
1821
+ "@container": "@set"
1822
+ },
1823
+ "capabilityDelegation": {
1824
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
1825
+ "@type": "@id",
1826
+ "@container": "@set"
1827
+ },
1828
+ "keyAgreement": {
1829
+ "@id": "https://w3id.org/security#keyAgreementMethod",
1830
+ "@type": "@id",
1831
+ "@container": "@set"
1832
+ }
1833
+ }
1834
+ },
1835
+ "cryptosuite": {
1836
+ "@id": "https://w3id.org/security#cryptosuite",
1837
+ "@type": "https://w3id.org/security#cryptosuiteString"
1838
+ },
1839
+ "proofValue": {
1840
+ "@id": "https://w3id.org/security#proofValue",
1841
+ "@type": "https://w3id.org/security#multibase"
1842
+ },
1843
+ "verificationMethod": {
1844
+ "@id": "https://w3id.org/security#verificationMethod",
1845
+ "@type": "@id"
1846
+ }
1847
+ }
1848
+ }
1849
+ } },
1771
1850
  "https://www.w3.org/ns/did/v1": { "@context": {
1772
1851
  "@protected": true,
1773
1852
  "id": "@id",
@@ -5381,6 +5460,32 @@ const preloadedContexts = {
5381
5460
  "@id": "https://w3id.org/fep/5711#likedOf",
5382
5461
  "@type": "@id"
5383
5462
  }
5463
+ } },
5464
+ "http://joinmastodon.org/ns": { "@context": {
5465
+ "toot": "http://joinmastodon.org/ns#",
5466
+ "Emoji": "toot:Emoji",
5467
+ "featured": {
5468
+ "@id": "toot:featured",
5469
+ "@type": "@id"
5470
+ },
5471
+ "featuredTags": {
5472
+ "@id": "toot:featuredTags",
5473
+ "@type": "@id"
5474
+ },
5475
+ "focalPoint": {
5476
+ "@container": "@list",
5477
+ "@id": "toot:focalPoint"
5478
+ },
5479
+ "blurhash": "toot:blurhash",
5480
+ "discoverable": "toot:discoverable",
5481
+ "indexable": "toot:indexable",
5482
+ "memorial": "toot:memorial",
5483
+ "votersCount": "toot:votersCount",
5484
+ "suspended": "toot:suspended",
5485
+ "attributionDomains": {
5486
+ "@id": "toot:attributionDomains",
5487
+ "@type": "@id"
5488
+ }
5384
5489
  } }
5385
5490
  };
5386
5491
  var contexts_default = preloadedContexts;
@@ -1,4 +1,4 @@
1
- import { FetchError, createActivityPubRequest, deno_default, logRequest } from "./request-BVh2QpuJ.js";
1
+ import { FetchError, createActivityPubRequest, deno_default, logRequest } from "./request-BjFU6N1S.js";
2
2
  import { HttpHeaderLink } from "./link-Ck2yj4dH.js";
3
3
  import { UrlError, validatePublicUrl } from "./url-fW_DHbih.js";
4
4
  import "node:module";
@@ -1794,6 +1794,85 @@ const preloadedContexts = {
1794
1794
  }
1795
1795
  }
1796
1796
  } },
1797
+ "https://w3id.org/security/data-integrity/v2": { "@context": {
1798
+ "id": "@id",
1799
+ "type": "@type",
1800
+ "@protected": true,
1801
+ "proof": {
1802
+ "@id": "https://w3id.org/security#proof",
1803
+ "@type": "@id",
1804
+ "@container": "@graph"
1805
+ },
1806
+ "DataIntegrityProof": {
1807
+ "@id": "https://w3id.org/security#DataIntegrityProof",
1808
+ "@context": {
1809
+ "@protected": true,
1810
+ "id": "@id",
1811
+ "type": "@type",
1812
+ "challenge": "https://w3id.org/security#challenge",
1813
+ "created": {
1814
+ "@id": "http://purl.org/dc/terms/created",
1815
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
1816
+ },
1817
+ "domain": "https://w3id.org/security#domain",
1818
+ "expires": {
1819
+ "@id": "https://w3id.org/security#expiration",
1820
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
1821
+ },
1822
+ "nonce": "https://w3id.org/security#nonce",
1823
+ "previousProof": {
1824
+ "@id": "https://w3id.org/security#previousProof",
1825
+ "@type": "@id"
1826
+ },
1827
+ "proofPurpose": {
1828
+ "@id": "https://w3id.org/security#proofPurpose",
1829
+ "@type": "@vocab",
1830
+ "@context": {
1831
+ "@protected": true,
1832
+ "id": "@id",
1833
+ "type": "@type",
1834
+ "assertionMethod": {
1835
+ "@id": "https://w3id.org/security#assertionMethod",
1836
+ "@type": "@id",
1837
+ "@container": "@set"
1838
+ },
1839
+ "authentication": {
1840
+ "@id": "https://w3id.org/security#authenticationMethod",
1841
+ "@type": "@id",
1842
+ "@container": "@set"
1843
+ },
1844
+ "capabilityInvocation": {
1845
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
1846
+ "@type": "@id",
1847
+ "@container": "@set"
1848
+ },
1849
+ "capabilityDelegation": {
1850
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
1851
+ "@type": "@id",
1852
+ "@container": "@set"
1853
+ },
1854
+ "keyAgreement": {
1855
+ "@id": "https://w3id.org/security#keyAgreementMethod",
1856
+ "@type": "@id",
1857
+ "@container": "@set"
1858
+ }
1859
+ }
1860
+ },
1861
+ "cryptosuite": {
1862
+ "@id": "https://w3id.org/security#cryptosuite",
1863
+ "@type": "https://w3id.org/security#cryptosuiteString"
1864
+ },
1865
+ "proofValue": {
1866
+ "@id": "https://w3id.org/security#proofValue",
1867
+ "@type": "https://w3id.org/security#multibase"
1868
+ },
1869
+ "verificationMethod": {
1870
+ "@id": "https://w3id.org/security#verificationMethod",
1871
+ "@type": "@id"
1872
+ }
1873
+ }
1874
+ }
1875
+ } },
1797
1876
  "https://www.w3.org/ns/did/v1": { "@context": {
1798
1877
  "@protected": true,
1799
1878
  "id": "@id",
@@ -5407,6 +5486,32 @@ const preloadedContexts = {
5407
5486
  "@id": "https://w3id.org/fep/5711#likedOf",
5408
5487
  "@type": "@id"
5409
5488
  }
5489
+ } },
5490
+ "http://joinmastodon.org/ns": { "@context": {
5491
+ "toot": "http://joinmastodon.org/ns#",
5492
+ "Emoji": "toot:Emoji",
5493
+ "featured": {
5494
+ "@id": "toot:featured",
5495
+ "@type": "@id"
5496
+ },
5497
+ "featuredTags": {
5498
+ "@id": "toot:featuredTags",
5499
+ "@type": "@id"
5500
+ },
5501
+ "focalPoint": {
5502
+ "@container": "@list",
5503
+ "@id": "toot:focalPoint"
5504
+ },
5505
+ "blurhash": "toot:blurhash",
5506
+ "discoverable": "toot:discoverable",
5507
+ "indexable": "toot:indexable",
5508
+ "memorial": "toot:memorial",
5509
+ "votersCount": "toot:votersCount",
5510
+ "suspended": "toot:suspended",
5511
+ "attributionDomains": {
5512
+ "@id": "toot:attributionDomains",
5513
+ "@type": "@id"
5514
+ }
5410
5515
  } }
5411
5516
  };
5412
5517
  var contexts_default = preloadedContexts;
@@ -2,7 +2,7 @@ import process from "node:process";
2
2
 
3
3
  //#region deno.json
4
4
  var name = "@fedify/vocab-runtime";
5
- var version = "2.0.4";
5
+ var version = "2.0.6-dev.548+136de698";
6
6
  var license = "MIT";
7
7
  var exports = { ".": "./src/mod.ts" };
8
8
  var description = "Runtime library for @fedify/vocab";
@@ -3,7 +3,7 @@ const node_process = require_chunk.__toESM(require("node:process"));
3
3
 
4
4
  //#region deno.json
5
5
  var name = "@fedify/vocab-runtime";
6
- var version = "2.0.4";
6
+ var version = "2.0.6-dev.548+136de698";
7
7
  var license = "MIT";
8
8
  var exports$1 = { ".": "./src/mod.ts" };
9
9
  var description = "Runtime library for @fedify/vocab";
@@ -1,5 +1,5 @@
1
1
  const require_chunk = require('./chunk-DWy1uDak.cjs');
2
- const require_request = require('./request-Cf-YYi1X.cjs');
2
+ const require_request = require('./request-CtdLNp_I.cjs');
3
3
  const node_assert = require_chunk.__toESM(require("node:assert"));
4
4
  const node_test = require_chunk.__toESM(require("node:test"));
5
5
  const node_process = require_chunk.__toESM(require("node:process"));
@@ -1,4 +1,4 @@
1
- import { deno_default, getUserAgent } from "./request-BVh2QpuJ.js";
1
+ import { deno_default, getUserAgent } from "./request-BjFU6N1S.js";
2
2
  import { deepStrictEqual } from "node:assert";
3
3
  import { test } from "node:test";
4
4
  import process from "node:process";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/vocab-runtime",
3
- "version": "2.0.4",
3
+ "version": "2.0.6-dev.548+136de698",
4
4
  "homepage": "https://fedify.dev/",
5
5
  "repository": {
6
6
  "type": "git",
package/src/contexts.ts CHANGED
@@ -537,6 +537,88 @@ const preloadedContexts: Record<string, unknown> = {
537
537
  },
538
538
  },
539
539
 
540
+ "https://w3id.org/security/data-integrity/v2": {
541
+ "@context": {
542
+ "id": "@id",
543
+ "type": "@type",
544
+ "@protected": true,
545
+ "proof": {
546
+ "@id": "https://w3id.org/security#proof",
547
+ "@type": "@id",
548
+ "@container": "@graph",
549
+ },
550
+ "DataIntegrityProof": {
551
+ "@id": "https://w3id.org/security#DataIntegrityProof",
552
+ "@context": {
553
+ "@protected": true,
554
+ "id": "@id",
555
+ "type": "@type",
556
+ "challenge": "https://w3id.org/security#challenge",
557
+ "created": {
558
+ "@id": "http://purl.org/dc/terms/created",
559
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime",
560
+ },
561
+ "domain": "https://w3id.org/security#domain",
562
+ "expires": {
563
+ "@id": "https://w3id.org/security#expiration",
564
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime",
565
+ },
566
+ "nonce": "https://w3id.org/security#nonce",
567
+ "previousProof": {
568
+ "@id": "https://w3id.org/security#previousProof",
569
+ "@type": "@id",
570
+ },
571
+ "proofPurpose": {
572
+ "@id": "https://w3id.org/security#proofPurpose",
573
+ "@type": "@vocab",
574
+ "@context": {
575
+ "@protected": true,
576
+ "id": "@id",
577
+ "type": "@type",
578
+ "assertionMethod": {
579
+ "@id": "https://w3id.org/security#assertionMethod",
580
+ "@type": "@id",
581
+ "@container": "@set",
582
+ },
583
+ "authentication": {
584
+ "@id": "https://w3id.org/security#authenticationMethod",
585
+ "@type": "@id",
586
+ "@container": "@set",
587
+ },
588
+ "capabilityInvocation": {
589
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
590
+ "@type": "@id",
591
+ "@container": "@set",
592
+ },
593
+ "capabilityDelegation": {
594
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
595
+ "@type": "@id",
596
+ "@container": "@set",
597
+ },
598
+ "keyAgreement": {
599
+ "@id": "https://w3id.org/security#keyAgreementMethod",
600
+ "@type": "@id",
601
+ "@container": "@set",
602
+ },
603
+ },
604
+ },
605
+ "cryptosuite": {
606
+ "@id": "https://w3id.org/security#cryptosuite",
607
+ "@type": "https://w3id.org/security#cryptosuiteString",
608
+ },
609
+ "proofValue": {
610
+ "@id": "https://w3id.org/security#proofValue",
611
+ "@type": "https://w3id.org/security#multibase",
612
+ },
613
+ "verificationMethod": {
614
+ "@id": "https://w3id.org/security#verificationMethod",
615
+ "@type": "@id",
616
+ },
617
+ },
618
+ },
619
+ },
620
+ },
621
+
540
622
  "https://www.w3.org/ns/did/v1": {
541
623
  "@context": {
542
624
  "@protected": true,
@@ -4232,6 +4314,44 @@ const preloadedContexts: Record<string, unknown> = {
4232
4314
  },
4233
4315
  },
4234
4316
  },
4317
+
4318
+ // Mastodon's "toot:" namespace. The URL http://joinmastodon.org/ns has
4319
+ // *never* served a real JSON-LD context document—Mastodon has always inlined
4320
+ // these term definitions directly in every outgoing @context array. However,
4321
+ // some ActivityPub implementations (e.g., Bonfire) put the bare URL in their
4322
+ // @context, which causes JSON-LD processors to try to dereference it and fail
4323
+ // with a 404. We ship a built-in copy here so that Fedify can parse such
4324
+ // documents without a network round-trip to a URL that will never resolve.
4325
+ // See: https://github.com/mastodon/joinmastodon/issues/148
4326
+ // https://github.com/fedify-dev/fedify/issues/630
4327
+ "http://joinmastodon.org/ns": {
4328
+ "@context": {
4329
+ "toot": "http://joinmastodon.org/ns#",
4330
+ "Emoji": "toot:Emoji",
4331
+ "featured": {
4332
+ "@id": "toot:featured",
4333
+ "@type": "@id",
4334
+ },
4335
+ "featuredTags": {
4336
+ "@id": "toot:featuredTags",
4337
+ "@type": "@id",
4338
+ },
4339
+ "focalPoint": {
4340
+ "@container": "@list",
4341
+ "@id": "toot:focalPoint",
4342
+ },
4343
+ "blurhash": "toot:blurhash",
4344
+ "discoverable": "toot:discoverable",
4345
+ "indexable": "toot:indexable",
4346
+ "memorial": "toot:memorial",
4347
+ "votersCount": "toot:votersCount",
4348
+ "suspended": "toot:suspended",
4349
+ "attributionDomains": {
4350
+ "@id": "toot:attributionDomains",
4351
+ "@type": "@id",
4352
+ },
4353
+ },
4354
+ },
4235
4355
  };
4236
4356
 
4237
4357
  export default preloadedContexts;