@fedify/vocab-runtime 2.1.0-dev.523 → 2.1.0-dev.530

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.1.0-dev.523+150998a5",
3
+ "version": "2.1.0-dev.530+3f7f470a",
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",
@@ -4182,7 +4261,7 @@ var contexts_default = preloadedContexts;
4182
4261
  //#endregion
4183
4262
  //#region deno.json
4184
4263
  var name = "@fedify/vocab-runtime";
4185
- var version = "2.1.0-dev.523+150998a5";
4264
+ var version = "2.1.0-dev.530+3f7f470a";
4186
4265
  var license = "MIT";
4187
4266
  var exports$1 = { ".": "./src/mod.ts" };
4188
4267
  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",
@@ -4159,7 +4238,7 @@ var contexts_default = preloadedContexts;
4159
4238
  //#endregion
4160
4239
  //#region deno.json
4161
4240
  var name = "@fedify/vocab-runtime";
4162
- var version = "2.1.0-dev.523+150998a5";
4241
+ var version = "2.1.0-dev.530+3f7f470a";
4163
4242
  var license = "MIT";
4164
4243
  var exports = { ".": "./src/mod.ts" };
4165
4244
  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-B-03buqT.cjs');
2
+ const require_request = require('./request-BNEQrWC4.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",
@@ -1,4 +1,4 @@
1
- import { FetchError, createActivityPubRequest, deno_default, logRequest } from "./request-CV_C4x27.js";
1
+ import { FetchError, createActivityPubRequest, deno_default, logRequest } from "./request-Bkv8GSw3.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",
@@ -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.1.0-dev.523+150998a5";
6
+ var version = "2.1.0-dev.530+3f7f470a";
7
7
  var license = "MIT";
8
8
  var exports$1 = { ".": "./src/mod.ts" };
9
9
  var description = "Runtime library for @fedify/vocab";
@@ -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.1.0-dev.523+150998a5";
5
+ var version = "2.1.0-dev.530+3f7f470a";
6
6
  var license = "MIT";
7
7
  var exports = { ".": "./src/mod.ts" };
8
8
  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-B-03buqT.cjs');
2
+ const require_request = require('./request-BNEQrWC4.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-CV_C4x27.js";
1
+ import { deno_default, getUserAgent } from "./request-Bkv8GSw3.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.1.0-dev.523+150998a5",
3
+ "version": "2.1.0-dev.530+3f7f470a",
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,