@univerjs-pro/collaboration-cluster-redis 0.0.0-stage → 1.1.0

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 CHANGED
@@ -1,3 +1,87 @@
1
- # Temporary Holding Version
1
+ # @univerjs-pro/collaboration-cluster-redis
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ English | [简体中文](./README.zh-CN.md)
4
+
5
+ Redis-based `RedisPubSubAdapter` and `RedisSessionTicketStore` for running `UniverCollabEndpoint` on multiple nodes. Requires Node.js 22 or later.
6
+
7
+ ## Requirements
8
+
9
+ - Redis 6.2 or later; `sharded: true` on Redis Cluster requires Redis 7.0 or later.
10
+ - Install and create the Redis client yourself. [node-redis](https://github.com/redis/node-redis) (the `redis` package, recommended by Redis for new projects) and [ioredis](https://github.com/redis/ioredis) are supported, both standalone and cluster clients.
11
+
12
+ ## Install
13
+
14
+ ```bash
15
+ pnpm add \
16
+ @univerjs-pro/collaboration-endpoint \
17
+ @univerjs-pro/collaboration-cluster-redis \
18
+ redis
19
+ ```
20
+
21
+ ## Assemble every node
22
+
23
+ ### With node-redis
24
+
25
+ ```ts
26
+ import { createClient } from 'redis';
27
+ import {
28
+ RedisPubSubAdapter,
29
+ RedisSessionTicketStore,
30
+ } from '@univerjs-pro/collaboration-cluster-redis';
31
+ import { UniverCollabEndpoint } from '@univerjs-pro/collaboration-endpoint';
32
+
33
+ const client = createClient({ url: process.env.REDIS_URL });
34
+ const subClient = client.duplicate();
35
+ await Promise.all([client.connect(), subClient.connect()]);
36
+
37
+ const pubSub = new RedisPubSubAdapter({ pubClient: client, subClient });
38
+ const ticketStore = new RedisSessionTicketStore({ client });
39
+
40
+ const endpoint = new UniverCollabEndpoint(collabService, { pubSub, ticketStore });
41
+ ```
42
+
43
+ ### With ioredis
44
+
45
+ ```ts
46
+ import Redis from 'ioredis';
47
+
48
+ const client = new Redis(process.env.REDIS_URL);
49
+ const subClient = client.duplicate();
50
+
51
+ const pubSub = new RedisPubSubAdapter({ pubClient: client, subClient });
52
+ const ticketStore = new RedisSessionTicketStore({ client });
53
+ ```
54
+
55
+ `subClient` is a connection used only for subscriptions. Pass the same `pubSub` and `ticketStore` to `UniverCollabWorktreeEndpoint` when it is used. See the `@univerjs-pro/collaboration-endpoint` README for multi-node behavior.
56
+
57
+ ### Redis Cluster
58
+
59
+ Enable `sharded: true` with cluster clients:
60
+
61
+ ```ts
62
+ import { createCluster } from 'redis';
63
+
64
+ const client = createCluster({ rootNodes: [{ url: 'redis://redis-1:6379' }] });
65
+ const subClient = client.duplicate();
66
+ await Promise.all([client.connect(), subClient.connect()]);
67
+
68
+ const pubSub = new RedisPubSubAdapter({ pubClient: client, subClient, sharded: true });
69
+ ```
70
+
71
+ With ioredis, create the client with `new Cluster([{ host: 'redis-1', port: 6379 }], { shardedSubscribers: true })`; without `shardedSubscribers`, ioredis does not receive sharded messages.
72
+
73
+ ## Behavior
74
+
75
+ - A ticket is valid once and can be consumed on any node.
76
+ - Ticket `customData` is stored with `JSON.stringify`; see "customData across nodes" in the `@univerjs-pro/collaboration-endpoint` README for the differences on multiple nodes.
77
+ - When Redis is unavailable, session-ticket requests fail and WebSocket upgrades are rejected with a retryable `503`.
78
+
79
+ ## Shutdown
80
+
81
+ Dispose in reverse order of creation. The application creates and closes both connections; `RedisPubSubAdapter.dispose()` only unsubscribes.
82
+
83
+ ```ts
84
+ await transport.dispose();
85
+ await pubSub.dispose();
86
+ await Promise.all([client.close(), subClient.close()]); // ioredis: quit()
87
+ ```
@@ -0,0 +1,91 @@
1
+ # @univerjs-pro/collaboration-cluster-redis
2
+
3
+ [English](./README.md) | [简体中文](./README.zh-CN.md)
4
+
5
+ 为 `UniverCollabEndpoint` 多节点部署提供基于 Redis 的 `RedisPubSubAdapter` 与
6
+ `RedisSessionTicketStore`。支持 Node.js 22 及以上版本。
7
+
8
+ ## 要求
9
+
10
+ - Redis 6.2 及以上;在 Redis Cluster 上使用 `sharded: true` 需要 Redis 7.0 及以上。
11
+ - 应用自行安装并创建 Redis 客户端。支持 [node-redis](https://github.com/redis/node-redis)(`redis` 包,
12
+ Redis 官方推荐新项目使用)和 [ioredis](https://github.com/redis/ioredis),单机与集群客户端均可。
13
+
14
+ ## 安装
15
+
16
+ ```bash
17
+ pnpm add \
18
+ @univerjs-pro/collaboration-endpoint \
19
+ @univerjs-pro/collaboration-cluster-redis \
20
+ redis
21
+ ```
22
+
23
+ ## 每个节点的组装
24
+
25
+ ### 使用 node-redis
26
+
27
+ ```ts
28
+ import { createClient } from 'redis';
29
+ import {
30
+ RedisPubSubAdapter,
31
+ RedisSessionTicketStore,
32
+ } from '@univerjs-pro/collaboration-cluster-redis';
33
+ import { UniverCollabEndpoint } from '@univerjs-pro/collaboration-endpoint';
34
+
35
+ const client = createClient({ url: process.env.REDIS_URL });
36
+ const subClient = client.duplicate();
37
+ await Promise.all([client.connect(), subClient.connect()]);
38
+
39
+ const pubSub = new RedisPubSubAdapter({ pubClient: client, subClient });
40
+ const ticketStore = new RedisSessionTicketStore({ client });
41
+
42
+ const endpoint = new UniverCollabEndpoint(collabService, { pubSub, ticketStore });
43
+ ```
44
+
45
+ ### 使用 ioredis
46
+
47
+ ```ts
48
+ import Redis from 'ioredis';
49
+
50
+ const client = new Redis(process.env.REDIS_URL);
51
+ const subClient = client.duplicate();
52
+
53
+ const pubSub = new RedisPubSubAdapter({ pubClient: client, subClient });
54
+ const ticketStore = new RedisSessionTicketStore({ client });
55
+ ```
56
+
57
+ `subClient` 是专门用于订阅的连接。使用 `UniverCollabWorktreeEndpoint` 时传入同一组 `pubSub` 与
58
+ `ticketStore`。多节点行为见 `@univerjs-pro/collaboration-endpoint` README。
59
+
60
+ ### Redis Cluster
61
+
62
+ 使用集群客户端时推荐开启 `sharded: true`:
63
+
64
+ ```ts
65
+ import { createCluster } from 'redis';
66
+
67
+ const client = createCluster({ rootNodes: [{ url: 'redis://redis-1:6379' }] });
68
+ const subClient = client.duplicate();
69
+ await Promise.all([client.connect(), subClient.connect()]);
70
+
71
+ const pubSub = new RedisPubSubAdapter({ pubClient: client, subClient, sharded: true });
72
+ ```
73
+
74
+ 使用 ioredis 时以 `new Cluster([{ host: 'redis-1', port: 6379 }], { shardedSubscribers: true })` 创建客户端;不开启 `shardedSubscribers` 时 ioredis 收不到 sharded 消息。
75
+
76
+ ## 行为
77
+
78
+ - 票据一次有效,可在任一节点消费。
79
+ - 票据中的 `customData` 以 `JSON.stringify` 保存,多节点下的差异见
80
+ `@univerjs-pro/collaboration-endpoint` README 的“多节点下的 customData”。
81
+ - Redis 不可用时,签票请求失败,WebSocket 建连返回可重试的 `503`。
82
+
83
+ ## 停止服务
84
+
85
+ 按创建反序释放。两条连接都由应用创建和关闭,`RedisPubSubAdapter.dispose()` 只退订。
86
+
87
+ ```ts
88
+ await transport.dispose();
89
+ await pubSub.dispose();
90
+ await Promise.all([client.close(), subClient.close()]); // ioredis 使用 quit()
91
+ ```
package/dist/index.cjs ADDED
@@ -0,0 +1 @@
1
+ Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});let e=require('node:crypto');function t(_0x3742d4){return typeof _0x3742d4['pSubscribe']=='function';}function n(_0x54b9f8,_0x2380ef,..._0x414138){return _0x54b9f8[_0x2380ef]['apply'](_0x54b9f8,_0x414138);}function r(_0x3596a6,_0x26867b,_0x20d693){let _0x39b0dc=_0x26867b['filter'](_0x1acff2=>typeof _0x3596a6[_0x1acff2]!='function');if(_0x39b0dc['length']>0x0)throw TypeError(_0x20d693+'\x20is\x20missing\x20Redis\x20methods:\x20'+_0x39b0dc['join'](',\x20'));}var i=class{['_client'];['_nodeRedis'];constructor(_0x3a5631,_0x1e7d99,_0x222118){if(this['_client']=_0x3a5631,!_0x3a5631||typeof _0x3a5631!='object')throw TypeError(_0x1e7d99+'\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x3a5631);let _0x1b05ec=[];_0x222118['publish']&&_0x1b05ec['push'](_0x222118['sharded']?this['_nodeRedis']?'sPublish':'spublish':'publish'),_0x222118['tickets']&&_0x1b05ec['push']('set',this['_nodeRedis']?'getDel':'getdel'),r(_0x3a5631,_0x1b05ec,_0x1e7d99);}['publish'](_0x34e55c,_0xaaf020,_0x24c69d){let _0xc573a5=_0x24c69d?this['_nodeRedis']?'sPublish':'spublish':'publish';return n(this['_client'],_0xc573a5,_0x34e55c,_0xaaf020);}async['setIfAbsent'](_0x22c356,_0x3dd5a6,_0x5281f8){return(this['_nodeRedis']?await n(this['_client'],'set',_0x22c356,_0x3dd5a6,{'PX':_0x5281f8,'NX':!0x0}):await n(this['_client'],'set',_0x22c356,_0x3dd5a6,'PX',_0x5281f8,'NX'))==='OK';}['getDel'](_0xf4fffe){return n(this['_client'],this['_nodeRedis']?'getDel':'getdel',_0xf4fffe);}},a=class{['_client'];['_sharded'];['_onMessage'];['_nodeRedis'];['_event'];['_listeners']=new Map();['_onIoRedisMessage'];constructor(_0x17ea48,_0x8f2068,_0x5dc602){if(this['_client']=_0x17ea48,this['_sharded']=_0x8f2068,this['_onMessage']=_0x5dc602,!_0x17ea48||typeof _0x17ea48!='object')throw TypeError('subClient\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x17ea48),this['_event']=_0x8f2068?'smessage':'message',r(_0x17ea48,this['_nodeRedis']?_0x8f2068?['sSubscribe','sUnsubscribe']:['subscribe','unsubscribe']:_0x8f2068?['ssubscribe','sunsubscribe','on','off']:['subscribe','unsubscribe','on','off'],'subClient');let _0x46aeb8=_0x17ea48;if(!this['_nodeRedis']&&_0x8f2068&&_0x46aeb8['isCluster']===!0x0&&_0x46aeb8['options']?.['shardedSubscribers']!==!0x0)throw TypeError('subClient\x20is\x20an\x20ioredis\x20Cluster\x20without\x20{\x20shardedSubscribers:\x20true\x20},\x20required\x20for\x20sharded\x20pub/sub');this['_onIoRedisMessage']=(_0x57423e,_0x2c70f4)=>this['_onMessage'](_0x57423e,_0x2c70f4),this['_nodeRedis']||this['_client']['on'](this['_event'],this['_onIoRedisMessage']);}async['subscribe'](_0x3d3218){if(!this['_nodeRedis']){await n(this['_client'],this['_sharded']?'ssubscribe':'subscribe',_0x3d3218);return;}let _0xb746ab=(_0x5203d2,_0x56ed6a)=>this['_onMessage'](_0x56ed6a,_0x5203d2);this['_listeners']['set'](_0x3d3218,_0xb746ab);try{await n(this['_client'],this['_sharded']?'sSubscribe':'subscribe',_0x3d3218,_0xb746ab);}catch(_0x2bea4b){throw this['_listeners']['get'](_0x3d3218)===_0xb746ab&&this['_listeners']['delete'](_0x3d3218),_0x2bea4b;}}async['unsubscribe'](_0x55211a){if(!this['_nodeRedis']){if(this['_sharded']){let _0x1beb23=(await Promise['allSettled'](_0x55211a['map'](_0x20e9c7=>n(this['_client'],'sunsubscribe',_0x20e9c7))))['find'](_0x51fb66=>_0x51fb66['status']==='rejected');if(_0x1beb23)throw _0x1beb23['reason'];}else await n(this['_client'],'unsubscribe',..._0x55211a);return;}let _0x4c6480=(await Promise['allSettled'](_0x55211a['map'](_0xcb6024=>{let _0x29f443=this['_listeners']['get'](_0xcb6024);return this['_listeners']['delete'](_0xcb6024),n(this['_client'],this['_sharded']?'sUnsubscribe':'unsubscribe',_0xcb6024,_0x29f443);})))['find'](_0x170a08=>_0x170a08['status']==='rejected');if(_0x4c6480)throw _0x4c6480['reason'];}['detach'](){this['_nodeRedis']||this['_client']['off'](this['_event'],this['_onIoRedisMessage']);}},o='univer-collab:',s=class{['_commands'];['_subscription'];['_prefix'];['_sharded'];['_handlers']=new Map();['_subscribing']=new Map();['_onMessage']=(_0x158031,_0x8a4479)=>{for(let _0x49e5c9 of[...this['_handlers']['get'](_0x158031)??[]])try{_0x49e5c9(_0x8a4479);}catch{}};['_disposed']=!0x1;constructor(_0x12e31f){if(!_0x12e31f?.['pubClient']||!_0x12e31f['subClient'])throw TypeError('RedisPubSubAdapter\x20requires\x20pubClient\x20and\x20subClient');this['_prefix']=_0x12e31f['keyPrefix']??o,this['_sharded']=_0x12e31f['sharded']??!0x1,this['_commands']=new i(_0x12e31f['pubClient'],'pubClient',{'publish':!0x0,'sharded':this['_sharded']}),this['_subscription']=new a(_0x12e31f['subClient'],this['_sharded'],this['_onMessage']);}async['publish'](_0x1e12e6,_0x2d9d12){this['_assertRunning']();let _0x557610=this['_channel'](_0x1e12e6);await this['_commands']['publish'](_0x557610,_0x2d9d12,this['_sharded']);}async['subscribe'](_0x39445e,_0x2d2163){this['_assertRunning']();let _0xc8554=this['_channel'](_0x39445e),_0x5ce7b4=_0x36b031=>_0x2d2163(_0x36b031),_0x5e17f2=this['_handlers']['get'](_0xc8554);if(!_0x5e17f2){_0x5e17f2=new Set(),this['_handlers']['set'](_0xc8554,_0x5e17f2);let _0x23953f=this['_subscribeChannel'](_0xc8554);this['_subscribing']['set'](_0xc8554,_0x23953f),_0x23953f['finally'](()=>{this['_subscribing']['get'](_0xc8554)===_0x23953f&&this['_subscribing']['delete'](_0xc8554);})['catch'](()=>void 0x0);}_0x5e17f2['add'](_0x5ce7b4);try{await this['_subscribing']['get'](_0xc8554);}catch(_0x1852e8){throw this['_removeHandler'](_0xc8554,_0x5e17f2,_0x5ce7b4,!0x1),_0x1852e8;}let _0x434106=!0x1;return{'dispose':()=>{_0x434106||(_0x434106=!0x0,this['_removeHandler'](_0xc8554,_0x5e17f2,_0x5ce7b4,!0x0));}};}async['dispose'](){if(this['_disposed'])return;this['_disposed']=!0x0,this['_subscription']['detach']();let _0x40c5f8=[...this['_handlers']['keys']()];this['_handlers']['clear'](),_0x40c5f8['length']>0x0&&await this['_subscription']['unsubscribe'](_0x40c5f8);}['_channel'](_0x4e1b1e){return''+this['_prefix']+_0x4e1b1e;}['_subscribeChannel'](_0x29facf){return this['_subscription']['subscribe'](_0x29facf);}['_removeHandler'](_0x2b58a2,_0x2e8032,_0x25d393,_0x48d0e2){_0x2e8032['delete'](_0x25d393),!(_0x2e8032['size']>0x0||this['_handlers']['get'](_0x2b58a2)!==_0x2e8032)&&(this['_handlers']['delete'](_0x2b58a2),_0x48d0e2&&!this['_disposed']&&this['_subscription']['unsubscribe']([_0x2b58a2])['catch'](()=>void 0x0));}['_assertRunning'](){if(this['_disposed'])throw Error('RedisPubSubAdapter\x20is\x20disposed');}},c='univer-collab:',l=class{['_commands'];['_prefix'];['_disposed']=!0x1;constructor(_0x55251b){this['_commands']=new i(_0x55251b?.['client'],'client',{'tickets':!0x0}),this['_prefix']=_0x55251b['keyPrefix']??c;}async['issue'](_0x1d8600,_0x28f838){if(this['_assertRunning'](),!Number['isSafeInteger'](_0x28f838)||_0x28f838<=0x0)throw TypeError('Session\x20ticket\x20TTL\x20must\x20be\x20a\x20positive\x20safe\x20integer');if(typeof _0x1d8600?.['userID']!='string'||!_0x1d8600['userID'])throw TypeError('Session\x20ticket\x20userID\x20must\x20be\x20a\x20non-empty\x20string');let _0x1f7862=JSON['stringify']({'userID':_0x1d8600['userID'],'customData':_0x1d8600['customData']}),_0x3bbb85=(0x0,e['randomBytes'])(0x20)['toString']('base64url');if(!await this['_commands']['setIfAbsent'](this['_key'](_0x3bbb85),_0x1f7862,_0x28f838))throw Error('Session\x20ticket\x20collision');return _0x3bbb85;}async['consume'](_0x2e36ee){if(this['_disposed']||typeof _0x2e36ee!='string'||!_0x2e36ee)return null;let _0x4f5df4=await this['_commands']['getDel'](this['_key'](_0x2e36ee));if(_0x4f5df4===null)return null;let _0x2fcdb0=JSON['parse'](_0x4f5df4),_0x57892d=Object['assign'](Object['create'](null),_0x2fcdb0['customData']);return{'userID':_0x2fcdb0['userID'],'customData':_0x57892d};}async['dispose'](){this['_disposed']=!0x0;}['_key'](_0x107feb){return this['_prefix']+'session-ticket:'+_0x107feb;}['_assertRunning'](){if(this['_disposed'])throw Error('RedisSessionTicketStore\x20is\x20disposed');}};exports['RedisPubSubAdapter']=s,exports['RedisSessionTicketStore']=l;
@@ -0,0 +1,51 @@
1
+ import { IPubSubAdapter, ISessionTicketStore, SessionTicketRecord } from "@univerjs-pro/collaboration-endpoint";
2
+ import { Disposable } from "@univerjs-pro/collaboration-service";
3
+
4
+ //#region src/redis-client.d.ts
5
+ type RedisClient = object;
6
+ //#endregion
7
+ //#region src/redis-pubsub-adapter.d.ts
8
+ type Handler = (payload: string) => void;
9
+ interface RedisPubSubAdapterOptions {
10
+ readonly pubClient: RedisClient;
11
+ readonly subClient: RedisClient;
12
+ readonly keyPrefix?: string;
13
+ readonly sharded?: boolean;
14
+ }
15
+ declare class RedisPubSubAdapter implements IPubSubAdapter {
16
+ private readonly _commands;
17
+ private readonly _subscription;
18
+ private readonly _prefix;
19
+ private readonly _sharded;
20
+ private readonly _handlers;
21
+ private readonly _subscribing;
22
+ private readonly _onMessage;
23
+ private _disposed;
24
+ constructor(options: RedisPubSubAdapterOptions);
25
+ publish(channel: string, payload: string): Promise<void>;
26
+ subscribe(channel: string, handler: Handler): Promise<Disposable>;
27
+ dispose(): Promise<void>;
28
+ private _channel;
29
+ private _subscribeChannel;
30
+ private _removeHandler;
31
+ private _assertRunning;
32
+ }
33
+ //#endregion
34
+ //#region src/redis-session-ticket-store.d.ts
35
+ interface RedisSessionTicketStoreOptions {
36
+ readonly client: RedisClient;
37
+ readonly keyPrefix?: string;
38
+ }
39
+ declare class RedisSessionTicketStore implements ISessionTicketStore {
40
+ private readonly _commands;
41
+ private readonly _prefix;
42
+ private _disposed;
43
+ constructor(options: RedisSessionTicketStoreOptions);
44
+ issue(record: SessionTicketRecord, ttlMs: number): Promise<string>;
45
+ consume(ticket: string): Promise<SessionTicketRecord | null>;
46
+ dispose(): Promise<void>;
47
+ private _key;
48
+ private _assertRunning;
49
+ }
50
+ //#endregion
51
+ export { type RedisClient, RedisPubSubAdapter, type RedisPubSubAdapterOptions, RedisSessionTicketStore, type RedisSessionTicketStoreOptions };
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ function _0x24e0(_0x19898a,_0x1d6733){_0x19898a=_0x19898a-0x1d2;const _0xef982f=_0xef98();let _0x24e041=_0xef982f[_0x19898a];return _0x24e041;}const _0xf38d3e=_0x24e0;function _0xef98(){const _0x2809b4=['RedisPubSubAdapter','3522THpycq','4ZXHktb','797904tWdVfx','1796727hZrAuv','71559FtFNLv','1670xmiCFV','1975550toLCvW','2260118VQutlP','9115OALwai','RedisSessionTicketStore','4372320qHbryy'];_0xef98=function(){return _0x2809b4;};return _0xef98();}(function(_0x2ec7d2,_0x3a997c){const _0xef5ab=_0x24e0,_0x2f3578=_0x2ec7d2();while(!![]){try{const _0x1a422e=-parseInt(_0xef5ab(0x1d9))/0x1+parseInt(_0xef5ab(0x1dd))/0x2+-parseInt(_0xef5ab(0x1da))/0x3*(parseInt(_0xef5ab(0x1d8))/0x4)+parseInt(_0xef5ab(0x1d3))/0x5*(-parseInt(_0xef5ab(0x1d7))/0x6)+parseInt(_0xef5ab(0x1d2))/0x7+parseInt(_0xef5ab(0x1d5))/0x8+-parseInt(_0xef5ab(0x1db))/0x9*(-parseInt(_0xef5ab(0x1dc))/0xa);if(_0x1a422e===_0x3a997c)break;else _0x2f3578['push'](_0x2f3578['shift']());}catch(_0x2836c3){_0x2f3578['push'](_0x2f3578['shift']());}}}(_0xef98,0xaf50c));import _0x25c7dd from'./index.cjs';const facadeExport0=_0x25c7dd[_0xf38d3e(0x1d6)],facadeExport1=_0x25c7dd[_0xf38d3e(0x1d4)];export{facadeExport0 as RedisPubSubAdapter,facadeExport1 as RedisSessionTicketStore};
package/package.json CHANGED
@@ -1,6 +1,25 @@
1
1
  {
2
2
  "name": "@univerjs-pro/collaboration-cluster-redis",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "type": "module",
4
+ "engines": {
5
+ "node": ">=22"
6
+ },
7
+ "version": "1.1.0",
8
+ "main": "./dist/index.cjs",
9
+ "module": "./dist/index.mjs",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.mjs",
15
+ "require": "./dist/index.cjs"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "dependencies": {
22
+ "@univerjs-pro/collaboration-endpoint": "1.1.0",
23
+ "@univerjs-pro/collaboration-service": "1.1.0"
24
+ }
6
25
  }