@univerjs/network 0.6.10 → 0.7.0-beta.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.
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
import { HTTPHeaders } from './headers';
|
|
2
2
|
import { HTTPResponseType } from './http';
|
|
3
|
-
import { HTTPParams } from './params';
|
|
4
3
|
export type HTTPRequestMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
5
|
-
/**
|
|
6
|
-
* @internal
|
|
7
|
-
*/
|
|
8
|
-
export interface IHTTPRequestParams {
|
|
9
|
-
body?: any;
|
|
10
|
-
headers: HTTPHeaders;
|
|
11
|
-
params?: HTTPParams;
|
|
12
|
-
responseType: HTTPResponseType;
|
|
13
|
-
withCredentials: boolean;
|
|
14
|
-
reportProgress?: boolean;
|
|
15
|
-
}
|
|
16
4
|
export declare function __TEST_ONLY_RESET_REQUEST_UID_DO_NOT_USE_IN_PRODUCTION(): void;
|
|
17
5
|
export declare class HTTPRequest {
|
|
18
6
|
readonly method: HTTPRequestMethod;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/network",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0-beta.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "DreamNum <developer@univer.ai>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"rxjs": ">=7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@univerjs/core": "0.
|
|
60
|
+
"@univerjs/core": "0.7.0-beta.1"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"rxjs": "^7.8.1",
|
|
64
64
|
"typescript": "^5.8.3",
|
|
65
|
-
"vite": "^6.3.
|
|
66
|
-
"vitest": "^3.1.
|
|
67
|
-
"@univerjs-infra/shared": "0.
|
|
65
|
+
"vite": "^6.3.5",
|
|
66
|
+
"vitest": "^3.1.3",
|
|
67
|
+
"@univerjs-infra/shared": "0.7.0-beta.1"
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|
|
70
70
|
"test": "vitest run",
|