@e-mc/request 0.8.18 → 0.8.20

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/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  ## Interface
11
11
 
12
- - https://www.unpkg.com/@e-mc/types@0.8.18/lib/index.d.ts
12
+ - https://www.unpkg.com/@e-mc/types@0.8.20/lib/index.d.ts
13
13
 
14
14
  ```typescript
15
15
  import type { IModule, ModuleConstructor } from "./index";
@@ -82,9 +82,9 @@ interface RequestConstructor extends ModuleConstructor {
82
82
 
83
83
  ## References
84
84
 
85
- - https://www.unpkg.com/@e-mc/types@0.8.18/lib/http.d.ts
86
- - https://www.unpkg.com/@e-mc/types@0.8.18/lib/request.d.ts
87
- - https://www.unpkg.com/@e-mc/types@0.8.18/lib/settings.d.ts
85
+ - https://www.unpkg.com/@e-mc/types@0.8.20/lib/http.d.ts
86
+ - https://www.unpkg.com/@e-mc/types@0.8.20/lib/request.d.ts
87
+ - https://www.unpkg.com/@e-mc/types@0.8.20/lib/settings.d.ts
88
88
 
89
89
  ## LICENSE
90
90
 
@@ -1,5 +1,5 @@
1
- import type { HttpHostConstructor } from '../../../types/lib/request';
2
-
3
- declare const HttpHost: HttpHostConstructor;
4
-
1
+ import type { HttpHostConstructor } from '@e-mc/types/lib/request';
2
+
3
+ declare const HttpHost: HttpHostConstructor;
4
+
5
5
  export = HttpHost;
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { RequestConstructor } from '../types/lib';
2
-
3
- declare const Request: RequestConstructor;
4
-
1
+ import type { RequestConstructor } from '@e-mc/types/lib';
2
+
3
+ declare const Request: RequestConstructor;
4
+
5
5
  export = Request;
package/index.js CHANGED
@@ -16,11 +16,11 @@ const combined = require("combined-stream");
16
16
  const pm = require("picomatch");
17
17
  const yaml = require("js-yaml");
18
18
  const which = require("which");
19
- const lib_v4_1 = require("@e-mc/module/lib-v4");
20
19
  const types_1 = require("@e-mc/types");
20
+ const lib_v4_1 = require("@e-mc/module/lib-v4");
21
21
  const module_1 = require("@e-mc/module");
22
- const host_1 = require("@e-mc/request/http/host");
23
22
  const util_1 = require("@e-mc/request/util");
23
+ const host_1 = require("@e-mc/request/http/host");
24
24
  const kSession = Symbol('session');
25
25
  const kHttpVersion = Symbol('httpVersion');
26
26
  const kIpVersion = Symbol('ipVersion');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/request",
3
- "version": "0.8.18",
3
+ "version": "0.8.20",
4
4
  "description": "Request constructor for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -20,8 +20,8 @@
20
20
  "license": "MIT",
21
21
  "homepage": "https://github.com/anpham6/e-mc#readme",
22
22
  "dependencies": {
23
- "@e-mc/module": "0.8.18",
24
- "@e-mc/types": "0.8.18",
23
+ "@e-mc/module": "0.8.20",
24
+ "@e-mc/types": "0.8.20",
25
25
  "combined-stream": "^1.0.8",
26
26
  "js-yaml": "^4.1.0",
27
27
  "picomatch": "^3.0.1",
package/util.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import type { AuthValue } from '@e-mc/types/lib/http';
2
+
1
3
  import type { IncomingHttpHeaders, OutgoingHttpHeaders } from 'http';
2
4
 
3
5
  declare namespace util {