@fedify/relay 2.4.0-pr.934.40 → 2.4.0-pr.936.41

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 "temporal-polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-CZd4ApYv.js";
4
+ import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-B1cI0tFL.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 "temporal-polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-CZd4ApYv.js";
4
+ import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-B1cI0tFL.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";
package/dist/mod.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { Context, KvStore, MessageQueue } from "@fedify/fedify";
3
3
  import { Actor } from "@fedify/vocab";
4
- //#region ../vocab-runtime/dist/docloader-xRGn1azD.d.ts
4
+ //#region ../vocab-runtime/dist/docloader-C_dir7Xb.d.ts
5
5
  /**
6
6
  * Options for making `User-Agent` string.
7
7
  * @see {@link getUserAgent}
package/dist/mod.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { Context, KvStore, MessageQueue } from "@fedify/fedify";
3
3
  import { Actor } from "@fedify/vocab";
4
- //#region ../vocab-runtime/dist/docloader-xRGn1azD.d.ts
4
+ //#region ../vocab-runtime/dist/docloader-C_dir7Xb.d.ts
5
5
  /**
6
6
  * Options for making `User-Agent` string.
7
7
  * @see {@link getUserAgent}
@@ -30,7 +30,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
30
30
  }) : target, mod));
31
31
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
32
32
  //#endregion
33
- //#region ../vocab-runtime/dist/url-m1YxGNZ0.js
33
+ //#region ../vocab-runtime/dist/url-DGVbSVVi.js
34
34
  var UrlError = class extends Error {
35
35
  constructor(message) {
36
36
  super(message);
@@ -22230,10 +22230,6 @@ const preloadedContexts = {
22230
22230
  "id": "@id",
22231
22231
  "type": "@type",
22232
22232
  "@protected": true,
22233
- "digestMultibase": {
22234
- "@id": "https://w3id.org/security#digestMultibase",
22235
- "@type": "https://w3id.org/security#multibase"
22236
- },
22237
22233
  "proof": {
22238
22234
  "@id": "https://w3id.org/security#proof",
22239
22235
  "@type": "@id",
@@ -26070,6 +26066,14 @@ const preloadedContexts = {
26070
26066
  "@type": "@id"
26071
26067
  }
26072
26068
  } },
26069
+ "https://w3id.org/fep/ef61": { "@context": {
26070
+ "gateways": {
26071
+ "@id": "https://w3id.org/fep/ef61/gateways",
26072
+ "@type": "@id",
26073
+ "@container": "@list"
26074
+ },
26075
+ "digestMultibase": "https://www.w3.org/ns/credentials/v2#digestMultibase"
26076
+ } },
26073
26077
  "https://join-lemmy.org/context.json": { "@context": ["https://w3id.org/security/v1", {
26074
26078
  "as": "https://www.w3.org/ns/activitystreams#",
26075
26079
  "lemmy": "https://join-lemmy.org/ns#",
@@ -26126,7 +26130,7 @@ const preloadedContexts = {
26126
26130
  } }
26127
26131
  };
26128
26132
  var name = "@fedify/vocab-runtime";
26129
- var version = "2.4.0-pr.934.40+3331d302";
26133
+ var version = "2.4.0-pr.936.41+59c7432c";
26130
26134
  const parametersNeedLowerCase = ["rel", "type"];
26131
26135
  const regexpLinkWhitespace = /[\n\r\s\t]/;
26132
26136
  function validateURI(uri) {
@@ -26551,8 +26555,10 @@ async function getRemoteDocument(url, response, fetch) {
26551
26555
  * - <https://www.w3.org/ns/activitystreams>
26552
26556
  * - <https://w3id.org/security/v1>
26553
26557
  * - <https://w3id.org/security/data-integrity/v1>
26558
+ * - <https://w3id.org/security/data-integrity/v2>
26554
26559
  * - <https://www.w3.org/ns/did/v1>
26555
26560
  * - <https://w3id.org/security/multikey/v1>
26561
+ * - <https://w3id.org/fep/ef61>
26556
26562
  * - <https://purl.archive.org/socialweb/webfinger>
26557
26563
  * - <http://schema.org/>
26558
26564
  * @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.4.0-pr.934.40+3331d302",
3
+ "version": "2.4.0-pr.936.41+59c7432c",
4
4
  "description": "ActivityPub relay support for Fedify",
5
5
  "keywords": [
6
6
  "Fedify",
@@ -47,14 +47,14 @@
47
47
  "dependencies": {
48
48
  "@logtape/logtape": "^2.2.0",
49
49
  "temporal-polyfill": "^1.0.1",
50
- "@fedify/fedify": "^2.4.0-pr.934.40+3331d302",
51
- "@fedify/vocab": "2.4.0-pr.934.40+3331d302"
50
+ "@fedify/fedify": "^2.4.0-pr.936.41+59c7432c",
51
+ "@fedify/vocab": "2.4.0-pr.936.41+59c7432c"
52
52
  },
53
53
  "devDependencies": {
54
54
  "tsdown": "^0.22.0",
55
55
  "typescript": "^6.0.0",
56
56
  "urlpattern-polyfill": "^10.1.0",
57
- "@fedify/vocab-runtime": "^2.4.0-pr.934.40+3331d302"
57
+ "@fedify/vocab-runtime": "^2.4.0-pr.936.41+59c7432c"
58
58
  },
59
59
  "scripts": {
60
60
  "build:self": "tsdown",