@complex-suite/request 1.1.3 → 2.0.1
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/index.ts +8 -3
- package/package.json +4 -4
package/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseRequest, { type RequestConfig, type RequestInitOption, type requestTrigger } from './src/BaseRequest'
|
|
2
|
-
import Rule from './src/Rule'
|
|
3
|
-
import Token from './src/Token'
|
|
2
|
+
import Rule, { type responseType, type tokenType, type RuleInitOption } from './src/Rule'
|
|
3
|
+
import Token, { type TokenInitOption, type locationType } from './src/Token'
|
|
4
4
|
|
|
5
5
|
export {
|
|
6
6
|
BaseRequest,
|
|
@@ -8,5 +8,10 @@ export {
|
|
|
8
8
|
type RequestInitOption,
|
|
9
9
|
type requestTrigger,
|
|
10
10
|
Rule,
|
|
11
|
-
|
|
11
|
+
type responseType,
|
|
12
|
+
type tokenType,
|
|
13
|
+
type RuleInitOption,
|
|
14
|
+
Token,
|
|
15
|
+
type TokenInitOption,
|
|
16
|
+
type locationType
|
|
12
17
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@complex-suite/request",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "a complex request",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"url": "https://github.com/MarAngle/complex-request.git"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@complex-suite/
|
|
13
|
-
"@complex-suite/
|
|
12
|
+
"@complex-suite/plugin": "5.0.1",
|
|
13
|
+
"@complex-suite/utils": "3.0.1"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"jsdom": "^27.1.0",
|
|
@@ -30,6 +30,6 @@
|
|
|
30
30
|
"check": "tsc --noEmit",
|
|
31
31
|
"test": "vitest",
|
|
32
32
|
"coverage": "vitest run --coverage",
|
|
33
|
-
"release": "
|
|
33
|
+
"release": "pnpm publish --registry=https://registry.npmjs.org"
|
|
34
34
|
}
|
|
35
35
|
}
|