@fluidframework/request-handler 2.53.0 → 2.60.0
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/CHANGELOG.md +4 -0
- package/api-report/{request-handler.legacy.alpha.api.md → request-handler.legacy.beta.api.md} +2 -2
- package/dist/requestHandlers.d.ts +1 -1
- package/dist/requestHandlers.js.map +1 -1
- package/lib/requestHandlers.d.ts +1 -1
- package/lib/requestHandlers.js.map +1 -1
- package/package.json +9 -9
- package/src/requestHandlers.ts +1 -1
package/CHANGELOG.md
CHANGED
package/api-report/{request-handler.legacy.alpha.api.md → request-handler.legacy.beta.api.md}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
##
|
|
1
|
+
## Beta API Report File for "@fluidframework/request-handler"
|
|
2
2
|
|
|
3
3
|
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
// @
|
|
7
|
+
// @beta @deprecated @legacy
|
|
8
8
|
export type RuntimeRequestHandler = (request: RequestParser, runtime: IContainerRuntime) => Promise<IResponse | undefined>;
|
|
9
9
|
|
|
10
10
|
// (No @packageDocumentation comment for this package)
|
|
@@ -13,7 +13,7 @@ import type { RequestParser } from "@fluidframework/runtime-utils/internal";
|
|
|
13
13
|
* @deprecated Will be removed once Loader LTS version is "2.0.0-internal.7.0.0". Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
14
14
|
*
|
|
15
15
|
* @legacy
|
|
16
|
-
* @
|
|
16
|
+
* @beta
|
|
17
17
|
*/
|
|
18
18
|
export type RuntimeRequestHandler = (request: RequestParser, runtime: IContainerRuntime) => Promise<IResponse | undefined>;
|
|
19
19
|
//# sourceMappingURL=requestHandlers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requestHandlers.js","sourceRoot":"","sources":["../src/requestHandlers.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type { IContainerRuntime } from \"@fluidframework/container-runtime-definitions/internal\";\nimport type { IResponse } from \"@fluidframework/core-interfaces\";\nimport type { RequestParser } from \"@fluidframework/runtime-utils/internal\";\n\n/**\n * A request handler for the container runtime. Each handler should handle a specific request, and return undefined\n * if it does not apply. These handlers are called in series, so there may be other handlers before or after.\n * A handler should only return error if the request is for a route the handler owns, and there is a problem with\n * the route, or fulling the specific request.\n * @deprecated Will be removed once Loader LTS version is \"2.0.0-internal.7.0.0\". Migrate all usage of IFluidRouter to the \"entryPoint\" pattern. Refer to Removing-IFluidRouter.md\n *\n * @legacy\n * @
|
|
1
|
+
{"version":3,"file":"requestHandlers.js","sourceRoot":"","sources":["../src/requestHandlers.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type { IContainerRuntime } from \"@fluidframework/container-runtime-definitions/internal\";\nimport type { IResponse } from \"@fluidframework/core-interfaces\";\nimport type { RequestParser } from \"@fluidframework/runtime-utils/internal\";\n\n/**\n * A request handler for the container runtime. Each handler should handle a specific request, and return undefined\n * if it does not apply. These handlers are called in series, so there may be other handlers before or after.\n * A handler should only return error if the request is for a route the handler owns, and there is a problem with\n * the route, or fulling the specific request.\n * @deprecated Will be removed once Loader LTS version is \"2.0.0-internal.7.0.0\". Migrate all usage of IFluidRouter to the \"entryPoint\" pattern. Refer to Removing-IFluidRouter.md\n *\n * @legacy\n * @beta\n */\nexport type RuntimeRequestHandler = (\n\trequest: RequestParser,\n\truntime: IContainerRuntime,\n) => Promise<IResponse | undefined>;\n"]}
|
package/lib/requestHandlers.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import type { RequestParser } from "@fluidframework/runtime-utils/internal";
|
|
|
13
13
|
* @deprecated Will be removed once Loader LTS version is "2.0.0-internal.7.0.0". Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
14
14
|
*
|
|
15
15
|
* @legacy
|
|
16
|
-
* @
|
|
16
|
+
* @beta
|
|
17
17
|
*/
|
|
18
18
|
export type RuntimeRequestHandler = (request: RequestParser, runtime: IContainerRuntime) => Promise<IResponse | undefined>;
|
|
19
19
|
//# sourceMappingURL=requestHandlers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requestHandlers.js","sourceRoot":"","sources":["../src/requestHandlers.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type { IContainerRuntime } from \"@fluidframework/container-runtime-definitions/internal\";\nimport type { IResponse } from \"@fluidframework/core-interfaces\";\nimport type { RequestParser } from \"@fluidframework/runtime-utils/internal\";\n\n/**\n * A request handler for the container runtime. Each handler should handle a specific request, and return undefined\n * if it does not apply. These handlers are called in series, so there may be other handlers before or after.\n * A handler should only return error if the request is for a route the handler owns, and there is a problem with\n * the route, or fulling the specific request.\n * @deprecated Will be removed once Loader LTS version is \"2.0.0-internal.7.0.0\". Migrate all usage of IFluidRouter to the \"entryPoint\" pattern. Refer to Removing-IFluidRouter.md\n *\n * @legacy\n * @
|
|
1
|
+
{"version":3,"file":"requestHandlers.js","sourceRoot":"","sources":["../src/requestHandlers.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport type { IContainerRuntime } from \"@fluidframework/container-runtime-definitions/internal\";\nimport type { IResponse } from \"@fluidframework/core-interfaces\";\nimport type { RequestParser } from \"@fluidframework/runtime-utils/internal\";\n\n/**\n * A request handler for the container runtime. Each handler should handle a specific request, and return undefined\n * if it does not apply. These handlers are called in series, so there may be other handlers before or after.\n * A handler should only return error if the request is for a route the handler owns, and there is a problem with\n * the route, or fulling the specific request.\n * @deprecated Will be removed once Loader LTS version is \"2.0.0-internal.7.0.0\". Migrate all usage of IFluidRouter to the \"entryPoint\" pattern. Refer to Removing-IFluidRouter.md\n *\n * @legacy\n * @beta\n */\nexport type RuntimeRequestHandler = (\n\trequest: RequestParser,\n\truntime: IContainerRuntime,\n) => Promise<IResponse | undefined>;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/request-handler",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.60.0",
|
|
4
4
|
"description": "A simple request handling library for Fluid Framework",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -69,21 +69,21 @@
|
|
|
69
69
|
"temp-directory": "nyc/.nyc_output"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@fluidframework/container-runtime-definitions": "~2.
|
|
73
|
-
"@fluidframework/core-interfaces": "~2.
|
|
74
|
-
"@fluidframework/core-utils": "~2.
|
|
75
|
-
"@fluidframework/runtime-definitions": "~2.
|
|
76
|
-
"@fluidframework/runtime-utils": "~2.
|
|
72
|
+
"@fluidframework/container-runtime-definitions": "~2.60.0",
|
|
73
|
+
"@fluidframework/core-interfaces": "~2.60.0",
|
|
74
|
+
"@fluidframework/core-utils": "~2.60.0",
|
|
75
|
+
"@fluidframework/runtime-definitions": "~2.60.0",
|
|
76
|
+
"@fluidframework/runtime-utils": "~2.60.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
80
80
|
"@biomejs/biome": "~1.9.3",
|
|
81
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
81
|
+
"@fluid-internal/mocha-test-setup": "~2.60.0",
|
|
82
82
|
"@fluid-tools/build-cli": "^0.57.0",
|
|
83
83
|
"@fluidframework/build-common": "^2.0.3",
|
|
84
84
|
"@fluidframework/build-tools": "^0.57.0",
|
|
85
|
-
"@fluidframework/eslint-config-fluid": "^
|
|
86
|
-
"@fluidframework/request-handler-previous": "npm:@fluidframework/request-handler@2.
|
|
85
|
+
"@fluidframework/eslint-config-fluid": "^6.0.0",
|
|
86
|
+
"@fluidframework/request-handler-previous": "npm:@fluidframework/request-handler@2.53.0",
|
|
87
87
|
"@microsoft/api-extractor": "7.52.8",
|
|
88
88
|
"@types/diff": "^3.5.1",
|
|
89
89
|
"@types/mocha": "^10.0.10",
|
package/src/requestHandlers.ts
CHANGED
|
@@ -15,7 +15,7 @@ import type { RequestParser } from "@fluidframework/runtime-utils/internal";
|
|
|
15
15
|
* @deprecated Will be removed once Loader LTS version is "2.0.0-internal.7.0.0". Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
|
|
16
16
|
*
|
|
17
17
|
* @legacy
|
|
18
|
-
* @
|
|
18
|
+
* @beta
|
|
19
19
|
*/
|
|
20
20
|
export type RuntimeRequestHandler = (
|
|
21
21
|
request: RequestParser,
|