@aeriajs/http 0.0.14 → 0.0.16
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/routing.d.ts +1 -1
- package/dist/routing.js +1 -1
- package/dist/routing.mjs +1 -1
- package/package.json +5 -5
package/dist/routing.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export declare const createRouter: (options?: Partial<RouterOptions>) => Proxied
|
|
|
38
38
|
request: Omit<GenericRequest, "payload" | "query"> & {
|
|
39
39
|
payload: TContractWithRoles extends {
|
|
40
40
|
payload: infer Payload;
|
|
41
|
-
} ? PackReferences<InferProperty<Payload
|
|
41
|
+
} ? PackReferences<InferProperty<Payload>, false> : never;
|
|
42
42
|
query: TContractWithRoles extends {
|
|
43
43
|
query: infer Query;
|
|
44
44
|
} ? InferProperty<Query> : any;
|
package/dist/routing.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createRouter = exports.wrapRouteExecution = exports.registerRoute = exports.matches = void 0;
|
|
4
|
-
const types_1 = require("@aeriajs/types");
|
|
5
4
|
const stream_1 = require("stream");
|
|
5
|
+
const types_1 = require("@aeriajs/types");
|
|
6
6
|
const common_1 = require("@aeriajs/common");
|
|
7
7
|
const validation_1 = require("@aeriajs/validation");
|
|
8
8
|
const payload_js_1 = require("./payload.js");
|
package/dist/routing.mjs
CHANGED
|
@@ -154,8 +154,8 @@ function _ts_generator(thisArg, body) {
|
|
|
154
154
|
};
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
-
import { ACErrors, REQUEST_METHODS } from "@aeriajs/types";
|
|
158
157
|
import { Stream } from "stream";
|
|
158
|
+
import { ACErrors, REQUEST_METHODS } from "@aeriajs/types";
|
|
159
159
|
import { pipe, arraysIntersects, left, isLeft, unwrapEither, deepMerge } from "@aeriajs/common";
|
|
160
160
|
import { validate } from "@aeriajs/validation";
|
|
161
161
|
import { safeJson } from "./payload.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aeriajs/http",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"description": "## Installation",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@aeriajs/access-control": "^0.0.
|
|
26
|
-
"@aeriajs/common": "^0.0.
|
|
27
|
-
"@aeriajs/types": "^0.0.
|
|
28
|
-
"@aeriajs/validation": "^0.0.
|
|
25
|
+
"@aeriajs/access-control": "^0.0.11",
|
|
26
|
+
"@aeriajs/common": "^0.0.11",
|
|
27
|
+
"@aeriajs/types": "^0.0.10",
|
|
28
|
+
"@aeriajs/validation": "^0.0.14"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"test": "echo skipping",
|