@hyperttp/interceptors 1.0.2 → 1.0.3
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/package.json +1 -1
- package/plugin.d.ts +4 -5
- package/plugin.d.ts.map +1 -1
- package/plugin.js +11 -23
- package/plugin.js.map +1 -1
- package/utils/InterceptorManager.d.ts +10 -38
- package/utils/InterceptorManager.d.ts.map +1 -1
- package/utils/InterceptorManager.js +61 -27
- package/utils/InterceptorManager.js.map +1 -1
package/package.json
CHANGED
package/plugin.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import type { HyperPlugin } from "@hyperttp/core";
|
|
2
2
|
import { InterceptorManager } from "./utils/InterceptorManager.js";
|
|
3
|
+
import type { InterceptorOptions } from "./types/interceptors.js";
|
|
3
4
|
export type Method = "GET" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "DELETE" | "HEAD";
|
|
4
5
|
declare module "@hyperttp/core" {
|
|
5
|
-
interface
|
|
6
|
+
interface PluginContext {
|
|
6
7
|
interceptors?: InterceptorManager;
|
|
7
8
|
}
|
|
8
|
-
interface
|
|
9
|
-
interceptors?:
|
|
10
|
-
enabled?: boolean;
|
|
11
|
-
};
|
|
9
|
+
interface HttpClientOptions {
|
|
10
|
+
interceptors?: InterceptorOptions;
|
|
12
11
|
}
|
|
13
12
|
}
|
|
14
13
|
export declare function withInterceptors(): HyperPlugin;
|
package/plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EAIZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EAIZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,MAAM,MAAM,MAAM,GACd,KAAK,GACL,MAAM,GACN,KAAK,GACL,OAAO,GACP,SAAS,GACT,QAAQ,GACR,MAAM,CAAC;AAEX,OAAO,QAAQ,gBAAgB,CAAC;IAC9B,UAAU,aAAa;QACrB,YAAY,CAAC,EAAE,kBAAkB,CAAC;KACnC;IAED,UAAU,iBAAiB;QACzB,YAAY,CAAC,EAAE,kBAAkB,CAAC;KACnC;CACF;AAED,wBAAgB,gBAAgB,IAAI,WAAW,CAmC9C"}
|
package/plugin.js
CHANGED
|
@@ -10,29 +10,17 @@ export function withInterceptors() {
|
|
|
10
10
|
core.interceptors = manager;
|
|
11
11
|
},
|
|
12
12
|
wrapDispatch: (next) => {
|
|
13
|
-
return
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
25
|
-
const response = await next(finalReq);
|
|
26
|
-
const interceptedResponseData = await manager.applyResponse({
|
|
27
|
-
status: response.status,
|
|
28
|
-
headers: response.headers,
|
|
29
|
-
body: response.body,
|
|
30
|
-
url: response.url ?? req.url,
|
|
31
|
-
});
|
|
32
|
-
return {
|
|
33
|
-
...response,
|
|
34
|
-
...interceptedResponseData,
|
|
35
|
-
};
|
|
13
|
+
return (req) => {
|
|
14
|
+
if (!manager.hasRequest && !manager.hasResponse) {
|
|
15
|
+
return next(req);
|
|
16
|
+
}
|
|
17
|
+
const reqResult = manager.applyRequest(req);
|
|
18
|
+
if (reqResult instanceof Promise) {
|
|
19
|
+
return reqResult.then((finalReq) => {
|
|
20
|
+
return next(finalReq || req).then((res) => manager.applyResponse(res));
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
return next(reqResult || req).then((res) => manager.applyResponse(res));
|
|
36
24
|
};
|
|
37
25
|
},
|
|
38
26
|
};
|
package/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAsBnE,MAAM,UAAU,gBAAgB;IAC9B,IAAI,OAA2B,CAAC;IAEhC,OAAO;QACL,IAAI,EAAE,uBAAuB;QAC7B,KAAK,EAAE,SAAS;QAChB,OAAO,EAAE,CAAC,MAAyB,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,YAAY,EAAE,OAAO;QAEtE,KAAK,CAAC,IAAI;YACR,OAAO,GAAG,IAAI,kBAAkB,EAAE,CAAC;YACnC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC;QAC9B,CAAC;QAED,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE;YACrB,OAAO,CAAI,GAAoB,EAA4B,EAAE;gBAC3D,IAAI,CAAC,OAAO,CAAC,UAAU,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;oBAChD,OAAO,IAAI,CAAI,GAAG,CAAC,CAAC;gBACtB,CAAC;gBAED,MAAM,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC;gBAE5C,IAAI,SAAS,YAAY,OAAO,EAAE,CAAC;oBACjC,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE;wBACjC,OAAO,IAAI,CAAI,QAAQ,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAC3C,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAC3B,CAAC;oBACJ,CAAC,CAAC,CAAC;gBACL,CAAC;gBAED,OAAO,IAAI,CAAI,SAAS,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAC5C,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CACC,CAAC;YAChC,CAAC,CAAC;QACJ,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,50 +1,22 @@
|
|
|
1
|
-
import { RequestInterceptor, ResponseInterceptor
|
|
2
|
-
/**
|
|
3
|
-
* @class InterceptorManager
|
|
4
|
-
* @ru Управляет регистрацией и последовательным выполнением перехватчиков запроса и ответа.
|
|
5
|
-
*/
|
|
1
|
+
import { RequestInterceptor, ResponseInterceptor } from "../types/interceptors.js";
|
|
6
2
|
export declare class InterceptorManager {
|
|
7
3
|
private requestInterceptors;
|
|
8
4
|
private responseInterceptors;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
*/
|
|
5
|
+
hasRequest: boolean;
|
|
6
|
+
hasResponse: boolean;
|
|
12
7
|
addRequest(interceptor: RequestInterceptor): void;
|
|
13
|
-
/**
|
|
14
|
-
* @ru Добавляет перехватчик ответа в цепочку.
|
|
15
|
-
*/
|
|
16
8
|
addResponse(interceptor: ResponseInterceptor): void;
|
|
17
9
|
/**
|
|
18
|
-
*
|
|
19
|
-
|
|
20
|
-
applyRequest(config: {
|
|
21
|
-
url: string;
|
|
22
|
-
method: string;
|
|
23
|
-
headers: Record<string, string | string[]>;
|
|
24
|
-
body?: RequestBodyData;
|
|
25
|
-
}): Promise<{
|
|
26
|
-
url: string;
|
|
27
|
-
method: string;
|
|
28
|
-
headers: Record<string, string | string[]>;
|
|
29
|
-
body?: RequestBodyData;
|
|
30
|
-
}>;
|
|
31
|
-
/**
|
|
32
|
-
* @ru Последовательно применяет все перехватчики к ответу.
|
|
10
|
+
* Применяет реквест-интерцепторы.
|
|
11
|
+
* Возвращает либо измененный config, либо Promise с ним.
|
|
33
12
|
*/
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
headers: Record<string, string | string[]>;
|
|
37
|
-
body: any;
|
|
38
|
-
url: string;
|
|
39
|
-
}): Promise<{
|
|
40
|
-
status: number;
|
|
41
|
-
headers: Record<string, string | string[]>;
|
|
42
|
-
body: any;
|
|
43
|
-
url: string;
|
|
44
|
-
}>;
|
|
13
|
+
applyRequest(config: any): any;
|
|
14
|
+
private applyRequestAsync;
|
|
45
15
|
/**
|
|
46
|
-
*
|
|
16
|
+
* Применяет респонс-интерцепторы аналогичным гибридным способом.
|
|
47
17
|
*/
|
|
18
|
+
applyResponse(response: any): any;
|
|
19
|
+
private applyResponseAsync;
|
|
48
20
|
clear(): void;
|
|
49
21
|
}
|
|
50
22
|
//# sourceMappingURL=InterceptorManager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InterceptorManager.d.ts","sourceRoot":"","sources":["../../src/utils/InterceptorManager.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,mBAAmB,
|
|
1
|
+
{"version":3,"file":"InterceptorManager.d.ts","sourceRoot":"","sources":["../../src/utils/InterceptorManager.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EAEpB,MAAM,0BAA0B,CAAC;AAElC,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,mBAAmB,CAA4B;IACvD,OAAO,CAAC,oBAAoB,CAA6B;IAElD,UAAU,UAAS;IACnB,WAAW,UAAS;IAE3B,UAAU,CAAC,WAAW,EAAE,kBAAkB,GAAG,IAAI;IAKjD,WAAW,CAAC,WAAW,EAAE,mBAAmB,GAAG,IAAI;IAKnD;;;OAGG;IACH,YAAY,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;YAgBhB,iBAAiB;IAuB/B;;OAEG;IACH,aAAa,CAAC,QAAQ,EAAE,GAAG,GAAG,GAAG;YAgBnB,kBAAkB;IAsBhC,KAAK,IAAI,IAAI;CAMd"}
|
|
@@ -1,58 +1,92 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @class InterceptorManager
|
|
3
|
-
* @ru Управляет регистрацией и последовательным выполнением перехватчиков запроса и ответа.
|
|
4
|
-
*/
|
|
5
1
|
export class InterceptorManager {
|
|
6
2
|
requestInterceptors = [];
|
|
7
3
|
responseInterceptors = [];
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*/
|
|
4
|
+
hasRequest = false;
|
|
5
|
+
hasResponse = false;
|
|
11
6
|
addRequest(interceptor) {
|
|
12
7
|
this.requestInterceptors.push(interceptor);
|
|
8
|
+
this.hasRequest = true;
|
|
13
9
|
}
|
|
14
|
-
/**
|
|
15
|
-
* @ru Добавляет перехватчик ответа в цепочку.
|
|
16
|
-
*/
|
|
17
10
|
addResponse(interceptor) {
|
|
18
11
|
this.responseInterceptors.push(interceptor);
|
|
12
|
+
this.hasResponse = true;
|
|
19
13
|
}
|
|
20
14
|
/**
|
|
21
|
-
*
|
|
15
|
+
* Применяет реквест-интерцепторы.
|
|
16
|
+
* Возвращает либо измененный config, либо Promise с ним.
|
|
22
17
|
*/
|
|
23
|
-
|
|
24
|
-
if (this.requestInterceptors.length === 0)
|
|
25
|
-
return config;
|
|
18
|
+
applyRequest(config) {
|
|
26
19
|
let result = config;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
20
|
+
const len = this.requestInterceptors.length;
|
|
21
|
+
for (let i = 0; i < len; i++) {
|
|
22
|
+
const nextConfig = this.requestInterceptors[i](result);
|
|
23
|
+
if (nextConfig instanceof Promise) {
|
|
24
|
+
return this.applyRequestAsync(i, nextConfig, result);
|
|
25
|
+
}
|
|
26
|
+
if (nextConfig)
|
|
27
|
+
result = nextConfig;
|
|
28
|
+
}
|
|
29
|
+
return result;
|
|
30
|
+
}
|
|
31
|
+
async applyRequestAsync(startIndex, currentPromise, currentResult) {
|
|
32
|
+
let result = currentResult;
|
|
33
|
+
const resolved = await currentPromise;
|
|
34
|
+
if (resolved)
|
|
35
|
+
result = resolved;
|
|
36
|
+
const len = this.requestInterceptors.length;
|
|
37
|
+
for (let i = startIndex + 1; i < len; i++) {
|
|
38
|
+
const nextConfig = this.requestInterceptors[i](result);
|
|
39
|
+
if (nextConfig instanceof Promise) {
|
|
40
|
+
const res = await nextConfig;
|
|
41
|
+
if (res)
|
|
42
|
+
result = res;
|
|
43
|
+
}
|
|
44
|
+
else if (nextConfig) {
|
|
30
45
|
result = nextConfig;
|
|
31
46
|
}
|
|
32
47
|
}
|
|
33
48
|
return result;
|
|
34
49
|
}
|
|
35
50
|
/**
|
|
36
|
-
*
|
|
51
|
+
* Применяет респонс-интерцепторы аналогичным гибридным способом.
|
|
37
52
|
*/
|
|
38
|
-
|
|
39
|
-
if (this.responseInterceptors.length === 0)
|
|
40
|
-
return response;
|
|
53
|
+
applyResponse(response) {
|
|
41
54
|
let result = response;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
55
|
+
const len = this.responseInterceptors.length;
|
|
56
|
+
for (let i = 0; i < len; i++) {
|
|
57
|
+
const nextResponse = this.responseInterceptors[i](result);
|
|
58
|
+
if (nextResponse instanceof Promise) {
|
|
59
|
+
return this.applyResponseAsync(i, nextResponse, result);
|
|
60
|
+
}
|
|
61
|
+
if (nextResponse)
|
|
62
|
+
result = nextResponse;
|
|
63
|
+
}
|
|
64
|
+
return result;
|
|
65
|
+
}
|
|
66
|
+
async applyResponseAsync(startIndex, currentPromise, currentResult) {
|
|
67
|
+
let result = currentResult;
|
|
68
|
+
const resolved = await currentPromise;
|
|
69
|
+
if (resolved)
|
|
70
|
+
result = resolved;
|
|
71
|
+
const len = this.responseInterceptors.length;
|
|
72
|
+
for (let i = startIndex + 1; i < len; i++) {
|
|
73
|
+
const nextResponse = this.responseInterceptors[i](result);
|
|
74
|
+
if (nextResponse instanceof Promise) {
|
|
75
|
+
const res = await nextResponse;
|
|
76
|
+
if (res)
|
|
77
|
+
result = res;
|
|
78
|
+
}
|
|
79
|
+
else if (nextResponse) {
|
|
45
80
|
result = nextResponse;
|
|
46
81
|
}
|
|
47
82
|
}
|
|
48
83
|
return result;
|
|
49
84
|
}
|
|
50
|
-
/**
|
|
51
|
-
* @ru Очищает все зарегистрированные перехватчики.
|
|
52
|
-
*/
|
|
53
85
|
clear() {
|
|
54
86
|
this.requestInterceptors = [];
|
|
55
87
|
this.responseInterceptors = [];
|
|
88
|
+
this.hasRequest = false;
|
|
89
|
+
this.hasResponse = false;
|
|
56
90
|
}
|
|
57
91
|
}
|
|
58
92
|
//# sourceMappingURL=InterceptorManager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InterceptorManager.js","sourceRoot":"","sources":["../../src/utils/InterceptorManager.ts"],"names":[],"mappings":"AAMA
|
|
1
|
+
{"version":3,"file":"InterceptorManager.js","sourceRoot":"","sources":["../../src/utils/InterceptorManager.ts"],"names":[],"mappings":"AAMA,MAAM,OAAO,kBAAkB;IACrB,mBAAmB,GAAyB,EAAE,CAAC;IAC/C,oBAAoB,GAA0B,EAAE,CAAC;IAElD,UAAU,GAAG,KAAK,CAAC;IACnB,WAAW,GAAG,KAAK,CAAC;IAE3B,UAAU,CAAC,WAA+B;QACxC,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC3C,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;IACzB,CAAC;IAED,WAAW,CAAC,WAAgC;QAC1C,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC5C,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;IAC1B,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,MAAW;QACtB,IAAI,MAAM,GAAG,MAAM,CAAC;QACpB,MAAM,GAAG,GAAG,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC;QAE5C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CA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