@fedify/relay 2.4.0-dev.1655 → 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.
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-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";
|
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-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";
|
|
@@ -26130,7 +26130,7 @@ const preloadedContexts = {
|
|
|
26130
26130
|
} }
|
|
26131
26131
|
};
|
|
26132
26132
|
var name = "@fedify/vocab-runtime";
|
|
26133
|
-
var version = "2.4.0-
|
|
26133
|
+
var version = "2.4.0-pr.936.41+59c7432c";
|
|
26134
26134
|
const parametersNeedLowerCase = ["rel", "type"];
|
|
26135
26135
|
const regexpLinkWhitespace = /[\n\r\s\t]/;
|
|
26136
26136
|
function validateURI(uri) {
|
|
@@ -26646,8 +26646,8 @@ function validateCryptoKey(key, type) {
|
|
|
26646
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.");
|
|
26647
26647
|
}
|
|
26648
26648
|
}
|
|
26649
|
-
const textDecoder
|
|
26650
|
-
const decodeText = (bytes) => textDecoder
|
|
26649
|
+
const textDecoder = new TextDecoder();
|
|
26650
|
+
const decodeText = (bytes) => textDecoder.decode(bytes);
|
|
26651
26651
|
const textEncoder = new TextEncoder();
|
|
26652
26652
|
const encodeText = (text) => textEncoder.encode(text);
|
|
26653
26653
|
/**
|
|
@@ -26900,8 +26900,6 @@ async function exportSpki(key) {
|
|
|
26900
26900
|
pem = (pem.match(/.{1,64}/g) || []).join("\n");
|
|
26901
26901
|
return `-----BEGIN PUBLIC KEY-----\n${pem}\n-----END PUBLIC KEY-----\n`;
|
|
26902
26902
|
}
|
|
26903
|
-
new TextDecoder();
|
|
26904
|
-
Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, "byteLength")?.get;
|
|
26905
26903
|
/**
|
|
26906
26904
|
* A language-tagged string which corresponds to the `rdf:langString` type.
|
|
26907
26905
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/relay",
|
|
3
|
-
"version": "2.4.0-
|
|
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-
|
|
51
|
-
"@fedify/vocab": "2.4.0-
|
|
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-
|
|
57
|
+
"@fedify/vocab-runtime": "^2.4.0-pr.936.41+59c7432c"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build:self": "tsdown",
|