@univerjs/rpc 0.2.6 → 0.2.7

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.
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export { type IUniverRPCMainThreadConfig, type IUniverRPCWorkerThreadPluginConfig, UniverRPCMainThreadPlugin, UniverRPCWorkerThreadPlugin, } from './plugin';
16
+ export { type IUniverRPCMainThreadConfig, UniverRPCMainThreadPlugin, UniverRPCWorkerThreadPlugin, } from './plugin';
17
17
  export { DataSyncReplicaController } from './controllers/data-sync/data-sync-replica.controller';
18
18
  export { DataSyncPrimaryController } from './controllers/data-sync/data-sync-primary.controller';
19
19
  export { IRemoteInstanceService, WebWorkerRemoteInstanceService, RemoteInstanceServiceName, RemoteSyncPrimaryService, RemoteSyncServiceName, } from './services/remote-instance/remote-instance.service';
@@ -14,8 +14,6 @@ export declare class UniverRPCMainThreadPlugin extends Plugin {
14
14
  constructor(_config: IUniverRPCMainThreadConfig, _injector: Injector);
15
15
  onStarting(): void;
16
16
  }
17
- export interface IUniverRPCWorkerThreadPluginConfig {
18
- }
19
17
  /**
20
18
  * This plugin is used to register the RPC services on the worker thread.
21
19
  */
@@ -23,6 +21,6 @@ export declare class UniverRPCWorkerThreadPlugin extends Plugin {
23
21
  private readonly _config;
24
22
  protected readonly _injector: Injector;
25
23
  static pluginName: string;
26
- constructor(_config: IUniverRPCWorkerThreadPluginConfig, _injector: Injector);
24
+ constructor(_config: unknown, _injector: Injector);
27
25
  onStarting(): void;
28
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs/rpc",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "private": false,
5
5
  "author": "DreamNum <developer@univer.ai>",
6
6
  "license": "Apache-2.0",
@@ -46,15 +46,15 @@
46
46
  ],
47
47
  "peerDependencies": {
48
48
  "rxjs": ">=7.0.0",
49
- "@univerjs/core": "0.2.6"
49
+ "@univerjs/core": "0.2.7"
50
50
  },
51
51
  "devDependencies": {
52
52
  "rxjs": "^7.8.1",
53
53
  "typescript": "^5.5.4",
54
54
  "vite": "^5.3.5",
55
- "vitest": "^2.0.4",
56
- "@univerjs/core": "0.2.6",
57
- "@univerjs/shared": "0.2.6"
55
+ "vitest": "^2.0.5",
56
+ "@univerjs/shared": "0.2.7",
57
+ "@univerjs/core": "0.2.7"
58
58
  },
59
59
  "univerSpace": {
60
60
  ".": {