@fedify/relay 2.2.11-dev.1874 → 2.2.11

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-Bve42860.js";
4
+ import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-PS54uoNv.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-Bve42860.js";
4
+ import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-PS54uoNv.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";
@@ -21615,6 +21615,117 @@ var activitystreams_default = { "@context": {
21615
21615
  "@type": "@id"
21616
21616
  }
21617
21617
  } };
21618
+ var cid_v1_default = { "@context": {
21619
+ "@protected": true,
21620
+ "id": "@id",
21621
+ "type": "@type",
21622
+ "alsoKnownAs": {
21623
+ "@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
21624
+ "@type": "@id"
21625
+ },
21626
+ "assertionMethod": {
21627
+ "@id": "https://w3id.org/security#assertionMethod",
21628
+ "@type": "@id",
21629
+ "@container": "@set"
21630
+ },
21631
+ "authentication": {
21632
+ "@id": "https://w3id.org/security#authenticationMethod",
21633
+ "@type": "@id",
21634
+ "@container": "@set"
21635
+ },
21636
+ "capabilityDelegation": {
21637
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
21638
+ "@type": "@id",
21639
+ "@container": "@set"
21640
+ },
21641
+ "capabilityInvocation": {
21642
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
21643
+ "@type": "@id",
21644
+ "@container": "@set"
21645
+ },
21646
+ "controller": {
21647
+ "@id": "https://w3id.org/security#controller",
21648
+ "@type": "@id"
21649
+ },
21650
+ "keyAgreement": {
21651
+ "@id": "https://w3id.org/security#keyAgreementMethod",
21652
+ "@type": "@id",
21653
+ "@container": "@set"
21654
+ },
21655
+ "service": {
21656
+ "@id": "https://www.w3.org/ns/did#service",
21657
+ "@type": "@id",
21658
+ "@context": {
21659
+ "@protected": true,
21660
+ "id": "@id",
21661
+ "type": "@type",
21662
+ "serviceEndpoint": {
21663
+ "@id": "https://www.w3.org/ns/did#serviceEndpoint",
21664
+ "@type": "@id"
21665
+ }
21666
+ }
21667
+ },
21668
+ "verificationMethod": {
21669
+ "@id": "https://w3id.org/security#verificationMethod",
21670
+ "@type": "@id"
21671
+ },
21672
+ "Multikey": {
21673
+ "@id": "https://w3id.org/security#Multikey",
21674
+ "@context": {
21675
+ "@protected": true,
21676
+ "id": "@id",
21677
+ "type": "@type",
21678
+ "controller": {
21679
+ "@id": "https://w3id.org/security#controller",
21680
+ "@type": "@id"
21681
+ },
21682
+ "revoked": {
21683
+ "@id": "https://w3id.org/security#revoked",
21684
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
21685
+ },
21686
+ "expires": {
21687
+ "@id": "https://w3id.org/security#expiration",
21688
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
21689
+ },
21690
+ "publicKeyMultibase": {
21691
+ "@id": "https://w3id.org/security#publicKeyMultibase",
21692
+ "@type": "https://w3id.org/security#multibase"
21693
+ },
21694
+ "secretKeyMultibase": {
21695
+ "@id": "https://w3id.org/security#secretKeyMultibase",
21696
+ "@type": "https://w3id.org/security#multibase"
21697
+ }
21698
+ }
21699
+ },
21700
+ "JsonWebKey": {
21701
+ "@id": "https://w3id.org/security#JsonWebKey",
21702
+ "@context": {
21703
+ "@protected": true,
21704
+ "id": "@id",
21705
+ "type": "@type",
21706
+ "controller": {
21707
+ "@id": "https://w3id.org/security#controller",
21708
+ "@type": "@id"
21709
+ },
21710
+ "revoked": {
21711
+ "@id": "https://w3id.org/security#revoked",
21712
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
21713
+ },
21714
+ "expires": {
21715
+ "@id": "https://w3id.org/security#expiration",
21716
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
21717
+ },
21718
+ "publicKeyJwk": {
21719
+ "@id": "https://w3id.org/security#publicKeyJwk",
21720
+ "@type": "@json"
21721
+ },
21722
+ "secretKeyJwk": {
21723
+ "@id": "https://w3id.org/security#secretKeyJwk",
21724
+ "@type": "@json"
21725
+ }
21726
+ }
21727
+ }
21728
+ } };
21618
21729
  var did_v1_default = { "@context": {
21619
21730
  "@protected": true,
21620
21731
  "id": "@id",
@@ -25594,13 +25705,14 @@ const preloadedContexts = {
25594
25705
  "http://schema.org/": schemaorg_default,
25595
25706
  "https://gotosocial.org/ns": gotosocial_default,
25596
25707
  "https://w3id.org/fep/5711": fep_5711_default,
25708
+ "https://www.w3.org/ns/cid/v1": cid_v1_default,
25597
25709
  "https://w3id.org/fep/ef61": fep_ef61_default,
25598
25710
  "https://join-lemmy.org/context.json": join_lemmy_default,
25599
25711
  "http://joinmastodon.org/ns": joinmastodon_default,
25600
25712
  "https://purl.archive.org/miscellany": miscellany_default
25601
25713
  };
25602
25714
  var name = "@fedify/vocab-runtime";
25603
- var version = "2.2.11-dev.1874+78ccbbc6";
25715
+ var version = "2.2.11";
25604
25716
  const parametersNeedLowerCase = ["rel", "type"];
25605
25717
  const regexpLinkWhitespace = /[\n\r\s\t]/;
25606
25718
  function validateURI(uri) {
@@ -26159,6 +26271,7 @@ async function getRemoteDocument(url, response, fetch) {
26159
26271
  * - <https://w3id.org/security/v1>
26160
26272
  * - <https://w3id.org/security/data-integrity/v1>
26161
26273
  * - <https://www.w3.org/ns/did/v1>
26274
+ * - <https://www.w3.org/ns/cid/v1>
26162
26275
  * - <https://w3id.org/security/multikey/v1>
26163
26276
  * - <https://w3id.org/fep/ef61>
26164
26277
  * - <https://purl.archive.org/socialweb/webfinger>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/relay",
3
- "version": "2.2.11-dev.1874+78ccbbc6",
3
+ "version": "2.2.11",
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.0.5",
53
- "@fedify/fedify": "^2.2.11-dev.1874+78ccbbc6",
54
- "@fedify/vocab": "2.2.11-dev.1874+78ccbbc6"
53
+ "@fedify/fedify": "^2.2.11",
54
+ "@fedify/vocab": "2.2.11"
55
55
  },
56
56
  "devDependencies": {
57
57
  "tsdown": "^0.21.6",
58
58
  "typescript": "^6.0.0",
59
59
  "urlpattern-polyfill": "^10.1.0",
60
- "@fedify/vocab-runtime": "^2.2.11-dev.1874+78ccbbc6"
60
+ "@fedify/vocab-runtime": "^2.2.11"
61
61
  },
62
62
  "scripts": {
63
63
  "build:self": "tsdown",