@midwayjs/cross-domain 3.9.0 → 3.9.6
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.
|
@@ -4,5 +4,6 @@ export declare class CorsMiddleware implements IMiddleware<any, any> {
|
|
|
4
4
|
cors: CORSOptions;
|
|
5
5
|
resolve(app: any): (req: any, res: any, next: any) => Promise<any>;
|
|
6
6
|
compatibleMiddleware(request: any, response: any, next: any): Promise<any>;
|
|
7
|
+
static getName(): string;
|
|
7
8
|
}
|
|
8
9
|
//# sourceMappingURL=cors.d.ts.map
|
package/dist/middleware/cors.js
CHANGED
|
@@ -7,5 +7,6 @@ export declare class JSONPMiddleware implements IMiddleware<any, any> {
|
|
|
7
7
|
jsonp: JSONPOptions;
|
|
8
8
|
resolve(app: any): (req: any, res: any, next: any) => Promise<any>;
|
|
9
9
|
compatibleMiddleware(context: any, next: any): Promise<any>;
|
|
10
|
+
static getName(): string;
|
|
10
11
|
}
|
|
11
12
|
//# sourceMappingURL=jsonp.d.ts.map
|
package/dist/middleware/jsonp.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/cross-domain",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.6",
|
|
4
4
|
"description": "Midway Component for Cross Domain",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "index.d.ts",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"@midwayjs/faas": "^3.9.0",
|
|
31
31
|
"@midwayjs/koa": "^3.9.0",
|
|
32
32
|
"@midwayjs/mock": "^3.9.0",
|
|
33
|
-
"@midwayjs/serverless-app": "^3.9.
|
|
33
|
+
"@midwayjs/serverless-app": "^3.9.1",
|
|
34
34
|
"@midwayjs/web": "^3.9.0"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "0702c088ad34d182d916bb33d11c7f80bf4b24bd"
|
|
37
37
|
}
|