@univerjs/network 0.1.0-beta.5 → 0.1.2
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 +6 -2
- package/lib/types/index.d.ts +1 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -5,12 +5,16 @@
|
|
|
5
5
|
|
|
6
6
|
## Introduction
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
The `@univerjs/network` library provides basic network service capabilities, primarily for use in collaborative editing scenarios.
|
|
9
9
|
|
|
10
10
|
## Usage
|
|
11
11
|
|
|
12
12
|
### Installation
|
|
13
13
|
|
|
14
14
|
```shell
|
|
15
|
-
|
|
15
|
+
# Using npm
|
|
16
|
+
npm install @univerjs/network
|
|
17
|
+
|
|
18
|
+
# Using pnpm
|
|
19
|
+
pnpm add @univerjs/network
|
|
16
20
|
```
|
package/lib/types/index.d.ts
CHANGED
|
@@ -20,3 +20,4 @@ export { XHRHTTPImplementation } from './services/http/implementations/xhr';
|
|
|
20
20
|
export { HTTPRequest } from './services/http/request';
|
|
21
21
|
export { HTTPResponse } from './services/http/response';
|
|
22
22
|
export { type ISocket, ISocketService, type SocketBodyType, WebSocketService, } from './services/web-socket/web-socket.service';
|
|
23
|
+
export { type IRequestParams } from './services/http/http.service';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/network",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "DreamNum <developer@univer.ai>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@wendellhu/redi": "^0.13.0",
|
|
51
51
|
"rxjs": ">=7.0.0",
|
|
52
|
-
"@univerjs/core": "0.1.
|
|
52
|
+
"@univerjs/core": "0.1.2"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {},
|
|
55
55
|
"devDependencies": {
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"typescript": "^5.3.3",
|
|
59
59
|
"vite": "^5.1.4",
|
|
60
60
|
"vitest": "^1.3.1",
|
|
61
|
-
"@univerjs/
|
|
62
|
-
"@univerjs/
|
|
61
|
+
"@univerjs/shared": "0.1.2",
|
|
62
|
+
"@univerjs/core": "0.1.2"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"lint:types": "tsc --noEmit",
|