@aeriajs/http 0.0.16 → 0.0.18

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 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>, false> : never;
41
+ } ? PackReferences<InferProperty<Payload>> : never;
42
42
  query: TContractWithRoles extends {
43
43
  query: infer Query;
44
44
  } ? InferProperty<Query> : any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/http",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
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.11",
26
- "@aeriajs/common": "^0.0.11",
27
- "@aeriajs/types": "^0.0.10",
28
- "@aeriajs/validation": "^0.0.14"
25
+ "@aeriajs/access-control": "^0.0.13",
26
+ "@aeriajs/common": "^0.0.13",
27
+ "@aeriajs/types": "^0.0.12",
28
+ "@aeriajs/validation": "^0.0.16"
29
29
  },
30
30
  "scripts": {
31
31
  "test": "echo skipping",
@@ -1,2 +0,0 @@
1
- import type { ContractWithRoles } from '@aeriajs/types';
2
- export declare const defineContract: <const TContractWithRoles extends ContractWithRoles>(contract: TContractWithRoles) => TContractWithRoles;
package/dist/contract.js DELETED
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defineContract = void 0;
4
- const defineContract = (contract) => {
5
- return contract;
6
- };
7
- exports.defineContract = defineContract;
package/dist/contract.mjs DELETED
@@ -1,3 +0,0 @@
1
- export var defineContract = function(contract) {
2
- return contract;
3
- };