dff-util 1.1.5 → 1.1.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.
- package/dist/main/http.d.ts +1 -1
- package/dist/main/http.js +1 -1
- package/global.d.ts +1 -0
- package/package.json +2 -2
- package/tsconfig.json +1 -1
package/dist/main/http.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export declare const BaseHeaders: {
|
|
|
15
15
|
'x-request-id': null;
|
|
16
16
|
};
|
|
17
17
|
export declare class Http {
|
|
18
|
-
static API_BASE_URL: string
|
|
18
|
+
static API_BASE_URL: string;
|
|
19
19
|
static TOKEN_URL: string;
|
|
20
20
|
private static RespData;
|
|
21
21
|
static Get(url: string, params: any, headers: any, type?: RespType): Promise<any>;
|
package/dist/main/http.js
CHANGED
package/global.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare var global: typeof globalThis;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dff-util",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
8
|
"build": "tsc",
|
|
9
|
-
"
|
|
9
|
+
"pp": "npm run build"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [
|
|
12
12
|
"npm",
|
package/tsconfig.json
CHANGED
|
@@ -105,6 +105,6 @@
|
|
|
105
105
|
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
|
106
106
|
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
|
107
107
|
},
|
|
108
|
-
"include": [ "src/**/*", "src/tests/jwt.ts" ],
|
|
108
|
+
"include": [ "src/**/*", "src/tests/jwt.ts", "global.d.ts" ],
|
|
109
109
|
"exclude": [ "node_modules", "**/*.spec.ts" ]
|
|
110
110
|
}
|