@be-link/http 1.0.1-beta.0
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 +425 -0
- package/dist/BeLinkHttp.d.ts +206 -0
- package/dist/BeLinkHttp.d.ts.map +1 -0
- package/dist/index.cjs.js +845 -0
- package/dist/index.d.ts +94 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +835 -0
- package/dist/interceptors/index.d.ts +10 -0
- package/dist/interceptors/index.d.ts.map +1 -0
- package/dist/interceptors/request.d.ts +50 -0
- package/dist/interceptors/request.d.ts.map +1 -0
- package/dist/interceptors/response.d.ts +52 -0
- package/dist/interceptors/response.d.ts.map +1 -0
- package/dist/services/EncryptionService.d.ts +120 -0
- package/dist/services/EncryptionService.d.ts.map +1 -0
- package/dist/services/TimeSyncService.d.ts +117 -0
- package/dist/services/TimeSyncService.d.ts.map +1 -0
- package/dist/services/index.d.ts +10 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/types.d.ts +268 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +40 -0
package/package.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@be-link/http",
|
|
3
|
+
"version": "1.0.1-beta.0",
|
|
4
|
+
"description": "共比邻 HTTP 请求库,提供简洁的 HTTP 请求封装,支持时间同步和 Token 加密",
|
|
5
|
+
"homepage": "https://github.com/snowmountain-top/be-link#readme",
|
|
6
|
+
"author": "zhuifeng <yangyiboys@163.com>",
|
|
7
|
+
"license": "ISC",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/snowmountain-top/be-link.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/snowmountain-top/be-link/issues"
|
|
14
|
+
},
|
|
15
|
+
"main": "dist/index.cjs.js",
|
|
16
|
+
"module": "dist/index.esm.js",
|
|
17
|
+
"types": "dist/index.d.ts",
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"types",
|
|
21
|
+
"package.json",
|
|
22
|
+
"README.md"
|
|
23
|
+
],
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"axios": "^1.13.2",
|
|
26
|
+
"crypto-js": "^4.2.0"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {},
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public"
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"clean": "rimraf ./dist && rimraf .rollup.cache",
|
|
34
|
+
"build:js": "rollup --config rollup.config.ts --configPlugin typescript",
|
|
35
|
+
"build:types": "tsc --project tsconfig.json",
|
|
36
|
+
"build": "pnpm clean && pnpm build:js && pnpm build:types",
|
|
37
|
+
"lint": "eslint src --ext .ts,.tsx --fix",
|
|
38
|
+
"test": "echo \"No tests yet\" && exit 0"
|
|
39
|
+
}
|
|
40
|
+
}
|