@univerjs-pro/collaboration-client-node 1.1.0 → 1.2.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/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1424c7=_0x400d;(function(_0x5d7679,_0x4bb4b9){const _0x4d2241=_0x400d,_0x304ceb=_0x5d7679();while(!![]){try{const _0x314a59=-parseInt(_0x4d2241(0x1b0))/0x1*(-parseInt(_0x4d2241(0x195))/0x2)+-parseInt(_0x4d2241(0x1d4))/0x3+-parseInt(_0x4d2241(0x1d0))/0x4+parseInt(_0x4d2241(0x1c5))/0x5*(-parseInt(_0x4d2241(0x1a3))/0x6)+-parseInt(_0x4d2241(0x1a2))/0x7+parseInt(_0x4d2241(0x1c7))/0x8*(parseInt(_0x4d2241(0x1cb))/0x9)+parseInt(_0x4d2241(0x1cf))/0xa;if(_0x314a59===_0x4bb4b9)break;else _0x304ceb['push'](_0x304ceb['shift']());}catch(_0x4ea97b){_0x304ceb['push'](_0x304ceb['shift']());}}}(_0x1de3,0xbd430),Object[_0x1424c7(0x194)](exports,Symbol['toStringTag'],{'value':'Module'}));let e=require('@univerjs-pro/collaboration'),t=require('@univerjs-pro/collaboration-client'),n=require('@univerjs-pro/license'),r=require('@univerjs/core'),i=require('@univerjs/network'),a=require('rxjs'),o=require('ws');var s=_0x1424c7(0x19a),c=_0x1424c7(0x1aa);const l={};function _0x400d(_0x2d4384,_0x5ce964){_0x2d4384=_0x2d4384-0x194;const _0x1de3b6=_0x1de3();let _0x400d54=_0x1de3b6[_0x2d4384];return _0x400d54;}function u(_0x3e6a60,_0x150d28){return function(_0x18146b,_0x3f924a){_0x150d28(_0x18146b,_0x3f924a,_0x3e6a60);};}function d(_0x53c5ac,_0x39dea8,_0x130297,_0x4ff16b){const _0x4b6201=_0x1424c7;var _0x219ba5=arguments[_0x4b6201(0x1d5)],_0x5eed4e=_0x219ba5<0x3?_0x39dea8:_0x4ff16b===null?_0x4ff16b=Object[_0x4b6201(0x1a6)](_0x39dea8,_0x130297):_0x4ff16b,_0x1d4597;if(typeof Reflect=='object'&&typeof Reflect[_0x4b6201(0x1bd)]==_0x4b6201(0x1b7))_0x5eed4e=Reflect[_0x4b6201(0x1bd)](_0x53c5ac,_0x39dea8,_0x130297,_0x4ff16b);else{for(var _0x54fd8e=_0x53c5ac[_0x4b6201(0x1d5)]-0x1;_0x54fd8e>=0x0;_0x54fd8e--)(_0x1d4597=_0x53c5ac[_0x54fd8e])&&(_0x5eed4e=(_0x219ba5<0x3?_0x1d4597(_0x5eed4e):_0x219ba5>0x3?_0x1d4597(_0x39dea8,_0x130297,_0x5eed4e):_0x1d4597(_0x39dea8,_0x130297))||_0x5eed4e);}return _0x219ba5>0x3&&_0x5eed4e&&Object[_0x4b6201(0x194)](_0x39dea8,_0x130297,_0x5eed4e),_0x5eed4e;}let f=class extends r['Disposable']{constructor(_0x464c49){const _0x5ea9ec=_0x1424c7;super(),this[_0x5ea9ec(0x1af)]=_0x464c49;}[_0x1424c7(0x1c3)](_0x7f2e91){const _0x108292=_0x1424c7;var _0x19663c;let _0x46e669=((_0x19663c=this['_configService'][_0x108292(0x1ce)](t['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x19663c['customHeaders'])||{};try{let _0x4d67cc=new o[(_0x108292(0x1cd))](_0x7f2e91,{'headers':{..._0x46e669}}),_0x24a42c=new r[(_0x108292(0x1a0))]();return{'URL':_0x7f2e91,'close':(_0x5dfd06,_0x5e2812)=>{const _0x4d208c=_0x108292;_0x4d67cc[_0x4d208c(0x197)](_0x5dfd06,_0x5e2812),_0x24a42c[_0x4d208c(0x19d)]();},'send':_0x1e3046=>{_0x4d67cc['send'](_0x1e3046);},'open$':new a['Observable'](_0x8ee127=>{const _0x137919=_0x108292;let _0x38b5ef=_0x456447=>_0x8ee127[_0x137919(0x1b3)](_0x456447);_0x4d67cc[_0x137919(0x1ab)](_0x137919(0x1bc),_0x38b5ef),_0x24a42c[_0x137919(0x1da)]((0x0,r[_0x137919(0x19c)])(()=>_0x4d67cc[_0x137919(0x1d9)](_0x137919(0x1bc),_0x38b5ef)));})[_0x108292(0x1ae)]((0x0,a[_0x108292(0x1a4)])()),'close$':new a[(_0x108292(0x19b))](_0xa4128d=>{const _0x59038e=_0x108292;let _0x1029c6=_0x22b32b=>_0xa4128d['next'](_0x22b32b);_0x4d67cc[_0x59038e(0x1ab)](_0x59038e(0x197),_0x1029c6),_0x24a42c[_0x59038e(0x1da)]((0x0,r[_0x59038e(0x19c)])(()=>_0x4d67cc[_0x59038e(0x1d9)](_0x59038e(0x197),_0x1029c6)));})[_0x108292(0x1ae)]((0x0,a[_0x108292(0x1a4)])()),'error$':new a[(_0x108292(0x19b))](_0x1f6c0d=>{const _0x352625=_0x108292;let _0x1ee5e6=_0x70ff3e=>_0x1f6c0d[_0x352625(0x1b3)](_0x70ff3e);_0x4d67cc['addEventListener']('error',_0x1ee5e6),_0x24a42c[_0x352625(0x1da)]((0x0,r['toDisposable'])(()=>_0x4d67cc[_0x352625(0x1d9)](_0x352625(0x1a8),_0x1ee5e6)));})[_0x108292(0x1ae)]((0x0,a[_0x108292(0x1a4)])()),'message$':new a[(_0x108292(0x19b))](_0x382ba0=>{const _0x3dd65b=_0x108292;let _0x3343ec=_0x47c6e6=>_0x382ba0[_0x3dd65b(0x1b3)](_0x47c6e6);_0x4d67cc[_0x3dd65b(0x1ab)]('message',_0x3343ec),_0x24a42c['add']((0x0,r[_0x3dd65b(0x19c)])(()=>_0x4d67cc[_0x3dd65b(0x1d9)](_0x3dd65b(0x1c1),_0x3343ec)));})[_0x108292(0x1ae)]((0x0,a[_0x108292(0x1a4)])())};}catch(_0x33a820){return console[_0x108292(0x1a8)](_0x33a820),null;}}};f=d([u(0x0,r['IConfigService'])],f);function p(_0x555c12){'@babel/helpers - typeof';const _0x4bc0b6=_0x1424c7;return p=typeof Symbol==_0x4bc0b6(0x1b7)&&typeof Symbol['iterator']==_0x4bc0b6(0x1a5)?function(_0x3701e1){return typeof _0x3701e1;}:function(_0x10bce0){const _0x115b08=_0x4bc0b6;return _0x10bce0&&typeof Symbol==_0x115b08(0x1b7)&&_0x10bce0[_0x115b08(0x1c4)]===Symbol&&_0x10bce0!==Symbol['prototype']?_0x115b08(0x1a5):typeof _0x10bce0;},p(_0x555c12);}function m(_0x5491e0,_0x2a81d9){const _0x3a1d37=_0x1424c7;if(p(_0x5491e0)!=_0x3a1d37(0x1c6)||!_0x5491e0)return _0x5491e0;var _0x2dbf1f=_0x5491e0[Symbol[_0x3a1d37(0x19f)]];if(_0x2dbf1f!==void 0x0){var _0x566697=_0x2dbf1f[_0x3a1d37(0x1c8)](_0x5491e0,_0x2a81d9||_0x3a1d37(0x1b2));if(p(_0x566697)!='object')return _0x566697;throw TypeError(_0x3a1d37(0x1a9));}return(_0x2a81d9===_0x3a1d37(0x1d6)?String:Number)(_0x5491e0);}function h(_0x58ae4f){const _0x264100=_0x1424c7;var _0x1af0d7=m(_0x58ae4f,_0x264100(0x1d6));return p(_0x1af0d7)==_0x264100(0x1a5)?_0x1af0d7:_0x1af0d7+'';}function g(_0x549785,_0x47d17a,_0x56dffa){const _0x236c81=_0x1424c7;return(_0x47d17a=h(_0x47d17a))in _0x549785?Object[_0x236c81(0x194)](_0x549785,_0x47d17a,{'value':_0x56dffa,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x549785[_0x47d17a]=_0x56dffa,_0x549785;}let _=class extends r[_0x1424c7(0x198)]{constructor(_0x47f52d=l,_0x126165,_0x4762d6){const _0x37a2ec=_0x1424c7;super(),this['_config']=_0x47f52d,this['_configService']=_0x126165,this[_0x37a2ec(0x1a7)]=_0x4762d6;let {..._0x473c3f}=(0x0,r['merge'])({},l,this['_config']);this['_configService']['setConfig'](_0x37a2ec(0x1b8),_0x473c3f);}[_0x1424c7(0x196)](){const _0x3e8cbd=_0x1424c7;this[_0x3e8cbd(0x1c0)]();}['_registerDependencies'](){const _0x39251c=_0x1424c7;(0x0,r[_0x39251c(0x1b1)])(this[_0x39251c(0x1a7)],[[i[_0x39251c(0x1c9)],{'useClass':f}]]);}};g(_,_0x1424c7(0x1ba),_0x1424c7(0x1bb)),g(_,_0x1424c7(0x1d8),s),g(_,'version',c),_=d([(0x0,r[_0x1424c7(0x1b4)])(n['UniverLicensePlugin'],i['UniverNetworkPlugin'],e[_0x1424c7(0x1d7)],t[_0x1424c7(0x1d3)]),u(0x1,r[_0x1424c7(0x1ad)]),u(0x2,(0x0,r[_0x1424c7(0x1b6)])(r[_0x1424c7(0x1bf)]))],_);let v=class extends t[_0x1424c7(0x1d1)]{constructor(_0x49ec7b,_0x220def,_0x2a2d0d,_0x1b9b21,_0x269ede){const _0x1f0b45=_0x1424c7;super(_0x49ec7b,_0x220def,_0x2a2d0d,_0x1b9b21,_0x269ede);let _0x3d77a4=this['_configService'][_0x1f0b45(0x1ce)](t[_0x1f0b45(0x199)]);this[_0x1f0b45(0x1b9)][_0x1f0b45(0x1b5)]({'interceptor':(_0x5ab961,_0x14e981)=>{const _0x25ef4f=_0x1f0b45;let _0x38e431=_0x5ab961[_0x25ef4f(0x1cc)];if(_0x3d77a4!=null&&_0x3d77a4[_0x25ef4f(0x1d2)]){for(let _0x1253ea in _0x3d77a4[_0x25ef4f(0x1d2)])_0x38e431[_0x25ef4f(0x1a1)](_0x1253ea,_0x3d77a4['customHeaders'][_0x1253ea]);}return _0x14e981(_0x5ab961);}});}async[_0x1424c7(0x1c3)](_0x3f219f){const _0x10720a=_0x1424c7;return this[_0x10720a(0x19e)](_0x3f219f);}};function _0x1de3(){const _0x55cbf9=['decorate','ILogService','Injector','_registerDependencies','message','ISnapshotServerService','createSocket','constructor','4332025Xylcjy','object','904boimYL','call','ISocketService','HTTPService','11169ioICaB','headers','WebSocket','getConfig','31405470uNUQXZ','3966008QxjHrj','CollaborationSocketService','customHeaders','UniverCollaborationClientPlugin','3991701ardUVI','length','string','UniverCollaborationPlugin','packageName','removeEventListener','add','defineProperty','8538uHgTVB','onStarting','close','Plugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs-pro/collaboration-client-node','Observable','toDisposable','dispose','_doCreateSocket','toPrimitive','DisposableCollection','set','5589031hCzjxr','6xwlOVZ','share','symbol','getOwnPropertyDescriptor','_injector','error','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','1.2.0','addEventListener','NodeCollaborationSocketService','IConfigService','pipe','_configService','347mVKHWt','registerDependencies','default','next','DependentOn','registerHTTPInterceptor','Inject','function','collaboration-client-node.config','_httpService','pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','open'];_0x1de3=function(){return _0x55cbf9;};return _0x1de3();}v=d([u(0x0,(0x0,r[_0x1424c7(0x1b6)])(r[_0x1424c7(0x1bf)])),u(0x1,(0x0,r[_0x1424c7(0x1b6)])(i[_0x1424c7(0x1ca)])),u(0x2,r[_0x1424c7(0x1ad)]),u(0x3,r[_0x1424c7(0x1be)]),u(0x4,e[_0x1424c7(0x1c2)])],v),Object[_0x1424c7(0x194)](exports,_0x1424c7(0x1ac),{'enumerable':!0x0,'get':function(){return v;}}),Object[_0x1424c7(0x194)](exports,'UniverCollaborationClientNodePlugin',{'enumerable':!0x0,'get':function(){return _;}});
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x47bc2a=_0x100f;(function(_0x85ba9,_0x3a56bc){const _0x5cdbef=_0x100f,_0x159ae9=_0x85ba9();while(!![]){try{const _0x544251=parseInt(_0x5cdbef(0x178))/0x1+parseInt(_0x5cdbef(0x15a))/0x2+parseInt(_0x5cdbef(0x159))/0x3*(parseInt(_0x5cdbef(0x169))/0x4)+parseInt(_0x5cdbef(0x17e))/0x5*(parseInt(_0x5cdbef(0x17f))/0x6)+parseInt(_0x5cdbef(0x17c))/0x7+parseInt(_0x5cdbef(0x165))/0x8+-parseInt(_0x5cdbef(0x15b))/0x9;if(_0x544251===_0x3a56bc)break;else _0x159ae9['push'](_0x159ae9['shift']());}catch(_0x2448f2){_0x159ae9['push'](_0x159ae9['shift']());}}}(_0x3158,0x9db67));import{ISnapshotServerService as _0x3da036,UniverCollaborationPlugin as _0x5abde8}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2fe3fc,CollaborationSocketService as _0x2e173e,UniverCollaborationClientPlugin as _0x3b637d}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x599a0d}from'@univerjs-pro/license';import{DependentOn as _0x57091f,Disposable as _0x47d90e,DisposableCollection as _0x2b456d,IConfigService as _0x4c03a8,ILogService as _0x209a81,Inject as _0x250861,Injector as _0x2d0a9a,Plugin as _0x154098,merge as _0x1f8196,registerDependencies as _0x1e6a9c,toDisposable as _0x280896}from'@univerjs/core';import{HTTPService as _0x1fb9b7,ISocketService as _0x33e5fd,UniverNetworkPlugin as _0x3ee3ce}from'@univerjs/network';import{Observable as _0x433ce7,share as _0x2ea3a3}from'rxjs';import{WebSocket as _0xfb2a47}from'ws';var C=_0x47bc2a(0x161),w=_0x47bc2a(0x15d);const T={};function E(_0x363fe4,_0x471e00){return function(_0x436767,_0x39443e){_0x471e00(_0x436767,_0x39443e,_0x363fe4);};}function D(_0x352d22,_0x4daf38,_0x16dfb8,_0xd49fa0){const _0x579d42=_0x47bc2a;var _0x2fa88e=arguments['length'],_0x4f8238=_0x2fa88e<0x3?_0x4daf38:_0xd49fa0===null?_0xd49fa0=Object[_0x579d42(0x179)](_0x4daf38,_0x16dfb8):_0xd49fa0,_0x367f5b;if(typeof Reflect==_0x579d42(0x166)&&typeof Reflect[_0x579d42(0x175)]=='function')_0x4f8238=Reflect[_0x579d42(0x175)](_0x352d22,_0x4daf38,_0x16dfb8,_0xd49fa0);else{for(var _0x30ff70=_0x352d22['length']-0x1;_0x30ff70>=0x0;_0x30ff70--)(_0x367f5b=_0x352d22[_0x30ff70])&&(_0x4f8238=(_0x2fa88e<0x3?_0x367f5b(_0x4f8238):_0x2fa88e>0x3?_0x367f5b(_0x4daf38,_0x16dfb8,_0x4f8238):_0x367f5b(_0x4daf38,_0x16dfb8))||_0x4f8238);}return _0x2fa88e>0x3&&_0x4f8238&&Object[_0x579d42(0x158)](_0x4daf38,_0x16dfb8,_0x4f8238),_0x4f8238;}let O=class extends _0x47d90e{constructor(_0x326dad){const _0x5b5c04=_0x47bc2a;super(),this[_0x5b5c04(0x183)]=_0x326dad;}[_0x47bc2a(0x180)](_0x291f15){const _0x24218=_0x47bc2a;var _0x497c9a;let _0x129af1=((_0x497c9a=this[_0x24218(0x183)]['getConfig'](_0x2fe3fc))==null?void 0x0:_0x497c9a[_0x24218(0x164)])||{};try{let _0x14dc8c=new _0xfb2a47(_0x291f15,{'headers':{..._0x129af1}}),_0x470d0b=new _0x2b456d();return{'URL':_0x291f15,'close':(_0x39fe68,_0x3d59d6)=>{const _0xa7cdbf=_0x24218;_0x14dc8c[_0xa7cdbf(0x172)](_0x39fe68,_0x3d59d6),_0x470d0b['dispose']();},'send':_0xa92791=>{const _0x5a4d43=_0x24218;_0x14dc8c[_0x5a4d43(0x173)](_0xa92791);},'open$':new _0x433ce7(_0x3452f1=>{const _0x211510=_0x24218;let _0x10a622=_0x58aa5a=>_0x3452f1[_0x211510(0x16c)](_0x58aa5a);_0x14dc8c[_0x211510(0x17b)](_0x211510(0x16b),_0x10a622),_0x470d0b['add'](_0x280896(()=>_0x14dc8c[_0x211510(0x174)](_0x211510(0x16b),_0x10a622)));})['pipe'](_0x2ea3a3()),'close$':new _0x433ce7(_0x326cf6=>{const _0x42a9ab=_0x24218;let _0x148dbc=_0x5913e5=>_0x326cf6[_0x42a9ab(0x16c)](_0x5913e5);_0x14dc8c[_0x42a9ab(0x17b)](_0x42a9ab(0x172),_0x148dbc),_0x470d0b[_0x42a9ab(0x177)](_0x280896(()=>_0x14dc8c[_0x42a9ab(0x174)](_0x42a9ab(0x172),_0x148dbc)));})[_0x24218(0x15c)](_0x2ea3a3()),'error$':new _0x433ce7(_0x251060=>{const _0x21d29b=_0x24218;let _0x2af2d7=_0x17ee5f=>_0x251060[_0x21d29b(0x16c)](_0x17ee5f);_0x14dc8c[_0x21d29b(0x17b)](_0x21d29b(0x15f),_0x2af2d7),_0x470d0b[_0x21d29b(0x177)](_0x280896(()=>_0x14dc8c[_0x21d29b(0x174)]('error',_0x2af2d7)));})['pipe'](_0x2ea3a3()),'message$':new _0x433ce7(_0x163e7e=>{const _0x5f23b3=_0x24218;let _0x32ee0b=_0x5ee749=>_0x163e7e['next'](_0x5ee749);_0x14dc8c[_0x5f23b3(0x17b)]('message',_0x32ee0b),_0x470d0b['add'](_0x280896(()=>_0x14dc8c[_0x5f23b3(0x174)](_0x5f23b3(0x17d),_0x32ee0b)));})[_0x24218(0x15c)](_0x2ea3a3())};}catch(_0x2f763a){return console[_0x24218(0x15f)](_0x2f763a),null;}}};O=D([E(0x0,_0x4c03a8)],O);function k(_0x2b9b0a){'@babel/helpers - typeof';const _0x2532c8=_0x47bc2a;return k=typeof Symbol==_0x2532c8(0x15e)&&typeof Symbol[_0x2532c8(0x160)]=='symbol'?function(_0x2ec1ff){return typeof _0x2ec1ff;}:function(_0x2af757){const _0x163154=_0x2532c8;return _0x2af757&&typeof Symbol==_0x163154(0x15e)&&_0x2af757[_0x163154(0x170)]===Symbol&&_0x2af757!==Symbol['prototype']?_0x163154(0x182):typeof _0x2af757;},k(_0x2b9b0a);}function A(_0x23af1a,_0x16d773){const _0x2f348c=_0x47bc2a;if(k(_0x23af1a)!=_0x2f348c(0x166)||!_0x23af1a)return _0x23af1a;var _0x5d5c7b=_0x23af1a[Symbol['toPrimitive']];if(_0x5d5c7b!==void 0x0){var _0x4a470f=_0x5d5c7b[_0x2f348c(0x171)](_0x23af1a,_0x16d773||_0x2f348c(0x16a));if(k(_0x4a470f)!=_0x2f348c(0x166))return _0x4a470f;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x16d773===_0x2f348c(0x187)?String:Number)(_0x23af1a);}function j(_0x1ed0dc){const _0x22530b=_0x47bc2a;var _0x18534a=A(_0x1ed0dc,_0x22530b(0x187));return k(_0x18534a)==_0x22530b(0x182)?_0x18534a:_0x18534a+'';}function M(_0x2aa112,_0x3359db,_0x3c82fd){const _0x24e1b3=_0x47bc2a;return(_0x3359db=j(_0x3359db))in _0x2aa112?Object[_0x24e1b3(0x158)](_0x2aa112,_0x3359db,{'value':_0x3c82fd,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2aa112[_0x3359db]=_0x3c82fd,_0x2aa112;}let N=class extends _0x154098{constructor(_0xdb9c17=T,_0x4e282d,_0x5ee0bf){const _0x373c56=_0x47bc2a;super(),this[_0x373c56(0x162)]=_0xdb9c17,this['_configService']=_0x4e282d,this[_0x373c56(0x17a)]=_0x5ee0bf;let {..._0x338481}=_0x1f8196({},T,this[_0x373c56(0x162)]);this['_configService'][_0x373c56(0x186)](_0x373c56(0x181),_0x338481);}[_0x47bc2a(0x163)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x32fe0f=_0x47bc2a;_0x1e6a9c(this[_0x32fe0f(0x17a)],[[_0x33e5fd,{'useClass':O}]]);}};M(N,'pluginName',_0x47bc2a(0x16f)),M(N,_0x47bc2a(0x168),C),M(N,_0x47bc2a(0x167),w),N=D([_0x57091f(_0x599a0d,_0x3ee3ce,_0x5abde8,_0x3b637d),E(0x1,_0x4c03a8),E(0x2,_0x250861(_0x2d0a9a))],N);let P=class extends _0x2e173e{constructor(_0x58f740,_0x599e88,_0x352d2f,_0x1c7ec3,_0x103701){const _0x51a58e=_0x47bc2a;super(_0x58f740,_0x599e88,_0x352d2f,_0x1c7ec3,_0x103701);let _0x2797b4=this['_configService'][_0x51a58e(0x16d)](_0x2fe3fc);this[_0x51a58e(0x16e)][_0x51a58e(0x185)]({'interceptor':(_0x2ad996,_0x5667c3)=>{const _0x3391f2=_0x51a58e;let _0x2d4d64=_0x2ad996[_0x3391f2(0x188)];if(_0x2797b4!=null&&_0x2797b4[_0x3391f2(0x164)]){for(let _0x5ac32d in _0x2797b4['customHeaders'])_0x2d4d64[_0x3391f2(0x184)](_0x5ac32d,_0x2797b4['customHeaders'][_0x5ac32d]);}return _0x5667c3(_0x2ad996);}});}async[_0x47bc2a(0x180)](_0x5b671c){const _0x46efae=_0x47bc2a;return this[_0x46efae(0x176)](_0x5b671c);}};P=D([E(0x0,_0x250861(_0x2d0a9a)),E(0x1,_0x250861(_0x1fb9b7)),E(0x2,_0x4c03a8),E(0x3,_0x209a81),E(0x4,_0x3da036)],P);function _0x100f(_0x1c6378,_0x5557fc){_0x1c6378=_0x1c6378-0x158;const _0x31589b=_0x3158();let _0x100f0f=_0x31589b[_0x1c6378];return _0x100f0f;}export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};function _0x3158(){const _0x434c27=['createSocket','collaboration-client-node.config','symbol','_configService','set','registerHTTPInterceptor','setConfig','string','headers','defineProperty','9pjkVYb','309792eigmeA','9989919OyCHbF','pipe','1.2.0','function','error','iterator','@univerjs-pro/collaboration-client-node','_config','onStarting','customHeaders','2694384psaQll','object','version','packageName','350684oyyOdA','default','open','next','getConfig','_httpService','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','constructor','call','close','send','removeEventListener','decorate','_doCreateSocket','add','11265FHxDTQ','getOwnPropertyDescriptor','_injector','addEventListener','5341574RbXNtA','message','141830sMXkgY','48yNXkuY'];_0x3158=function(){return _0x434c27;};return _0x3158();}
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x47bc2a=_0x100f;(function(_0x85ba9,_0x3a56bc){const _0x5cdbef=_0x100f,_0x159ae9=_0x85ba9();while(!![]){try{const _0x544251=parseInt(_0x5cdbef(0x178))/0x1+parseInt(_0x5cdbef(0x15a))/0x2+parseInt(_0x5cdbef(0x159))/0x3*(parseInt(_0x5cdbef(0x169))/0x4)+parseInt(_0x5cdbef(0x17e))/0x5*(parseInt(_0x5cdbef(0x17f))/0x6)+parseInt(_0x5cdbef(0x17c))/0x7+parseInt(_0x5cdbef(0x165))/0x8+-parseInt(_0x5cdbef(0x15b))/0x9;if(_0x544251===_0x3a56bc)break;else _0x159ae9['push'](_0x159ae9['shift']());}catch(_0x2448f2){_0x159ae9['push'](_0x159ae9['shift']());}}}(_0x3158,0x9db67));import{ISnapshotServerService as _0x3da036,UniverCollaborationPlugin as _0x5abde8}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2fe3fc,CollaborationSocketService as _0x2e173e,UniverCollaborationClientPlugin as _0x3b637d}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x599a0d}from'@univerjs-pro/license';import{DependentOn as _0x57091f,Disposable as _0x47d90e,DisposableCollection as _0x2b456d,IConfigService as _0x4c03a8,ILogService as _0x209a81,Inject as _0x250861,Injector as _0x2d0a9a,Plugin as _0x154098,merge as _0x1f8196,registerDependencies as _0x1e6a9c,toDisposable as _0x280896}from'@univerjs/core';import{HTTPService as _0x1fb9b7,ISocketService as _0x33e5fd,UniverNetworkPlugin as _0x3ee3ce}from'@univerjs/network';import{Observable as _0x433ce7,share as _0x2ea3a3}from'rxjs';import{WebSocket as _0xfb2a47}from'ws';var C=_0x47bc2a(0x161),w=_0x47bc2a(0x15d);const T={};function E(_0x363fe4,_0x471e00){return function(_0x436767,_0x39443e){_0x471e00(_0x436767,_0x39443e,_0x363fe4);};}function D(_0x352d22,_0x4daf38,_0x16dfb8,_0xd49fa0){const _0x579d42=_0x47bc2a;var _0x2fa88e=arguments['length'],_0x4f8238=_0x2fa88e<0x3?_0x4daf38:_0xd49fa0===null?_0xd49fa0=Object[_0x579d42(0x179)](_0x4daf38,_0x16dfb8):_0xd49fa0,_0x367f5b;if(typeof Reflect==_0x579d42(0x166)&&typeof Reflect[_0x579d42(0x175)]=='function')_0x4f8238=Reflect[_0x579d42(0x175)](_0x352d22,_0x4daf38,_0x16dfb8,_0xd49fa0);else{for(var _0x30ff70=_0x352d22['length']-0x1;_0x30ff70>=0x0;_0x30ff70--)(_0x367f5b=_0x352d22[_0x30ff70])&&(_0x4f8238=(_0x2fa88e<0x3?_0x367f5b(_0x4f8238):_0x2fa88e>0x3?_0x367f5b(_0x4daf38,_0x16dfb8,_0x4f8238):_0x367f5b(_0x4daf38,_0x16dfb8))||_0x4f8238);}return _0x2fa88e>0x3&&_0x4f8238&&Object[_0x579d42(0x158)](_0x4daf38,_0x16dfb8,_0x4f8238),_0x4f8238;}let O=class extends _0x47d90e{constructor(_0x326dad){const _0x5b5c04=_0x47bc2a;super(),this[_0x5b5c04(0x183)]=_0x326dad;}[_0x47bc2a(0x180)](_0x291f15){const _0x24218=_0x47bc2a;var _0x497c9a;let _0x129af1=((_0x497c9a=this[_0x24218(0x183)]['getConfig'](_0x2fe3fc))==null?void 0x0:_0x497c9a[_0x24218(0x164)])||{};try{let _0x14dc8c=new _0xfb2a47(_0x291f15,{'headers':{..._0x129af1}}),_0x470d0b=new _0x2b456d();return{'URL':_0x291f15,'close':(_0x39fe68,_0x3d59d6)=>{const _0xa7cdbf=_0x24218;_0x14dc8c[_0xa7cdbf(0x172)](_0x39fe68,_0x3d59d6),_0x470d0b['dispose']();},'send':_0xa92791=>{const _0x5a4d43=_0x24218;_0x14dc8c[_0x5a4d43(0x173)](_0xa92791);},'open$':new _0x433ce7(_0x3452f1=>{const _0x211510=_0x24218;let _0x10a622=_0x58aa5a=>_0x3452f1[_0x211510(0x16c)](_0x58aa5a);_0x14dc8c[_0x211510(0x17b)](_0x211510(0x16b),_0x10a622),_0x470d0b['add'](_0x280896(()=>_0x14dc8c[_0x211510(0x174)](_0x211510(0x16b),_0x10a622)));})['pipe'](_0x2ea3a3()),'close$':new _0x433ce7(_0x326cf6=>{const _0x42a9ab=_0x24218;let _0x148dbc=_0x5913e5=>_0x326cf6[_0x42a9ab(0x16c)](_0x5913e5);_0x14dc8c[_0x42a9ab(0x17b)](_0x42a9ab(0x172),_0x148dbc),_0x470d0b[_0x42a9ab(0x177)](_0x280896(()=>_0x14dc8c[_0x42a9ab(0x174)](_0x42a9ab(0x172),_0x148dbc)));})[_0x24218(0x15c)](_0x2ea3a3()),'error$':new _0x433ce7(_0x251060=>{const _0x21d29b=_0x24218;let _0x2af2d7=_0x17ee5f=>_0x251060[_0x21d29b(0x16c)](_0x17ee5f);_0x14dc8c[_0x21d29b(0x17b)](_0x21d29b(0x15f),_0x2af2d7),_0x470d0b[_0x21d29b(0x177)](_0x280896(()=>_0x14dc8c[_0x21d29b(0x174)]('error',_0x2af2d7)));})['pipe'](_0x2ea3a3()),'message$':new _0x433ce7(_0x163e7e=>{const _0x5f23b3=_0x24218;let _0x32ee0b=_0x5ee749=>_0x163e7e['next'](_0x5ee749);_0x14dc8c[_0x5f23b3(0x17b)]('message',_0x32ee0b),_0x470d0b['add'](_0x280896(()=>_0x14dc8c[_0x5f23b3(0x174)](_0x5f23b3(0x17d),_0x32ee0b)));})[_0x24218(0x15c)](_0x2ea3a3())};}catch(_0x2f763a){return console[_0x24218(0x15f)](_0x2f763a),null;}}};O=D([E(0x0,_0x4c03a8)],O);function k(_0x2b9b0a){'@babel/helpers - typeof';const _0x2532c8=_0x47bc2a;return k=typeof Symbol==_0x2532c8(0x15e)&&typeof Symbol[_0x2532c8(0x160)]=='symbol'?function(_0x2ec1ff){return typeof _0x2ec1ff;}:function(_0x2af757){const _0x163154=_0x2532c8;return _0x2af757&&typeof Symbol==_0x163154(0x15e)&&_0x2af757[_0x163154(0x170)]===Symbol&&_0x2af757!==Symbol['prototype']?_0x163154(0x182):typeof _0x2af757;},k(_0x2b9b0a);}function A(_0x23af1a,_0x16d773){const _0x2f348c=_0x47bc2a;if(k(_0x23af1a)!=_0x2f348c(0x166)||!_0x23af1a)return _0x23af1a;var _0x5d5c7b=_0x23af1a[Symbol['toPrimitive']];if(_0x5d5c7b!==void 0x0){var _0x4a470f=_0x5d5c7b[_0x2f348c(0x171)](_0x23af1a,_0x16d773||_0x2f348c(0x16a));if(k(_0x4a470f)!=_0x2f348c(0x166))return _0x4a470f;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x16d773===_0x2f348c(0x187)?String:Number)(_0x23af1a);}function j(_0x1ed0dc){const _0x22530b=_0x47bc2a;var _0x18534a=A(_0x1ed0dc,_0x22530b(0x187));return k(_0x18534a)==_0x22530b(0x182)?_0x18534a:_0x18534a+'';}function M(_0x2aa112,_0x3359db,_0x3c82fd){const _0x24e1b3=_0x47bc2a;return(_0x3359db=j(_0x3359db))in _0x2aa112?Object[_0x24e1b3(0x158)](_0x2aa112,_0x3359db,{'value':_0x3c82fd,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2aa112[_0x3359db]=_0x3c82fd,_0x2aa112;}let N=class extends _0x154098{constructor(_0xdb9c17=T,_0x4e282d,_0x5ee0bf){const _0x373c56=_0x47bc2a;super(),this[_0x373c56(0x162)]=_0xdb9c17,this['_configService']=_0x4e282d,this[_0x373c56(0x17a)]=_0x5ee0bf;let {..._0x338481}=_0x1f8196({},T,this[_0x373c56(0x162)]);this['_configService'][_0x373c56(0x186)](_0x373c56(0x181),_0x338481);}[_0x47bc2a(0x163)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x32fe0f=_0x47bc2a;_0x1e6a9c(this[_0x32fe0f(0x17a)],[[_0x33e5fd,{'useClass':O}]]);}};M(N,'pluginName',_0x47bc2a(0x16f)),M(N,_0x47bc2a(0x168),C),M(N,_0x47bc2a(0x167),w),N=D([_0x57091f(_0x599a0d,_0x3ee3ce,_0x5abde8,_0x3b637d),E(0x1,_0x4c03a8),E(0x2,_0x250861(_0x2d0a9a))],N);let P=class extends _0x2e173e{constructor(_0x58f740,_0x599e88,_0x352d2f,_0x1c7ec3,_0x103701){const _0x51a58e=_0x47bc2a;super(_0x58f740,_0x599e88,_0x352d2f,_0x1c7ec3,_0x103701);let _0x2797b4=this['_configService'][_0x51a58e(0x16d)](_0x2fe3fc);this[_0x51a58e(0x16e)][_0x51a58e(0x185)]({'interceptor':(_0x2ad996,_0x5667c3)=>{const _0x3391f2=_0x51a58e;let _0x2d4d64=_0x2ad996[_0x3391f2(0x188)];if(_0x2797b4!=null&&_0x2797b4[_0x3391f2(0x164)]){for(let _0x5ac32d in _0x2797b4['customHeaders'])_0x2d4d64[_0x3391f2(0x184)](_0x5ac32d,_0x2797b4['customHeaders'][_0x5ac32d]);}return _0x5667c3(_0x2ad996);}});}async[_0x47bc2a(0x180)](_0x5b671c){const _0x46efae=_0x47bc2a;return this[_0x46efae(0x176)](_0x5b671c);}};P=D([E(0x0,_0x250861(_0x2d0a9a)),E(0x1,_0x250861(_0x1fb9b7)),E(0x2,_0x4c03a8),E(0x3,_0x209a81),E(0x4,_0x3da036)],P);function _0x100f(_0x1c6378,_0x5557fc){_0x1c6378=_0x1c6378-0x158;const _0x31589b=_0x3158();let _0x100f0f=_0x31589b[_0x1c6378];return _0x100f0f;}export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};function _0x3158(){const _0x434c27=['createSocket','collaboration-client-node.config','symbol','_configService','set','registerHTTPInterceptor','setConfig','string','headers','defineProperty','9pjkVYb','309792eigmeA','9989919OyCHbF','pipe','1.2.0','function','error','iterator','@univerjs-pro/collaboration-client-node','_config','onStarting','customHeaders','2694384psaQll','object','version','packageName','350684oyyOdA','default','open','next','getConfig','_httpService','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','constructor','call','close','send','removeEventListener','decorate','_doCreateSocket','add','11265FHxDTQ','getOwnPropertyDescriptor','_injector','addEventListener','5341574RbXNtA','message','141830sMXkgY','48yNXkuY'];_0x3158=function(){return _0x434c27;};return _0x3158();}
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x2c87c1,_0x391cf4){const _0x26c192=_0x377c,_0x41994b=_0x2c87c1();while(!![]){try{const _0xd8ab60=-parseInt(_0x26c192(0x1bc))/0x1+parseInt(_0x26c192(0x1ba))/0x2+parseInt(_0x26c192(0x189))/0x3*(parseInt(_0x26c192(0x192))/0x4)+parseInt(_0x26c192(0x187))/0x5+-parseInt(_0x26c192(0x185))/0x6*(parseInt(_0x26c192(0x1aa))/0x7)+-parseInt(_0x26c192(0x1be))/0x8+parseInt(_0x26c192(0x1b9))/0x9;if(_0xd8ab60===_0x391cf4)break;else _0x41994b['push'](_0x41994b['shift']());}catch(_0x26412a){_0x41994b['push'](_0x41994b['shift']());}}}(_0x2856,0xc0686),function(_0x5a10f6,_0x52ca0c){const _0x8fc0e9=_0x377c;typeof exports=='object'&&typeof module<'u'?_0x52ca0c(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs')):typeof define==_0x8fc0e9(0x1a3)&&define[_0x8fc0e9(0x166)]?define([_0x8fc0e9(0x167),_0x8fc0e9(0x180),'@univerjs-pro/collaboration-client',_0x8fc0e9(0x1a9),_0x8fc0e9(0x193),'@univerjs/network',_0x8fc0e9(0x175)],_0x52ca0c):(_0x5a10f6=typeof globalThis<'u'?globalThis:_0x5a10f6||self,_0x52ca0c(_0x5a10f6[_0x8fc0e9(0x174)]={},_0x5a10f6[_0x8fc0e9(0x169)],_0x5a10f6['UniverProCollaborationClient'],_0x5a10f6[_0x8fc0e9(0x170)],_0x5a10f6[_0x8fc0e9(0x18b)],_0x5a10f6[_0x8fc0e9(0x17a)],_0x5a10f6['rxjs']));}(this,function(_0x26ee1d,_0x49301b,_0x176623,_0x59c000,_0x1fd9ac,_0x5690d2,_0x21604a){const _0x2a0d6c=_0x377c;Object[_0x2a0d6c(0x16d)](_0x26ee1d,Symbol[_0x2a0d6c(0x19a)],{'value':_0x2a0d6c(0x183)});var _0xa1ee8d=(_0x1ebb55,_0x242996)=>()=>(_0x242996||(_0x1ebb55((_0x242996={'exports':{}})['exports'],_0x242996),_0x1ebb55=null),_0x242996[_0x2a0d6c(0x167)]),_0x40e66d='@univerjs-pro/collaboration-client-node',_0x29ae61=_0x2a0d6c(0x191);let _0x34a63b={};var _0xb1e6ce=_0xa1ee8d((_0x3074f7,_0x13de83)=>{_0x13de83['exports']=function(){const _0x180d40=_0x377c;throw Error(_0x180d40(0x1bd));};})();function _0x296258(_0x45e512,_0x47a570){return function(_0x4a33e9,_0x1409d0){_0x47a570(_0x4a33e9,_0x1409d0,_0x45e512);};}function _0x4b86e7(_0x45957,_0x21153b,_0x2c0fae,_0xd6261e){const _0x1fa92f=_0x2a0d6c;var _0x46ff75=arguments[_0x1fa92f(0x1b8)],_0x5b801e=_0x46ff75<0x3?_0x21153b:_0xd6261e===null?_0xd6261e=Object[_0x1fa92f(0x17d)](_0x21153b,_0x2c0fae):_0xd6261e,_0xe86f19;if(typeof Reflect==_0x1fa92f(0x1bb)&&typeof Reflect[_0x1fa92f(0x1a8)]==_0x1fa92f(0x1a3))_0x5b801e=Reflect[_0x1fa92f(0x1a8)](_0x45957,_0x21153b,_0x2c0fae,_0xd6261e);else{for(var _0x28babe=_0x45957[_0x1fa92f(0x1b8)]-0x1;_0x28babe>=0x0;_0x28babe--)(_0xe86f19=_0x45957[_0x28babe])&&(_0x5b801e=(_0x46ff75<0x3?_0xe86f19(_0x5b801e):_0x46ff75>0x3?_0xe86f19(_0x21153b,_0x2c0fae,_0x5b801e):_0xe86f19(_0x21153b,_0x2c0fae))||_0x5b801e);}return _0x46ff75>0x3&&_0x5b801e&&Object['defineProperty'](_0x21153b,_0x2c0fae,_0x5b801e),_0x5b801e;}let _0x3e3886=class extends _0x1fd9ac['Disposable']{constructor(_0x5ba7ce){const _0x5a0172=_0x2a0d6c;super(),this[_0x5a0172(0x179)]=_0x5ba7ce;}[_0x2a0d6c(0x198)](_0x32aac7){const _0x3b0560=_0x2a0d6c;var _0x5d204e;let _0x4331c8=((_0x5d204e=this[_0x3b0560(0x179)][_0x3b0560(0x177)](_0x176623[_0x3b0560(0x190)]))==null?void 0x0:_0x5d204e[_0x3b0560(0x194)])||{};try{let _0x5b6b96=new _0xb1e6ce[(_0x3b0560(0x16a))](_0x32aac7,{'headers':{..._0x4331c8}}),_0x2bf50d=new _0x1fd9ac[(_0x3b0560(0x19f))]();return{'URL':_0x32aac7,'close':(_0x4683ca,_0x27f101)=>{const _0x57f85d=_0x3b0560;_0x5b6b96[_0x57f85d(0x1b1)](_0x4683ca,_0x27f101),_0x2bf50d[_0x57f85d(0x1a0)]();},'send':_0x462dca=>{const _0x481ce5=_0x3b0560;_0x5b6b96[_0x481ce5(0x199)](_0x462dca);},'open$':new _0x21604a[(_0x3b0560(0x1a7))](_0x2f1f45=>{const _0x3bb2cf=_0x3b0560;let _0x5c6b28=_0x6cf204=>_0x2f1f45['next'](_0x6cf204);_0x5b6b96['addEventListener'](_0x3bb2cf(0x1ae),_0x5c6b28),_0x2bf50d[_0x3bb2cf(0x1a4)]((0x0,_0x1fd9ac[_0x3bb2cf(0x1b6)])(()=>_0x5b6b96[_0x3bb2cf(0x176)](_0x3bb2cf(0x1ae),_0x5c6b28)));})[_0x3b0560(0x16e)]((0x0,_0x21604a[_0x3b0560(0x168)])()),'close$':new _0x21604a[(_0x3b0560(0x1a7))](_0x439942=>{const _0x461cbd=_0x3b0560;let _0x3b0382=_0x2c78d9=>_0x439942[_0x461cbd(0x195)](_0x2c78d9);_0x5b6b96['addEventListener'](_0x461cbd(0x1b1),_0x3b0382),_0x2bf50d[_0x461cbd(0x1a4)]((0x0,_0x1fd9ac[_0x461cbd(0x1b6)])(()=>_0x5b6b96['removeEventListener'](_0x461cbd(0x1b1),_0x3b0382)));})['pipe']((0x0,_0x21604a[_0x3b0560(0x168)])()),'error$':new _0x21604a[(_0x3b0560(0x1a7))](_0x43de8f=>{const _0x1d5210=_0x3b0560;let _0x2850c7=_0x2a8f04=>_0x43de8f[_0x1d5210(0x195)](_0x2a8f04);_0x5b6b96[_0x1d5210(0x196)](_0x1d5210(0x19d),_0x2850c7),_0x2bf50d[_0x1d5210(0x1a4)]((0x0,_0x1fd9ac[_0x1d5210(0x1b6)])(()=>_0x5b6b96[_0x1d5210(0x176)](_0x1d5210(0x19d),_0x2850c7)));})[_0x3b0560(0x16e)]((0x0,_0x21604a[_0x3b0560(0x168)])()),'message$':new _0x21604a[(_0x3b0560(0x1a7))](_0x2bb25f=>{const _0x54a17d=_0x3b0560;let _0x474966=_0x574551=>_0x2bb25f[_0x54a17d(0x195)](_0x574551);_0x5b6b96['addEventListener'](_0x54a17d(0x1b5),_0x474966),_0x2bf50d[_0x54a17d(0x1a4)]((0x0,_0x1fd9ac['toDisposable'])(()=>_0x5b6b96[_0x54a17d(0x176)]('message',_0x474966)));})[_0x3b0560(0x16e)]((0x0,_0x21604a[_0x3b0560(0x168)])())};}catch(_0x7b4851){return console['error'](_0x7b4851),null;}}};_0x3e3886=_0x4b86e7([_0x296258(0x0,_0x1fd9ac['IConfigService'])],_0x3e3886);function _0x587bdc(_0x56bfc9){'@babel/helpers - typeof';const _0x113ec7=_0x2a0d6c;return _0x587bdc=typeof Symbol==_0x113ec7(0x1a3)&&typeof Symbol['iterator']==_0x113ec7(0x1b4)?function(_0x3354b0){return typeof _0x3354b0;}:function(_0x3f6be5){const _0x99a676=_0x113ec7;return _0x3f6be5&&typeof Symbol==_0x99a676(0x1a3)&&_0x3f6be5[_0x99a676(0x178)]===Symbol&&_0x3f6be5!==Symbol[_0x99a676(0x1af)]?'symbol':typeof _0x3f6be5;},_0x587bdc(_0x56bfc9);}function _0x54f767(_0x117c04,_0x9d2c42){const _0x4d54bc=_0x2a0d6c;if(_0x587bdc(_0x117c04)!=_0x4d54bc(0x1bb)||!_0x117c04)return _0x117c04;var _0x4746b0=_0x117c04[Symbol[_0x4d54bc(0x181)]];if(_0x4746b0!==void 0x0){var _0x44d717=_0x4746b0[_0x4d54bc(0x1b0)](_0x117c04,_0x9d2c42||_0x4d54bc(0x173));if(_0x587bdc(_0x44d717)!=_0x4d54bc(0x1bb))return _0x44d717;throw TypeError(_0x4d54bc(0x1c0));}return(_0x9d2c42===_0x4d54bc(0x18e)?String:Number)(_0x117c04);}function _0x14a553(_0x31442e){const _0x250724=_0x2a0d6c;var _0xc16aa8=_0x54f767(_0x31442e,_0x250724(0x18e));return _0x587bdc(_0xc16aa8)==_0x250724(0x1b4)?_0xc16aa8:_0xc16aa8+'';}function _0x2d6375(_0x438d94,_0x4b98e4,_0x38a309){const _0x59e087=_0x2a0d6c;return(_0x4b98e4=_0x14a553(_0x4b98e4))in _0x438d94?Object[_0x59e087(0x16d)](_0x438d94,_0x4b98e4,{'value':_0x38a309,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x438d94[_0x4b98e4]=_0x38a309,_0x438d94;}let _0x427bc7=class extends _0x1fd9ac[_0x2a0d6c(0x17f)]{constructor(_0x2d14b5=_0x34a63b,_0x113272,_0x405bba){const _0x4c005d=_0x2a0d6c;super(),this[_0x4c005d(0x172)]=_0x2d14b5,this[_0x4c005d(0x179)]=_0x113272,this[_0x4c005d(0x1b2)]=_0x405bba;let {..._0x1624f7}=(0x0,_0x1fd9ac[_0x4c005d(0x1b3)])({},_0x34a63b,this['_config']);this['_configService'][_0x4c005d(0x17c)](_0x4c005d(0x1a1),_0x1624f7);}[_0x2a0d6c(0x16b)](){this['_registerDependencies']();}[_0x2a0d6c(0x16c)](){const _0x66213f=_0x2a0d6c;(0x0,_0x1fd9ac['registerDependencies'])(this[_0x66213f(0x1b2)],[[_0x5690d2[_0x66213f(0x171)],{'useClass':_0x3e3886}]]);}};_0x2d6375(_0x427bc7,_0x2a0d6c(0x19b),_0x2a0d6c(0x16f)),_0x2d6375(_0x427bc7,_0x2a0d6c(0x17e),_0x40e66d),_0x2d6375(_0x427bc7,_0x2a0d6c(0x18d),_0x29ae61),_0x427bc7=_0x4b86e7([(0x0,_0x1fd9ac[_0x2a0d6c(0x184)])(_0x59c000[_0x2a0d6c(0x1a2)],_0x5690d2[_0x2a0d6c(0x1b7)],_0x49301b[_0x2a0d6c(0x1ad)],_0x176623[_0x2a0d6c(0x1a5)]),_0x296258(0x1,_0x1fd9ac['IConfigService']),_0x296258(0x2,(0x0,_0x1fd9ac[_0x2a0d6c(0x18f)])(_0x1fd9ac[_0x2a0d6c(0x19c)]))],_0x427bc7);let _0x153227=class extends _0x176623[_0x2a0d6c(0x1bf)]{constructor(_0x3a6c1e,_0x2997b5,_0x36fce0,_0x37b86a,_0x362eb7){const _0x50d459=_0x2a0d6c;super(_0x3a6c1e,_0x2997b5,_0x36fce0,_0x37b86a,_0x362eb7);let _0x1af42d=this['_configService'][_0x50d459(0x177)](_0x176623['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']);this[_0x50d459(0x19e)][_0x50d459(0x1ab)]({'interceptor':(_0x1bd716,_0xae00fb)=>{const _0x406883=_0x50d459;let _0x45b491=_0x1bd716[_0x406883(0x17b)];if(_0x1af42d!=null&&_0x1af42d['customHeaders']){for(let _0x19de67 in _0x1af42d[_0x406883(0x194)])_0x45b491[_0x406883(0x182)](_0x19de67,_0x1af42d[_0x406883(0x194)][_0x19de67]);}return _0xae00fb(_0x1bd716);}});}async['createSocket'](_0x41f16e){const _0x112bd8=_0x2a0d6c;return this[_0x112bd8(0x18c)](_0x41f16e);}};_0x153227=_0x4b86e7([_0x296258(0x0,(0x0,_0x1fd9ac['Inject'])(_0x1fd9ac['Injector'])),_0x296258(0x1,(0x0,_0x1fd9ac['Inject'])(_0x5690d2[_0x2a0d6c(0x188)])),_0x296258(0x2,_0x1fd9ac[_0x2a0d6c(0x18a)]),_0x296258(0x3,_0x1fd9ac[_0x2a0d6c(0x1ac)]),_0x296258(0x4,_0x49301b[_0x2a0d6c(0x197)])],_0x153227),Object[_0x2a0d6c(0x16d)](_0x26ee1d,_0x2a0d6c(0x186),{'enumerable':!0x0,'get':function(){return _0x153227;}}),Object['defineProperty'](_0x26ee1d,_0x2a0d6c(0x1a6),{'enumerable':!0x0,'get':function(){return _0x427bc7;}});}));function _0x377c(_0x186b9f,_0x305069){_0x186b9f=_0x186b9f-0x166;const _0x2856ca=_0x2856();let _0x377cfe=_0x2856ca[_0x186b9f];return _0x377cfe;}function _0x2856(){const _0x51d57f=['call','close','_injector','merge','symbol','message','toDisposable','UniverNetworkPlugin','length','3654774VtKvhV','1282938oxclBT','object','270703TJvEYy','ws\x20does\x20not\x20work\x20in\x20the\x20browser.\x20Browser\x20clients\x20must\x20use\x20the\x20native\x20WebSocket\x20object','4568976IQeosA','CollaborationSocketService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','amd','exports','share','UniverProCollaboration','WebSocket','onStarting','_registerDependencies','defineProperty','pipe','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','UniverProLicense','ISocketService','_config','default','UniverProCollaborationClientNode','rxjs','removeEventListener','getConfig','constructor','_configService','UniverNetwork','headers','setConfig','getOwnPropertyDescriptor','packageName','Plugin','@univerjs-pro/collaboration','toPrimitive','set','Module','DependentOn','229752UrOhCW','NodeCollaborationSocketService','4228685vNGEwq','HTTPService','6081xbpWhb','IConfigService','UniverCore','_doCreateSocket','version','string','Inject','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','1.1.0','916BTmLLC','@univerjs/core','customHeaders','next','addEventListener','ISnapshotServerService','createSocket','send','toStringTag','pluginName','Injector','error','_httpService','DisposableCollection','dispose','collaboration-client-node.config','UniverLicensePlugin','function','add','UniverCollaborationClientPlugin','UniverCollaborationClientNodePlugin','Observable','decorate','@univerjs-pro/license','133taJpmS','registerHTTPInterceptor','ILogService','UniverCollaborationPlugin','open','prototype'];_0x2856=function(){return _0x51d57f;};return _0x2856();}
|
|
1
|
+
function _0x5741(){const _0x551e4e=['20cBVrQk','591752wfxMxq','1072552RZpkQm','next','ISnapshotServerService','toStringTag','18udvfyt','string','UniverProCollaborationClientNode','CollaborationSocketService','symbol','1.2.0','createSocket','onStarting','share','set','function','ws\x20does\x20not\x20work\x20in\x20the\x20browser.\x20Browser\x20clients\x20must\x20use\x20the\x20native\x20WebSocket\x20object','22187KOPQqx','getOwnPropertyDescriptor','decorate','@univerjs-pro/collaboration-client','close','error','_configService','prototype','NodeCollaborationSocketService','getConfig','@univerjs/network','_doCreateSocket','pipe','UniverCollaborationPlugin','send','Module','868115HfZHKD','DisposableCollection','730379gpRopX','33562vZAfrM','UniverCollaborationClientPlugin','6852gGmRtq','version','length','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','constructor','UniverNetwork','removeEventListener','object','_config','registerDependencies','DependentOn','UniverCollaborationClientNodePlugin','collaboration-client-node.config','HTTPService','ISocketService','toPrimitive','rxjs','add','registerHTTPInterceptor','ILogService','120uXjqcD','exports','Injector','UniverNetworkPlugin','toDisposable','IConfigService','Inject','customHeaders','amd','1662810Flstsx','24bJLuzC','message','headers','@univerjs-pro/license','_registerDependencies','addEventListener','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs-pro/collaboration-client-node','@univerjs-pro/collaboration','call','WebSocket','Observable','defineProperty','dispose'];_0x5741=function(){return _0x551e4e;};return _0x5741();}function _0x4f0e(_0x5204e7,_0xbd9a2){_0x5204e7=_0x5204e7-0x8c;const _0x574174=_0x5741();let _0x4f0efa=_0x574174[_0x5204e7];return _0x4f0efa;}(function(_0x468e90,_0x43f841){const _0x5a462=_0x4f0e,_0x277543=_0x468e90();while(!![]){try{const _0x3cb9e2=parseInt(_0x5a462(0x94))/0x1+parseInt(_0x5a462(0x95))/0x2*(-parseInt(_0x5a462(0xab))/0x3)+parseInt(_0x5a462(0xc3))/0x4*(-parseInt(_0x5a462(0x92))/0x5)+-parseInt(_0x5a462(0xb5))/0x6*(parseInt(_0x5a462(0xc4))/0x7)+-parseInt(_0x5a462(0xc5))/0x8*(-parseInt(_0x5a462(0xc9))/0x9)+parseInt(_0x5a462(0xb4))/0xa+-parseInt(_0x5a462(0xd5))/0xb*(-parseInt(_0x5a462(0x97))/0xc);if(_0x3cb9e2===_0x43f841)break;else _0x277543['push'](_0x277543['shift']());}catch(_0x5c874e){_0x277543['push'](_0x277543['shift']());}}}(_0x5741,0x6b2de),function(_0x512914,_0x3bf952){const _0x206d97=_0x4f0e;typeof exports=='object'&&typeof module<'u'?_0x3bf952(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs')):typeof define==_0x206d97(0xd3)&&define[_0x206d97(0xb3)]?define([_0x206d97(0xac),_0x206d97(0xbd),_0x206d97(0xd8),_0x206d97(0xb8),'@univerjs/core',_0x206d97(0x8c),_0x206d97(0xa7)],_0x3bf952):(_0x512914=typeof globalThis<'u'?globalThis:_0x512914||self,_0x3bf952(_0x512914[_0x206d97(0xcb)]={},_0x512914['UniverProCollaboration'],_0x512914['UniverProCollaborationClient'],_0x512914['UniverProLicense'],_0x512914['UniverCore'],_0x512914[_0x206d97(0x9c)],_0x512914[_0x206d97(0xa7)]));}(this,function(_0x456191,_0x5b2c43,_0x3d1626,_0x5d909e,_0x2e284b,_0x224836,_0x3f5451){const _0x4b34e2=_0x4f0e;Object['defineProperty'](_0x456191,Symbol[_0x4b34e2(0xc8)],{'value':_0x4b34e2(0x91)});var _0x144a6a=(_0xeb9cb0,_0x3e234a)=>()=>(_0x3e234a||(_0xeb9cb0((_0x3e234a={'exports':{}})[_0x4b34e2(0xac)],_0x3e234a),_0xeb9cb0=null),_0x3e234a[_0x4b34e2(0xac)]),_0x1baf45=_0x4b34e2(0xbc),_0x423b82=_0x4b34e2(0xce);let _0x508ea2={};var _0x5dd875=_0x144a6a((_0xca181,_0x171d3a)=>{const _0x52b3d9=_0x4b34e2;_0x171d3a[_0x52b3d9(0xac)]=function(){const _0x5556ef=_0x52b3d9;throw Error(_0x5556ef(0xd4));};})();function _0x571732(_0x1da928,_0x41328e){return function(_0x7db2b1,_0x33534b){_0x41328e(_0x7db2b1,_0x33534b,_0x1da928);};}function _0x507320(_0xbd7aed,_0xbce5bb,_0x4b49a6,_0x5dd44a){const _0x24d8da=_0x4b34e2;var _0x10d025=arguments[_0x24d8da(0x99)],_0x35f10a=_0x10d025<0x3?_0xbce5bb:_0x5dd44a===null?_0x5dd44a=Object[_0x24d8da(0xd6)](_0xbce5bb,_0x4b49a6):_0x5dd44a,_0x46a463;if(typeof Reflect==_0x24d8da(0x9e)&&typeof Reflect[_0x24d8da(0xd7)]==_0x24d8da(0xd3))_0x35f10a=Reflect['decorate'](_0xbd7aed,_0xbce5bb,_0x4b49a6,_0x5dd44a);else{for(var _0x6b3562=_0xbd7aed[_0x24d8da(0x99)]-0x1;_0x6b3562>=0x0;_0x6b3562--)(_0x46a463=_0xbd7aed[_0x6b3562])&&(_0x35f10a=(_0x10d025<0x3?_0x46a463(_0x35f10a):_0x10d025>0x3?_0x46a463(_0xbce5bb,_0x4b49a6,_0x35f10a):_0x46a463(_0xbce5bb,_0x4b49a6))||_0x35f10a);}return _0x10d025>0x3&&_0x35f10a&&Object['defineProperty'](_0xbce5bb,_0x4b49a6,_0x35f10a),_0x35f10a;}let _0x4b6bf8=class extends _0x2e284b['Disposable']{constructor(_0x5b3129){const _0x56a4c6=_0x4b34e2;super(),this[_0x56a4c6(0xdb)]=_0x5b3129;}[_0x4b34e2(0xcf)](_0x4e9462){const _0x51088e=_0x4b34e2;var _0x2bd1a7;let _0x3ad65c=((_0x2bd1a7=this['_configService'][_0x51088e(0xde)](_0x3d1626['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x2bd1a7[_0x51088e(0xb2)])||{};try{let _0x2ce4d8=new _0x5dd875[(_0x51088e(0xbf))](_0x4e9462,{'headers':{..._0x3ad65c}}),_0x143b78=new _0x2e284b[(_0x51088e(0x93))]();return{'URL':_0x4e9462,'close':(_0xe801cc,_0x16b233)=>{const _0x4c4b0c=_0x51088e;_0x2ce4d8[_0x4c4b0c(0xd9)](_0xe801cc,_0x16b233),_0x143b78[_0x4c4b0c(0xc2)]();},'send':_0x19ce98=>{const _0x20a430=_0x51088e;_0x2ce4d8[_0x20a430(0x90)](_0x19ce98);},'open$':new _0x3f5451['Observable'](_0x1259e8=>{const _0x345f34=_0x51088e;let _0x2db9d3=_0x9acb73=>_0x1259e8[_0x345f34(0xc6)](_0x9acb73);_0x2ce4d8[_0x345f34(0xba)]('open',_0x2db9d3),_0x143b78[_0x345f34(0xa8)]((0x0,_0x2e284b['toDisposable'])(()=>_0x2ce4d8[_0x345f34(0x9d)]('open',_0x2db9d3)));})[_0x51088e(0x8e)]((0x0,_0x3f5451[_0x51088e(0xd1)])()),'close$':new _0x3f5451[(_0x51088e(0xc0))](_0x4956cf=>{const _0x5b09a6=_0x51088e;let _0x2c2526=_0x4c9020=>_0x4956cf['next'](_0x4c9020);_0x2ce4d8['addEventListener'](_0x5b09a6(0xd9),_0x2c2526),_0x143b78['add']((0x0,_0x2e284b[_0x5b09a6(0xaf)])(()=>_0x2ce4d8['removeEventListener'](_0x5b09a6(0xd9),_0x2c2526)));})[_0x51088e(0x8e)]((0x0,_0x3f5451[_0x51088e(0xd1)])()),'error$':new _0x3f5451[(_0x51088e(0xc0))](_0x4d5ad8=>{const _0x5d69df=_0x51088e;let _0x313f1d=_0x48c681=>_0x4d5ad8[_0x5d69df(0xc6)](_0x48c681);_0x2ce4d8[_0x5d69df(0xba)](_0x5d69df(0xda),_0x313f1d),_0x143b78['add']((0x0,_0x2e284b['toDisposable'])(()=>_0x2ce4d8[_0x5d69df(0x9d)](_0x5d69df(0xda),_0x313f1d)));})[_0x51088e(0x8e)]((0x0,_0x3f5451[_0x51088e(0xd1)])()),'message$':new _0x3f5451['Observable'](_0x46f161=>{const _0x4438bf=_0x51088e;let _0x484f4c=_0x34a9d1=>_0x46f161[_0x4438bf(0xc6)](_0x34a9d1);_0x2ce4d8[_0x4438bf(0xba)](_0x4438bf(0xb6),_0x484f4c),_0x143b78[_0x4438bf(0xa8)]((0x0,_0x2e284b['toDisposable'])(()=>_0x2ce4d8[_0x4438bf(0x9d)]('message',_0x484f4c)));})['pipe']((0x0,_0x3f5451[_0x51088e(0xd1)])())};}catch(_0x2af5d5){return console['error'](_0x2af5d5),null;}}};_0x4b6bf8=_0x507320([_0x571732(0x0,_0x2e284b[_0x4b34e2(0xb0)])],_0x4b6bf8);function _0xe7241f(_0x43656b){'@babel/helpers - typeof';const _0x3a7e79=_0x4b34e2;return _0xe7241f=typeof Symbol==_0x3a7e79(0xd3)&&typeof Symbol['iterator']==_0x3a7e79(0xcd)?function(_0x20b187){return typeof _0x20b187;}:function(_0x4d2be5){const _0x2df101=_0x3a7e79;return _0x4d2be5&&typeof Symbol==_0x2df101(0xd3)&&_0x4d2be5[_0x2df101(0x9b)]===Symbol&&_0x4d2be5!==Symbol[_0x2df101(0xdc)]?_0x2df101(0xcd):typeof _0x4d2be5;},_0xe7241f(_0x43656b);}function _0x401a85(_0x4da4ae,_0xb216e){const _0x33cfb8=_0x4b34e2;if(_0xe7241f(_0x4da4ae)!=_0x33cfb8(0x9e)||!_0x4da4ae)return _0x4da4ae;var _0x5ed4d0=_0x4da4ae[Symbol[_0x33cfb8(0xa6)]];if(_0x5ed4d0!==void 0x0){var _0x246f76=_0x5ed4d0[_0x33cfb8(0xbe)](_0x4da4ae,_0xb216e||'default');if(_0xe7241f(_0x246f76)!=_0x33cfb8(0x9e))return _0x246f76;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xb216e===_0x33cfb8(0xca)?String:Number)(_0x4da4ae);}function _0x392a32(_0x1deafe){const _0x3ff6b8=_0x4b34e2;var _0x49c4d0=_0x401a85(_0x1deafe,_0x3ff6b8(0xca));return _0xe7241f(_0x49c4d0)==_0x3ff6b8(0xcd)?_0x49c4d0:_0x49c4d0+'';}function _0x324a7d(_0x556c9c,_0x501067,_0x1afc30){return(_0x501067=_0x392a32(_0x501067))in _0x556c9c?Object['defineProperty'](_0x556c9c,_0x501067,{'value':_0x1afc30,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x556c9c[_0x501067]=_0x1afc30,_0x556c9c;}let _0x2435f5=class extends _0x2e284b['Plugin']{constructor(_0x56ca97=_0x508ea2,_0xef7119,_0x53d46c){const _0x3c3d7f=_0x4b34e2;super(),this[_0x3c3d7f(0x9f)]=_0x56ca97,this['_configService']=_0xef7119,this['_injector']=_0x53d46c;let {..._0x2929a2}=(0x0,_0x2e284b['merge'])({},_0x508ea2,this[_0x3c3d7f(0x9f)]);this[_0x3c3d7f(0xdb)]['setConfig'](_0x3c3d7f(0xa3),_0x2929a2);}[_0x4b34e2(0xd0)](){const _0x42cd00=_0x4b34e2;this[_0x42cd00(0xb9)]();}[_0x4b34e2(0xb9)](){const _0x37e985=_0x4b34e2;(0x0,_0x2e284b[_0x37e985(0xa0)])(this['_injector'],[[_0x224836[_0x37e985(0xa5)],{'useClass':_0x4b6bf8}]]);}};_0x324a7d(_0x2435f5,'pluginName',_0x4b34e2(0x9a)),_0x324a7d(_0x2435f5,'packageName',_0x1baf45),_0x324a7d(_0x2435f5,_0x4b34e2(0x98),_0x423b82),_0x2435f5=_0x507320([(0x0,_0x2e284b[_0x4b34e2(0xa1)])(_0x5d909e['UniverLicensePlugin'],_0x224836[_0x4b34e2(0xae)],_0x5b2c43[_0x4b34e2(0x8f)],_0x3d1626[_0x4b34e2(0x96)]),_0x571732(0x1,_0x2e284b[_0x4b34e2(0xb0)]),_0x571732(0x2,(0x0,_0x2e284b['Inject'])(_0x2e284b[_0x4b34e2(0xad)]))],_0x2435f5);let _0x31e157=class extends _0x3d1626[_0x4b34e2(0xcc)]{constructor(_0x27c8fc,_0x372b6b,_0xab4956,_0x58faa8,_0x43364d){const _0x509ed8=_0x4b34e2;super(_0x27c8fc,_0x372b6b,_0xab4956,_0x58faa8,_0x43364d);let _0x1a5d07=this[_0x509ed8(0xdb)][_0x509ed8(0xde)](_0x3d1626[_0x509ed8(0xbb)]);this['_httpService'][_0x509ed8(0xa9)]({'interceptor':(_0x16e775,_0x1aa0e9)=>{const _0x1efec0=_0x509ed8;let _0x2784b6=_0x16e775[_0x1efec0(0xb7)];if(_0x1a5d07!=null&&_0x1a5d07[_0x1efec0(0xb2)]){for(let _0x525a1e in _0x1a5d07[_0x1efec0(0xb2)])_0x2784b6[_0x1efec0(0xd2)](_0x525a1e,_0x1a5d07[_0x1efec0(0xb2)][_0x525a1e]);}return _0x1aa0e9(_0x16e775);}});}async[_0x4b34e2(0xcf)](_0x1631ea){const _0x161572=_0x4b34e2;return this[_0x161572(0x8d)](_0x1631ea);}};_0x31e157=_0x507320([_0x571732(0x0,(0x0,_0x2e284b[_0x4b34e2(0xb1)])(_0x2e284b[_0x4b34e2(0xad)])),_0x571732(0x1,(0x0,_0x2e284b['Inject'])(_0x224836[_0x4b34e2(0xa4)])),_0x571732(0x2,_0x2e284b[_0x4b34e2(0xb0)]),_0x571732(0x3,_0x2e284b[_0x4b34e2(0xaa)]),_0x571732(0x4,_0x5b2c43[_0x4b34e2(0xc7)])],_0x31e157),Object['defineProperty'](_0x456191,_0x4b34e2(0xdd),{'enumerable':!0x0,'get':function(){return _0x31e157;}}),Object[_0x4b34e2(0xc1)](_0x456191,_0x4b34e2(0xa2),{'enumerable':!0x0,'get':function(){return _0x2435f5;}});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/collaboration-client-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Node.js collaboration client plugin for Univer Pro.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -51,16 +51,16 @@
|
|
|
51
51
|
"rxjs": ">=7.0.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@univerjs-pro/collaboration": "1.
|
|
55
|
-
"@univerjs-pro/collaboration-client": "1.
|
|
56
|
-
"@univerjs-pro/license": "1.
|
|
57
|
-
"@univerjs/core": "1.
|
|
58
|
-
"@univerjs/network": "1.
|
|
54
|
+
"@univerjs-pro/collaboration": "1.2.0",
|
|
55
|
+
"@univerjs-pro/collaboration-client": "1.2.0",
|
|
56
|
+
"@univerjs-pro/license": "1.2.0",
|
|
57
|
+
"@univerjs/core": "1.2.0",
|
|
58
|
+
"@univerjs/network": "1.2.0",
|
|
59
59
|
"ws": "8.21.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/ws": "8.18.1",
|
|
63
|
-
"@univerjs-infra/shared": "1.
|
|
63
|
+
"@univerjs-infra/shared": "1.2.0",
|
|
64
64
|
"rxjs": "7.8.2",
|
|
65
65
|
"typescript": "^6.0.3",
|
|
66
66
|
"vitest": "^5.0.4"
|