@fedify/fedify 2.0.0-pr.451.1735 → 2.0.0-pr.457.1756
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/README.md +3 -0
- package/dist/{actor-BlCt_BFA.js → actor-2Guuxjr1.js} +1 -1
- package/dist/{actor-qRieKMCS.js → actor-BY-XzC2q.js} +185 -185
- package/dist/{actor-SSKGPs2C.cjs → actor-eIoAEhXF.cjs} +185 -185
- package/dist/{builder-Daev8Oe3.js → builder-D2QKpLm6.js} +3 -3
- package/dist/compat/mod.d.cts +2 -2
- package/dist/compat/mod.d.ts +2 -2
- package/dist/compat/transformers.test.js +15 -15
- package/dist/{context-myrGWbL_.d.ts → context-DG0huGW-.d.ts} +15 -45
- package/dist/{context-BvYz3eOb.d.cts → context-DJ8aSy2Q.d.cts} +15 -45
- package/dist/{docloader-CuY-IQHN.js → docloader-D2zQTLaE.js} +2 -2
- package/dist/{esm-CO0P-prF.js → esm-DByTH7xs.js} +1 -1
- package/dist/federation/builder.test.js +4 -4
- package/dist/federation/collection.test.js +2 -2
- package/dist/federation/handler.test.js +16 -16
- package/dist/federation/idempotency.test.js +16 -16
- package/dist/federation/inbox.test.js +3 -3
- package/dist/federation/keycache.test.js +3 -3
- package/dist/federation/kv.test.js +2 -2
- package/dist/federation/middleware.test.js +17 -17
- package/dist/federation/mod.cjs +7 -7
- package/dist/federation/mod.d.cts +1 -1
- package/dist/federation/mod.d.ts +1 -1
- package/dist/federation/mod.js +7 -7
- package/dist/federation/mq.test.js +2 -2
- package/dist/federation/negotiation.test.js +2 -2
- package/dist/federation/retry.test.js +2 -2
- package/dist/federation/router.test.js +2 -2
- package/dist/federation/send.test.js +9 -9
- package/dist/{http--W_KqmV8.js → http-BjM7OUp0.js} +2 -2
- package/dist/{http-cj5p1nm9.js → http-CD9QQ0Ua.js} +2 -2
- package/dist/{http-CZRSpr-0.cjs → http-Dj1UXLQM.cjs} +2 -2
- package/dist/{inbox-DCOu4Fxg.js → inbox-C6CcG7wq.js} +1 -1
- package/dist/{key-CLBIsQ2b.js → key-BYsMGo_J.js} +2 -2
- package/dist/{keycache-C_E92fAZ.js → keycache-B7yOiB9O.js} +1 -1
- package/dist/{keys-CESa8pOV.js → keys-PuVTl-6K.js} +1 -1
- package/dist/{kv-cache-D6OS46Qp.js → kv-cache-Czw91yyn.js} +3 -2
- package/dist/{kv-cache-z0lgwFi_.js → kv-cache-DN9pfMBe.js} +2 -1
- package/dist/{kv-cache-6gn8hq87.cjs → kv-cache-d-bBjfJo.cjs} +3 -2
- package/dist/{ld-uohK5TcN.js → ld-BFLIaSy8.js} +2 -2
- package/dist/{lookup-Bp3gBRGD.js → lookup-B2Xr_JE7.js} +185 -186
- package/dist/{lookup-B4NiLSoR.js → lookup-BPhZmKkb.js} +1 -2
- package/dist/{lookup-CfVdYD74.cjs → lookup-DTlUbFW8.cjs} +1 -2
- package/dist/middleware-BW3VFwT-.js +15 -0
- package/dist/{middleware-BEWbWO0t.js → middleware-BbqsizTo.js} +7 -7
- package/dist/{middleware-yd4xq6Dt.js → middleware-BzLHsR6z.js} +12 -12
- package/dist/middleware-C9G4PMA_.js +26 -0
- package/dist/middleware-D1bUaDUp.cjs +15 -0
- package/dist/{middleware-B5t3REnT.cjs → middleware-a5j-LR3U.cjs} +7 -7
- package/dist/{mod-VastcQsk.d.cts → mod-0noXw66R.d.cts} +2 -2
- package/dist/{mod-BYynOiJG.d.ts → mod-B9M-8jm2.d.ts} +2 -2
- package/dist/{mod-k0Dk3fGk.d.ts → mod-BoHnwOCs.d.ts} +1 -1
- package/dist/{mod-DbFNTF7m.d.cts → mod-DJcZDvjA.d.cts} +1 -1
- package/dist/mod.cjs +7 -7
- package/dist/mod.d.cts +3 -3
- package/dist/mod.d.ts +3 -3
- package/dist/mod.js +7 -7
- package/dist/nodeinfo/client.test.js +3 -3
- package/dist/nodeinfo/handler.test.js +15 -15
- package/dist/nodeinfo/types.test.js +2 -2
- package/dist/{owner-DMwt6EnB.js → owner-Nr5k9NOp.js} +2 -2
- package/dist/{proof-DVvnQ6WP.cjs → proof-CFCfdVmG.cjs} +3 -3
- package/dist/{proof-BRMzWGtg.js → proof-Vk0ZSutq.js} +3 -3
- package/dist/{proof-X6v_1MA6.js → proof-iZXDCwJw.js} +2 -2
- package/dist/{send-Cy3TUzxE.js → send-BPRDFm9z.js} +2 -2
- package/dist/sig/http.test.js +7 -7
- package/dist/sig/key.test.js +5 -5
- package/dist/sig/ld.test.js +6 -6
- package/dist/sig/mod.cjs +4 -4
- package/dist/sig/mod.js +4 -4
- package/dist/sig/owner.test.js +6 -6
- package/dist/sig/proof.test.js +6 -6
- package/dist/testing/docloader.test.js +2 -2
- package/dist/testing/mod.d.ts +15 -45
- package/dist/testing/mod.js +2 -2
- package/dist/{testing-BJJvJvZe.js → testing-CwgNAGdx.js} +1 -1
- package/dist/utils/docloader.test.js +8 -8
- package/dist/utils/kv-cache.test.js +3 -3
- package/dist/utils/mod.cjs +4 -4
- package/dist/utils/mod.d.cts +1 -1
- package/dist/utils/mod.d.ts +1 -1
- package/dist/utils/mod.js +4 -4
- package/dist/vocab/actor.test.js +4 -4
- package/dist/vocab/lookup.test.js +3 -3
- package/dist/vocab/mod.cjs +3 -3
- package/dist/vocab/mod.js +3 -3
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.test.js +3 -3
- package/dist/{vocab-BPtsEU8k.cjs → vocab-CmeXdP85.cjs} +2 -2
- package/dist/{vocab-DFaqbY9O.js → vocab-Fh7TQ89n.js} +2 -2
- package/dist/webfinger/handler.test.js +15 -15
- package/dist/webfinger/lookup.test.js +3 -3
- package/dist/webfinger/mod.cjs +1 -1
- package/dist/webfinger/mod.js +1 -1
- package/dist/x/cfworkers.test.js +2 -2
- package/dist/x/hono.d.cts +1 -1
- package/dist/x/hono.d.ts +1 -1
- package/dist/x/sveltekit.d.cts +1 -1
- package/dist/x/sveltekit.d.ts +1 -1
- package/package.json +4 -4
- package/dist/middleware-B86mRO81.cjs +0 -15
- package/dist/middleware-BzGmhttT.js +0 -26
- package/dist/middleware-DxFOBA0V.js +0 -15
package/dist/sig/mod.js
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import "../lookup-
|
6
|
-
import "../actor-
|
7
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-
|
8
|
-
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-
|
5
|
+
import "../lookup-BPhZmKkb.js";
|
6
|
+
import "../actor-BY-XzC2q.js";
|
7
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, signRequest, verifyRequest } from "../http-CD9QQ0Ua.js";
|
8
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-Vk0ZSutq.js";
|
9
9
|
import "../sig-C34-oHBl.js";
|
10
10
|
|
11
11
|
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,19 +3,19 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Create, lookupObject } from "../lookup-
|
6
|
+
import { Create, lookupObject } from "../lookup-B2Xr_JE7.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 "../actor-
|
11
|
-
import "../key-
|
12
|
-
import { doesActorOwnKey, getKeyOwner } from "../owner-
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../actor-2Guuxjr1.js";
|
11
|
+
import "../key-BYsMGo_J.js";
|
12
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-Nr5k9NOp.js";
|
13
|
+
import { mockDocumentLoader, test } from "../testing-CwgNAGdx.js";
|
14
14
|
import "../std__assert-DWivtrGR.js";
|
15
15
|
import { assertFalse } from "../assert_rejects-Ce45JcFg.js";
|
16
16
|
import "../assert_throws-BNXdRGWP.js";
|
17
17
|
import "../assert_not_equals-C80BG-_5.js";
|
18
|
-
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-
|
18
|
+
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-PuVTl-6K.js";
|
19
19
|
|
20
20
|
//#region src/sig/owner.test.ts
|
21
21
|
test("doesActorOwnKey()", async () => {
|
package/dist/sig/proof.test.js
CHANGED
@@ -3,19 +3,19 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Create, DataIntegrityProof, Multikey, Note, Place } from "../lookup-
|
6
|
+
import { Create, DataIntegrityProof, Multikey, Note, Place } from "../lookup-B2Xr_JE7.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 "../actor-
|
11
|
-
import "../key-
|
12
|
-
import { createProof, signObject, verifyObject, verifyProof } from "../proof-
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../actor-2Guuxjr1.js";
|
11
|
+
import "../key-BYsMGo_J.js";
|
12
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-iZXDCwJw.js";
|
13
|
+
import { mockDocumentLoader, test } from "../testing-CwgNAGdx.js";
|
14
14
|
import "../std__assert-DWivtrGR.js";
|
15
15
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
16
16
|
import "../assert_throws-BNXdRGWP.js";
|
17
17
|
import "../assert_not_equals-C80BG-_5.js";
|
18
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
18
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-PuVTl-6K.js";
|
19
19
|
import { decodeMultibase, importMultibaseKey } from "@fedify/vocab-runtime";
|
20
20
|
import { decodeHex, encodeHex } from "byte-encodings/hex";
|
21
21
|
|
@@ -3,11 +3,11 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../lookup-
|
6
|
+
import "../lookup-B2Xr_JE7.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 { mockDocumentLoader, test } from "../testing-
|
10
|
+
import { mockDocumentLoader, test } from "../testing-CwgNAGdx.js";
|
11
11
|
import "../std__assert-DWivtrGR.js";
|
12
12
|
import "../assert_rejects-Ce45JcFg.js";
|
13
13
|
import "../assert_throws-BNXdRGWP.js";
|
package/dist/testing/mod.d.ts
CHANGED
@@ -7552,9 +7552,7 @@ interface Federatable<TContextData> {
|
|
7552
7552
|
* must have one or more variables.
|
7553
7553
|
* @param dispatcher An object dispatcher callback to register.
|
7554
7554
|
*/
|
7555
|
-
setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls:
|
7556
|
-
typeId: URL;
|
7557
|
-
}, path: `${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
|
7555
|
+
setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls: ConstructorWithTypeId<TObject>, path: `${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
|
7558
7556
|
/**
|
7559
7557
|
* Registers an object dispatcher.
|
7560
7558
|
*
|
@@ -7568,9 +7566,7 @@ interface Federatable<TContextData> {
|
|
7568
7566
|
* must have one or more variables.
|
7569
7567
|
* @param dispatcher An object dispatcher callback to register.
|
7570
7568
|
*/
|
7571
|
-
setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls:
|
7572
|
-
typeId: URL;
|
7573
|
-
}, path: `${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
|
7569
|
+
setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls: ConstructorWithTypeId<TObject>, path: `${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
|
7574
7570
|
/**
|
7575
7571
|
* Registers an object dispatcher.
|
7576
7572
|
*
|
@@ -7584,9 +7580,7 @@ interface Federatable<TContextData> {
|
|
7584
7580
|
* must have one or more variables.
|
7585
7581
|
* @param dispatcher An object dispatcher callback to register.
|
7586
7582
|
*/
|
7587
|
-
setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls:
|
7588
|
-
typeId: URL;
|
7589
|
-
}, path: `${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
|
7583
|
+
setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls: ConstructorWithTypeId<TObject>, path: `${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}{${TParam}}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
|
7590
7584
|
/**
|
7591
7585
|
* Registers an object dispatcher.
|
7592
7586
|
*
|
@@ -7600,9 +7594,7 @@ interface Federatable<TContextData> {
|
|
7600
7594
|
* must have one or more variables.
|
7601
7595
|
* @param dispatcher An object dispatcher callback to register.
|
7602
7596
|
*/
|
7603
|
-
setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls:
|
7604
|
-
typeId: URL;
|
7605
|
-
}, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
|
7597
|
+
setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls: ConstructorWithTypeId<TObject>, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
|
7606
7598
|
/**
|
7607
7599
|
* Registers an object dispatcher.
|
7608
7600
|
*
|
@@ -7616,9 +7608,7 @@ interface Federatable<TContextData> {
|
|
7616
7608
|
* must have one or more variables.
|
7617
7609
|
* @param dispatcher An object dispatcher callback to register.
|
7618
7610
|
*/
|
7619
|
-
setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls:
|
7620
|
-
typeId: URL;
|
7621
|
-
}, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
|
7611
|
+
setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls: ConstructorWithTypeId<TObject>, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
|
7622
7612
|
/**
|
7623
7613
|
* Registers an object dispatcher.
|
7624
7614
|
*
|
@@ -7632,9 +7622,7 @@ interface Federatable<TContextData> {
|
|
7632
7622
|
* must have one or more variables.
|
7633
7623
|
* @param dispatcher An object dispatcher callback to register.
|
7634
7624
|
*/
|
7635
|
-
setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls:
|
7636
|
-
typeId: URL;
|
7637
|
-
}, path: `${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
|
7625
|
+
setObjectDispatcher<TObject extends Object$1, TParam extends string>(cls: ConstructorWithTypeId<TObject>, path: `${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: ObjectDispatcher<TContextData, TObject, TParam>): ObjectCallbackSetters<TContextData, TObject, TParam>;
|
7638
7626
|
/**
|
7639
7627
|
* Registers an inbox dispatcher.
|
7640
7628
|
*
|
@@ -7775,9 +7763,7 @@ interface Federatable<TContextData> {
|
|
7775
7763
|
* The path must have one or more variables.
|
7776
7764
|
* @param dispatcher A collection dispatcher callback to register.
|
7777
7765
|
*/
|
7778
|
-
setCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType:
|
7779
|
-
typeId: URL;
|
7780
|
-
}, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
|
7766
|
+
setCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: ConstructorWithTypeId<TObject>, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
|
7781
7767
|
/**
|
7782
7768
|
* Registers a collection of objects dispatcher.
|
7783
7769
|
*
|
@@ -7792,9 +7778,7 @@ interface Federatable<TContextData> {
|
|
7792
7778
|
* The path must have one or more variables.
|
7793
7779
|
* @param dispatcher A collection dispatcher callback to register.
|
7794
7780
|
*/
|
7795
|
-
setCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType:
|
7796
|
-
typeId: URL;
|
7797
|
-
}, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
|
7781
|
+
setCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: ConstructorWithTypeId<TObject>, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
|
7798
7782
|
/**
|
7799
7783
|
* Registers a collection of objects dispatcher.
|
7800
7784
|
*
|
@@ -7809,9 +7793,7 @@ interface Federatable<TContextData> {
|
|
7809
7793
|
* The path must have one or more variables.
|
7810
7794
|
* @param dispatcher A collection dispatcher callback to register.
|
7811
7795
|
*/
|
7812
|
-
setCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType:
|
7813
|
-
typeId: URL;
|
7814
|
-
}, path: `${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
|
7796
|
+
setCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: ConstructorWithTypeId<TObject>, path: `${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
|
7815
7797
|
/**
|
7816
7798
|
* Registers an ordered collection of objects dispatcher.
|
7817
7799
|
*
|
@@ -7826,9 +7808,7 @@ interface Federatable<TContextData> {
|
|
7826
7808
|
* The path must have one or more variables.
|
7827
7809
|
* @param dispatcher A collection dispatcher callback to register.
|
7828
7810
|
*/
|
7829
|
-
setOrderedCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType:
|
7830
|
-
typeId: URL;
|
7831
|
-
}, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
|
7811
|
+
setOrderedCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: ConstructorWithTypeId<TObject>, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
|
7832
7812
|
/**
|
7833
7813
|
* Registers an ordered collection of objects dispatcher.
|
7834
7814
|
*
|
@@ -7843,9 +7823,7 @@ interface Federatable<TContextData> {
|
|
7843
7823
|
* The path must have one or more variables.
|
7844
7824
|
* @param dispatcher A collection dispatcher callback to register.
|
7845
7825
|
*/
|
7846
|
-
setOrderedCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType:
|
7847
|
-
typeId: URL;
|
7848
|
-
}, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
|
7826
|
+
setOrderedCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: ConstructorWithTypeId<TObject>, path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
|
7849
7827
|
/**
|
7850
7828
|
* Registers an ordered collection of objects dispatcher.
|
7851
7829
|
*
|
@@ -7860,9 +7838,7 @@ interface Federatable<TContextData> {
|
|
7860
7838
|
* The path must have one or more variables.
|
7861
7839
|
* @param dispatcher A collection dispatcher callback to register.
|
7862
7840
|
*/
|
7863
|
-
setOrderedCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType:
|
7864
|
-
typeId: URL;
|
7865
|
-
}, path: `${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
|
7841
|
+
setOrderedCollectionDispatcher<TObject extends Object$1, TParam extends string>(name: string | symbol, itemType: ConstructorWithTypeId<TObject>, path: `${string}${Rfc6570Expression<TParam>}${string}`, dispatcher: CustomCollectionDispatcher<TObject, TParam, RequestContext<TContextData>, TContextData>): CustomCollectionCallbackSetters<TParam, RequestContext<TContextData>, TContextData>;
|
7866
7842
|
}
|
7867
7843
|
/**
|
7868
7844
|
* An object that registers federation-related business logic and dispatches
|
@@ -8320,9 +8296,7 @@ interface Context<TContextData> {
|
|
8320
8296
|
* @throws {TypeError} If values are invalid.
|
8321
8297
|
* @since 0.7.0
|
8322
8298
|
*/
|
8323
|
-
getObjectUri<TObject extends Object$1>(cls:
|
8324
|
-
typeId: URL;
|
8325
|
-
}, values: Record<string, string>): URL;
|
8299
|
+
getObjectUri<TObject extends Object$1>(cls: ConstructorWithTypeId<TObject>, values: Record<string, string>): URL;
|
8326
8300
|
/**
|
8327
8301
|
* Builds the URI of an actor's outbox with the given identifier.
|
8328
8302
|
* @param identifier The actor's identifier.
|
@@ -8636,9 +8610,7 @@ interface RequestContext<TContextData> extends Context<TContextData> {
|
|
8636
8610
|
* @throws {TypeError} If values are invalid.
|
8637
8611
|
* @since 0.7.0
|
8638
8612
|
*/
|
8639
|
-
getObject<TObject extends Object$1>(cls:
|
8640
|
-
typeId: URL;
|
8641
|
-
}, values: Record<string, string>): Promise<TObject | null>;
|
8613
|
+
getObject<TObject extends Object$1>(cls: ConstructorWithTypeId<TObject>, values: Record<string, string>): Promise<TObject | null>;
|
8642
8614
|
/**
|
8643
8615
|
* Gets the public key of the sender, if any exists and it is verified.
|
8644
8616
|
* Otherwise, `null` is returned.
|
@@ -8782,9 +8754,7 @@ type ParseUriResult =
|
|
8782
8754
|
* The case of an object URI.
|
8783
8755
|
*/ | {
|
8784
8756
|
readonly type: "object";
|
8785
|
-
readonly class:
|
8786
|
-
typeId: URL;
|
8787
|
-
};
|
8757
|
+
readonly class: ConstructorWithTypeId<Object$1>;
|
8788
8758
|
readonly typeId: URL;
|
8789
8759
|
readonly values: Record<string, string>;
|
8790
8760
|
}
|
package/dist/testing/mod.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../lookup-
|
7
|
-
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-
|
6
|
+
import "../lookup-B2Xr_JE7.js";
|
7
|
+
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-CwgNAGdx.js";
|
8
8
|
|
9
9
|
export { createInboxContext, createRequestContext, test, testDefinitions };
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { RouterError, __require, lookupObject, lookupWebFinger, traverseCollection } from "./lookup-
|
6
|
+
import { RouterError, __require, lookupObject, lookupWebFinger, traverseCollection } from "./lookup-B2Xr_JE7.js";
|
7
7
|
import { configure, getConsoleSink, getLogger, reset } from "@logtape/logtape";
|
8
8
|
import { trace } from "@opentelemetry/api";
|
9
9
|
|
@@ -3,21 +3,21 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../lookup-
|
6
|
+
import "../lookup-B2Xr_JE7.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 "../actor-
|
11
|
-
import "../key-
|
12
|
-
import { verifyRequest } from "../http
|
13
|
-
import { getAuthenticatedDocumentLoader } from "../docloader-
|
14
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../actor-2Guuxjr1.js";
|
11
|
+
import "../key-BYsMGo_J.js";
|
12
|
+
import { verifyRequest } from "../http-BjM7OUp0.js";
|
13
|
+
import { getAuthenticatedDocumentLoader } from "../docloader-D2zQTLaE.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-CwgNAGdx.js";
|
15
15
|
import "../std__assert-DWivtrGR.js";
|
16
16
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
17
17
|
import "../assert_throws-BNXdRGWP.js";
|
18
18
|
import "../assert_not_equals-C80BG-_5.js";
|
19
|
-
import { rsaPrivateKey2 } from "../keys-
|
20
|
-
import { esm_default } from "../esm-
|
19
|
+
import { rsaPrivateKey2 } from "../keys-PuVTl-6K.js";
|
20
|
+
import { esm_default } from "../esm-DByTH7xs.js";
|
21
21
|
import { UrlError } from "@fedify/vocab-runtime";
|
22
22
|
|
23
23
|
//#region src/utils/docloader.test.ts
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../lookup-
|
7
|
-
import { MockKvStore, kvCache } from "../kv-cache-
|
8
|
-
import { mockDocumentLoader, test } from "../testing-
|
6
|
+
import "../lookup-B2Xr_JE7.js";
|
7
|
+
import { MockKvStore, kvCache } from "../kv-cache-DN9pfMBe.js";
|
8
|
+
import { mockDocumentLoader, test } from "../testing-CwgNAGdx.js";
|
9
9
|
import { preloadedContexts } from "@fedify/vocab-runtime";
|
10
10
|
import { deepStrictEqual, throws } from "node:assert";
|
11
11
|
|
package/dist/utils/mod.cjs
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
|
-
require('../lookup-
|
6
|
-
require('../actor-
|
7
|
-
require('../http-
|
8
|
-
const require_kv_cache = require('../kv-cache-
|
5
|
+
require('../lookup-DTlUbFW8.cjs');
|
6
|
+
require('../actor-eIoAEhXF.cjs');
|
7
|
+
require('../http-Dj1UXLQM.cjs');
|
8
|
+
const require_kv_cache = require('../kv-cache-d-bBjfJo.cjs');
|
9
9
|
require('../utils-DyRU1gdZ.cjs');
|
10
10
|
|
11
11
|
exports.getAuthenticatedDocumentLoader = require_kv_cache.getAuthenticatedDocumentLoader;
|
package/dist/utils/mod.d.cts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import "../vocab-CeDBzu-f.cjs";
|
2
2
|
import "../http-M8k5mKc0.cjs";
|
3
3
|
import "../kv-Bxr0Q87_.cjs";
|
4
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-
|
4
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-0noXw66R.cjs";
|
5
5
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/dist/utils/mod.d.ts
CHANGED
@@ -3,5 +3,5 @@ import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
import "../vocab-BCWe1Ih5.js";
|
4
4
|
import "../http-BbO0ejuk.js";
|
5
5
|
import "../kv-BKNZ-Tb-.js";
|
6
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-
|
6
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-B9M-8jm2.js";
|
7
7
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/dist/utils/mod.js
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import "../lookup-
|
6
|
-
import "../actor-
|
7
|
-
import "../http-
|
8
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-
|
5
|
+
import "../lookup-BPhZmKkb.js";
|
6
|
+
import "../actor-BY-XzC2q.js";
|
7
|
+
import "../http-CD9QQ0Ua.js";
|
8
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-Czw91yyn.js";
|
9
9
|
import "../utils-D-Va7aXC.js";
|
10
10
|
|
11
11
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/dist/vocab/actor.test.js
CHANGED
@@ -3,17 +3,17 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Application, Group, Organization, Person, Service, __export } from "../lookup-
|
6
|
+
import { Application, Group, Organization, Person, Service, __export } from "../lookup-B2Xr_JE7.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 { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-
|
11
|
-
import { test } from "../testing-
|
10
|
+
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-2Guuxjr1.js";
|
11
|
+
import { test } from "../testing-CwgNAGdx.js";
|
12
12
|
import { assertStrictEquals } from "../std__assert-DWivtrGR.js";
|
13
13
|
import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
14
14
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
15
15
|
import "../assert_not_equals-C80BG-_5.js";
|
16
|
-
import { esm_default } from "../esm-
|
16
|
+
import { esm_default } from "../esm-DByTH7xs.js";
|
17
17
|
|
18
18
|
//#region ../../node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
|
19
19
|
var PreconditionFailure = class PreconditionFailure extends Error {
|
@@ -3,16 +3,16 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Collection, Note, Object as Object$1, Person, lookupObject, traverseCollection } from "../lookup-
|
6
|
+
import { Collection, Note, Object as Object$1, Person, lookupObject, traverseCollection } from "../lookup-B2Xr_JE7.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 { mockDocumentLoader, test } from "../testing-
|
10
|
+
import { mockDocumentLoader, test } from "../testing-CwgNAGdx.js";
|
11
11
|
import "../std__assert-DWivtrGR.js";
|
12
12
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
13
13
|
import "../assert_throws-BNXdRGWP.js";
|
14
14
|
import "../assert_not_equals-C80BG-_5.js";
|
15
|
-
import { esm_default } from "../esm-
|
15
|
+
import { esm_default } from "../esm-DByTH7xs.js";
|
16
16
|
|
17
17
|
//#region src/vocab/lookup.test.ts
|
18
18
|
test("lookupObject()", {
|
package/dist/vocab/mod.cjs
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
|
-
require('../lookup-
|
6
|
-
const require_actor = require('../actor-
|
7
|
-
const require_vocab = require('../vocab-
|
5
|
+
require('../lookup-DTlUbFW8.cjs');
|
6
|
+
const require_actor = require('../actor-eIoAEhXF.cjs');
|
7
|
+
const require_vocab = require('../vocab-CmeXdP85.cjs');
|
8
8
|
|
9
9
|
exports.Accept = require_actor.Accept;
|
10
10
|
exports.Activity = require_actor.Activity;
|
package/dist/vocab/mod.js
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import "../lookup-
|
6
|
-
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "../actor-
|
7
|
-
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-
|
5
|
+
import "../lookup-BPhZmKkb.js";
|
6
|
+
import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "../actor-BY-XzC2q.js";
|
7
|
+
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-Fh7TQ89n.js";
|
8
8
|
|
9
9
|
export { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, isFediverseHandle, lookupObject, normalizeActorHandle, parseFediverseHandle, toAcctUrl, traverseCollection };
|
package/dist/vocab/type.test.js
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Person, getTypeId } from "../lookup-
|
6
|
+
import { Person, getTypeId } from "../lookup-B2Xr_JE7.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
|
-
import { test } from "../testing-
|
8
|
+
import { test } from "../testing-CwgNAGdx.js";
|
9
9
|
|
10
10
|
//#region src/vocab/type.test.ts
|
11
11
|
test("getTypeId()", () => {
|
package/dist/vocab/vocab.test.js
CHANGED
@@ -3,16 +3,16 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, Announce, Collection, Create, CryptographicKey, Follow, Hashtag, Link, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, vocab_exports } from "../lookup-
|
6
|
+
import { Activity, Announce, Collection, Create, CryptographicKey, Follow, Hashtag, Link, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, vocab_exports } from "../lookup-B2Xr_JE7.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
9
|
import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
|
10
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import { mockDocumentLoader, test } from "../testing-CwgNAGdx.js";
|
11
11
|
import "../std__assert-DWivtrGR.js";
|
12
12
|
import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
13
13
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
14
14
|
import { assertNotEquals } from "../assert_not_equals-C80BG-_5.js";
|
15
|
-
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-
|
15
|
+
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-PuVTl-6K.js";
|
16
16
|
import { pascalCase } from "es-toolkit";
|
17
17
|
import { LanguageString, decodeMultibase } from "@fedify/vocab-runtime";
|
18
18
|
import { Validator } from "@cfworker/json-schema";
|
@@ -3,8 +3,8 @@
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
5
|
const require_chunk = require('./chunk-DqRYRqnO.cjs');
|
6
|
-
const require_lookup = require('./lookup-
|
7
|
-
const require_actor = require('./actor-
|
6
|
+
const require_lookup = require('./lookup-DTlUbFW8.cjs');
|
7
|
+
const require_actor = require('./actor-eIoAEhXF.cjs');
|
8
8
|
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
9
9
|
const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
|
10
10
|
const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runtime"));
|
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { deno_default, lookupWebFinger } from "./lookup-
|
6
|
-
import { Object as Object$1, getTypeId } from "./actor-
|
5
|
+
import { deno_default, lookupWebFinger } from "./lookup-BPhZmKkb.js";
|
6
|
+
import { Object as Object$1, getTypeId } from "./actor-BY-XzC2q.js";
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
8
8
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
9
9
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
@@ -3,30 +3,30 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Image, Link, Person } from "../lookup-
|
6
|
+
import { Image, Link, Person } from "../lookup-B2Xr_JE7.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
10
|
import { MemoryKvStore } from "../kv-CRZrzyXm.js";
|
11
|
-
import { createFederation, handleWebFinger } from "../middleware-
|
11
|
+
import { createFederation, handleWebFinger } from "../middleware-BzLHsR6z.js";
|
12
12
|
import "../client-pY7-3icS.js";
|
13
13
|
import "../types-C2XVl6gj.js";
|
14
|
-
import "../actor-
|
15
|
-
import "../key-
|
16
|
-
import "../http
|
17
|
-
import "../ld-
|
18
|
-
import "../owner-
|
19
|
-
import "../proof-
|
20
|
-
import "../docloader-
|
21
|
-
import "../kv-cache-
|
22
|
-
import "../inbox-
|
23
|
-
import "../builder-
|
14
|
+
import "../actor-2Guuxjr1.js";
|
15
|
+
import "../key-BYsMGo_J.js";
|
16
|
+
import "../http-BjM7OUp0.js";
|
17
|
+
import "../ld-BFLIaSy8.js";
|
18
|
+
import "../owner-Nr5k9NOp.js";
|
19
|
+
import "../proof-iZXDCwJw.js";
|
20
|
+
import "../docloader-D2zQTLaE.js";
|
21
|
+
import "../kv-cache-DN9pfMBe.js";
|
22
|
+
import "../inbox-C6CcG7wq.js";
|
23
|
+
import "../builder-D2QKpLm6.js";
|
24
24
|
import "../collection-BzWsN9pB.js";
|
25
|
-
import "../keycache-
|
25
|
+
import "../keycache-B7yOiB9O.js";
|
26
26
|
import "../negotiation-C4nFufNk.js";
|
27
27
|
import "../retry-CfF8Gn4d.js";
|
28
|
-
import "../send-
|
29
|
-
import { createRequestContext, test } from "../testing-
|
28
|
+
import "../send-BPRDFm9z.js";
|
29
|
+
import { createRequestContext, test } from "../testing-CwgNAGdx.js";
|
30
30
|
import "../std__assert-DWivtrGR.js";
|
31
31
|
import "../assert_rejects-Ce45JcFg.js";
|
32
32
|
import "../assert_throws-BNXdRGWP.js";
|
@@ -3,16 +3,16 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { lookupWebFinger } from "../lookup-
|
6
|
+
import { lookupWebFinger } from "../lookup-B2Xr_JE7.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 { test } from "../testing-
|
10
|
+
import { test } from "../testing-CwgNAGdx.js";
|
11
11
|
import "../std__assert-DWivtrGR.js";
|
12
12
|
import "../assert_rejects-Ce45JcFg.js";
|
13
13
|
import "../assert_throws-BNXdRGWP.js";
|
14
14
|
import "../assert_not_equals-C80BG-_5.js";
|
15
|
-
import { esm_default } from "../esm-
|
15
|
+
import { esm_default } from "../esm-DByTH7xs.js";
|
16
16
|
import { withTimeout } from "es-toolkit";
|
17
17
|
|
18
18
|
//#region src/webfinger/lookup.test.ts
|
package/dist/webfinger/mod.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
|
-
const require_lookup = require('../lookup-
|
5
|
+
const require_lookup = require('../lookup-DTlUbFW8.cjs');
|
6
6
|
require('../webfinger-vAtLmxOF.cjs');
|
7
7
|
|
8
8
|
exports.lookupWebFinger = require_lookup.lookupWebFinger;
|
package/dist/webfinger/mod.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { lookupWebFinger } from "../lookup-
|
5
|
+
import { lookupWebFinger } from "../lookup-BPhZmKkb.js";
|
6
6
|
import "../webfinger-C72Y8lrh.js";
|
7
7
|
|
8
8
|
export { lookupWebFinger };
|
package/dist/x/cfworkers.test.js
CHANGED
@@ -3,11 +3,11 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../lookup-
|
6
|
+
import "../lookup-B2Xr_JE7.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 { test } from "../testing-
|
10
|
+
import { test } from "../testing-CwgNAGdx.js";
|
11
11
|
import "../std__assert-DWivtrGR.js";
|
12
12
|
import "../assert_rejects-Ce45JcFg.js";
|
13
13
|
import "../assert_throws-BNXdRGWP.js";
|