@fedify/relay 2.4.0-dev.1634 → 2.4.0-pr.934.40

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-Dqq3BAOv.js";
4
+ import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-CZd4ApYv.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-Dqq3BAOv.js";
4
+ import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-CZd4ApYv.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-C_dir7Xb.d.ts
4
+ //#region ../vocab-runtime/dist/docloader-xRGn1azD.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-C_dir7Xb.d.ts
4
+ //#region ../vocab-runtime/dist/docloader-xRGn1azD.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-DGVbSVVi.js
33
+ //#region ../vocab-runtime/dist/url-m1YxGNZ0.js
34
34
  var UrlError = class extends Error {
35
35
  constructor(message) {
36
36
  super(message);
@@ -22230,6 +22230,10 @@ 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
+ },
22233
22237
  "proof": {
22234
22238
  "@id": "https://w3id.org/security#proof",
22235
22239
  "@type": "@id",
@@ -26066,14 +26070,6 @@ const preloadedContexts = {
26066
26070
  "@type": "@id"
26067
26071
  }
26068
26072
  } },
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
- } },
26077
26073
  "https://join-lemmy.org/context.json": { "@context": ["https://w3id.org/security/v1", {
26078
26074
  "as": "https://www.w3.org/ns/activitystreams#",
26079
26075
  "lemmy": "https://join-lemmy.org/ns#",
@@ -26130,7 +26126,7 @@ const preloadedContexts = {
26130
26126
  } }
26131
26127
  };
26132
26128
  var name = "@fedify/vocab-runtime";
26133
- var version = "2.4.0-dev.1634+3b4bfbb6";
26129
+ var version = "2.4.0-pr.934.40+3331d302";
26134
26130
  const parametersNeedLowerCase = ["rel", "type"];
26135
26131
  const regexpLinkWhitespace = /[\n\r\s\t]/;
26136
26132
  function validateURI(uri) {
@@ -26555,10 +26551,8 @@ async function getRemoteDocument(url, response, fetch) {
26555
26551
  * - <https://www.w3.org/ns/activitystreams>
26556
26552
  * - <https://w3id.org/security/v1>
26557
26553
  * - <https://w3id.org/security/data-integrity/v1>
26558
- * - <https://w3id.org/security/data-integrity/v2>
26559
26554
  * - <https://www.w3.org/ns/did/v1>
26560
26555
  * - <https://w3id.org/security/multikey/v1>
26561
- * - <https://w3id.org/fep/ef61>
26562
26556
  * - <https://purl.archive.org/socialweb/webfinger>
26563
26557
  * - <http://schema.org/>
26564
26558
  * @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-dev.1634+3b4bfbb6",
3
+ "version": "2.4.0-pr.934.40+3331d302",
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-dev.1634+3b4bfbb6",
51
- "@fedify/vocab": "2.4.0-dev.1634+3b4bfbb6"
50
+ "@fedify/fedify": "^2.4.0-pr.934.40+3331d302",
51
+ "@fedify/vocab": "2.4.0-pr.934.40+3331d302"
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-dev.1634+3b4bfbb6"
57
+ "@fedify/vocab-runtime": "^2.4.0-pr.934.40+3331d302"
58
58
  },
59
59
  "scripts": {
60
60
  "build:self": "tsdown",