@fedify/fedify 1.9.0-pr.431.1597 → 1.9.0-pr.439.1643
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-CfaqWvJb.cjs → actor-CfhHedxU.cjs} +197 -197
- package/dist/{actor-Detmisdi.js → actor-DpI0W-Tn.js} +197 -197
- package/dist/{actor-Dw7av4Zk.js → actor-KPC8KYj6.js} +1 -1
- package/dist/{authdocloader-5UJ5Gme-.js → authdocloader-BQJG9N7v.js} +3 -3
- package/dist/{authdocloader-ZlLoXSxM.js → authdocloader-CVxE9WGt.js} +3 -3
- package/dist/{authdocloader-BVYv0Ct8.cjs → authdocloader-DfDexBrY.cjs} +3 -3
- package/dist/{builder-BbKfqPmR.js → builder-BP4aD50M.js} +4 -4
- package/dist/{client-DgRjF0ha.js → client-Bui9Gh4q.js} +1 -1
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{docloader-BKf9RWX4.js → docloader-BxvWvC64.js} +185 -5
- package/dist/{docloader-eqgyMp7h.cjs → docloader-CSlrTULv.cjs} +185 -5
- package/dist/{esm-B_ZjJ1sB.js → esm-c7PrxCw-.js} +1 -1
- package/dist/federation/builder.test.js +5 -5
- package/dist/federation/collection.test.js +3 -3
- package/dist/federation/handler.test.js +17 -17
- package/dist/federation/inbox.test.js +4 -4
- package/dist/federation/keycache.test.js +4 -4
- package/dist/federation/kv.test.js +4 -3
- package/dist/federation/middleware.test.js +18 -18
- package/dist/federation/mod.cjs +10 -10
- package/dist/federation/mod.js +10 -10
- package/dist/federation/mq.test.js +3 -3
- package/dist/federation/retry.test.js +3 -3
- package/dist/federation/router.test.js +3 -3
- package/dist/federation/send.test.js +10 -10
- package/dist/{http-CwlUFNG4.js → http-BF9qsaeq.js} +3 -3
- package/dist/{http-C5XLveZw.js → http-Dv1yjtnP.js} +2 -2
- package/dist/{http-_vjuGcXn.cjs → http-Dy617oJi.cjs} +3 -3
- package/dist/{inbox-sVXiVBbT.js → inbox-Cu7OAGkC.js} +1 -1
- package/dist/{key-lpATOAE4.js → key-BA23EOog.js} +3 -3
- package/dist/{key-Jrnr66vx.js → key-BLHsstcf.js} +2 -2
- package/dist/{key-CsQ7J8-m.js → key-BzOUXfsg.js} +4 -4
- package/dist/key-CK98kF20.cjs +10 -0
- package/dist/{key-19P2dWvf.cjs → key-CULAE72e.cjs} +2 -2
- package/dist/{key-BCWvPOkD.js → key-CmfU4Nff.js} +2 -2
- package/dist/{keycache-ogQInQck.js → keycache-aLCenYcC.js} +1 -1
- package/dist/{keys-DcGsKtHW.js → keys-D46Dm6Zd.js} +1 -1
- package/dist/{ld-BSE4jnyK.js → ld-bQVyNVI4.js} +2 -2
- package/dist/{lookup-DdxOle8f.js → lookup-BV-RYejn.js} +1 -1
- package/dist/{lookup-D96ipStp.cjs → lookup-BtS7imxC.cjs} +1 -1
- package/dist/{lookup-D_-F1hLw.js → lookup-DWilfXOH.js} +1 -1
- package/dist/{middleware-T_y4Bnvw.js → middleware-Bc82l2LP.js} +24 -24
- package/dist/{middleware-B2DFqtJ-.cjs → middleware-BvYquIU2.cjs} +24 -24
- package/dist/middleware-C-XUMaxL.cjs +17 -0
- package/dist/{middleware-CuTcPjfP.js → middleware-C6ec_xpL.js} +27 -27
- package/dist/middleware-CJGpew1U.js +26 -0
- package/dist/middleware-QSwuLhGe.js +17 -0
- package/dist/mod.cjs +10 -10
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +5 -5
- package/dist/nodeinfo/handler.test.js +16 -16
- package/dist/nodeinfo/mod.cjs +2 -2
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.js +3 -3
- package/dist/nodeinfo/types.test.js +3 -3
- package/dist/{owner-DJtc8evi.js → owner-IdDD30Rl.js} +2 -2
- package/dist/{proof-BuPk23Er.js → proof-Bacq4fFb.js} +3 -3
- package/dist/{proof-CRHppbRk.cjs → proof-Cdt-JryO.cjs} +3 -3
- package/dist/{proof-9OMp0o4n.js → proof-DqejZTy7.js} +2 -2
- package/dist/runtime/authdocloader.test.js +9 -9
- package/dist/runtime/docloader.test.js +4 -4
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/langstr.test.js +3 -3
- package/dist/runtime/link.test.d.ts +3 -0
- package/dist/runtime/link.test.js +61 -0
- package/dist/runtime/mod.cjs +6 -6
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/{send-cXerEJm9.js → send-CtMRP7jp.js} +2 -2
- package/dist/sig/http.test.js +8 -8
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/mod.cjs +6 -6
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +7 -7
- package/dist/sig/proof.test.js +7 -7
- package/dist/testing/docloader.test.js +3 -3
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-BX6IA3LR.js → testing-DqxPhgD4.js} +2 -2
- package/dist/{type-DF9yoIpt.js → type-tt9Ec12R.js} +381 -201
- package/dist/{types-DcKQIzdO.cjs → types-C50PioTN.cjs} +1 -1
- package/dist/{types-Q17QxOOC.js → types-DIhanZoH.js} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.cjs +4 -4
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +40 -5
- package/dist/{vocab-BUc_4ZsW.js → vocab-C85duzv5.js} +3 -3
- package/dist/{vocab-Du8FV6H1.cjs → vocab-VVJBvA2F.cjs} +3 -3
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.cjs +2 -2
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/package.json +1 -2
- package/dist/key-Dt7qJaQT.cjs +0 -10
- package/dist/middleware-B0f850Ei.cjs +0 -17
- package/dist/middleware-COHAbwGs.js +0 -17
- package/dist/middleware-Dt7C7qpw.js +0 -26
@@ -0,0 +1,61 @@
|
|
1
|
+
|
2
|
+
import { Temporal } from "@js-temporal/polyfill";
|
3
|
+
import { URLPattern } from "urlpattern-polyfill";
|
4
|
+
globalThis.addEventListener = () => {};
|
5
|
+
|
6
|
+
import { HttpHeaderLink } from "../type-tt9Ec12R.js";
|
7
|
+
import "../lookup-BV-RYejn.js";
|
8
|
+
import { test } from "../testing-DqxPhgD4.js";
|
9
|
+
import { deepStrictEqual, throws } from "node:assert";
|
10
|
+
|
11
|
+
//#region src/runtime/link.test.ts
|
12
|
+
test("String Good 1", () => {
|
13
|
+
const instance = new HttpHeaderLink(`<https://example.com>; rel="preconnect"`);
|
14
|
+
deepStrictEqual(instance.hasParameter("rel", "preconnect"), true);
|
15
|
+
deepStrictEqual(instance.hasParameter("rel", "connect"), false);
|
16
|
+
deepStrictEqual(instance.hasParameter("rel", "postconnect"), false);
|
17
|
+
deepStrictEqual(instance.getByRel("preconnect")[0][0], "https://example.com");
|
18
|
+
});
|
19
|
+
test("String Good 2", () => {
|
20
|
+
const instance = new HttpHeaderLink(`<https://example.com>; rel=preconnect`);
|
21
|
+
deepStrictEqual(instance.hasParameter("rel", "preconnect"), true);
|
22
|
+
deepStrictEqual(instance.hasParameter("rel", "connect"), false);
|
23
|
+
deepStrictEqual(instance.hasParameter("rel", "postconnect"), false);
|
24
|
+
deepStrictEqual(instance.getByRel("preconnect")[0][0], "https://example.com");
|
25
|
+
});
|
26
|
+
test("String Good 3", () => {
|
27
|
+
const instance = new HttpHeaderLink(`<https://example.com/%E8%8B%97%E6%9D%A1>; rel="preconnect"`);
|
28
|
+
deepStrictEqual(instance.hasParameter("rel", "preconnect"), true);
|
29
|
+
deepStrictEqual(instance.hasParameter("rel", "connect"), false);
|
30
|
+
deepStrictEqual(instance.hasParameter("rel", "postconnect"), false);
|
31
|
+
deepStrictEqual(instance.getByRel("preconnect")[0][0], "https://example.com/苗条");
|
32
|
+
});
|
33
|
+
test("String Good 4", () => {
|
34
|
+
const instance = new HttpHeaderLink(`<https://one.example.com>; rel="preconnect", <https://two.example.com>; rel="preconnect", <https://three.example.com>; rel="preconnect"`);
|
35
|
+
deepStrictEqual(instance.hasParameter("rel", "preconnect"), true);
|
36
|
+
deepStrictEqual(instance.hasParameter("rel", "connect"), false);
|
37
|
+
deepStrictEqual(instance.hasParameter("rel", "postconnect"), false);
|
38
|
+
deepStrictEqual(instance.getByRel("preconnect")[0][0], "https://one.example.com");
|
39
|
+
deepStrictEqual(instance.getByRel("preconnect")[1][0], "https://two.example.com");
|
40
|
+
deepStrictEqual(instance.getByRel("preconnect")[2][0], "https://three.example.com");
|
41
|
+
});
|
42
|
+
test("String Good 5", () => {
|
43
|
+
const instance = new HttpHeaderLink();
|
44
|
+
deepStrictEqual(instance.hasParameter("rel", "preconnect"), false);
|
45
|
+
deepStrictEqual(instance.hasParameter("rel", "connect"), false);
|
46
|
+
deepStrictEqual(instance.hasParameter("rel", "postconnect"), false);
|
47
|
+
deepStrictEqual(instance.entries().length, 0);
|
48
|
+
});
|
49
|
+
test("Entries Good 1", () => {
|
50
|
+
const instance = new HttpHeaderLink([["https://one.example.com", { rel: "preconnect" }]]);
|
51
|
+
deepStrictEqual(instance.hasParameter("rel", "preconnect"), true);
|
52
|
+
deepStrictEqual(instance.entries().length, 1);
|
53
|
+
deepStrictEqual(instance.toString(), `<https://one.example.com>; rel="preconnect"`);
|
54
|
+
});
|
55
|
+
test("String Bad 1", () => {
|
56
|
+
throws(() => {
|
57
|
+
new HttpHeaderLink(`https://bad.example; rel="preconnect"`);
|
58
|
+
});
|
59
|
+
});
|
60
|
+
|
61
|
+
//#endregion
|
package/dist/runtime/mod.cjs
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
|
-
const require_docloader = require('../docloader-
|
6
|
-
const require_actor = require('../actor-
|
7
|
-
require('../lookup-
|
8
|
-
require('../key-
|
9
|
-
require('../http-
|
10
|
-
const require_authdocloader = require('../authdocloader-
|
5
|
+
const require_docloader = require('../docloader-CSlrTULv.cjs');
|
6
|
+
const require_actor = require('../actor-CfhHedxU.cjs');
|
7
|
+
require('../lookup-BtS7imxC.cjs');
|
8
|
+
require('../key-CULAE72e.cjs');
|
9
|
+
require('../http-Dy617oJi.cjs');
|
10
|
+
const require_authdocloader = require('../authdocloader-DfDexBrY.cjs');
|
11
11
|
require('../runtime-C58AJWSv.cjs');
|
12
12
|
|
13
13
|
exports.FetchError = require_docloader.FetchError;
|
package/dist/runtime/mod.js
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "../docloader-
|
6
|
-
import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-
|
7
|
-
import "../lookup-
|
8
|
-
import "../key-
|
9
|
-
import "../http-
|
10
|
-
import { getAuthenticatedDocumentLoader } from "../authdocloader-
|
5
|
+
import { FetchError, fetchDocumentLoader, getDocumentLoader, getUserAgent, kvCache } from "../docloader-BxvWvC64.js";
|
6
|
+
import { LanguageString, exportMultibaseKey, exportSpki, importMultibaseKey, importPem, importPkcs1, importSpki } from "../actor-DpI0W-Tn.js";
|
7
|
+
import "../lookup-DWilfXOH.js";
|
8
|
+
import "../key-CmfU4Nff.js";
|
9
|
+
import "../http-BF9qsaeq.js";
|
10
|
+
import { getAuthenticatedDocumentLoader } from "../authdocloader-BQJG9N7v.js";
|
11
11
|
import "../runtime-DPYEDf-o.js";
|
12
12
|
|
13
13
|
export { FetchError, LanguageString, exportMultibaseKey, exportSpki, fetchDocumentLoader, getAuthenticatedDocumentLoader, getDocumentLoader, getUserAgent, importMultibaseKey, importPem, importPkcs1, importSpki, kvCache };
|
@@ -3,12 +3,12 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { codes, decode, decodeText, encode, encodeText, names } from "../../type-
|
6
|
+
import { codes, decode, decodeText, encode, encodeText, names } from "../../type-tt9Ec12R.js";
|
7
7
|
import { assertEquals } from "../../assert_equals-DSbWqCm3.js";
|
8
8
|
import "../../assert-MZs1qjMx.js";
|
9
9
|
import "../../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import "../../lookup-
|
11
|
-
import { test } from "../../testing-
|
10
|
+
import "../../lookup-BV-RYejn.js";
|
11
|
+
import { test } from "../../testing-DqxPhgD4.js";
|
12
12
|
import "../../std__assert-X-_kMxKM.js";
|
13
13
|
import "../../assert_rejects-DiIiJbZn.js";
|
14
14
|
import "../../assert_is_error-BPGph1Jx.js";
|
package/dist/runtime/url.test.js
CHANGED
@@ -3,11 +3,11 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { UrlError, expandIPv6Address, isValidPublicIPv4Address, isValidPublicIPv6Address, validatePublicUrl } from "../type-
|
6
|
+
import { UrlError, expandIPv6Address, isValidPublicIPv4Address, isValidPublicIPv6Address, validatePublicUrl } from "../type-tt9Ec12R.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
|
-
import "../lookup-
|
10
|
-
import { test } from "../testing-
|
9
|
+
import "../lookup-BV-RYejn.js";
|
10
|
+
import { test } from "../testing-DqxPhgD4.js";
|
11
11
|
import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
12
12
|
import "../assert_is_error-BPGph1Jx.js";
|
13
13
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { deno_default } from "./type-
|
7
|
-
import { doubleKnock } from "./http-
|
6
|
+
import { deno_default } from "./type-tt9Ec12R.js";
|
7
|
+
import { doubleKnock } from "./http-Dv1yjtnP.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
|
package/dist/sig/http.test.js
CHANGED
@@ -3,22 +3,22 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { exportSpki } from "../type-
|
6
|
+
import { exportSpki } from "../type-tt9Ec12R.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import "../lookup-
|
11
|
-
import "../actor-
|
12
|
-
import { exportJwk } from "../key-
|
13
|
-
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-
|
14
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../lookup-BV-RYejn.js";
|
11
|
+
import "../actor-KPC8KYj6.js";
|
12
|
+
import { exportJwk } from "../key-BLHsstcf.js";
|
13
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-Dv1yjtnP.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-DqxPhgD4.js";
|
15
15
|
import { assertExists, assertStringIncludes } from "../std__assert-X-_kMxKM.js";
|
16
16
|
import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
17
17
|
import "../assert_is_error-BPGph1Jx.js";
|
18
18
|
import "../assert_not_equals-f3m3epl3.js";
|
19
19
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
20
|
-
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-
|
21
|
-
import { esm_default } from "../esm-
|
20
|
+
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-D46Dm6Zd.js";
|
21
|
+
import { esm_default } from "../esm-c7PrxCw-.js";
|
22
22
|
import { encodeBase64 } from "byte-encodings/base64";
|
23
23
|
|
24
24
|
//#region src/sig/http.test.ts
|
package/dist/sig/key.test.js
CHANGED
@@ -3,20 +3,20 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, Multikey } from "../type-
|
6
|
+
import { CryptographicKey, Multikey } from "../type-tt9Ec12R.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import "../lookup-
|
11
|
-
import "../actor-
|
12
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../lookup-BV-RYejn.js";
|
11
|
+
import "../actor-KPC8KYj6.js";
|
12
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-BLHsstcf.js";
|
13
|
+
import { mockDocumentLoader, test } from "../testing-DqxPhgD4.js";
|
14
14
|
import "../std__assert-X-_kMxKM.js";
|
15
15
|
import { assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
16
16
|
import "../assert_is_error-BPGph1Jx.js";
|
17
17
|
import "../assert_not_equals-f3m3epl3.js";
|
18
18
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
19
|
-
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
19
|
+
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-D46Dm6Zd.js";
|
20
20
|
|
21
21
|
//#region src/sig/key.test.ts
|
22
22
|
test("validateCryptoKey()", async () => {
|
package/dist/sig/ld.test.js
CHANGED
@@ -3,18 +3,18 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey } from "../type-
|
6
|
+
import { CryptographicKey } from "../type-tt9Ec12R.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
|
-
import "../lookup-
|
10
|
-
import "../actor-
|
11
|
-
import { generateCryptoKeyPair } from "../key-
|
12
|
-
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
9
|
+
import "../lookup-BV-RYejn.js";
|
10
|
+
import "../actor-KPC8KYj6.js";
|
11
|
+
import { generateCryptoKeyPair } from "../key-BLHsstcf.js";
|
12
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-bQVyNVI4.js";
|
13
|
+
import { mockDocumentLoader, test } from "../testing-DqxPhgD4.js";
|
14
14
|
import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
15
15
|
import "../assert_is_error-BPGph1Jx.js";
|
16
16
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
17
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
17
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-D46Dm6Zd.js";
|
18
18
|
import { encodeBase64 } from "byte-encodings/base64";
|
19
19
|
|
20
20
|
//#region src/sig/ld.test.ts
|
package/dist/sig/mod.cjs
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
|
-
require('../docloader-
|
6
|
-
require('../actor-
|
7
|
-
require('../lookup-
|
8
|
-
const require_key = require('../key-
|
9
|
-
const require_http = require('../http-
|
10
|
-
const require_proof = require('../proof-
|
5
|
+
require('../docloader-CSlrTULv.cjs');
|
6
|
+
require('../actor-CfhHedxU.cjs');
|
7
|
+
require('../lookup-BtS7imxC.cjs');
|
8
|
+
const require_key = require('../key-CULAE72e.cjs');
|
9
|
+
const require_http = require('../http-Dy617oJi.cjs');
|
10
|
+
const require_proof = require('../proof-Cdt-JryO.cjs');
|
11
11
|
require('../sig-ByHXzqUi.cjs');
|
12
12
|
|
13
13
|
exports.attachSignature = require_proof.attachSignature;
|
package/dist/sig/mod.js
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import "../docloader-
|
6
|
-
import "../actor-
|
7
|
-
import "../lookup-
|
8
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-
|
9
|
-
import { signRequest, verifyRequest } from "../http-
|
10
|
-
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-
|
5
|
+
import "../docloader-BxvWvC64.js";
|
6
|
+
import "../actor-DpI0W-Tn.js";
|
7
|
+
import "../lookup-DWilfXOH.js";
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-CmfU4Nff.js";
|
9
|
+
import { signRequest, verifyRequest } from "../http-BF9qsaeq.js";
|
10
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-Bacq4fFb.js";
|
11
11
|
import "../sig-Cj3tk-ig.js";
|
12
12
|
|
13
13
|
export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/sig/owner.test.js
CHANGED
@@ -3,21 +3,21 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Create } from "../type-
|
6
|
+
import { Create } from "../type-tt9Ec12R.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import { lookupObject } from "../lookup-
|
11
|
-
import "../actor-
|
12
|
-
import "../key-
|
13
|
-
import { doesActorOwnKey, getKeyOwner } from "../owner-
|
14
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import { lookupObject } from "../lookup-BV-RYejn.js";
|
11
|
+
import "../actor-KPC8KYj6.js";
|
12
|
+
import "../key-BLHsstcf.js";
|
13
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-IdDD30Rl.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-DqxPhgD4.js";
|
15
15
|
import "../std__assert-X-_kMxKM.js";
|
16
16
|
import { assertFalse } from "../assert_rejects-DiIiJbZn.js";
|
17
17
|
import "../assert_is_error-BPGph1Jx.js";
|
18
18
|
import "../assert_not_equals-f3m3epl3.js";
|
19
19
|
import "../assert_throws-BOO88avQ.js";
|
20
|
-
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-
|
20
|
+
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-D46Dm6Zd.js";
|
21
21
|
|
22
22
|
//#region src/sig/owner.test.ts
|
23
23
|
test("doesActorOwnKey()", async () => {
|
package/dist/sig/proof.test.js
CHANGED
@@ -3,21 +3,21 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Create, DataIntegrityProof, Multikey, Note, Place, decode, importMultibaseKey } from "../type-
|
6
|
+
import { Create, DataIntegrityProof, Multikey, Note, Place, decode, importMultibaseKey } from "../type-tt9Ec12R.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import "../assert-MZs1qjMx.js";
|
9
9
|
import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import "../lookup-
|
11
|
-
import "../actor-
|
12
|
-
import "../key-
|
13
|
-
import { createProof, signObject, verifyObject, verifyProof } from "../proof-
|
14
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../lookup-BV-RYejn.js";
|
11
|
+
import "../actor-KPC8KYj6.js";
|
12
|
+
import "../key-BLHsstcf.js";
|
13
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-DqejZTy7.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-DqxPhgD4.js";
|
15
15
|
import "../std__assert-X-_kMxKM.js";
|
16
16
|
import { assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
17
17
|
import "../assert_is_error-BPGph1Jx.js";
|
18
18
|
import "../assert_not_equals-f3m3epl3.js";
|
19
19
|
import "../assert_throws-BOO88avQ.js";
|
20
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
20
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-D46Dm6Zd.js";
|
21
21
|
import { decodeHex, encodeHex } from "byte-encodings/hex";
|
22
22
|
|
23
23
|
//#region src/sig/proof.test.ts
|
@@ -3,12 +3,12 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-tt9Ec12R.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import "../assert-MZs1qjMx.js";
|
9
9
|
import "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import "../lookup-
|
11
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../lookup-BV-RYejn.js";
|
11
|
+
import { mockDocumentLoader, test } from "../testing-DqxPhgD4.js";
|
12
12
|
import "../std__assert-X-_kMxKM.js";
|
13
13
|
import "../assert_rejects-DiIiJbZn.js";
|
14
14
|
import "../assert_is_error-BPGph1Jx.js";
|
package/dist/testing/mod.js
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
7
|
-
import "../lookup-
|
8
|
-
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-
|
6
|
+
import "../type-tt9Ec12R.js";
|
7
|
+
import "../lookup-BV-RYejn.js";
|
8
|
+
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-DqxPhgD4.js";
|
9
9
|
|
10
10
|
export { createInboxContext, createRequestContext, test, testDefinitions };
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { __require, lookupWebFinger } from "./type-
|
7
|
-
import { RouterError, lookupObject, traverseCollection } from "./lookup-
|
6
|
+
import { __require, lookupWebFinger } from "./type-tt9Ec12R.js";
|
7
|
+
import { RouterError, lookupObject, traverseCollection } from "./lookup-BV-RYejn.js";
|
8
8
|
import { configure, getConsoleSink, getLogger, reset } from "@logtape/logtape";
|
9
9
|
import { trace } from "@opentelemetry/api";
|
10
10
|
|