@univerjs/rpc 0.1.1 → 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.
Files changed (2) hide show
  1. package/README.md +8 -6
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -5,16 +5,18 @@
5
5
 
6
6
  ## Introduction
7
7
 
8
- > Univer RPC provides RPC framework for Univer.
8
+ When handling some time-intensive tasks, such as formula computation, Univer can offload them to a location outside of the main thread, such as a Web Worker thread. The `@univerjs/rpc` library provides an RPC mechanism that simplifies communication between the main thread and other threads.
9
+
10
+ For more information, see the [Architecture of Web Worker](https://univer.ai/en-us/guides/architecture/web-worker/).
9
11
 
10
12
  ## Usage
11
13
 
12
14
  ### Installation
13
15
 
14
16
  ```shell
15
- npm i @univerjs/rpc
16
- ```
17
+ # Using npm
18
+ npm install @univerjs/rpc
17
19
 
18
- ### API
19
-
20
- Check [Univer](https://github.com/dream-num/univer/)
20
+ # Using pnpm
21
+ pnpm add @univerjs/rpc
22
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/rpc",
3
- "version": "0.1.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.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/core": "0.1.1",
62
- "@univerjs/shared": "0.1.1"
61
+ "@univerjs/shared": "0.1.2",
62
+ "@univerjs/core": "0.1.2"
63
63
  },
64
64
  "scripts": {
65
65
  "lint:types": "tsc --noEmit",