@fedify/fedify 1.6.1-pr.239.854 → 1.6.1-pr.239.855
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/codegen/schema.js +2 -1
- package/dist/deno.js +5 -2
- package/dist/federation/mod.d.ts +1 -1
- package/dist/federation/router.d.ts +1 -1
- package/dist/mod.d.ts +1 -1
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/dirname.js +1 -1
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/_common/from_file_url.js +1 -1
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/dirname.js +1 -1
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/from_file_url.js +1 -1
- package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/windows/from_file_url.js +1 -1
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/FetchMock.js +1 -1
- package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/Router.js +1 -1
- package/dist/vocab/vocab.js +176 -176
- package/dist/vocab/vocab.test.js +2 -2
- package/package.json +1 -1
package/dist/codegen/schema.js
CHANGED
@@ -41,10 +41,11 @@ async function loadSchemaValidator() {
|
|
41
41
|
const schemaObject = parse(content);
|
42
42
|
return new Validator(schemaObject);
|
43
43
|
}
|
44
|
-
|
44
|
+
let schemaValidator = void 0;
|
45
45
|
async function loadSchema(path) {
|
46
46
|
const content = await readFile(path, { encoding: "utf-8" });
|
47
47
|
const schema = parse(content);
|
48
|
+
if (schemaValidator == null) schemaValidator = await loadSchemaValidator();
|
48
49
|
const result = schemaValidator.validate(schema);
|
49
50
|
const errors = [];
|
50
51
|
if (result.valid) return schema;
|
package/dist/deno.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
//#region deno.json
|
6
6
|
var name = "@fedify/fedify";
|
7
|
-
var version = "1.6.1-pr.239.
|
7
|
+
var version = "1.6.1-pr.239.855+05827ff9";
|
8
8
|
var license = "MIT";
|
9
9
|
var exports = {
|
10
10
|
".": "./mod.ts",
|
@@ -110,7 +110,10 @@ var tasks = {
|
|
110
110
|
"command": "cd dist/ && bun test --timeout 60000",
|
111
111
|
"dependencies": ["pnpm:build"]
|
112
112
|
},
|
113
|
-
"test:cfworkers":
|
113
|
+
"test:cfworkers": {
|
114
|
+
"command": "pnpm exec wrangler deploy --dry-run --outdir cfworkers && node --import=tsx cfworkers/client.ts",
|
115
|
+
"dependencies": ["pnpm:build"]
|
116
|
+
},
|
114
117
|
"test-all": { "dependencies": [
|
115
118
|
"check",
|
116
119
|
"test",
|
package/dist/federation/mod.d.ts
CHANGED
@@ -6,7 +6,7 @@ import { SenderKeyPair } from "./send.js";
|
|
6
6
|
import { ActorAliasMapper, ActorDispatcher, ActorHandleMapper, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCounter, CollectionCursor, CollectionDispatcher, InboxErrorHandler, InboxListener, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectDispatcher, OutboxErrorHandler, SharedInboxKeyDispatcher } from "./callback.js";
|
7
7
|
import { InProcessMessageQueue$1 as InProcessMessageQueue, InProcessMessageQueueOptions, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, ParallelMessageQueue$1 as ParallelMessageQueue } from "./mq.js";
|
8
8
|
import { RespondWithObjectOptions, respondWithObject$1 as respondWithObject, respondWithObjectIfAcceptable$1 as respondWithObjectIfAcceptable } from "./handler.js";
|
9
|
-
import { Router$
|
9
|
+
import { Router$2 as Router, RouterError$1 as RouterError, RouterOptions, RouterRouteResult } from "./router.js";
|
10
10
|
import { createFederationBuilder$1 as createFederationBuilder } from "./builder.js";
|
11
11
|
import { CreateExponentialBackoffPolicyOptions, RetryContext, RetryPolicy, createExponentialBackoffPolicy$1 as createExponentialBackoffPolicy } from "./retry.js";
|
12
12
|
import { CreateFederationOptions, FederationKvPrefixes, FederationOrigin, FederationQueueOptions, createFederation$1 as createFederation } from "./middleware.js";
|
@@ -88,4 +88,4 @@ declare class RouterError extends Error {
|
|
88
88
|
*/
|
89
89
|
constructor(message: string);
|
90
90
|
} //#endregion
|
91
|
-
export { Router as Router$
|
91
|
+
export { Router as Router$2, RouterError as RouterError$1, RouterOptions, RouterRouteResult };
|
package/dist/mod.d.ts
CHANGED
@@ -22,7 +22,7 @@ import { SenderKeyPair } from "./federation/send.js";
|
|
22
22
|
import { ActorAliasMapper, ActorDispatcher, ActorHandleMapper, ActorKeyPairsDispatcher, AuthorizePredicate, CollectionCounter, CollectionCursor, CollectionDispatcher, InboxErrorHandler, InboxListener, NodeInfoDispatcher, ObjectAuthorizePredicate, ObjectDispatcher, OutboxErrorHandler, SharedInboxKeyDispatcher } from "./federation/callback.js";
|
23
23
|
import { InProcessMessageQueue$1 as InProcessMessageQueue, InProcessMessageQueueOptions, MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions, ParallelMessageQueue$1 as ParallelMessageQueue } from "./federation/mq.js";
|
24
24
|
import { RespondWithObjectOptions, respondWithObject$1 as respondWithObject, respondWithObjectIfAcceptable$1 as respondWithObjectIfAcceptable } from "./federation/handler.js";
|
25
|
-
import { Router$
|
25
|
+
import { Router$2 as Router, RouterError$1 as RouterError, RouterOptions, RouterRouteResult } from "./federation/router.js";
|
26
26
|
import { createFederationBuilder$1 as createFederationBuilder } from "./federation/builder.js";
|
27
27
|
import { CreateExponentialBackoffPolicyOptions, RetryContext, RetryPolicy, createExponentialBackoffPolicy$1 as createExponentialBackoffPolicy } from "./federation/retry.js";
|
28
28
|
import { CreateFederationOptions, FederationKvPrefixes, FederationOrigin, FederationQueueOptions, createFederation$1 as createFederation } from "./federation/middleware.js";
|
package/dist/node_modules/.pnpm/@jsr_std__path@1.0.9/node_modules/@jsr/std__path/posix/dirname.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
|
6
6
|
import { isPosixPathSeparator } from "./_util.js";
|
7
|
-
import { assertArg
|
7
|
+
import { assertArg } from "../_common/dirname.js";
|
8
8
|
|
9
9
|
//#region node_modules/.pnpm/@jsr+std__path@1.0.9/node_modules/@jsr/std__path/posix/dirname.js
|
10
10
|
/**
|
@@ -2,7 +2,7 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { assertArg } from "../_common/from_file_url.js";
|
5
|
+
import { assertArg$1 as assertArg } from "../_common/from_file_url.js";
|
6
6
|
|
7
7
|
//#region node_modules/.pnpm/@jsr+std__path@1.0.9/node_modules/@jsr/std__path/posix/from_file_url.js
|
8
8
|
/**
|
@@ -2,7 +2,7 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { assertArg } from "../_common/from_file_url.js";
|
5
|
+
import { assertArg$1 as assertArg } from "../_common/from_file_url.js";
|
6
6
|
|
7
7
|
//#region node_modules/.pnpm/@jsr+std__path@1.0.9/node_modules/@jsr/std__path/windows/from_file_url.js
|
8
8
|
/**
|
package/dist/node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/FetchMock.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
import { createCallLogFromRequest, createCallLogFromUrlAndOptions } from "./RequestUtils.js";
|
6
6
|
import { Route_default } from "./Route.js";
|
7
|
-
import { Router$
|
7
|
+
import { Router$1 as Router } from "./Router.js";
|
8
8
|
import { CallHistory_default } from "./CallHistory.js";
|
9
9
|
|
10
10
|
//#region node_modules/.pnpm/fetch-mock@12.5.2/node_modules/fetch-mock/dist/esm/FetchMock.js
|