@hile/http 1.0.15 → 1.0.17

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.
@@ -1,4 +1,4 @@
1
- import { Config, HTTPVersion, HTTPMethod } from 'find-my-way';
1
+ import { Config, type HTTPVersion, type HTTPMethod } from 'find-my-way';
2
2
  import { Middleware } from 'koa';
3
3
  export { HTTPVersion, HTTPMethod, };
4
4
  export interface Instance {
@@ -1,7 +1,6 @@
1
1
  import compose from 'koa-compose';
2
- import FindMyWay, { HTTPVersion } from 'find-my-way';
2
+ import FindMyWay from 'find-my-way';
3
3
  import { METHODS } from 'node:http';
4
- export { HTTPVersion, };
5
4
  export default (options) => {
6
5
  const fmw = FindMyWay(options);
7
6
  const r = {};
package/dist/index.js CHANGED
@@ -1,3 +1,2 @@
1
- export { HTTPVersion } from './find-my-way';
2
1
  export { Http } from './http';
3
2
  export { defineController } from './controller';
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "@hile/http",
3
3
  "description": "Hile http - HTTP service framework",
4
- "version": "1.0.15",
4
+ "version": "1.0.17",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
7
  "scripts": {
9
8
  "build": "tsc -b",
10
9
  "dev": "tsc -b --watch",
@@ -29,5 +28,5 @@
29
28
  "koa": "^3.1.2",
30
29
  "koa-compose": "^4.1.0"
31
30
  },
32
- "gitHead": "14ad8def9e7f96110431a07b168973bf84e937e9"
31
+ "gitHead": "84cdc813655b84cb8e75e410e18669414baf472e"
33
32
  }