@fedify/relay 2.5.0-dev.2562 → 2.5.0-dev.2597
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-Bw0OYc8m.js";
|
|
5
5
|
import { MemoryKvStore, signRequest } from "@fedify/fedify";
|
|
6
6
|
import { createRelay } from "@fedify/relay";
|
|
7
7
|
import { deepStrictEqual, ok, strictEqual } from "node:assert";
|
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-Bw0OYc8m.js";
|
|
5
5
|
import { MemoryKvStore, signJsonLd, signRequest } from "@fedify/fedify";
|
|
6
6
|
import { createRelay } from "@fedify/relay";
|
|
7
7
|
import { deepStrictEqual, ok, strictEqual } from "node:assert";
|
|
@@ -26618,7 +26618,7 @@ var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
26618
26618
|
require_build();
|
|
26619
26619
|
var import_src = /* @__PURE__ */ __toESM(require_src(), 1);
|
|
26620
26620
|
var name = "@fedify/vocab-runtime";
|
|
26621
|
-
var version = "2.5.0-dev.
|
|
26621
|
+
var version = "2.5.0-dev.2597+7bed9e2b";
|
|
26622
26622
|
/**
|
|
26623
26623
|
* Error thrown when fetching a JSON-LD document failed.
|
|
26624
26624
|
*/
|
|
@@ -26675,7 +26675,8 @@ function createActivityPubRequest(url, options = {}) {
|
|
|
26675
26675
|
*/
|
|
26676
26676
|
function getUserAgent({ software, url } = {}) {
|
|
26677
26677
|
const fedify = `Fedify/${version}`;
|
|
26678
|
-
const
|
|
26678
|
+
const deno = globalThis.Deno;
|
|
26679
|
+
const runtime = deno?.version?.deno != null ? `Deno/${deno.version.deno}` : globalThis.process?.versions?.bun != null ? `Bun/${process$1.versions.bun}` : "navigator" in globalThis && navigator.userAgent === "Cloudflare-Workers" ? navigator.userAgent : globalThis.process?.versions?.node != null ? `Node.js/${process$1.versions.node}` : null;
|
|
26679
26680
|
const userAgent = software == null ? [fedify] : [software, fedify];
|
|
26680
26681
|
if (runtime != null) userAgent.push(runtime);
|
|
26681
26682
|
if (url != null) userAgent.push(`+${url.toString()}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/relay",
|
|
3
|
-
"version": "2.5.0-dev.
|
|
3
|
+
"version": "2.5.0-dev.2597+7bed9e2b",
|
|
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.5.0-dev.
|
|
51
|
-
"@fedify/vocab": "2.5.0-dev.
|
|
50
|
+
"@fedify/fedify": "^2.5.0-dev.2597+7bed9e2b",
|
|
51
|
+
"@fedify/vocab": "2.5.0-dev.2597+7bed9e2b"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"tsdown": "^0.22.0",
|
|
55
|
-
"typescript": "^6.0.
|
|
55
|
+
"typescript": "^6.0.3",
|
|
56
56
|
"urlpattern-polyfill": "^10.1.0",
|
|
57
|
-
"@fedify/vocab-runtime": "^2.5.0-dev.
|
|
57
|
+
"@fedify/vocab-runtime": "^2.5.0-dev.2597+7bed9e2b"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build:self": "tsdown",
|