@fedify/relay 2.3.5-dev.1755 → 2.3.6

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.
@@ -1,7 +1,7 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-6OFchuFa.js";
4
+ import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-BYB5Khbg.js";
5
5
  import { MemoryKvStore, signRequest } from "@fedify/fedify";
6
6
  import { createRelay } from "@fedify/relay";
7
7
  import { Accept, Announce, Create, Delete, Follow, Move, Note, Person, Undo, Update } from "@fedify/vocab";
@@ -1,7 +1,7 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-6OFchuFa.js";
4
+ import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-BYB5Khbg.js";
5
5
  import { MemoryKvStore, signRequest } from "@fedify/fedify";
6
6
  import { createRelay } from "@fedify/relay";
7
7
  import { Create, Delete, Follow, Move, Note, Person, Undo, Update } from "@fedify/vocab";
@@ -25597,6 +25597,125 @@ const preloadedContexts = {
25597
25597
  "@type": "@id"
25598
25598
  }
25599
25599
  } },
25600
+ "https://www.w3.org/ns/cid/v1": { "@context": {
25601
+ "@protected": true,
25602
+ "id": "@id",
25603
+ "type": "@type",
25604
+ "alsoKnownAs": {
25605
+ "@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
25606
+ "@type": "@id"
25607
+ },
25608
+ "assertionMethod": {
25609
+ "@id": "https://w3id.org/security#assertionMethod",
25610
+ "@type": "@id",
25611
+ "@container": "@set"
25612
+ },
25613
+ "authentication": {
25614
+ "@id": "https://w3id.org/security#authenticationMethod",
25615
+ "@type": "@id",
25616
+ "@container": "@set"
25617
+ },
25618
+ "capabilityDelegation": {
25619
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
25620
+ "@type": "@id",
25621
+ "@container": "@set"
25622
+ },
25623
+ "capabilityInvocation": {
25624
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
25625
+ "@type": "@id",
25626
+ "@container": "@set"
25627
+ },
25628
+ "controller": {
25629
+ "@id": "https://w3id.org/security#controller",
25630
+ "@type": "@id"
25631
+ },
25632
+ "keyAgreement": {
25633
+ "@id": "https://w3id.org/security#keyAgreementMethod",
25634
+ "@type": "@id",
25635
+ "@container": "@set"
25636
+ },
25637
+ "service": {
25638
+ "@id": "https://www.w3.org/ns/did#service",
25639
+ "@type": "@id",
25640
+ "@context": {
25641
+ "@protected": true,
25642
+ "id": "@id",
25643
+ "type": "@type",
25644
+ "serviceEndpoint": {
25645
+ "@id": "https://www.w3.org/ns/did#serviceEndpoint",
25646
+ "@type": "@id"
25647
+ }
25648
+ }
25649
+ },
25650
+ "verificationMethod": {
25651
+ "@id": "https://w3id.org/security#verificationMethod",
25652
+ "@type": "@id"
25653
+ },
25654
+ "Multikey": {
25655
+ "@id": "https://w3id.org/security#Multikey",
25656
+ "@context": {
25657
+ "@protected": true,
25658
+ "id": "@id",
25659
+ "type": "@type",
25660
+ "controller": {
25661
+ "@id": "https://w3id.org/security#controller",
25662
+ "@type": "@id"
25663
+ },
25664
+ "revoked": {
25665
+ "@id": "https://w3id.org/security#revoked",
25666
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
25667
+ },
25668
+ "expires": {
25669
+ "@id": "https://w3id.org/security#expiration",
25670
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
25671
+ },
25672
+ "publicKeyMultibase": {
25673
+ "@id": "https://w3id.org/security#publicKeyMultibase",
25674
+ "@type": "https://w3id.org/security#multibase"
25675
+ },
25676
+ "secretKeyMultibase": {
25677
+ "@id": "https://w3id.org/security#secretKeyMultibase",
25678
+ "@type": "https://w3id.org/security#multibase"
25679
+ }
25680
+ }
25681
+ },
25682
+ "JsonWebKey": {
25683
+ "@id": "https://w3id.org/security#JsonWebKey",
25684
+ "@context": {
25685
+ "@protected": true,
25686
+ "id": "@id",
25687
+ "type": "@type",
25688
+ "controller": {
25689
+ "@id": "https://w3id.org/security#controller",
25690
+ "@type": "@id"
25691
+ },
25692
+ "revoked": {
25693
+ "@id": "https://w3id.org/security#revoked",
25694
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
25695
+ },
25696
+ "expires": {
25697
+ "@id": "https://w3id.org/security#expiration",
25698
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
25699
+ },
25700
+ "publicKeyJwk": {
25701
+ "@id": "https://w3id.org/security#publicKeyJwk",
25702
+ "@type": "@json"
25703
+ },
25704
+ "secretKeyJwk": {
25705
+ "@id": "https://w3id.org/security#secretKeyJwk",
25706
+ "@type": "@json"
25707
+ }
25708
+ }
25709
+ }
25710
+ } },
25711
+ "https://w3id.org/fep/ef61": { "@context": {
25712
+ "gateways": {
25713
+ "@id": "https://w3id.org/fep/ef61/gateways",
25714
+ "@type": "@id",
25715
+ "@container": "@list"
25716
+ },
25717
+ "digestMultibase": "https://www.w3.org/ns/credentials/v2#digestMultibase"
25718
+ } },
25600
25719
  "https://join-lemmy.org/context.json": { "@context": ["https://w3id.org/security/v1", {
25601
25720
  "as": "https://www.w3.org/ns/activitystreams#",
25602
25721
  "lemmy": "https://join-lemmy.org/ns#",
@@ -25655,22 +25774,16 @@ const preloadedContexts = {
25655
25774
  "as": "https://www.w3.org/ns/activitystreams#",
25656
25775
  "xsd": "http://www.w3.org/2001/XMLSchema#",
25657
25776
  "Hashtag": "as:Hashtag",
25658
- "manuallyApprovesFollowers": {
25659
- "@id": "as:manuallyApprovesFollowers",
25660
- "@type": "xsd:boolean"
25661
- },
25777
+ "manuallyApprovesFollowers": { "@id": "as:manuallyApprovesFollowers" },
25662
25778
  "movedTo": {
25663
25779
  "@id": "as:movedTo",
25664
25780
  "@type": "@id"
25665
25781
  },
25666
- "sensitive": {
25667
- "@id": "as:sensitive",
25668
- "@type": "xsd:boolean"
25669
- }
25782
+ "sensitive": { "@id": "as:sensitive" }
25670
25783
  } }
25671
25784
  };
25672
25785
  var name = "@fedify/vocab-runtime";
25673
- var version = "2.3.5-dev.1755+9b03b9cc";
25786
+ var version = "2.3.6";
25674
25787
  const parametersNeedLowerCase = ["rel", "type"];
25675
25788
  const regexpLinkWhitespace = /[\n\r\s\t]/;
25676
25789
  function validateURI(uri) {
@@ -26229,7 +26342,9 @@ async function getRemoteDocument(url, response, fetch) {
26229
26342
  * - <https://w3id.org/security/v1>
26230
26343
  * - <https://w3id.org/security/data-integrity/v1>
26231
26344
  * - <https://www.w3.org/ns/did/v1>
26345
+ * - <https://www.w3.org/ns/cid/v1>
26232
26346
  * - <https://w3id.org/security/multikey/v1>
26347
+ * - <https://w3id.org/fep/ef61>
26233
26348
  * - <https://purl.archive.org/socialweb/webfinger>
26234
26349
  * - <http://schema.org/>
26235
26350
  * @param options Options for the document loader.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/relay",
3
- "version": "2.3.5-dev.1755+9b03b9cc",
3
+ "version": "2.3.6",
4
4
  "description": "ActivityPub relay support for Fedify",
5
5
  "keywords": [
6
6
  "Fedify",
@@ -50,14 +50,14 @@
50
50
  "dependencies": {
51
51
  "@js-temporal/polyfill": "^0.5.1",
52
52
  "@logtape/logtape": "^2.2.0",
53
- "@fedify/vocab": "2.3.5-dev.1755+9b03b9cc",
54
- "@fedify/fedify": "^2.3.5-dev.1755+9b03b9cc"
53
+ "@fedify/fedify": "^2.3.6",
54
+ "@fedify/vocab": "2.3.6"
55
55
  },
56
56
  "devDependencies": {
57
57
  "tsdown": "^0.22.0",
58
58
  "typescript": "^6.0.0",
59
59
  "urlpattern-polyfill": "^10.1.0",
60
- "@fedify/vocab-runtime": "^2.3.5-dev.1755+9b03b9cc"
60
+ "@fedify/vocab-runtime": "^2.3.6"
61
61
  },
62
62
  "scripts": {
63
63
  "build:self": "tsdown",