@fedify/fedify 2.0.0-dev.1604 → 2.0.0-dev.1641
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-CP03csrm.cjs +37786 -0
- package/dist/actor-DMgu-ZjT.d.cts +128 -0
- package/dist/{actor-BC3XtGTj.js → actor-DU511yTk.js} +200 -200
- package/dist/{actor-CmRlosMl.js → actor-DVpsNXhn.js} +1 -1
- package/dist/{authdocloader-CzpPQC01.js → authdocloader-BkIZCKQv.js} +3 -3
- package/dist/authdocloader-BnsFSERg.cjs +58 -0
- package/dist/{authdocloader-D-DICGXT.js → authdocloader-DCgMyo82.js} +6 -6
- package/dist/{builder-D9zidAqR.js → builder-E2Icrl_a.js} +4 -4
- package/dist/chunk-DqRYRqnO.cjs +34 -0
- package/dist/{client-Bsj0vQPr.js → client-BW4V0OJx.js} +1 -1
- package/dist/client-CegPX0Rn.d.cts +222 -0
- package/dist/compat/mod.cjs +10 -0
- package/dist/compat/mod.d.cts +13 -0
- package/dist/compat/mod.js +5 -5
- package/dist/compat/transformers.test.js +16 -16
- package/dist/compat-DmDDELst.cjs +4 -0
- package/dist/compat-nxUqe4Z-.js +4 -0
- package/dist/context-Dq8aCtMH.d.cts +2255 -0
- package/dist/{docloader-CkASOfZ5.js → docloader-BtqIh1OE.js} +188 -8
- package/dist/docloader-D-MrRyHl.d.cts +219 -0
- package/dist/docloader-kae6M-GI.cjs +4861 -0
- package/dist/{esm-CXF1VoeR.js → esm-mtx3XJAD.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 +29 -0
- package/dist/federation/mod.d.cts +13 -0
- package/dist/federation/mod.js +15 -15
- 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/{federation-CMX7WzeL.js → federation-D1U8YY9t.js} +3 -3
- package/dist/federation-H2_En3j5.cjs +244 -0
- package/dist/http-BS6766zs.d.cts +253 -0
- package/dist/{http-B_pxY5of.js → http-C7uYFcBo.js} +6 -6
- package/dist/{http-CSYNybkH.js → http-Cox5GsED.js} +2 -2
- package/dist/http-ZhcoaYEa.cjs +826 -0
- package/dist/{inbox-DoJlwIE4.js → inbox-BDdRbWNI.js} +1 -1
- package/dist/key-B9Z5ZuX9.js +10 -0
- package/dist/{key-Bif4eMj7.js → key-Cc0JlcKe.js} +5 -5
- package/dist/{key-BOzqiGbl.js → key-CfiBDu3o.js} +2 -2
- package/dist/{key-DWWqeyaq.js → key-CgwCzDC4.js} +3 -3
- package/dist/key-D-7DPHNl.cjs +10 -0
- package/dist/key-HqzOCwDc.cjs +290 -0
- package/dist/{keycache--NYDYifd.js → keycache-CVBjz3xi.js} +1 -1
- package/dist/{keys-MacD9GP6.js → keys-CBKbYaJA.js} +1 -1
- package/dist/kv-63Cil1MD.d.cts +81 -0
- package/dist/{ld-D9oTBLrs.js → ld-CxgmnSO3.js} +2 -2
- package/dist/{lookup-DuzrBbTj.js → lookup-CiU3QxQz.js} +1 -1
- package/dist/{lookup-Cz9VSYxw.js → lookup-NuT9cCSl.js} +4 -4
- package/dist/lookup-QHjmy4Og.cjs +137 -0
- package/dist/middleware-BHboQ4BE.js +25 -0
- package/dist/middleware-Bp3I9z8r.js +17 -0
- package/dist/{middleware-CgNm3XOJ.js → middleware-ByPnvMMS.js} +27 -27
- package/dist/{middleware-C0w2M0tb.js → middleware-DXidHY4N.js} +28 -28
- package/dist/middleware-LyCG_YVM.cjs +4235 -0
- package/dist/middleware-oYqSU5ky.cjs +17 -0
- package/dist/mod-BClfg3ej.d.cts +266 -0
- package/dist/mod-BhMnAkFX.d.cts +80 -0
- package/dist/mod-C2tOeRkN.d.cts +1 -0
- package/dist/mod-Dc_-mf8s.d.cts +102 -0
- package/dist/mod-FZd39qVq.d.cts +1 -0
- package/dist/mod-evzlRVZq.d.cts +289 -0
- package/dist/mod-jQ4OODsl.d.cts +113 -0
- package/dist/mod.cjs +150 -0
- package/dist/mod.d.cts +17 -0
- package/dist/mod.js +20 -20
- package/dist/mq-B7R1Q-M5.d.cts +140 -0
- package/dist/nodeinfo/client.test.js +5 -5
- package/dist/nodeinfo/handler.test.js +16 -16
- package/dist/nodeinfo/mod.cjs +11 -0
- package/dist/nodeinfo/mod.d.cts +5 -0
- package/dist/nodeinfo/mod.js +6 -6
- package/dist/nodeinfo/types.test.js +3 -3
- package/dist/nodeinfo-Co9lJrWl.cjs +4 -0
- package/dist/nodeinfo-DfycQ8Wf.js +4 -0
- package/dist/owner-B-7Ptt_m.d.cts +67 -0
- package/dist/{owner-gB-pDKA-.js → owner-Cxob5_PK.js} +2 -2
- package/dist/proof-2Gcor0_N.cjs +673 -0
- package/dist/{proof-CScVkkIT.js → proof-BiSQNUmQ.js} +2 -2
- package/dist/{proof-VPikK_0V.js → proof-DkxwMaWE.js} +6 -6
- 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 +25 -0
- package/dist/runtime/mod.d.cts +6 -0
- package/dist/runtime/mod.js +10 -10
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/runtime-C58AJWSv.cjs +4 -0
- package/dist/runtime-DPYEDf-o.js +4 -0
- package/dist/{send-flZ7H10-.js → send-DSEhWIYD.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 +30 -0
- package/dist/sig/mod.d.cts +8 -0
- package/dist/sig/mod.js +10 -10
- package/dist/sig/owner.test.js +7 -7
- package/dist/sig/proof.test.js +7 -7
- package/dist/sig-ByHXzqUi.cjs +4 -0
- package/dist/sig-Cj3tk-ig.js +4 -0
- package/dist/testing/docloader.test.js +3 -3
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-CdBSI4xF.js → testing-ByQmUvf-.js} +2 -2
- package/dist/{transformers-Dna8Fg7k.js → transformers-BFT6d7J5.js} +3 -3
- package/dist/transformers-CoBS-oFG.cjs +116 -0
- package/dist/{type-CAteiET0.js → type-B4NJkfVg.js} +381 -201
- package/dist/types-Bqt2EgP0.cjs +315 -0
- package/dist/{types-Vo0qKhN7.js → types-l2uh_ZhP.js} +4 -4
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.cjs +87 -0
- package/dist/vocab/mod.d.cts +6 -0
- package/dist/vocab/mod.js +7 -7
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +40 -5
- package/dist/vocab-B0-5a8pw.cjs +282 -0
- package/dist/vocab-DJTYMqyU.d.cts +14632 -0
- package/dist/{vocab-89qErSc9.js → vocab-lBFcVxVF.js} +6 -6
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.cjs +9 -0
- package/dist/webfinger/mod.d.cts +4 -0
- package/dist/webfinger/mod.js +6 -6
- package/dist/webfinger-BjOEdFPs.cjs +4 -0
- package/dist/webfinger-De_bU0iE.js +4 -0
- package/dist/x/cfworkers.cjs +100 -0
- package/dist/x/cfworkers.d.cts +59 -0
- package/dist/x/cfworkers.js +3 -3
- package/dist/x/cfworkers.test.js +3 -3
- package/dist/x/hono.cjs +61 -0
- package/dist/x/hono.d.cts +54 -0
- package/dist/x/hono.js +3 -3
- package/dist/x/sveltekit.cjs +69 -0
- package/dist/x/sveltekit.d.cts +46 -0
- package/dist/x/sveltekit.js +3 -3
- package/package.json +68 -13
- package/dist/compat-Bb5myD13.js +0 -4
- package/dist/key-BteSu1lX.js +0 -10
- package/dist/middleware-CNfiKLIZ.js +0 -25
- package/dist/middleware-CnvU63kV.js +0 -17
- package/dist/nodeinfo-CyEbLjHs.js +0 -4
- package/dist/runtime-BSkOVUWM.js +0 -4
- package/dist/sig-BXJO--F9.js +0 -4
- package/dist/webfinger-C3GIyXIg.js +0 -4
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fedify/fedify",
|
3
|
-
"version": "2.0.0-dev.
|
3
|
+
"version": "2.0.0-dev.1641+6b0c942c",
|
4
4
|
"description": "An ActivityPub server framework",
|
5
5
|
"keywords": [
|
6
6
|
"ActivityPub",
|
@@ -35,67 +35,122 @@
|
|
35
35
|
"dist"
|
36
36
|
],
|
37
37
|
"module": "./dist/mod.js",
|
38
|
+
"main": "./dist/mod.cjs",
|
38
39
|
"types": "./dist/mod.d.ts",
|
39
40
|
"exports": {
|
40
41
|
".": {
|
41
|
-
"types":
|
42
|
+
"types": {
|
43
|
+
"import": "./dist/mod.d.ts",
|
44
|
+
"require": "./dist/mod.d.cts",
|
45
|
+
"default": "./dist/mod.d.ts"
|
46
|
+
},
|
42
47
|
"import": "./dist/mod.js",
|
48
|
+
"require": "./dist/mod.cjs",
|
43
49
|
"default": "./dist/mod.js"
|
44
50
|
},
|
45
51
|
"./compat": {
|
46
|
-
"types":
|
52
|
+
"types": {
|
53
|
+
"import": "./dist/compat/mod.d.ts",
|
54
|
+
"require": "./dist/compat/mod.d.cts",
|
55
|
+
"default": "./dist/compat/mod.d.ts"
|
56
|
+
},
|
47
57
|
"import": "./dist/compat/mod.js",
|
58
|
+
"require": "./dist/compat/mod.cjs",
|
48
59
|
"default": "./dist/compat/mod.js"
|
49
60
|
},
|
50
61
|
"./federation": {
|
51
|
-
"types":
|
62
|
+
"types": {
|
63
|
+
"import": "./dist/federation/mod.d.ts",
|
64
|
+
"require": "./dist/federation/mod.d.cts",
|
65
|
+
"default": "./dist/federation/mod.d.ts"
|
66
|
+
},
|
52
67
|
"import": "./dist/federation/mod.js",
|
68
|
+
"require": "./dist/federation/mod.cjs",
|
53
69
|
"default": "./dist/federation/mod.js"
|
54
70
|
},
|
55
71
|
"./nodeinfo": {
|
56
|
-
"types":
|
72
|
+
"types": {
|
73
|
+
"import": "./dist/nodeinfo/mod.d.ts",
|
74
|
+
"require": "./dist/nodeinfo/mod.d.cts",
|
75
|
+
"default": "./dist/nodeinfo/mod.d.ts"
|
76
|
+
},
|
57
77
|
"import": "./dist/nodeinfo/mod.js",
|
78
|
+
"require": "./dist/nodeinfo/mod.cjs",
|
58
79
|
"default": "./dist/nodeinfo/mod.js"
|
59
80
|
},
|
60
81
|
"./runtime": {
|
61
|
-
"types":
|
82
|
+
"types": {
|
83
|
+
"import": "./dist/runtime/mod.d.ts",
|
84
|
+
"require": "./dist/runtime/mod.d.cts",
|
85
|
+
"default": "./dist/runtime/mod.d.ts"
|
86
|
+
},
|
62
87
|
"import": "./dist/runtime/mod.js",
|
88
|
+
"require": "./dist/runtime/mod.cjs",
|
63
89
|
"default": "./dist/runtime/mod.js"
|
64
90
|
},
|
65
91
|
"./sig": {
|
66
|
-
"types":
|
92
|
+
"types": {
|
93
|
+
"import": "./dist/sig/mod.d.ts",
|
94
|
+
"require": "./dist/sig/mod.d.cts",
|
95
|
+
"default": "./dist/sig/mod.d.ts"
|
96
|
+
},
|
67
97
|
"import": "./dist/sig/mod.js",
|
98
|
+
"require": "./dist/sig/mod.cjs",
|
68
99
|
"default": "./dist/sig/mod.js"
|
69
100
|
},
|
70
101
|
"./vocab": {
|
71
|
-
"types":
|
102
|
+
"types": {
|
103
|
+
"import": "./dist/vocab/mod.d.ts",
|
104
|
+
"require": "./dist/vocab/mod.d.cts",
|
105
|
+
"default": "./dist/vocab/mod.d.ts"
|
106
|
+
},
|
72
107
|
"import": "./dist/vocab/mod.js",
|
108
|
+
"require": "./dist/vocab/mod.cjs",
|
73
109
|
"default": "./dist/vocab/mod.js"
|
74
110
|
},
|
75
111
|
"./webfinger": {
|
76
|
-
"types":
|
112
|
+
"types": {
|
113
|
+
"import": "./dist/webfinger/mod.d.ts",
|
114
|
+
"require": "./dist/webfinger/mod.d.cts",
|
115
|
+
"default": "./dist/webfinger/mod.d.ts"
|
116
|
+
},
|
77
117
|
"import": "./dist/webfinger/mod.js",
|
118
|
+
"require": "./dist/webfinger/mod.cjs",
|
78
119
|
"default": "./dist/webfinger/mod.js"
|
79
120
|
},
|
80
121
|
"./x/cfworkers": {
|
81
|
-
"types":
|
122
|
+
"types": {
|
123
|
+
"import": "./dist/x/cfworkers.d.ts",
|
124
|
+
"require": "./dist/x/cfworkers.d.cts",
|
125
|
+
"default": "./dist/x/cfworkers.d.ts"
|
126
|
+
},
|
82
127
|
"import": "./dist/x/cfworkers.js",
|
128
|
+
"require": "./dist/x/cfworkers.cjs",
|
83
129
|
"default": "./dist/x/cfworkers.js"
|
84
130
|
},
|
85
131
|
"./x/hono": {
|
86
|
-
"types":
|
132
|
+
"types": {
|
133
|
+
"import": "./dist/x/hono.d.ts",
|
134
|
+
"require": "./dist/x/hono.d.cts",
|
135
|
+
"default": "./dist/x/hono.d.ts"
|
136
|
+
},
|
87
137
|
"import": "./dist/x/hono.js",
|
138
|
+
"require": "./dist/x/hono.cjs",
|
88
139
|
"default": "./dist/x/hono.js"
|
89
140
|
},
|
90
141
|
"./x/sveltekit": {
|
91
|
-
"types":
|
142
|
+
"types": {
|
143
|
+
"import": "./dist/x/sveltekit.d.ts",
|
144
|
+
"require": "./dist/x/sveltekit.d.cts",
|
145
|
+
"default": "./dist/x/sveltekit.d.ts"
|
146
|
+
},
|
92
147
|
"import": "./dist/x/sveltekit.js",
|
148
|
+
"require": "./dist/x/sveltekit.cjs",
|
93
149
|
"default": "./dist/x/sveltekit.js"
|
94
150
|
}
|
95
151
|
},
|
96
152
|
"dependencies": {
|
97
153
|
"@cfworker/json-schema": "^4.1.1",
|
98
|
-
"@hugoalh/http-header-link": "^1.0.2",
|
99
154
|
"@js-temporal/polyfill": "^0.5.1",
|
100
155
|
"@logtape/logtape": "^1.0.0",
|
101
156
|
"@multiformats/base-x": "^4.0.1",
|
package/dist/compat-Bb5myD13.js
DELETED
package/dist/key-BteSu1lX.js
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import "./docloader-CkASOfZ5.js";
|
6
|
-
import "./actor-BC3XtGTj.js";
|
7
|
-
import "./lookup-Cz9VSYxw.js";
|
8
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "./key-Bif4eMj7.js";
|
9
|
-
|
10
|
-
export { validateCryptoKey };
|
@@ -1,25 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
globalThis.addEventListener = () => {};
|
5
|
-
|
6
|
-
import "./type-CAteiET0.js";
|
7
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-CgNm3XOJ.js";
|
8
|
-
import "./client-Bsj0vQPr.js";
|
9
|
-
import "./lookup-DuzrBbTj.js";
|
10
|
-
import "./types-BSuWJsOm.js";
|
11
|
-
import "./actor-CmRlosMl.js";
|
12
|
-
import "./key-BOzqiGbl.js";
|
13
|
-
import "./http-CSYNybkH.js";
|
14
|
-
import "./authdocloader-CzpPQC01.js";
|
15
|
-
import "./ld-D9oTBLrs.js";
|
16
|
-
import "./owner-gB-pDKA-.js";
|
17
|
-
import "./proof-CScVkkIT.js";
|
18
|
-
import "./inbox-DoJlwIE4.js";
|
19
|
-
import "./builder-D9zidAqR.js";
|
20
|
-
import "./collection-CcnIw1qY.js";
|
21
|
-
import "./keycache--NYDYifd.js";
|
22
|
-
import "./retry-CfF8Gn4d.js";
|
23
|
-
import "./send-flZ7H10-.js";
|
24
|
-
|
25
|
-
export { FederationImpl };
|
@@ -1,17 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import "./transformers-Dna8Fg7k.js";
|
6
|
-
import "./docloader-CkASOfZ5.js";
|
7
|
-
import "./actor-BC3XtGTj.js";
|
8
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-C0w2M0tb.js";
|
9
|
-
import "./lookup-Cz9VSYxw.js";
|
10
|
-
import "./key-Bif4eMj7.js";
|
11
|
-
import "./http-B_pxY5of.js";
|
12
|
-
import "./proof-VPikK_0V.js";
|
13
|
-
import "./types-Vo0qKhN7.js";
|
14
|
-
import "./authdocloader-D-DICGXT.js";
|
15
|
-
import "./vocab-89qErSc9.js";
|
16
|
-
|
17
|
-
export { FederationImpl };
|
package/dist/runtime-BSkOVUWM.js
DELETED
package/dist/sig-BXJO--F9.js
DELETED