@fedify/fedify 1.9.8 → 1.9.9
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/{actor-DxfJk4lY.cjs → actor-DILKT_HU.cjs} +187 -187
- package/dist/{actor-DGa1EWaV.mjs → actor-DVET8NhO.mjs} +1 -1
- package/dist/{actor-BTA45fXF.js → actor-MDInzRdc.js} +187 -187
- package/dist/{authdocloader-BC2rYCy1.mjs → authdocloader-DLvikTbR.mjs} +3 -3
- package/dist/{authdocloader-CqtNsX_N.js → authdocloader-DRG9qnz7.js} +3 -3
- package/dist/{authdocloader-BrhFB421.cjs → authdocloader-hwjRHw8X.cjs} +3 -3
- package/dist/{builder-CIkAhIGC.mjs → builder-DfInnU0K.mjs} +4 -4
- package/dist/{client-MXqit6c-.mjs → client-DuRbuCIQ.mjs} +1 -1
- package/dist/compat/mod.cjs +1 -1
- package/dist/compat/mod.d.cts +1 -1
- package/dist/compat/mod.d.ts +1 -1
- package/dist/compat/transformers.test.mjs +3 -3
- package/dist/{context-K4cCphQj.d.ts → context-Cf8s07xm.d.ts} +4 -1
- package/dist/{context-CACMqDzl.d.cts → context-Crmwowsw.d.cts} +4 -1
- package/dist/{docloader-BVuUhBLI.cjs → docloader-BZfjD0Xt.cjs} +1 -1
- package/dist/{docloader-BoXhusJ1.js → docloader-ivt5xNwJ.js} +1 -1
- package/dist/{esm-BHJ7sdNg.mjs → esm-D0urVWqo.mjs} +1 -1
- package/dist/federation/builder.test.mjs +3 -3
- package/dist/federation/collection.test.mjs +1 -1
- package/dist/federation/handler.test.mjs +6 -6
- package/dist/federation/idempotency.test.mjs +5 -5
- package/dist/federation/inbox.test.mjs +3 -3
- package/dist/federation/keycache.test.mjs +3 -3
- package/dist/federation/kv.test.mjs +1 -1
- package/dist/federation/middleware.test.mjs +39 -33
- package/dist/federation/mod.cjs +2 -2
- package/dist/federation/mod.d.cts +1 -1
- package/dist/federation/mod.d.ts +1 -1
- package/dist/federation/mod.js +1 -1
- package/dist/federation/mq.test.mjs +1 -1
- package/dist/federation/retry.test.mjs +1 -1
- package/dist/federation/router.test.mjs +2 -2
- package/dist/federation/send.test.mjs +7 -7
- package/dist/{http-DKw-O_VY.cjs → http-8jvVkJos.cjs} +3 -3
- package/dist/{http-Bu5ZNlhZ.mjs → http-CsSHezSz.mjs} +2 -2
- package/dist/{http-VJbz6sKD.js → http-Dbj7ZT3b.js} +3 -3
- package/dist/{inbox-DkbTULXE.mjs → inbox-D7U8Ysvc.mjs} +1 -1
- package/dist/{key-BNMK_IVr.mjs → key-Bbuzt358.mjs} +2 -2
- package/dist/{key-4fu6v0Jf.mjs → key-Bg3Rr_bi.mjs} +1 -1
- package/dist/{key-CancShOo.cjs → key-Bl8yte5W.cjs} +1 -1
- package/dist/{key-DK3o0FEH.js → key-C2e_Yz1s.js} +2 -2
- package/dist/{key-B-wFdaPB.cjs → key-CUorXS6k.cjs} +2 -2
- package/dist/{keycache-D-Vj8z88.mjs → keycache-Dpm1JlAw.mjs} +1 -1
- package/dist/{keys-B27nVeIs.mjs → keys-CZlvPl27.mjs} +1 -1
- package/dist/{ld-6jAVu3jV.mjs → ld-iU-MUtGB.mjs} +2 -2
- package/dist/{lookup-BaU75j-d.js → lookup-BOFQeNi_.js} +1 -1
- package/dist/{lookup-BiIPmTwB.cjs → lookup-BnvWOvmD.cjs} +1 -1
- package/dist/{lookup-DmeJ8WUw.mjs → lookup-DhIULso8.mjs} +1 -1
- package/dist/{middleware-Db1yZQaT.mjs → middleware-BBjNkISH.mjs} +52 -27
- package/dist/{middleware-C188G4Go.cjs → middleware-BD8iV5GL.cjs} +48 -23
- package/dist/{middleware-Do06X21v.js → middleware-D0zludVl.js} +46 -21
- package/dist/{middleware-DrfZEjyc.mjs → middleware-DauQ1R8p.mjs} +1 -1
- package/dist/{middleware-9ByEpBvV.cjs → middleware-TO6qMFz0.cjs} +1 -1
- package/dist/mod.cjs +10 -10
- package/dist/mod.d.cts +1 -1
- package/dist/mod.d.ts +1 -1
- package/dist/mod.js +9 -9
- package/dist/nodeinfo/client.test.mjs +3 -3
- package/dist/nodeinfo/handler.test.mjs +2 -2
- package/dist/nodeinfo/mod.cjs +1 -1
- package/dist/nodeinfo/mod.js +1 -1
- package/dist/nodeinfo/semver.test.mjs +1 -1
- package/dist/nodeinfo/types.test.mjs +1 -1
- package/dist/{owner-CKuGt_T9.mjs → owner-CAvCysNj.mjs} +3 -3
- package/dist/{proof-DLOy7HYU.cjs → proof-2V3jxAdE.cjs} +3 -3
- package/dist/{proof-CmTtG_t-.js → proof-C99DO0SE.js} +3 -3
- package/dist/{proof-mJLL2gSA.mjs → proof-DkUAJViu.mjs} +2 -2
- package/dist/runtime/authdocloader.test.mjs +6 -6
- package/dist/runtime/docloader.test.mjs +3 -3
- package/dist/runtime/key.test.mjs +3 -3
- package/dist/runtime/langstr.test.mjs +2 -2
- package/dist/runtime/link.test.mjs +2 -2
- package/dist/runtime/mod.cjs +3 -3
- package/dist/runtime/mod.js +3 -3
- package/dist/runtime/multibase/multibase.test.mjs +2 -2
- package/dist/runtime/url.test.mjs +2 -2
- package/dist/{send-BsQbGuw4.mjs → send-BxjL4pnG.mjs} +2 -2
- package/dist/sig/http.test.mjs +6 -6
- package/dist/sig/key.test.mjs +4 -4
- package/dist/sig/ld.test.mjs +5 -5
- package/dist/sig/mod.cjs +3 -3
- package/dist/sig/mod.js +3 -3
- package/dist/sig/owner.test.mjs +5 -5
- package/dist/sig/proof.test.mjs +4 -4
- package/dist/testing/docloader.test.mjs +1 -1
- package/dist/testing/mod.d.mts +4 -1
- package/dist/testing/mod.mjs +1 -1
- package/dist/{testing-DS3gcq8V.mjs → testing-eYbMkj5P.mjs} +2 -2
- package/dist/{transformers-BM0M8hnW.cjs → transformers-DW7EyHh4.cjs} +1 -1
- package/dist/{types-DpM4FhjW.cjs → types-B0U2QC2Q.cjs} +1 -1
- package/dist/{types-BXfL-dsX.js → types-dHLDn_7H.js} +1 -1
- package/dist/vocab/actor.test.mjs +4 -4
- package/dist/vocab/cjs.test.mjs +1 -1
- package/dist/vocab/lookup.test.mjs +4 -4
- package/dist/vocab/mod.cjs +3 -3
- package/dist/vocab/mod.js +3 -3
- package/dist/vocab/type.test.mjs +2 -2
- package/dist/vocab/vocab.test.mjs +3 -3
- package/dist/{vocab-DuW9rL1h.mjs → vocab-CG-IqKPs.mjs} +186 -186
- package/dist/webfinger/handler.test.mjs +3 -3
- package/dist/webfinger/lookup.test.mjs +3 -3
- package/dist/webfinger/mod.cjs +1 -1
- package/dist/webfinger/mod.js +1 -1
- package/dist/x/cfworkers.cjs +1 -1
- package/dist/x/cfworkers.test.mjs +1 -1
- package/dist/x/hono.cjs +1 -1
- package/dist/x/hono.d.cts +1 -1
- package/dist/x/hono.d.ts +1 -1
- package/dist/x/sveltekit.cjs +1 -1
- package/dist/x/sveltekit.d.cts +1 -1
- package/dist/x/sveltekit.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { i as createRequestContext, t as test } from "../testing-
|
|
4
|
+
import { i as createRequestContext, t as test } from "../testing-eYbMkj5P.mjs";
|
|
5
5
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
6
6
|
import "../std__assert-2v7gYiZp.mjs";
|
|
7
7
|
import { t as MemoryKvStore } from "../kv-DM1zFCtL.mjs";
|
|
8
|
-
import { a as createFederation, g as handleNodeInfoJrd, h as handleNodeInfo } from "../middleware-
|
|
8
|
+
import { a as createFederation, g as handleNodeInfoJrd, h as handleNodeInfo } from "../middleware-BBjNkISH.mjs";
|
|
9
9
|
import { n as parseSemVer } from "../semver-CgD82xxg.mjs";
|
|
10
10
|
//#region src/nodeinfo/handler.test.ts
|
|
11
11
|
test("handleNodeInfo()", async () => {
|
package/dist/nodeinfo/mod.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
2
2
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const require_types = require("../types-
|
|
4
|
+
const require_types = require("../types-B0U2QC2Q.cjs");
|
|
5
5
|
exports.formatSemVer = require_types.formatSemVer;
|
|
6
6
|
exports.getNodeInfo = require_types.getNodeInfo;
|
|
7
7
|
exports.nodeInfoToJson = require_types.nodeInfoToJson;
|
package/dist/nodeinfo/mod.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
|
-
import { a as parseSemVer, i as formatSemVer, n as getNodeInfo, r as parseNodeInfo, t as nodeInfoToJson } from "../types-
|
|
3
|
+
import { a as parseSemVer, i as formatSemVer, n as getNodeInfo, r as parseNodeInfo, t as nodeInfoToJson } from "../types-dHLDn_7H.js";
|
|
4
4
|
export { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { t as test } from "../testing-
|
|
4
|
+
import { t as test } from "../testing-eYbMkj5P.mjs";
|
|
5
5
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
6
6
|
import "../std__assert-2v7gYiZp.mjs";
|
|
7
7
|
import { t as assertThrows } from "../assert_throws-BIL7gChy.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { t as test } from "../testing-
|
|
4
|
+
import { t as test } from "../testing-eYbMkj5P.mjs";
|
|
5
5
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
6
6
|
import "../std__assert-2v7gYiZp.mjs";
|
|
7
7
|
import { t as assertThrows } from "../assert_throws-BIL7gChy.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { J as getDocumentLoader, s as CryptographicKey, v as Object$1 } from "./vocab-
|
|
5
|
-
import { i as isActor } from "./actor-
|
|
6
|
-
import "./key-
|
|
4
|
+
import { J as getDocumentLoader, s as CryptographicKey, v as Object$1 } from "./vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { i as isActor } from "./actor-DVET8NhO.mjs";
|
|
6
|
+
import "./key-Bbuzt358.mjs";
|
|
7
7
|
import { trace } from "@opentelemetry/api";
|
|
8
8
|
//#region src/sig/owner.ts
|
|
9
9
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
2
2
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
3
|
-
const require_docloader = require("./docloader-
|
|
4
|
-
const require_actor = require("./actor-
|
|
5
|
-
const require_key = require("./key-
|
|
3
|
+
const require_docloader = require("./docloader-BZfjD0Xt.cjs");
|
|
4
|
+
const require_actor = require("./actor-DILKT_HU.cjs");
|
|
5
|
+
const require_key = require("./key-CUorXS6k.cjs");
|
|
6
6
|
let _logtape_logtape = require("@logtape/logtape");
|
|
7
7
|
let _opentelemetry_api = require("@opentelemetry/api");
|
|
8
8
|
let jsonld = require("jsonld");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
|
-
import { d as name, f as version, i as getDocumentLoader } from "./docloader-
|
|
4
|
-
import { G as Multikey, Tt as getTypeId, b as DataIntegrityProof, i as isActor, q as Object$1, s as Activity, y as CryptographicKey } from "./actor-
|
|
5
|
-
import { n as fetchKey, o as validateCryptoKey } from "./key-
|
|
3
|
+
import { d as name, f as version, i as getDocumentLoader } from "./docloader-ivt5xNwJ.js";
|
|
4
|
+
import { G as Multikey, Tt as getTypeId, b as DataIntegrityProof, i as isActor, q as Object$1, s as Activity, y as CryptographicKey } from "./actor-MDInzRdc.js";
|
|
5
|
+
import { n as fetchKey, o as validateCryptoKey } from "./key-C2e_Yz1s.js";
|
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
|
7
7
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
8
8
|
import jsonld from "jsonld";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { U as getTypeId, c as DataIntegrityProof, g as Multikey, ot as name, st as version, t as Activity } from "./vocab-
|
|
5
|
-
import { a as validateCryptoKey, n as fetchKey } from "./key-
|
|
4
|
+
import { U as getTypeId, c as DataIntegrityProof, g as Multikey, ot as name, st as version, t as Activity } from "./vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { a as validateCryptoKey, n as fetchKey } from "./key-Bbuzt358.mjs";
|
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
|
7
7
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
8
8
|
import { encodeHex } from "byte-encodings/hex";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { $ as UrlError } from "../vocab-
|
|
5
|
-
import { a as mockDocumentLoader, t as test } from "../testing-
|
|
4
|
+
import { $ as UrlError } from "../vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { a as mockDocumentLoader, t as test } from "../testing-eYbMkj5P.mjs";
|
|
6
6
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
7
7
|
import "../std__assert-2v7gYiZp.mjs";
|
|
8
8
|
import { t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
|
|
9
|
-
import { l as verifyRequest } from "../http-
|
|
10
|
-
import { t as getAuthenticatedDocumentLoader } from "../authdocloader-
|
|
11
|
-
import { t as esm_default } from "../esm-
|
|
12
|
-
import { i as rsaPrivateKey2 } from "../keys-
|
|
9
|
+
import { l as verifyRequest } from "../http-CsSHezSz.mjs";
|
|
10
|
+
import { t as getAuthenticatedDocumentLoader } from "../authdocloader-DLvikTbR.mjs";
|
|
11
|
+
import { t as esm_default } from "../esm-D0urVWqo.mjs";
|
|
12
|
+
import { i as rsaPrivateKey2 } from "../keys-CZlvPl27.mjs";
|
|
13
13
|
//#region src/runtime/authdocloader.test.ts
|
|
14
14
|
test("getAuthenticatedDocumentLoader()", async (t) => {
|
|
15
15
|
esm_default.spyGlobal();
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { $ as UrlError, G as FetchError, J as getDocumentLoader, X as getUserAgent, Z as kvCache, at as preloadedContexts, st as version } from "../vocab-
|
|
5
|
-
import { a as mockDocumentLoader, t as test } from "../testing-
|
|
4
|
+
import { $ as UrlError, G as FetchError, J as getDocumentLoader, X as getUserAgent, Z as kvCache, at as preloadedContexts, st as version } from "../vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { a as mockDocumentLoader, t as test } from "../testing-eYbMkj5P.mjs";
|
|
6
6
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
7
7
|
import "../std__assert-2v7gYiZp.mjs";
|
|
8
8
|
import { t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
|
|
9
9
|
import { t as assertThrows } from "../assert_throws-BIL7gChy.mjs";
|
|
10
10
|
import { t as assert } from "../assert-DikXweDx.mjs";
|
|
11
11
|
import { t as MemoryKvStore } from "../kv-DM1zFCtL.mjs";
|
|
12
|
-
import { t as esm_default } from "../esm-
|
|
12
|
+
import { t as esm_default } from "../esm-D0urVWqo.mjs";
|
|
13
13
|
import process from "node:process";
|
|
14
14
|
//#region src/runtime/docloader.test.ts
|
|
15
15
|
test("new FetchError()", () => {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { F as importPkcs1, I as importSpki, M as exportSpki, N as importMultibaseKey, P as importPem, j as exportMultibaseKey } from "../vocab-
|
|
5
|
-
import { t as test } from "../testing-
|
|
4
|
+
import { F as importPkcs1, I as importSpki, M as exportSpki, N as importMultibaseKey, P as importPem, j as exportMultibaseKey } from "../vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { t as test } from "../testing-eYbMkj5P.mjs";
|
|
6
6
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
7
7
|
import "../std__assert-2v7gYiZp.mjs";
|
|
8
|
-
import { i as importJwk, t as exportJwk } from "../key-
|
|
8
|
+
import { i as importJwk, t as exportJwk } from "../key-Bbuzt358.mjs";
|
|
9
9
|
//#region src/runtime/key.test.ts
|
|
10
10
|
const rsaSpki = "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxsRuvCkgJtflBTl4OVsm\nnt/J1mQfZasfJtN33dcZ3d1lJroxmgmMu69zjGEAwkNbMQaWNLqC4eogkJaeJ4RR\n5MHYXkL9nNilVoTkjX5BVit3puzs7XJ7WQnKQgQMI+ezn24GHsZ/v1JIo77lerX5\nk4HNwTNVt+yaZVQWaOMR3+6FwziQR6kd0VuG9/a9dgAnz2cEoORRC1i4W7IZaB1s\nZnh1WbHbevlGd72HSXll5rocPIHn8gq6xpBgpHwRphlRsgn4KHaJ6brXDIJjrnQh\nIe/YUBOGj/ImSEXhRwlFerKsoAVnZ0Hwbfa46qk44TAt8CyoPMWmpK6pt0ng4pQ2\nuwIDAQAB\n-----END PUBLIC KEY-----\n";
|
|
11
11
|
const rsaPkcs1 = "-----BEGIN RSA PUBLIC KEY-----\nMIIBCgKCAQEAxsRuvCkgJtflBTl4OVsmnt/J1mQfZasfJtN33dcZ3d1lJroxmgmM\nu69zjGEAwkNbMQaWNLqC4eogkJaeJ4RR5MHYXkL9nNilVoTkjX5BVit3puzs7XJ7\nWQnKQgQMI+ezn24GHsZ/v1JIo77lerX5k4HNwTNVt+yaZVQWaOMR3+6FwziQR6kd\n0VuG9/a9dgAnz2cEoORRC1i4W7IZaB1sZnh1WbHbevlGd72HSXll5rocPIHn8gq6\nxpBgpHwRphlRsgn4KHaJ6brXDIJjrnQhIe/YUBOGj/ImSEXhRwlFerKsoAVnZ0Hw\nbfa46qk44TAt8CyoPMWmpK6pt0ng4pQ2uwIDAQAB\n-----END RSA PUBLIC KEY-----\n";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { A as LanguageString } from "../vocab-
|
|
5
|
-
import { t as test } from "../testing-
|
|
4
|
+
import { A as LanguageString } from "../vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { t as test } from "../testing-eYbMkj5P.mjs";
|
|
6
6
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
7
7
|
import "../std__assert-2v7gYiZp.mjs";
|
|
8
8
|
import { parseLanguageTag } from "@phensley/language-tag";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { it as HttpHeaderLink } from "../vocab-
|
|
5
|
-
import { t as test } from "../testing-
|
|
4
|
+
import { it as HttpHeaderLink } from "../vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { t as test } from "../testing-eYbMkj5P.mjs";
|
|
6
6
|
import { deepStrictEqual, throws } from "node:assert";
|
|
7
7
|
//#region src/runtime/link.test.ts
|
|
8
8
|
test("String Good 1", () => {
|
package/dist/runtime/mod.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
2
2
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const require_docloader = require("../docloader-
|
|
5
|
-
const require_actor = require("../actor-
|
|
6
|
-
const require_authdocloader = require("../authdocloader-
|
|
4
|
+
const require_docloader = require("../docloader-BZfjD0Xt.cjs");
|
|
5
|
+
const require_actor = require("../actor-DILKT_HU.cjs");
|
|
6
|
+
const require_authdocloader = require("../authdocloader-hwjRHw8X.cjs");
|
|
7
7
|
exports.FetchError = require_docloader.FetchError;
|
|
8
8
|
exports.LanguageString = require_actor.LanguageString;
|
|
9
9
|
exports.exportMultibaseKey = require_actor.exportMultibaseKey;
|
package/dist/runtime/mod.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
|
-
import { i as getDocumentLoader, o as getUserAgent, r as fetchDocumentLoader, s as kvCache, t as FetchError } from "../docloader-
|
|
4
|
-
import { Ct as importPkcs1, St as importPem, bt as exportSpki, vt as LanguageString, wt as importSpki, xt as importMultibaseKey, yt as exportMultibaseKey } from "../actor-
|
|
5
|
-
import { t as getAuthenticatedDocumentLoader } from "../authdocloader-
|
|
3
|
+
import { i as getDocumentLoader, o as getUserAgent, r as fetchDocumentLoader, s as kvCache, t as FetchError } from "../docloader-ivt5xNwJ.js";
|
|
4
|
+
import { Ct as importPkcs1, St as importPem, bt as exportSpki, vt as LanguageString, wt as importSpki, xt as importMultibaseKey, yt as exportMultibaseKey } from "../actor-MDInzRdc.js";
|
|
5
|
+
import { t as getAuthenticatedDocumentLoader } from "../authdocloader-DRG9qnz7.js";
|
|
6
6
|
export { FetchError, LanguageString, exportMultibaseKey, exportSpki, fetchDocumentLoader, getAuthenticatedDocumentLoader, getDocumentLoader, getUserAgent, importMultibaseKey, importPem, importPkcs1, importSpki, kvCache };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { B as names, H as encodeText, L as decode, R as encode, V as decodeText, z as codes } from "../../vocab-
|
|
5
|
-
import { t as test } from "../../testing-
|
|
4
|
+
import { B as names, H as encodeText, L as decode, R as encode, V as decodeText, z as codes } from "../../vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { t as test } from "../../testing-eYbMkj5P.mjs";
|
|
6
6
|
import { t as assertEquals } from "../../assert_equals-Ew3jOFa3.mjs";
|
|
7
7
|
import "../../std__assert-2v7gYiZp.mjs";
|
|
8
8
|
//#region src/runtime/multibase/multibase.test.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { $ as UrlError, et as expandIPv6Address, nt as isValidPublicIPv6Address, rt as validatePublicUrl, tt as isValidPublicIPv4Address } from "../vocab-
|
|
5
|
-
import { t as test } from "../testing-
|
|
4
|
+
import { $ as UrlError, et as expandIPv6Address, nt as isValidPublicIPv6Address, rt as validatePublicUrl, tt as isValidPublicIPv4Address } from "../vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { t as test } from "../testing-eYbMkj5P.mjs";
|
|
6
6
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
7
7
|
import { n as assertFalse, t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
|
|
8
8
|
import { t as assert } from "../assert-DikXweDx.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { ot as name, st as version } from "./vocab-
|
|
5
|
-
import { n as doubleKnock } from "./http-
|
|
4
|
+
import { ot as name, st as version } from "./vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { n as doubleKnock } from "./http-CsSHezSz.mjs";
|
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
|
7
7
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
|
8
8
|
//#region src/federation/send.ts
|
package/dist/sig/http.test.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { M as exportSpki } from "../vocab-
|
|
5
|
-
import { a as mockDocumentLoader, t as test } from "../testing-
|
|
4
|
+
import { M as exportSpki } from "../vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { a as mockDocumentLoader, t as test } from "../testing-eYbMkj5P.mjs";
|
|
6
6
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
7
7
|
import { a as assertExists, t as assertStringIncludes } from "../std__assert-2v7gYiZp.mjs";
|
|
8
8
|
import { n as assertFalse, t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
|
|
9
9
|
import { t as assertThrows } from "../assert_throws-BIL7gChy.mjs";
|
|
10
10
|
import { t as assert } from "../assert-DikXweDx.mjs";
|
|
11
|
-
import { t as exportJwk } from "../key-
|
|
12
|
-
import { a as parseRfc9421Signature, c as timingSafeEqual, i as formatRfc9421SignatureParameters, l as verifyRequest, n as doubleKnock, o as parseRfc9421SignatureInput, r as formatRfc9421Signature, s as signRequest, t as createRfc9421SignatureBase } from "../http-
|
|
13
|
-
import { t as esm_default } from "../esm-
|
|
14
|
-
import { i as rsaPrivateKey2, l as rsaPublicKey5, o as rsaPublicKey1, s as rsaPublicKey2 } from "../keys-
|
|
11
|
+
import { t as exportJwk } from "../key-Bbuzt358.mjs";
|
|
12
|
+
import { a as parseRfc9421Signature, c as timingSafeEqual, i as formatRfc9421SignatureParameters, l as verifyRequest, n as doubleKnock, o as parseRfc9421SignatureInput, r as formatRfc9421Signature, s as signRequest, t as createRfc9421SignatureBase } from "../http-CsSHezSz.mjs";
|
|
13
|
+
import { t as esm_default } from "../esm-D0urVWqo.mjs";
|
|
14
|
+
import { i as rsaPrivateKey2, l as rsaPublicKey5, o as rsaPublicKey1, s as rsaPublicKey2 } from "../keys-CZlvPl27.mjs";
|
|
15
15
|
import { encodeBase64 } from "byte-encodings/base64";
|
|
16
16
|
//#region src/sig/http.test.ts
|
|
17
17
|
test("signRequest() [draft-cavage]", async () => {
|
package/dist/sig/key.test.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { g as Multikey, s as CryptographicKey } from "../vocab-
|
|
5
|
-
import { a as mockDocumentLoader, t as test } from "../testing-
|
|
4
|
+
import { g as Multikey, s as CryptographicKey } from "../vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { a as mockDocumentLoader, t as test } from "../testing-eYbMkj5P.mjs";
|
|
6
6
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
7
7
|
import "../std__assert-2v7gYiZp.mjs";
|
|
8
8
|
import { t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
|
|
9
9
|
import { t as assertThrows } from "../assert_throws-BIL7gChy.mjs";
|
|
10
|
-
import { a as validateCryptoKey, i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "../key-
|
|
11
|
-
import { c as rsaPublicKey3, i as rsaPrivateKey2, o as rsaPublicKey1, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-
|
|
10
|
+
import { a as validateCryptoKey, i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "../key-Bbuzt358.mjs";
|
|
11
|
+
import { c as rsaPublicKey3, i as rsaPrivateKey2, o as rsaPublicKey1, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-CZlvPl27.mjs";
|
|
12
12
|
//#region src/sig/key.test.ts
|
|
13
13
|
test("validateCryptoKey()", async () => {
|
|
14
14
|
const pkcs1v15 = await crypto.subtle.generateKey({
|
package/dist/sig/ld.test.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { s as CryptographicKey } from "../vocab-
|
|
5
|
-
import { a as mockDocumentLoader, t as test } from "../testing-
|
|
4
|
+
import { s as CryptographicKey } from "../vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { a as mockDocumentLoader, t as test } from "../testing-eYbMkj5P.mjs";
|
|
6
6
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
7
7
|
import { n as assertFalse, t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
|
|
8
8
|
import { t as assertThrows } from "../assert_throws-BIL7gChy.mjs";
|
|
9
9
|
import { t as assert } from "../assert-DikXweDx.mjs";
|
|
10
|
-
import { r as generateCryptoKeyPair } from "../key-
|
|
11
|
-
import { a as signJsonLd, n as createSignature, o as verifyJsonLd, r as detachSignature, s as verifySignature, t as attachSignature } from "../ld-
|
|
12
|
-
import { a as rsaPrivateKey3, c as rsaPublicKey3, i as rsaPrivateKey2, n as ed25519PrivateKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-
|
|
10
|
+
import { r as generateCryptoKeyPair } from "../key-Bbuzt358.mjs";
|
|
11
|
+
import { a as signJsonLd, n as createSignature, o as verifyJsonLd, r as detachSignature, s as verifySignature, t as attachSignature } from "../ld-iU-MUtGB.mjs";
|
|
12
|
+
import { a as rsaPrivateKey3, c as rsaPublicKey3, i as rsaPrivateKey2, n as ed25519PrivateKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-CZlvPl27.mjs";
|
|
13
13
|
import { encodeBase64 } from "byte-encodings/base64";
|
|
14
14
|
//#region src/sig/ld.test.ts
|
|
15
15
|
test("attachSignature()", () => {
|
package/dist/sig/mod.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
2
2
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const require_key = require("../key-
|
|
5
|
-
const require_http = require("../http-
|
|
6
|
-
const require_proof = require("../proof-
|
|
4
|
+
const require_key = require("../key-CUorXS6k.cjs");
|
|
5
|
+
const require_http = require("../http-8jvVkJos.cjs");
|
|
6
|
+
const require_proof = require("../proof-2V3jxAdE.cjs");
|
|
7
7
|
exports.attachSignature = require_proof.attachSignature;
|
|
8
8
|
exports.createProof = require_proof.createProof;
|
|
9
9
|
exports.createSignature = require_proof.createSignature;
|
package/dist/sig/mod.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
|
-
import { i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "../key-
|
|
4
|
-
import { n as signRequest, r as verifyRequest } from "../http-
|
|
5
|
-
import { a as doesActorOwnKey, c as createSignature, d as signJsonLd, f as verifyJsonLd, i as verifyProof, l as detachSignature, n as signObject, o as getKeyOwner, p as verifySignature, r as verifyObject, s as attachSignature, t as createProof } from "../proof-
|
|
3
|
+
import { i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "../key-C2e_Yz1s.js";
|
|
4
|
+
import { n as signRequest, r as verifyRequest } from "../http-Dbj7ZT3b.js";
|
|
5
|
+
import { a as doesActorOwnKey, c as createSignature, d as signJsonLd, f as verifyJsonLd, i as verifyProof, l as detachSignature, n as signObject, o as getKeyOwner, p as verifySignature, r as verifyObject, s as attachSignature, t as createProof } from "../proof-C99DO0SE.js";
|
|
6
6
|
export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/sig/owner.test.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { o as Create } from "../vocab-
|
|
5
|
-
import { t as lookupObject } from "../lookup-
|
|
6
|
-
import { a as mockDocumentLoader, t as test } from "../testing-
|
|
4
|
+
import { o as Create } from "../vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { t as lookupObject } from "../lookup-DhIULso8.mjs";
|
|
6
|
+
import { a as mockDocumentLoader, t as test } from "../testing-eYbMkj5P.mjs";
|
|
7
7
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
8
8
|
import "../std__assert-2v7gYiZp.mjs";
|
|
9
9
|
import { n as assertFalse } from "../assert_rejects-CJC9ThS-.mjs";
|
|
10
10
|
import { t as assert } from "../assert-DikXweDx.mjs";
|
|
11
|
-
import { n as getKeyOwner, t as doesActorOwnKey } from "../owner-
|
|
12
|
-
import { o as rsaPublicKey1, s as rsaPublicKey2 } from "../keys-
|
|
11
|
+
import { n as getKeyOwner, t as doesActorOwnKey } from "../owner-CAvCysNj.mjs";
|
|
12
|
+
import { o as rsaPublicKey1, s as rsaPublicKey2 } from "../keys-CZlvPl27.mjs";
|
|
13
13
|
//#region src/sig/owner.test.ts
|
|
14
14
|
test("doesActorOwnKey()", async () => {
|
|
15
15
|
const options = {
|
package/dist/sig/proof.test.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { L as decode, N as importMultibaseKey, _ as Note, c as DataIntegrityProof, g as Multikey, o as Create, w as Place } from "../vocab-
|
|
5
|
-
import { a as mockDocumentLoader, t as test } from "../testing-
|
|
4
|
+
import { L as decode, N as importMultibaseKey, _ as Note, c as DataIntegrityProof, g as Multikey, o as Create, w as Place } from "../vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { a as mockDocumentLoader, t as test } from "../testing-eYbMkj5P.mjs";
|
|
6
6
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
7
7
|
import "../std__assert-2v7gYiZp.mjs";
|
|
8
8
|
import { t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
|
|
9
9
|
import { t as assertInstanceOf } from "../assert_instance_of-C4Ri6VuN.mjs";
|
|
10
|
-
import { i as verifyProof, n as signObject, r as verifyObject, t as createProof } from "../proof-
|
|
11
|
-
import { i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-
|
|
10
|
+
import { i as verifyProof, n as signObject, r as verifyObject, t as createProof } from "../proof-DkUAJViu.mjs";
|
|
11
|
+
import { i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-CZlvPl27.mjs";
|
|
12
12
|
import { decodeHex, encodeHex } from "byte-encodings/hex";
|
|
13
13
|
//#region src/sig/proof.test.ts
|
|
14
14
|
const fep8b32TestVectorPrivateKey = await crypto.subtle.importKey("jwk", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { a as mockDocumentLoader, t as test } from "../testing-
|
|
4
|
+
import { a as mockDocumentLoader, t as test } from "../testing-eYbMkj5P.mjs";
|
|
5
5
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
6
6
|
import "../std__assert-2v7gYiZp.mjs";
|
|
7
7
|
//#region src/testing/docloader.test.ts
|
package/dist/testing/mod.d.mts
CHANGED
|
@@ -8898,7 +8898,10 @@ interface GetSignedKeyOptions {
|
|
|
8898
8898
|
*/
|
|
8899
8899
|
interface ActorKeyPair extends CryptoKeyPair {
|
|
8900
8900
|
/**
|
|
8901
|
-
* The URI of the public key, which is used for
|
|
8901
|
+
* The URI of the public key for {@link CryptographicKey}, which is used for
|
|
8902
|
+
* verifying HTTP Signatures and Linked Data Signatures. Note that this is
|
|
8903
|
+
* the ID of the {@link cryptographicKey}, not of the {@link multikey};
|
|
8904
|
+
* the {@link Multikey} instance has a distinct ID of its own.
|
|
8902
8905
|
*/
|
|
8903
8906
|
keyId: URL;
|
|
8904
8907
|
/**
|
package/dist/testing/mod.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { i as createRequestContext, n as testDefinitions, r as createInboxContext, t as test } from "../testing-
|
|
4
|
+
import { i as createRequestContext, n as testDefinitions, r as createInboxContext, t as test } from "../testing-eYbMkj5P.mjs";
|
|
5
5
|
export { createInboxContext, createRequestContext, test, testDefinitions };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { W as lookupWebFinger, ut as __require } from "./vocab-
|
|
5
|
-
import { i as RouterError, n as traverseCollection, t as lookupObject } from "./lookup-
|
|
4
|
+
import { W as lookupWebFinger, ut as __require } from "./vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { i as RouterError, n as traverseCollection, t as lookupObject } from "./lookup-DhIULso8.mjs";
|
|
6
6
|
import { configure, getConsoleSink, getLogger, reset } from "@logtape/logtape";
|
|
7
7
|
import { trace } from "@opentelemetry/api";
|
|
8
8
|
//#region src/testing/docloader.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
2
2
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
3
|
-
require("./docloader-
|
|
3
|
+
require("./docloader-BZfjD0Xt.cjs");
|
|
4
4
|
//#region src/compat/transformers.ts
|
|
5
5
|
const logger = (0, require("@logtape/logtape").getLogger)([
|
|
6
6
|
"fedify",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
2
2
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
3
|
-
const require_docloader = require("./docloader-
|
|
3
|
+
const require_docloader = require("./docloader-BZfjD0Xt.cjs");
|
|
4
4
|
let _logtape_logtape = require("@logtape/logtape");
|
|
5
5
|
//#region src/nodeinfo/semver.ts
|
|
6
6
|
const MAX_LENGTH = 256;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
|
-
import { o as getUserAgent } from "./docloader-
|
|
3
|
+
import { o as getUserAgent } from "./docloader-ivt5xNwJ.js";
|
|
4
4
|
import { getLogger } from "@logtape/logtape";
|
|
5
5
|
//#region src/nodeinfo/semver.ts
|
|
6
6
|
const MAX_LENGTH = 256;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { C as Person, E as Service, S as Organization, d as Group, lt as __exportAll, r as Application } from "../vocab-
|
|
5
|
-
import { t as test } from "../testing-
|
|
4
|
+
import { C as Person, E as Service, S as Organization, d as Group, lt as __exportAll, r as Application } from "../vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { t as test } from "../testing-eYbMkj5P.mjs";
|
|
6
6
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
7
7
|
import { n as assertStrictEquals } from "../std__assert-2v7gYiZp.mjs";
|
|
8
8
|
import { n as assertFalse, t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
|
|
9
9
|
import { t as assertThrows } from "../assert_throws-BIL7gChy.mjs";
|
|
10
10
|
import { t as assert$1 } from "../assert-DikXweDx.mjs";
|
|
11
|
-
import { a as normalizeActorHandle, i as isActor, n as getActorHandle, r as getActorTypeName, t as getActorClassByTypeName } from "../actor-
|
|
12
|
-
import { t as esm_default } from "../esm-
|
|
11
|
+
import { a as normalizeActorHandle, i as isActor, n as getActorHandle, r as getActorTypeName, t as getActorClassByTypeName } from "../actor-DVET8NhO.mjs";
|
|
12
|
+
import { t as esm_default } from "../esm-D0urVWqo.mjs";
|
|
13
13
|
//#region ../../node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
|
|
14
14
|
var PreconditionFailure = class PreconditionFailure extends Error {
|
|
15
15
|
constructor(interruptExecution = false) {
|
package/dist/vocab/cjs.test.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { t as test } from "../testing-
|
|
4
|
+
import { t as test } from "../testing-eYbMkj5P.mjs";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import { strictEqual } from "node:assert";
|
|
7
7
|
//#region src/vocab/cjs.test.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { C as Person, _ as Note, i as Collection, v as Object$1 } from "../vocab-
|
|
5
|
-
import { n as traverseCollection, t as lookupObject } from "../lookup-
|
|
6
|
-
import { a as mockDocumentLoader, t as test } from "../testing-
|
|
4
|
+
import { C as Person, _ as Note, i as Collection, v as Object$1 } from "../vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { n as traverseCollection, t as lookupObject } from "../lookup-DhIULso8.mjs";
|
|
6
|
+
import { a as mockDocumentLoader, t as test } from "../testing-eYbMkj5P.mjs";
|
|
7
7
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
8
8
|
import "../std__assert-2v7gYiZp.mjs";
|
|
9
9
|
import { t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
|
|
10
10
|
import { t as assertInstanceOf } from "../assert_instance_of-C4Ri6VuN.mjs";
|
|
11
|
-
import { t as esm_default } from "../esm-
|
|
11
|
+
import { t as esm_default } from "../esm-D0urVWqo.mjs";
|
|
12
12
|
import { deepStrictEqual } from "node:assert";
|
|
13
13
|
//#region src/vocab/lookup.test.ts
|
|
14
14
|
test("lookupObject()", {
|
package/dist/vocab/mod.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const { Temporal } = require("@js-temporal/polyfill");
|
|
2
2
|
const { URLPattern } = require("urlpattern-polyfill");
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const require_docloader = require("../docloader-
|
|
5
|
-
const require_actor = require("../actor-
|
|
6
|
-
const require_lookup = require("../lookup-
|
|
4
|
+
const require_docloader = require("../docloader-BZfjD0Xt.cjs");
|
|
5
|
+
const require_actor = require("../actor-DILKT_HU.cjs");
|
|
6
|
+
const require_lookup = require("../lookup-BnvWOvmD.cjs");
|
|
7
7
|
let _logtape_logtape = require("@logtape/logtape");
|
|
8
8
|
let _opentelemetry_api = require("@opentelemetry/api");
|
|
9
9
|
let es_toolkit = require("es-toolkit");
|
package/dist/vocab/mod.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
|
-
import { d as name, f as version, i as getDocumentLoader } from "../docloader-
|
|
4
|
-
import { $ as Person, A as Flag, B as Like, C as Dislike, D as Endpoints, E as EmojiReact, F as Image, G as Multikey, H as Listen, I as IntransitiveActivity, J as Offer, K as Note, L as Invite, M as Group, N as Hashtag, O as Event, P as Ignore, Q as Page, R as Join, S as DidService, T as Emoji, Tt as getTypeId, U as Mention, V as Link, W as Move, X as OrderedCollectionPage, Y as OrderedCollection, Z as Organization, _ as CollectionPage, _t as View, a as normalizeActorHandle, at as Reject, b as DataIntegrityProof, c as Add, ct as Service, d as Arrive, dt as TentativeReject, et as Place, f as Article, ft as Tombstone, g as Collection, gt as Video, h as ChatMessage, ht as Update, i as isActor, it as Read, j as Follow, k as Export, l as Announce, lt as Source, m as Block, mt as Undo, n as getActorHandle, nt as PropertyValue, o as Accept, ot as Relationship, p as Audio, pt as Travel, q as Object$1, r as getActorTypeName, rt as Question, s as Activity, st as Remove, t as getActorClassByTypeName, tt as Profile, u as Application, ut as TentativeAccept, v as Create, w as Document, x as Delete, y as CryptographicKey, z as Leave } from "../actor-
|
|
5
|
-
import { t as lookupWebFinger } from "../lookup-
|
|
3
|
+
import { d as name, f as version, i as getDocumentLoader } from "../docloader-ivt5xNwJ.js";
|
|
4
|
+
import { $ as Person, A as Flag, B as Like, C as Dislike, D as Endpoints, E as EmojiReact, F as Image, G as Multikey, H as Listen, I as IntransitiveActivity, J as Offer, K as Note, L as Invite, M as Group, N as Hashtag, O as Event, P as Ignore, Q as Page, R as Join, S as DidService, T as Emoji, Tt as getTypeId, U as Mention, V as Link, W as Move, X as OrderedCollectionPage, Y as OrderedCollection, Z as Organization, _ as CollectionPage, _t as View, a as normalizeActorHandle, at as Reject, b as DataIntegrityProof, c as Add, ct as Service, d as Arrive, dt as TentativeReject, et as Place, f as Article, ft as Tombstone, g as Collection, gt as Video, h as ChatMessage, ht as Update, i as isActor, it as Read, j as Follow, k as Export, l as Announce, lt as Source, m as Block, mt as Undo, n as getActorHandle, nt as PropertyValue, o as Accept, ot as Relationship, p as Audio, pt as Travel, q as Object$1, r as getActorTypeName, rt as Question, s as Activity, st as Remove, t as getActorClassByTypeName, tt as Profile, u as Application, ut as TentativeAccept, v as Create, w as Document, x as Delete, y as CryptographicKey, z as Leave } from "../actor-MDInzRdc.js";
|
|
5
|
+
import { t as lookupWebFinger } from "../lookup-BOFQeNi_.js";
|
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
|
7
7
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
|
8
8
|
import { delay } from "es-toolkit";
|
package/dist/vocab/type.test.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { C as Person, U as getTypeId } from "../vocab-
|
|
5
|
-
import { t as test } from "../testing-
|
|
4
|
+
import { C as Person, U as getTypeId } from "../vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { t as test } from "../testing-eYbMkj5P.mjs";
|
|
6
6
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
7
7
|
//#region src/vocab/type.test.ts
|
|
8
8
|
test("getTypeId()", () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import "urlpattern-polyfill";
|
|
3
3
|
globalThis.addEventListener = () => {};
|
|
4
|
-
import { A as LanguageString, C as Person, D as Source, L as decode, T as Question, _ as Note, f as Hashtag, h as Link, i as Collection, k as vocab_exports, n as Announce, o as Create, s as CryptographicKey, t as Activity, u as Follow, v as Object$1, w as Place, x as OrderedCollectionPage } from "../vocab-
|
|
5
|
-
import { a as mockDocumentLoader, t as test } from "../testing-
|
|
4
|
+
import { A as LanguageString, C as Person, D as Source, L as decode, T as Question, _ as Note, f as Hashtag, h as Link, i as Collection, k as vocab_exports, n as Announce, o as Create, s as CryptographicKey, t as Activity, u as Follow, v as Object$1, w as Place, x as OrderedCollectionPage } from "../vocab-CG-IqKPs.mjs";
|
|
5
|
+
import { a as mockDocumentLoader, t as test } from "../testing-eYbMkj5P.mjs";
|
|
6
6
|
import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
|
|
7
7
|
import "../std__assert-2v7gYiZp.mjs";
|
|
8
8
|
import { n as assertFalse, t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
|
|
@@ -10,7 +10,7 @@ import { t as assertInstanceOf } from "../assert_instance_of-C4Ri6VuN.mjs";
|
|
|
10
10
|
import { t as assertNotEquals } from "../assert_not_equals--wG9hV7u.mjs";
|
|
11
11
|
import { t as assertThrows } from "../assert_throws-BIL7gChy.mjs";
|
|
12
12
|
import { t as assert } from "../assert-DikXweDx.mjs";
|
|
13
|
-
import { o as rsaPublicKey1, r as ed25519PublicKey } from "../keys-
|
|
13
|
+
import { o as rsaPublicKey1, r as ed25519PublicKey } from "../keys-CZlvPl27.mjs";
|
|
14
14
|
import { pascalCase } from "es-toolkit";
|
|
15
15
|
import { parseLanguageTag } from "@phensley/language-tag";
|
|
16
16
|
import { Validator } from "@cfworker/json-schema";
|