@fedify/relay 2.4.0-dev.1618 → 2.4.0-dev.1655
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/dist/litepub.test.js
CHANGED
|
@@ -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-
|
|
4
|
+
import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-C8wwiF3F.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";
|
package/dist/mastodon.test.js
CHANGED
|
@@ -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-
|
|
4
|
+
import { n as exportSpki, r as getDocumentLoader, t as isRelayFollowerData } from "./types-C8wwiF3F.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-
|
|
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-
|
|
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-
|
|
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-dev.
|
|
26133
|
+
var version = "2.4.0-dev.1655+b8f3c3d5";
|
|
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.
|
|
@@ -26640,8 +26646,8 @@ function validateCryptoKey(key, type) {
|
|
|
26640
26646
|
if (key.algorithm.hash.name !== "SHA-256") throw new TypeError("For compatibility with the existing Fediverse software (e.g., Mastodon), hash algorithm for RSASSA-PKCS1-v1_5 keys must be SHA-256.");
|
|
26641
26647
|
}
|
|
26642
26648
|
}
|
|
26643
|
-
const textDecoder = new TextDecoder();
|
|
26644
|
-
const decodeText = (bytes) => textDecoder.decode(bytes);
|
|
26649
|
+
const textDecoder$1 = new TextDecoder();
|
|
26650
|
+
const decodeText = (bytes) => textDecoder$1.decode(bytes);
|
|
26645
26651
|
const textEncoder = new TextEncoder();
|
|
26646
26652
|
const encodeText = (text) => textEncoder.encode(text);
|
|
26647
26653
|
/**
|
|
@@ -26894,6 +26900,8 @@ async function exportSpki(key) {
|
|
|
26894
26900
|
pem = (pem.match(/.{1,64}/g) || []).join("\n");
|
|
26895
26901
|
return `-----BEGIN PUBLIC KEY-----\n${pem}\n-----END PUBLIC KEY-----\n`;
|
|
26896
26902
|
}
|
|
26903
|
+
new TextDecoder();
|
|
26904
|
+
Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, "byteLength")?.get;
|
|
26897
26905
|
/**
|
|
26898
26906
|
* A language-tagged string which corresponds to the `rdf:langString` type.
|
|
26899
26907
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/relay",
|
|
3
|
-
"version": "2.4.0-dev.
|
|
3
|
+
"version": "2.4.0-dev.1655+b8f3c3d5",
|
|
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.
|
|
51
|
-
"@fedify/vocab": "2.4.0-dev.
|
|
50
|
+
"@fedify/fedify": "^2.4.0-dev.1655+b8f3c3d5",
|
|
51
|
+
"@fedify/vocab": "2.4.0-dev.1655+b8f3c3d5"
|
|
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.
|
|
57
|
+
"@fedify/vocab-runtime": "^2.4.0-dev.1655+b8f3c3d5"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build:self": "tsdown",
|