@fedify/fedify 0.12.0-dev.265 → 0.12.0-dev.267
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGES.md +2 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/concat.js +1 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/copy.js +2 -2
- package/esm/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/ends_with.js +1 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/equals.js +1 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/includes_needle.js +2 -2
- package/esm/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/index_of_needle.js +2 -2
- package/esm/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/last_index_of_needle.js +2 -2
- package/esm/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/mod.js +1 -1
- package/esm/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/repeat.js +2 -2
- package/esm/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/starts_with.js +1 -1
- package/esm/federation/handler.js +2 -2
- package/esm/federation/inbox.js +34 -0
- package/esm/federation/middleware.js +7 -26
- package/esm/runtime/key.js +1 -1
- package/esm/sig/http.js +1 -1
- package/package.json +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/concat.d.ts +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/concat.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/copy.d.ts +2 -2
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/copy.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/ends_with.d.ts +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/ends_with.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/equals.d.ts +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/equals.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/includes_needle.d.ts +2 -2
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/includes_needle.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/index_of_needle.d.ts +2 -2
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/index_of_needle.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/last_index_of_needle.d.ts +2 -2
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/last_index_of_needle.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/mod.d.ts +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/repeat.d.ts +2 -2
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/repeat.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/starts_with.d.ts +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.0 → 1.0.1}/starts_with.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/internal/{1.0.0 → 1.0.1}/build_message.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/internal/{1.0.0 → 1.0.1}/diff.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/internal/{1.0.0 → 1.0.1}/diff_str.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/internal/{1.0.0 → 1.0.1}/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/internal/{1.0.0 → 1.0.1}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/internal/{1.0.0 → 1.0.1}/styles.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/internal/{1.0.0 → 1.0.1}/types.d.ts.map +1 -1
- package/types/federation/handler.d.ts +5 -4
- package/types/federation/handler.d.ts.map +1 -1
- package/types/federation/inbox.d.ts +9 -0
- package/types/federation/inbox.d.ts.map +1 -0
- package/types/federation/inbox.test.d.ts.map +1 -0
- package/types/federation/middleware.d.ts.map +1 -1
package/CHANGES.md
CHANGED
@@ -41,7 +41,8 @@ To be released.
|
|
41
41
|
- The type of `ActorKeyPairsDispatcher<TContextData>`'s first parameter
|
42
42
|
became `Context` (was `TContextData`).
|
43
43
|
|
44
|
-
- Deprecated `Federation.sendActivity()` method.
|
44
|
+
- Deprecated `Federation.sendActivity()` method. Use `Context.sendActivity()`
|
45
|
+
method instead.
|
45
46
|
|
46
47
|
- The last parameter of `Federation.sendActivity()` method is no longer
|
47
48
|
optional. Also, it now takes the required `contextData` option.
|
@@ -9,7 +9,7 @@
|
|
9
9
|
* @example Basic usage
|
10
10
|
* ```ts
|
11
11
|
* import { concat } from "@std/bytes/concat";
|
12
|
-
* import { assertEquals } from "@std/assert
|
12
|
+
* import { assertEquals } from "@std/assert";
|
13
13
|
*
|
14
14
|
* const a = new Uint8Array([0, 1, 2]);
|
15
15
|
* const b = new Uint8Array([3, 4, 5]);
|
@@ -16,7 +16,7 @@
|
|
16
16
|
* @example Basic usage
|
17
17
|
* ```ts
|
18
18
|
* import { copy } from "@std/bytes/copy";
|
19
|
-
* import { assertEquals } from "@std/assert
|
19
|
+
* import { assertEquals } from "@std/assert";
|
20
20
|
*
|
21
21
|
* const src = new Uint8Array([9, 8, 7]);
|
22
22
|
* const dst = new Uint8Array([0, 1, 2, 3, 4, 5]);
|
@@ -28,7 +28,7 @@
|
|
28
28
|
* @example Copy with offset
|
29
29
|
* ```ts
|
30
30
|
* import { copy } from "@std/bytes/copy";
|
31
|
-
* import { assertEquals } from "@std/assert
|
31
|
+
* import { assertEquals } from "@std/assert";
|
32
32
|
*
|
33
33
|
* const src = new Uint8Array([1, 1, 1, 1]);
|
34
34
|
* const dst = new Uint8Array([0, 0, 0, 0]);
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* @example Basic usage
|
15
15
|
* ```ts
|
16
16
|
* import { endsWith } from "@std/bytes/ends-with";
|
17
|
-
* import { assertEquals } from "@std/assert
|
17
|
+
* import { assertEquals } from "@std/assert";
|
18
18
|
*
|
19
19
|
* const source = new Uint8Array([0, 1, 2, 1, 2, 1, 2, 3]);
|
20
20
|
* const suffix = new Uint8Array([1, 2, 3]);
|
@@ -61,7 +61,7 @@ const THRESHOLD_32_BIT = 160;
|
|
61
61
|
* @example Basic usage
|
62
62
|
* ```ts
|
63
63
|
* import { equals } from "@std/bytes/equals";
|
64
|
-
* import { assertEquals } from "@std/assert
|
64
|
+
* import { assertEquals } from "@std/assert";
|
65
65
|
*
|
66
66
|
* const a = new Uint8Array([1, 2, 3]);
|
67
67
|
* const b = new Uint8Array([1, 2, 3]);
|
@@ -16,7 +16,7 @@ import { indexOfNeedle } from "./index_of_needle.js";
|
|
16
16
|
* @example Basic usage
|
17
17
|
* ```ts
|
18
18
|
* import { includesNeedle } from "@std/bytes/includes-needle";
|
19
|
-
* import { assertEquals } from "@std/assert
|
19
|
+
* import { assertEquals } from "@std/assert";
|
20
20
|
*
|
21
21
|
* const source = new Uint8Array([0, 1, 2, 1, 2, 1, 2, 3]);
|
22
22
|
* const needle = new Uint8Array([1, 2]);
|
@@ -27,7 +27,7 @@ import { indexOfNeedle } from "./index_of_needle.js";
|
|
27
27
|
* @example Start index
|
28
28
|
* ```ts
|
29
29
|
* import { includesNeedle } from "@std/bytes/includes-needle";
|
30
|
-
* import { assertEquals } from "@std/assert
|
30
|
+
* import { assertEquals } from "@std/assert";
|
31
31
|
*
|
32
32
|
* const source = new Uint8Array([0, 1, 2, 1, 2, 1, 2, 3]);
|
33
33
|
* const needle = new Uint8Array([1, 2]);
|
@@ -19,7 +19,7 @@
|
|
19
19
|
* @example Basic usage
|
20
20
|
* ```ts
|
21
21
|
* import { indexOfNeedle } from "@std/bytes/index-of-needle";
|
22
|
-
* import { assertEquals } from "@std/assert
|
22
|
+
* import { assertEquals } from "@std/assert";
|
23
23
|
*
|
24
24
|
* const source = new Uint8Array([0, 1, 2, 1, 2, 1, 2, 3]);
|
25
25
|
* const needle = new Uint8Array([1, 2]);
|
@@ -32,7 +32,7 @@
|
|
32
32
|
* @example Start index
|
33
33
|
* ```ts
|
34
34
|
* import { indexOfNeedle } from "@std/bytes/index-of-needle";
|
35
|
-
* import { assertEquals } from "@std/assert
|
35
|
+
* import { assertEquals } from "@std/assert";
|
36
36
|
*
|
37
37
|
* const source = new Uint8Array([0, 1, 2, 1, 2, 1, 2, 3]);
|
38
38
|
* const needle = new Uint8Array([1, 2]);
|
@@ -16,7 +16,7 @@
|
|
16
16
|
* @example Basic usage
|
17
17
|
* ```ts
|
18
18
|
* import { lastIndexOfNeedle } from "@std/bytes/last-index-of-needle";
|
19
|
-
* import { assertEquals } from "@std/assert
|
19
|
+
* import { assertEquals } from "@std/assert";
|
20
20
|
*
|
21
21
|
* const source = new Uint8Array([0, 1, 2, 1, 2, 1, 2, 3]);
|
22
22
|
* const needle = new Uint8Array([1, 2]);
|
@@ -29,7 +29,7 @@
|
|
29
29
|
* @example Start index
|
30
30
|
* ```ts
|
31
31
|
* import { lastIndexOfNeedle } from "@std/bytes/last-index-of-needle";
|
32
|
-
* import { assertEquals } from "@std/assert
|
32
|
+
* import { assertEquals } from "@std/assert";
|
33
33
|
*
|
34
34
|
* const source = new Uint8Array([0, 1, 2, 1, 2, 1, 2, 3]);
|
35
35
|
* const needle = new Uint8Array([1, 2]);
|
@@ -7,7 +7,7 @@
|
|
7
7
|
*
|
8
8
|
* ```ts
|
9
9
|
* import { concat, indexOfNeedle, endsWith } from "@std/bytes";
|
10
|
-
* import { assertEquals } from "@std/assert
|
10
|
+
* import { assertEquals } from "@std/assert";
|
11
11
|
*
|
12
12
|
* const a = new Uint8Array([0, 1, 2]);
|
13
13
|
* const b = new Uint8Array([3, 4, 5]);
|
@@ -13,7 +13,7 @@ import { copy } from "./copy.js";
|
|
13
13
|
* @example Basic usage
|
14
14
|
* ```ts
|
15
15
|
* import { repeat } from "@std/bytes/repeat";
|
16
|
-
* import { assertEquals } from "@std/assert
|
16
|
+
* import { assertEquals } from "@std/assert";
|
17
17
|
*
|
18
18
|
* const source = new Uint8Array([0, 1, 2]);
|
19
19
|
*
|
@@ -23,7 +23,7 @@ import { copy } from "./copy.js";
|
|
23
23
|
* @example Zero count
|
24
24
|
* ```ts
|
25
25
|
* import { repeat } from "@std/bytes/repeat";
|
26
|
-
* import { assertEquals } from "@std/assert
|
26
|
+
* import { assertEquals } from "@std/assert";
|
27
27
|
*
|
28
28
|
* const source = new Uint8Array([0, 1, 2]);
|
29
29
|
*
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* @example Basic usage
|
15
15
|
* ```ts
|
16
16
|
* import { startsWith } from "@std/bytes/starts-with";
|
17
|
-
* import { assertEquals } from "@std/assert
|
17
|
+
* import { assertEquals } from "@std/assert";
|
18
18
|
*
|
19
19
|
* const source = new Uint8Array([0, 1, 2, 1, 2, 1, 2, 3]);
|
20
20
|
* const prefix = new Uint8Array([0, 1, 2]);
|
@@ -166,7 +166,7 @@ function filterCollectionItems(items, collectionName, filterPredicate) {
|
|
166
166
|
}
|
167
167
|
return result;
|
168
168
|
}
|
169
|
-
export async function handleInbox(request, { handle, context, kv, kvPrefix, queue, actorDispatcher,
|
169
|
+
export async function handleInbox(request, { handle, context, kv, kvPrefix, queue, actorDispatcher, inboxListeners, inboxErrorHandler, onNotFound, signatureTimeWindow, }) {
|
170
170
|
const logger = getLogger(["fedify", "federation", "inbox"]);
|
171
171
|
if (actorDispatcher == null) {
|
172
172
|
logger.error("Actor dispatcher is not set.", { handle });
|
@@ -280,7 +280,7 @@ export async function handleInbox(request, { handle, context, kv, kvPrefix, queu
|
|
280
280
|
headers: { "Content-Type": "text/plain; charset=utf-8" },
|
281
281
|
});
|
282
282
|
}
|
283
|
-
const listener =
|
283
|
+
const listener = inboxListeners?.dispatch(activity);
|
284
284
|
if (listener == null) {
|
285
285
|
logger.error("Unsupported activity type:\n{activity}", { activity: json });
|
286
286
|
return new Response("", {
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { Activity } from "../vocab/vocab.js";
|
2
|
+
export class InboxListenerSet {
|
3
|
+
#listeners;
|
4
|
+
constructor() {
|
5
|
+
this.#listeners = new Map();
|
6
|
+
}
|
7
|
+
add(
|
8
|
+
// deno-lint-ignore no-explicit-any
|
9
|
+
type, listener) {
|
10
|
+
if (this.#listeners.has(type)) {
|
11
|
+
throw new TypeError("Listener already set for this type.");
|
12
|
+
}
|
13
|
+
this.#listeners.set(type, listener);
|
14
|
+
}
|
15
|
+
dispatch(activity) {
|
16
|
+
// deno-lint-ignore no-explicit-any
|
17
|
+
let cls = activity
|
18
|
+
// deno-lint-ignore no-explicit-any
|
19
|
+
.constructor;
|
20
|
+
const inboxListeners = this.#listeners;
|
21
|
+
if (inboxListeners == null) {
|
22
|
+
return null;
|
23
|
+
}
|
24
|
+
while (true) {
|
25
|
+
if (inboxListeners.has(cls))
|
26
|
+
break;
|
27
|
+
if (cls === Activity)
|
28
|
+
return null;
|
29
|
+
cls = globalThis.Object.getPrototypeOf(cls);
|
30
|
+
}
|
31
|
+
const listener = inboxListeners.get(cls);
|
32
|
+
return listener;
|
33
|
+
}
|
34
|
+
}
|
@@ -9,6 +9,7 @@ import { Activity, CryptographicKey, Multikey, } from "../vocab/vocab.js";
|
|
9
9
|
import { handleWebFinger } from "../webfinger/handler.js";
|
10
10
|
import { buildCollectionSynchronizationHeader } from "./collection.js";
|
11
11
|
import { handleActor, handleCollection, handleInbox, handleObject, } from "./handler.js";
|
12
|
+
import { InboxListenerSet } from "./inbox.js";
|
12
13
|
import { createExponentialBackoffPolicy } from "./retry.js";
|
13
14
|
import { Router, RouterError } from "./router.js";
|
14
15
|
import { extractInboxes, sendActivity } from "./send.js";
|
@@ -236,7 +237,7 @@ export class Federation {
|
|
236
237
|
return;
|
237
238
|
}
|
238
239
|
}
|
239
|
-
const listener = this.#
|
240
|
+
const listener = this.#inboxListeners?.dispatch(activity);
|
240
241
|
if (listener == null) {
|
241
242
|
logger.error("Unsupported activity type:\n{activity}", { activity: message.activity, trial: message.attempt });
|
242
243
|
return;
|
@@ -934,15 +935,12 @@ export class Federation {
|
|
934
935
|
throw new RouterError("Path for shared inbox must have no variables.");
|
935
936
|
}
|
936
937
|
}
|
937
|
-
const listeners = this.#inboxListeners = new
|
938
|
+
const listeners = this.#inboxListeners = new InboxListenerSet();
|
938
939
|
const setters = {
|
939
940
|
on(
|
940
941
|
// deno-lint-ignore no-explicit-any
|
941
942
|
type, listener) {
|
942
|
-
|
943
|
-
throw new TypeError("Listener already set for this type.");
|
944
|
-
}
|
945
|
-
listeners.set(type, listener);
|
943
|
+
listeners.add(type, listener);
|
946
944
|
return setters;
|
947
945
|
},
|
948
946
|
onError: (handler) => {
|
@@ -956,25 +954,6 @@ export class Federation {
|
|
956
954
|
};
|
957
955
|
return setters;
|
958
956
|
}
|
959
|
-
#dispatchInboxListener(activity) {
|
960
|
-
// deno-lint-ignore no-explicit-any
|
961
|
-
let cls = activity
|
962
|
-
// deno-lint-ignore no-explicit-any
|
963
|
-
.constructor;
|
964
|
-
const inboxListeners = this.#inboxListeners;
|
965
|
-
if (inboxListeners == null) {
|
966
|
-
return null;
|
967
|
-
}
|
968
|
-
while (true) {
|
969
|
-
if (inboxListeners.has(cls))
|
970
|
-
break;
|
971
|
-
if (cls === Activity)
|
972
|
-
return null;
|
973
|
-
cls = globalThis.Object.getPrototypeOf(cls);
|
974
|
-
}
|
975
|
-
const listener = inboxListeners.get(cls);
|
976
|
-
return listener;
|
977
|
-
}
|
978
957
|
/**
|
979
958
|
* Sends an activity to recipients' inboxes. You would typically use
|
980
959
|
* {@link Context.sendActivity} instead of this method.
|
@@ -1194,13 +1173,15 @@ export class Federation {
|
|
1194
1173
|
});
|
1195
1174
|
}
|
1196
1175
|
}
|
1176
|
+
if (this.#queue != null)
|
1177
|
+
this.#startQueue(contextData);
|
1197
1178
|
return await handleInbox(request, {
|
1198
1179
|
handle: route.values.handle ?? null,
|
1199
1180
|
context,
|
1200
1181
|
kv: this.#kv,
|
1201
1182
|
kvPrefix: this.#kvPrefixes.activityIdempotence,
|
1202
1183
|
actorDispatcher: this.#actorCallbacks?.dispatcher,
|
1203
|
-
|
1184
|
+
inboxListeners: this.#inboxListeners,
|
1204
1185
|
inboxErrorHandler: this.#inboxErrorHandler,
|
1205
1186
|
onNotFound,
|
1206
1187
|
signatureTimeWindow: this.#signatureTimeWindow,
|
package/esm/runtime/key.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as dntShim from "../_dnt.shims.js";
|
2
2
|
import { createPublicKey } from "node:crypto";
|
3
|
-
import { concat } from "../deps/jsr.io/@std/bytes/1.0.
|
3
|
+
import { concat } from "../deps/jsr.io/@std/bytes/1.0.1/concat.js";
|
4
4
|
import { decodeBase64, encodeBase64 } from "../deps/jsr.io/@std/encoding/0.224.3/base64.js";
|
5
5
|
import { decodeBase64Url } from "../deps/jsr.io/@std/encoding/0.224.3/base64url.js";
|
6
6
|
import { decodeHex } from "../deps/jsr.io/@std/encoding/0.224.3/hex.js";
|
package/esm/sig/http.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as dntShim from "../_dnt.shims.js";
|
2
2
|
import { getLogger } from "@logtape/logtape";
|
3
|
-
import { equals } from "../deps/jsr.io/@std/bytes/1.0.
|
3
|
+
import { equals } from "../deps/jsr.io/@std/bytes/1.0.1/mod.js";
|
4
4
|
import { decodeBase64, encodeBase64 } from "../deps/jsr.io/@std/encoding/0.224.3/base64.js";
|
5
5
|
import { CryptographicKey } from "../vocab/vocab.js";
|
6
6
|
import { fetchKey, validateCryptoKey } from "./key.js";
|
package/package.json
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
* @example Basic usage
|
8
8
|
* ```ts
|
9
9
|
* import { concat } from "@std/bytes/concat";
|
10
|
-
* import { assertEquals } from "@std/assert
|
10
|
+
* import { assertEquals } from "@std/assert";
|
11
11
|
*
|
12
12
|
* const a = new Uint8Array([0, 1, 2]);
|
13
13
|
* const b = new Uint8Array([3, 4, 5]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"concat.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.
|
1
|
+
{"version":3,"file":"concat.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.1/concat.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,MAAM,CAAC,OAAO,EAAE,UAAU,EAAE,GAAG,UAAU,CAaxD"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* @example Basic usage
|
15
15
|
* ```ts
|
16
16
|
* import { copy } from "@std/bytes/copy";
|
17
|
-
* import { assertEquals } from "@std/assert
|
17
|
+
* import { assertEquals } from "@std/assert";
|
18
18
|
*
|
19
19
|
* const src = new Uint8Array([9, 8, 7]);
|
20
20
|
* const dst = new Uint8Array([0, 1, 2, 3, 4, 5]);
|
@@ -26,7 +26,7 @@
|
|
26
26
|
* @example Copy with offset
|
27
27
|
* ```ts
|
28
28
|
* import { copy } from "@std/bytes/copy";
|
29
|
-
* import { assertEquals } from "@std/assert
|
29
|
+
* import { assertEquals } from "@std/assert";
|
30
30
|
*
|
31
31
|
* const src = new Uint8Array([1, 1, 1, 1]);
|
32
32
|
* const dst = new Uint8Array([0, 0, 0, 0]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"copy.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.
|
1
|
+
{"version":3,"file":"copy.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.1/copy.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,IAAI,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,SAAI,GAAG,MAAM,CAQzE"}
|
@@ -12,7 +12,7 @@
|
|
12
12
|
* @example Basic usage
|
13
13
|
* ```ts
|
14
14
|
* import { endsWith } from "@std/bytes/ends-with";
|
15
|
-
* import { assertEquals } from "@std/assert
|
15
|
+
* import { assertEquals } from "@std/assert";
|
16
16
|
*
|
17
17
|
* const source = new Uint8Array([0, 1, 2, 1, 2, 1, 2, 3]);
|
18
18
|
* const suffix = new Uint8Array([1, 2, 3]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ends_with.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.
|
1
|
+
{"version":3,"file":"ends_with.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.1/ends_with.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,GAAG,OAAO,CAWxE"}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
* @example Basic usage
|
9
9
|
* ```ts
|
10
10
|
* import { equals } from "@std/bytes/equals";
|
11
|
-
* import { assertEquals } from "@std/assert
|
11
|
+
* import { assertEquals } from "@std/assert";
|
12
12
|
*
|
13
13
|
* const a = new Uint8Array([1, 2, 3]);
|
14
14
|
* const b = new Uint8Array([1, 2, 3]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.
|
1
|
+
{"version":3,"file":"equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.1/equals.ts"],"names":[],"mappings":"AA6DA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,MAAM,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,GAAG,OAAO,CAQ5D"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* @example Basic usage
|
14
14
|
* ```ts
|
15
15
|
* import { includesNeedle } from "@std/bytes/includes-needle";
|
16
|
-
* import { assertEquals } from "@std/assert
|
16
|
+
* import { assertEquals } from "@std/assert";
|
17
17
|
*
|
18
18
|
* const source = new Uint8Array([0, 1, 2, 1, 2, 1, 2, 3]);
|
19
19
|
* const needle = new Uint8Array([1, 2]);
|
@@ -24,7 +24,7 @@
|
|
24
24
|
* @example Start index
|
25
25
|
* ```ts
|
26
26
|
* import { includesNeedle } from "@std/bytes/includes-needle";
|
27
|
-
* import { assertEquals } from "@std/assert
|
27
|
+
* import { assertEquals } from "@std/assert";
|
28
28
|
*
|
29
29
|
* const source = new Uint8Array([0, 1, 2, 1, 2, 1, 2, 3]);
|
30
30
|
* const needle = new Uint8Array([1, 2]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"includes_needle.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.
|
1
|
+
{"version":3,"file":"includes_needle.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.1/includes_needle.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,UAAU,EAClB,KAAK,SAAI,GACR,OAAO,CAET"}
|
@@ -17,7 +17,7 @@
|
|
17
17
|
* @example Basic usage
|
18
18
|
* ```ts
|
19
19
|
* import { indexOfNeedle } from "@std/bytes/index-of-needle";
|
20
|
-
* import { assertEquals } from "@std/assert
|
20
|
+
* import { assertEquals } from "@std/assert";
|
21
21
|
*
|
22
22
|
* const source = new Uint8Array([0, 1, 2, 1, 2, 1, 2, 3]);
|
23
23
|
* const needle = new Uint8Array([1, 2]);
|
@@ -30,7 +30,7 @@
|
|
30
30
|
* @example Start index
|
31
31
|
* ```ts
|
32
32
|
* import { indexOfNeedle } from "@std/bytes/index-of-needle";
|
33
|
-
* import { assertEquals } from "@std/assert
|
33
|
+
* import { assertEquals } from "@std/assert";
|
34
34
|
*
|
35
35
|
* const source = new Uint8Array([0, 1, 2, 1, 2, 1, 2, 3]);
|
36
36
|
* const needle = new Uint8Array([1, 2]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index_of_needle.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.
|
1
|
+
{"version":3,"file":"index_of_needle.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.1/index_of_needle.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,wBAAgB,aAAa,CAC3B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,UAAU,EAClB,KAAK,SAAI,GACR,MAAM,CAqBR"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* @example Basic usage
|
15
15
|
* ```ts
|
16
16
|
* import { lastIndexOfNeedle } from "@std/bytes/last-index-of-needle";
|
17
|
-
* import { assertEquals } from "@std/assert
|
17
|
+
* import { assertEquals } from "@std/assert";
|
18
18
|
*
|
19
19
|
* const source = new Uint8Array([0, 1, 2, 1, 2, 1, 2, 3]);
|
20
20
|
* const needle = new Uint8Array([1, 2]);
|
@@ -27,7 +27,7 @@
|
|
27
27
|
* @example Start index
|
28
28
|
* ```ts
|
29
29
|
* import { lastIndexOfNeedle } from "@std/bytes/last-index-of-needle";
|
30
|
-
* import { assertEquals } from "@std/assert
|
30
|
+
* import { assertEquals } from "@std/assert";
|
31
31
|
*
|
32
32
|
* const source = new Uint8Array([0, 1, 2, 1, 2, 1, 2, 3]);
|
33
33
|
* const needle = new Uint8Array([1, 2]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"last_index_of_needle.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.
|
1
|
+
{"version":3,"file":"last_index_of_needle.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.1/last_index_of_needle.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,UAAU,EAClB,KAAK,GAAE,MAA0B,GAChC,MAAM,CAuBR"}
|
@@ -5,7 +5,7 @@
|
|
5
5
|
*
|
6
6
|
* ```ts
|
7
7
|
* import { concat, indexOfNeedle, endsWith } from "@std/bytes";
|
8
|
-
* import { assertEquals } from "@std/assert
|
8
|
+
* import { assertEquals } from "@std/assert";
|
9
9
|
*
|
10
10
|
* const a = new Uint8Array([0, 1, 2]);
|
11
11
|
* const b = new Uint8Array([3, 4, 5]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.1/mod.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC"}
|
@@ -10,7 +10,7 @@
|
|
10
10
|
* @example Basic usage
|
11
11
|
* ```ts
|
12
12
|
* import { repeat } from "@std/bytes/repeat";
|
13
|
-
* import { assertEquals } from "@std/assert
|
13
|
+
* import { assertEquals } from "@std/assert";
|
14
14
|
*
|
15
15
|
* const source = new Uint8Array([0, 1, 2]);
|
16
16
|
*
|
@@ -20,7 +20,7 @@
|
|
20
20
|
* @example Zero count
|
21
21
|
* ```ts
|
22
22
|
* import { repeat } from "@std/bytes/repeat";
|
23
|
-
* import { assertEquals } from "@std/assert
|
23
|
+
* import { assertEquals } from "@std/assert";
|
24
24
|
*
|
25
25
|
* const source = new Uint8Array([0, 1, 2]);
|
26
26
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"repeat.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.
|
1
|
+
{"version":3,"file":"repeat.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.1/repeat.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,MAAM,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,GAAG,UAAU,CAapE"}
|
@@ -12,7 +12,7 @@
|
|
12
12
|
* @example Basic usage
|
13
13
|
* ```ts
|
14
14
|
* import { startsWith } from "@std/bytes/starts-with";
|
15
|
-
* import { assertEquals } from "@std/assert
|
15
|
+
* import { assertEquals } from "@std/assert";
|
16
16
|
*
|
17
17
|
* const source = new Uint8Array([0, 1, 2, 1, 2, 1, 2, 3]);
|
18
18
|
* const prefix = new Uint8Array([0, 1, 2]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"starts_with.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.
|
1
|
+
{"version":3,"file":"starts_with.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/bytes/1.0.1/starts_with.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,GAAG,OAAO,CAS1E"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"build_message.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.
|
1
|
+
{"version":3,"file":"build_message.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.1/build_message.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEvD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,WAAW,CACzB,QAAQ,EAAE,QAAQ;AAClB;;;GAGG;AACH,UAAU,UAAQ,GACjB,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CASvB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CASrD;AAED,4CAA4C;AAC5C,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,YAAY,CAC1B,UAAU,EAAE,aAAa,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,EAC7C,OAAO,GAAE,mBAAwB,GAChC,MAAM,EAAE,CAsBV"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"diff.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.
|
1
|
+
{"version":3,"file":"diff.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.1/diff.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEvD,2DAA2D;AAC3D,MAAM,WAAW,aAAa;IAC5B,qCAAqC;IACrC,CAAC,EAAE,MAAM,CAAC;IACV,2BAA2B;IAC3B,EAAE,EAAE,MAAM,CAAC;CACZ;AAMD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAanD;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,KAAK,IAAI,aAAa,CASvE;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,SAAS,CAAC,CAAC,EACzB,CAAC,EAAE,CAAC,EAAE,EACN,CAAC,EAAE,CAAC,EAAE,EACN,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,WAAW,EACnB,kBAAkB,EAAE,MAAM,GACzB,KAAK,CAAC;IACP,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,CAAC,CAAC;CACV,CAAC,CAgCD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,QAAQ,CACtB,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,MAAM,EAAE,WAAW,EACnB,kBAAkB,EAAE,MAAM,EAC1B,GAAG,EAAE,MAAM,EACX,KAAK,CAAC,EAAE,aAAa,EACrB,IAAI,CAAC,EAAE,aAAa,GACnB,aAAa,CAsBf;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,UAAU,CAAC,CAAC,CAAC,EAAE,CAwEvD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"diff_str.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.
|
1
|
+
{"version":3,"file":"diff_str.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.1/diff_str.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG7C;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAW/C;AAID;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,UAAQ,GAAG,MAAM,EAAE,CAiBnE;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,EACxB,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,EAAE,GAC3B,UAAU,CAAC,MAAM,CAAC,EAAE,CAetB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,EAAE,CAkDlE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.1/format.ts"],"names":[],"mappings":"AAuBA,wBAAgB,MAAM,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,CAezC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.
|
1
|
+
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.1/mod.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.1/styles.ts"],"names":[],"mappings":"AAqCA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAExC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEvC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEzC;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE1C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEzC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAExC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEzC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE3C;AAWD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEpD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.1/types.ts"],"names":[],"mappings":"AAEA,kDAAkD;AAClD,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEtD;;;;GAIG;AACH,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,4BAA4B;IAC5B,IAAI,EAAE,QAAQ,CAAC;IACf,6BAA6B;IAC7B,KAAK,EAAE,CAAC,CAAC;IACT,+BAA+B;IAC/B,OAAO,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;CAC3B"}
|
@@ -3,9 +3,10 @@
|
|
3
3
|
import * as dntShim from "../_dnt.shims.js";
|
4
4
|
import type { DocumentLoader } from "../runtime/docloader.js";
|
5
5
|
import type { Recipient } from "../vocab/actor.js";
|
6
|
-
import {
|
7
|
-
import type { ActorDispatcher, AuthorizePredicate, CollectionCounter, CollectionCursor, CollectionDispatcher, InboxErrorHandler,
|
6
|
+
import { Link, Object } from "../vocab/vocab.js";
|
7
|
+
import type { ActorDispatcher, AuthorizePredicate, CollectionCounter, CollectionCursor, CollectionDispatcher, InboxErrorHandler, ObjectAuthorizePredicate, ObjectDispatcher } from "./callback.js";
|
8
8
|
import type { RequestContext } from "./context.js";
|
9
|
+
import type { InboxListenerSet } from "./inbox.js";
|
9
10
|
import type { KvKey, KvStore } from "./kv.js";
|
10
11
|
import type { MessageQueue } from "./mq.js";
|
11
12
|
export declare function acceptsJsonLd(request: Request): boolean;
|
@@ -73,12 +74,12 @@ export interface InboxHandlerParameters<TContextData> {
|
|
73
74
|
kvPrefix: KvKey;
|
74
75
|
queue?: MessageQueue;
|
75
76
|
actorDispatcher?: ActorDispatcher<TContextData>;
|
76
|
-
|
77
|
+
inboxListeners?: InboxListenerSet<TContextData>;
|
77
78
|
inboxErrorHandler?: InboxErrorHandler<TContextData>;
|
78
79
|
onNotFound(request: Request): Response | Promise<Response>;
|
79
80
|
signatureTimeWindow: dntShim.Temporal.DurationLike;
|
80
81
|
}
|
81
|
-
export declare function handleInbox<TContextData>(request: Request, { handle, context, kv, kvPrefix, queue, actorDispatcher,
|
82
|
+
export declare function handleInbox<TContextData>(request: Request, { handle, context, kv, kvPrefix, queue, actorDispatcher, inboxListeners, inboxErrorHandler, onNotFound, signatureTimeWindow, }: InboxHandlerParameters<TContextData>): Promise<Response>;
|
82
83
|
/**
|
83
84
|
* Options for the {@link respondWithObject} and
|
84
85
|
* {@link respondWithObjectIfAcceptable} functions.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../src/federation/handler.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAG5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAI9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,
|
1
|
+
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../src/federation/handler.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAG5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAI9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAGL,IAAI,EACJ,MAAM,EAGP,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,gBAAgB,EACjB,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,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CAAC,YAAY,EAC5C,OAAO,EAAE,OAAO,EAChB,EACE,MAAM,EACN,OAAO,EACP,EAAE,EACF,QAAQ,EACR,KAAK,EACL,eAAe,EACf,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,mBAAmB,GACpB,EAAE,sBAAsB,CAAC,YAAY,CAAC,GACtC,OAAO,CAAC,QAAQ,CAAC,CAuKnB;AAED;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;;;OAGG;IACH,aAAa,EAAE,cAAc,CAAC;CAC/B;AAED;;;;;;GAMG;AACH,wBAAsB,iBAAiB,CACrC,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,QAAQ,CAAC,CAOnB;AAED;;;;;;;;GAQG;AACH,wBAAsB,6BAA6B,CACjD,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,CAK1B"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { Activity } from "../vocab/vocab.js";
|
2
|
+
import type { InboxListener } from "./callback.js";
|
3
|
+
export declare class InboxListenerSet<TContextData> {
|
4
|
+
#private;
|
5
|
+
constructor();
|
6
|
+
add<TActivity extends Activity>(type: new (...args: any[]) => TActivity, listener: InboxListener<TContextData, TActivity>): void;
|
7
|
+
dispatch<TActivity extends Activity>(activity: TActivity): InboxListener<TContextData, TActivity> | null;
|
8
|
+
}
|
9
|
+
//# sourceMappingURL=inbox.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"inbox.d.ts","sourceRoot":"","sources":["../../src/federation/inbox.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,qBAAa,gBAAgB,CAAC,YAAY;;;IAUxC,GAAG,CAAC,SAAS,SAAS,QAAQ,EAE5B,IAAI,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,SAAS,EACvC,QAAQ,EAAE,aAAa,CAAC,YAAY,EAAE,SAAS,CAAC,GAC/C,IAAI;IAUP,QAAQ,CAAC,SAAS,SAAS,QAAQ,EACjC,QAAQ,EAAE,SAAS,GAClB,aAAa,CAAC,YAAY,EAAE,SAAS,CAAC,GAAG,IAAI;CAiBjD"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"inbox.test.d.ts","sourceRoot":"","sources":["../../src/federation/inbox.test.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/federation/middleware.ts"],"names":[],"mappings":";;AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAG5C,OAAO,EACL,KAAK,kCAAkC,EACvC,KAAK,cAAc,EAIpB,MAAM,yBAAyB,CAAC;AAIjC,OAAO,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EACL,QAAQ,EAER,KAAK,OAAO,EACZ,KAAK,IAAI,EAET,KAAK,MAAM,EACZ,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,EAClB,wBAAwB,EACxB,gBAAgB,EAChB,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAEV,OAAO,EAEP,cAAc,EACd,mBAAmB,EACpB,MAAM,cAAc,CAAC;
|
1
|
+
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/federation/middleware.ts"],"names":[],"mappings":";;AAAA,OAAO,KAA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