@univerjs-pro/collaboration-client-node 1.5.0 → 1.5.1
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 _0x1964b5=_0x43df;(function(_0x1126e5,_0x4f5ae3){const _0x574c22=_0x43df,_0xca75b=_0x1126e5();while(!![]){try{const _0x196cea=-parseInt(_0x574c22(0xf1))/0x1*(-parseInt(_0x574c22(0xcb))/0x2)+-parseInt(_0x574c22(0x10e))/0x3+-parseInt(_0x574c22(0xe7))/0x4+parseInt(_0x574c22(0xf5))/0x5+parseInt(_0x574c22(0xcf))/0x6*(-parseInt(_0x574c22(0xf4))/0x7)+parseInt(_0x574c22(0xcd))/0x8+-parseInt(_0x574c22(0xda))/0x9*(-parseInt(_0x574c22(0xf2))/0xa);if(_0x196cea===_0x4f5ae3)break;else _0xca75b['push'](_0xca75b['shift']());}catch(_0x44b35e){_0xca75b['push'](_0xca75b['shift']());}}}(_0x37f6,0xaf80f),Object['defineProperty'](exports,Symbol[_0x1964b5(0xf7)],{'value':_0x1964b5(0xea)}));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='@univerjs-pro/collaboration-client-node',c=_0x1964b5(0xeb);const l={};function u(_0x208aff,_0x42de50){return function(_0x305a46,_0xbfd7ed){_0x42de50(_0x305a46,_0xbfd7ed,_0x208aff);};}function d(_0x45e7fb,_0x55a465,_0x47cca0,_0x37e768){const _0x42e995=_0x1964b5;var _0xe7ca11=arguments[_0x42e995(0xe6)],_0x41f767=_0xe7ca11<0x3?_0x55a465:_0x37e768===null?_0x37e768=Object[_0x42e995(0xfd)](_0x55a465,_0x47cca0):_0x37e768,_0x2dce66;if(typeof Reflect==_0x42e995(0xe0)&&typeof Reflect[_0x42e995(0xd8)]==_0x42e995(0xd7))_0x41f767=Reflect[_0x42e995(0xd8)](_0x45e7fb,_0x55a465,_0x47cca0,_0x37e768);else{for(var _0x37c3e9=_0x45e7fb['length']-0x1;_0x37c3e9>=0x0;_0x37c3e9--)(_0x2dce66=_0x45e7fb[_0x37c3e9])&&(_0x41f767=(_0xe7ca11<0x3?_0x2dce66(_0x41f767):_0xe7ca11>0x3?_0x2dce66(_0x55a465,_0x47cca0,_0x41f767):_0x2dce66(_0x55a465,_0x47cca0))||_0x41f767);}return _0xe7ca11>0x3&&_0x41f767&&Object[_0x42e995(0xef)](_0x55a465,_0x47cca0,_0x41f767),_0x41f767;}function _0x37f6(){const _0x43c17f=['pluginName','UniverCollaborationClientPlugin','_injector','defineProperty','UniverCollaborationClientNodePlugin','5dFKpFH','10iiqmwz','prototype','8606703ZWVTpg','7158710zeOojC','Inject','toStringTag','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','add','getConfig','open','close','getOwnPropertyDescriptor','version','collaboration-client-node.config','_config','set','DependentOn','error','customHeaders','setConfig','UniverLicensePlugin','_configService','removeEventListener','registerHTTPInterceptor','symbol','headers','DisposableCollection','createSocket','3484596RbFQig','dispose','toPrimitive','_httpService','registerDependencies','180318xuIOqx','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','7218712uOkHNa','Observable','6estmfz','_registerDependencies','UniverNetworkPlugin','pipe','string','addEventListener','CollaborationSocketService','default','function','decorate','NodeCollaborationSocketService','13432572lfiExC','IConfigService','WebSocket','toDisposable','merge','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','object','next','onStarting','Disposable','ILogService','_doCreateSocket','length','4669840koMfhK','message','share','Module','1.5.1'];_0x37f6=function(){return _0x43c17f;};return _0x37f6();}let f=class extends r[_0x1964b5(0xe3)]{constructor(_0x4288a0){const _0x30bcef=_0x1964b5;super(),this[_0x30bcef(0x107)]=_0x4288a0;}[_0x1964b5(0x10d)](_0x58b704){const _0x27cf58=_0x1964b5;var _0xdc0b8a;let _0x1bc8ca=((_0xdc0b8a=this['_configService'][_0x27cf58(0xfa)](t[_0x27cf58(0xdf)]))==null?void 0x0:_0xdc0b8a[_0x27cf58(0x104)])||{};try{let _0x4e6fc4=new o[(_0x27cf58(0xdc))](_0x58b704,{'headers':{..._0x1bc8ca}}),_0x5cd19d=new r[(_0x27cf58(0x10c))]();return{'URL':_0x58b704,'close':(_0x1e14bd,_0x498de5)=>{const _0x899c0a=_0x27cf58;_0x4e6fc4[_0x899c0a(0xfc)](_0x1e14bd,_0x498de5),_0x5cd19d[_0x899c0a(0x10f)]();},'send':_0x3e70b7=>{_0x4e6fc4['send'](_0x3e70b7);},'open$':new a[(_0x27cf58(0xce))](_0x38cc91=>{const _0x3093bd=_0x27cf58;let _0x48290f=_0x4d994a=>_0x38cc91[_0x3093bd(0xe1)](_0x4d994a);_0x4e6fc4[_0x3093bd(0xd4)](_0x3093bd(0xfb),_0x48290f),_0x5cd19d[_0x3093bd(0xf9)]((0x0,r[_0x3093bd(0xdd)])(()=>_0x4e6fc4[_0x3093bd(0x108)](_0x3093bd(0xfb),_0x48290f)));})['pipe']((0x0,a['share'])()),'close$':new a[(_0x27cf58(0xce))](_0x115862=>{const _0x3ffbeb=_0x27cf58;let _0x57c6b4=_0x29257d=>_0x115862[_0x3ffbeb(0xe1)](_0x29257d);_0x4e6fc4[_0x3ffbeb(0xd4)](_0x3ffbeb(0xfc),_0x57c6b4),_0x5cd19d['add']((0x0,r[_0x3ffbeb(0xdd)])(()=>_0x4e6fc4[_0x3ffbeb(0x108)](_0x3ffbeb(0xfc),_0x57c6b4)));})[_0x27cf58(0xd2)]((0x0,a['share'])()),'error$':new a[(_0x27cf58(0xce))](_0x30b1b5=>{const _0x249ce6=_0x27cf58;let _0x303f96=_0x1a8a62=>_0x30b1b5['next'](_0x1a8a62);_0x4e6fc4[_0x249ce6(0xd4)](_0x249ce6(0x103),_0x303f96),_0x5cd19d[_0x249ce6(0xf9)]((0x0,r[_0x249ce6(0xdd)])(()=>_0x4e6fc4[_0x249ce6(0x108)](_0x249ce6(0x103),_0x303f96)));})['pipe']((0x0,a['share'])()),'message$':new a[(_0x27cf58(0xce))](_0x52feb5=>{const _0x50db5f=_0x27cf58;let _0xacbe78=_0x52bd4f=>_0x52feb5[_0x50db5f(0xe1)](_0x52bd4f);_0x4e6fc4['addEventListener']('message',_0xacbe78),_0x5cd19d[_0x50db5f(0xf9)]((0x0,r[_0x50db5f(0xdd)])(()=>_0x4e6fc4[_0x50db5f(0x108)](_0x50db5f(0xe8),_0xacbe78)));})['pipe']((0x0,a[_0x27cf58(0xe9)])())};}catch(_0x229543){return console['error'](_0x229543),null;}}};f=d([u(0x0,r[_0x1964b5(0xdb)])],f);function _0x43df(_0x4eb887,_0x5d6272){_0x4eb887=_0x4eb887-0xc8;const _0x37f626=_0x37f6();let _0x43df88=_0x37f626[_0x4eb887];return _0x43df88;}function p(_0x2f30ff){'@babel/helpers - typeof';const _0x15d6b5=_0x1964b5;return p=typeof Symbol==_0x15d6b5(0xd7)&&typeof Symbol['iterator']==_0x15d6b5(0x10a)?function(_0xa31c5b){return typeof _0xa31c5b;}:function(_0x277c23){const _0x1e6fe4=_0x15d6b5;return _0x277c23&&typeof Symbol==_0x1e6fe4(0xd7)&&_0x277c23['constructor']===Symbol&&_0x277c23!==Symbol[_0x1e6fe4(0xf3)]?_0x1e6fe4(0x10a):typeof _0x277c23;},p(_0x2f30ff);}function m(_0x23124e,_0x9b02e3){const _0x1b48fa=_0x1964b5;if(p(_0x23124e)!=_0x1b48fa(0xe0)||!_0x23124e)return _0x23124e;var _0x39880e;if(typeof Symbol<'u'&&(_0x39880e=_0x23124e[Symbol[_0x1b48fa(0xc8)]])!==void 0x0){var _0x4930a8=_0x39880e['call'](_0x23124e,_0x9b02e3||_0x1b48fa(0xd6));if(p(_0x4930a8)!=_0x1b48fa(0xe0))return _0x4930a8;throw TypeError(_0x1b48fa(0xf8));}return(_0x9b02e3===_0x1b48fa(0xd3)?String:Number)(_0x23124e);}function h(_0x4bf0f3){const _0x4138c2=_0x1964b5;var _0x1a7a27=m(_0x4bf0f3,_0x4138c2(0xd3));return p(_0x1a7a27)==_0x4138c2(0x10a)?_0x1a7a27:_0x1a7a27+'';}function g(_0x40658b,_0x90951f,_0xdf3119){return(_0x90951f=h(_0x90951f))in _0x40658b?Object['defineProperty'](_0x40658b,_0x90951f,{'value':_0xdf3119,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x40658b[_0x90951f]=_0xdf3119,_0x40658b;}let _=class extends r['Plugin']{constructor(_0xbdd87=l,_0x1bb250,_0x2adb90){const _0x559410=_0x1964b5;super(),this[_0x559410(0x100)]=_0xbdd87,this[_0x559410(0x107)]=_0x1bb250,this[_0x559410(0xee)]=_0x2adb90;let {..._0x1cf2f0}=(0x0,r[_0x559410(0xde)])({},l,this[_0x559410(0x100)]);this[_0x559410(0x107)][_0x559410(0x105)](_0x559410(0xff),_0x1cf2f0);}[_0x1964b5(0xe2)](){const _0xd3eff4=_0x1964b5;this[_0xd3eff4(0xd0)]();}[_0x1964b5(0xd0)](){const _0x5f1ffc=_0x1964b5;(0x0,r[_0x5f1ffc(0xca)])(this['_injector'],[[i['ISocketService'],{'useClass':f}]]);}};g(_,_0x1964b5(0xec),_0x1964b5(0xcc)),g(_,'packageName',s),g(_,_0x1964b5(0xfe),c),_=d([(0x0,r[_0x1964b5(0x102)])(n[_0x1964b5(0x106)],i[_0x1964b5(0xd1)],e['UniverCollaborationPlugin'],t[_0x1964b5(0xed)]),u(0x1,r[_0x1964b5(0xdb)]),u(0x2,(0x0,r[_0x1964b5(0xf6)])(r['Injector']))],_);let v=class extends t[_0x1964b5(0xd5)]{constructor(_0x4ff054,_0x4ab89f,_0x327e9f,_0x50d1c9,_0x396dba){const _0x5d76d0=_0x1964b5;super(_0x4ff054,_0x4ab89f,_0x327e9f,_0x50d1c9,_0x396dba);let _0x225179=this['_configService'][_0x5d76d0(0xfa)](t[_0x5d76d0(0xdf)]);this[_0x5d76d0(0xc9)][_0x5d76d0(0x109)]({'interceptor':(_0x4d4d7e,_0x4519e8)=>{const _0x7a8625=_0x5d76d0;let _0x121bac=_0x4d4d7e[_0x7a8625(0x10b)];if(_0x225179!=null&&_0x225179['customHeaders']){for(let _0x40a968 in _0x225179[_0x7a8625(0x104)])_0x121bac[_0x7a8625(0x101)](_0x40a968,_0x225179[_0x7a8625(0x104)][_0x40a968]);}return _0x4519e8(_0x4d4d7e);}});}async['createSocket'](_0x5c72d3){const _0x51ae32=_0x1964b5;return this[_0x51ae32(0xe5)](_0x5c72d3);}};v=d([u(0x0,(0x0,r[_0x1964b5(0xf6)])(r['Injector'])),u(0x1,(0x0,r['Inject'])(i['HTTPService'])),u(0x2,r['IConfigService']),u(0x3,r[_0x1964b5(0xe4)]),u(0x4,e['ISnapshotServerService'])],v),Object[_0x1964b5(0xef)](exports,_0x1964b5(0xd9),{'enumerable':!0x0,'get':function(){return v;}}),Object[_0x1964b5(0xef)](exports,_0x1964b5(0xf0),{'enumerable':!0x0,'get':function(){return _;}});
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4e5ede=_0x552d;(function(_0x3ee7c4,_0x433baf){const _0x10ba5b=_0x552d,_0x37f7c4=_0x3ee7c4();while(!![]){try{const _0x5be1a6=-parseInt(_0x10ba5b(0x10c))/0x1*(-parseInt(_0x10ba5b(0x104))/0x2)+parseInt(_0x10ba5b(0x110))/0x3*(parseInt(_0x10ba5b(0x130))/0x4)+parseInt(_0x10ba5b(0x11a))/0x5+-parseInt(_0x10ba5b(0x12c))/0x6+parseInt(_0x10ba5b(0x12d))/0x7*(-parseInt(_0x10ba5b(0x12b))/0x8)+parseInt(_0x10ba5b(0x11f))/0x9*(parseInt(_0x10ba5b(0x109))/0xa)+parseInt(_0x10ba5b(0x108))/0xb;if(_0x5be1a6===_0x433baf)break;else _0x37f7c4['push'](_0x37f7c4['shift']());}catch(_0x4499d6){_0x37f7c4['push'](_0x37f7c4['shift']());}}}(_0x2c5b,0xe8e53));function _0x552d(_0x29107d,_0x2e1f5f){_0x29107d=_0x29107d-0x104;const _0x2c5b99=_0x2c5b();let _0x552d46=_0x2c5b99[_0x29107d];return _0x552d46;}import{ISnapshotServerService as _0x326cbd,UniverCollaborationPlugin as _0x3e5c6e}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2b6ab3,CollaborationSocketService as _0x2786a9,UniverCollaborationClientPlugin as _0x535c1b}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x19c837}from'@univerjs-pro/license';function _0x2c5b(){const _0x125238=['1010PdzPvq','object','prototype','3607hPKBFy','_config','call','iterator','1188gzJMkT','function','_registerDependencies','createSocket','pipe','getConfig','send','_httpService','removeEventListener','constructor','1472475FWhCYC','next','length','headers','_injector','72918VwrxfR','registerHTTPInterceptor','customHeaders','defineProperty','symbol','close','dispose','getOwnPropertyDescriptor','onStarting','string','error','set','8NaoogK','9190512kWdqrP','4059349OoEomG','add','collaboration-client-node.config','1092WKLqdM','decorate','message','setConfig','addEventListener','open','packageName','226EsXEJZ','toPrimitive','pluginName','_configService','15808122ZeechC'];_0x2c5b=function(){return _0x125238;};return _0x2c5b();}import{DependentOn as _0x354757,Disposable as _0x3eb992,DisposableCollection as _0x421a87,IConfigService as _0x14ebb6,ILogService as _0x438094,Inject as _0x2230a9,Injector as _0x47ab99,Plugin as _0x2b7407,merge as _0x26d366,registerDependencies as _0x10eca6,toDisposable as _0x11414c}from'@univerjs/core';import{HTTPService as _0x5b9e3f,ISocketService as _0x2d4145,UniverNetworkPlugin as _0x5e7747}from'@univerjs/network';import{Observable as _0x56148f,share as _0x30a152}from'rxjs';import{WebSocket as _0x63fb79}from'ws';var C='@univerjs-pro/collaboration-client-node',w='1.5.1';const T={};function E(_0x1e4a83,_0xea7fd3){return function(_0x4866a4,_0x351f22){_0xea7fd3(_0x4866a4,_0x351f22,_0x1e4a83);};}function D(_0x1ced99,_0xa4acba,_0x2765fa,_0x1413e3){const _0xa146dd=_0x552d;var _0x4329ca=arguments[_0xa146dd(0x11c)],_0xab9118=_0x4329ca<0x3?_0xa4acba:_0x1413e3===null?_0x1413e3=Object[_0xa146dd(0x126)](_0xa4acba,_0x2765fa):_0x1413e3,_0x2a8886;if(typeof Reflect==_0xa146dd(0x10a)&&typeof Reflect['decorate']==_0xa146dd(0x111))_0xab9118=Reflect[_0xa146dd(0x131)](_0x1ced99,_0xa4acba,_0x2765fa,_0x1413e3);else{for(var _0xe77767=_0x1ced99[_0xa146dd(0x11c)]-0x1;_0xe77767>=0x0;_0xe77767--)(_0x2a8886=_0x1ced99[_0xe77767])&&(_0xab9118=(_0x4329ca<0x3?_0x2a8886(_0xab9118):_0x4329ca>0x3?_0x2a8886(_0xa4acba,_0x2765fa,_0xab9118):_0x2a8886(_0xa4acba,_0x2765fa))||_0xab9118);}return _0x4329ca>0x3&&_0xab9118&&Object[_0xa146dd(0x122)](_0xa4acba,_0x2765fa,_0xab9118),_0xab9118;}let O=class extends _0x3eb992{constructor(_0x15fa4d){const _0x366f6c=_0x552d;super(),this[_0x366f6c(0x107)]=_0x15fa4d;}[_0x4e5ede(0x113)](_0x1ac2a0){const _0x2d4cbc=_0x4e5ede;var _0x2d61b8;let _0x311408=((_0x2d61b8=this[_0x2d4cbc(0x107)][_0x2d4cbc(0x115)](_0x2b6ab3))==null?void 0x0:_0x2d61b8[_0x2d4cbc(0x121)])||{};try{let _0x3e2a4a=new _0x63fb79(_0x1ac2a0,{'headers':{..._0x311408}}),_0x270485=new _0x421a87();return{'URL':_0x1ac2a0,'close':(_0x26ea07,_0x1ea03f)=>{const _0x3fc34e=_0x2d4cbc;_0x3e2a4a[_0x3fc34e(0x124)](_0x26ea07,_0x1ea03f),_0x270485[_0x3fc34e(0x125)]();},'send':_0x2e0a58=>{const _0x1bb720=_0x2d4cbc;_0x3e2a4a[_0x1bb720(0x116)](_0x2e0a58);},'open$':new _0x56148f(_0x159f88=>{const _0x136750=_0x2d4cbc;let _0x20f89c=_0x4a3cef=>_0x159f88[_0x136750(0x11b)](_0x4a3cef);_0x3e2a4a['addEventListener']('open',_0x20f89c),_0x270485[_0x136750(0x12e)](_0x11414c(()=>_0x3e2a4a[_0x136750(0x118)](_0x136750(0x135),_0x20f89c)));})['pipe'](_0x30a152()),'close$':new _0x56148f(_0x510e38=>{const _0x51be4e=_0x2d4cbc;let _0x2e1505=_0x4cf132=>_0x510e38[_0x51be4e(0x11b)](_0x4cf132);_0x3e2a4a['addEventListener'](_0x51be4e(0x124),_0x2e1505),_0x270485[_0x51be4e(0x12e)](_0x11414c(()=>_0x3e2a4a[_0x51be4e(0x118)](_0x51be4e(0x124),_0x2e1505)));})[_0x2d4cbc(0x114)](_0x30a152()),'error$':new _0x56148f(_0x18ec05=>{const _0x98126d=_0x2d4cbc;let _0x4d7f00=_0x21b930=>_0x18ec05[_0x98126d(0x11b)](_0x21b930);_0x3e2a4a[_0x98126d(0x134)](_0x98126d(0x129),_0x4d7f00),_0x270485[_0x98126d(0x12e)](_0x11414c(()=>_0x3e2a4a['removeEventListener'](_0x98126d(0x129),_0x4d7f00)));})[_0x2d4cbc(0x114)](_0x30a152()),'message$':new _0x56148f(_0x1ee8d5=>{const _0x5f4d22=_0x2d4cbc;let _0x2d1217=_0x56cd20=>_0x1ee8d5[_0x5f4d22(0x11b)](_0x56cd20);_0x3e2a4a[_0x5f4d22(0x134)]('message',_0x2d1217),_0x270485[_0x5f4d22(0x12e)](_0x11414c(()=>_0x3e2a4a[_0x5f4d22(0x118)](_0x5f4d22(0x132),_0x2d1217)));})['pipe'](_0x30a152())};}catch(_0x987be8){return console[_0x2d4cbc(0x129)](_0x987be8),null;}}};O=D([E(0x0,_0x14ebb6)],O);function k(_0x57ebc5){'@babel/helpers - typeof';const _0x5c4121=_0x4e5ede;return k=typeof Symbol==_0x5c4121(0x111)&&typeof Symbol[_0x5c4121(0x10f)]==_0x5c4121(0x123)?function(_0x1fa2c5){return typeof _0x1fa2c5;}:function(_0x374e5e){const _0x2cfce4=_0x5c4121;return _0x374e5e&&typeof Symbol=='function'&&_0x374e5e[_0x2cfce4(0x119)]===Symbol&&_0x374e5e!==Symbol[_0x2cfce4(0x10b)]?'symbol':typeof _0x374e5e;},k(_0x57ebc5);}function A(_0x4781d2,_0x1aacf6){const _0x4a714f=_0x4e5ede;if(k(_0x4781d2)!=_0x4a714f(0x10a)||!_0x4781d2)return _0x4781d2;var _0x58526d;if(typeof Symbol<'u'&&(_0x58526d=_0x4781d2[Symbol[_0x4a714f(0x105)]])!==void 0x0){var _0x25f054=_0x58526d[_0x4a714f(0x10e)](_0x4781d2,_0x1aacf6||'default');if(k(_0x25f054)!='object')return _0x25f054;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1aacf6===_0x4a714f(0x128)?String:Number)(_0x4781d2);}function j(_0x454662){const _0x550f1d=_0x4e5ede;var _0x3f3bd4=A(_0x454662,_0x550f1d(0x128));return k(_0x3f3bd4)=='symbol'?_0x3f3bd4:_0x3f3bd4+'';}function M(_0x2cca8b,_0x3dccd8,_0x4acee8){return(_0x3dccd8=j(_0x3dccd8))in _0x2cca8b?Object['defineProperty'](_0x2cca8b,_0x3dccd8,{'value':_0x4acee8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2cca8b[_0x3dccd8]=_0x4acee8,_0x2cca8b;}let N=class extends _0x2b7407{constructor(_0x459d0b=T,_0x244bf4,_0x2a43fc){const _0xf52eb8=_0x4e5ede;super(),this[_0xf52eb8(0x10d)]=_0x459d0b,this[_0xf52eb8(0x107)]=_0x244bf4,this[_0xf52eb8(0x11e)]=_0x2a43fc;let {..._0x2e3d5a}=_0x26d366({},T,this[_0xf52eb8(0x10d)]);this[_0xf52eb8(0x107)][_0xf52eb8(0x133)](_0xf52eb8(0x12f),_0x2e3d5a);}[_0x4e5ede(0x127)](){const _0x3d5379=_0x4e5ede;this[_0x3d5379(0x112)]();}[_0x4e5ede(0x112)](){const _0x47d1dd=_0x4e5ede;_0x10eca6(this[_0x47d1dd(0x11e)],[[_0x2d4145,{'useClass':O}]]);}};M(N,_0x4e5ede(0x106),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),M(N,_0x4e5ede(0x136),C),M(N,'version',w),N=D([_0x354757(_0x19c837,_0x5e7747,_0x3e5c6e,_0x535c1b),E(0x1,_0x14ebb6),E(0x2,_0x2230a9(_0x47ab99))],N);let P=class extends _0x2786a9{constructor(_0x416048,_0x188e2d,_0x52e635,_0x2e88c8,_0x5ad41c){const _0x103f79=_0x4e5ede;super(_0x416048,_0x188e2d,_0x52e635,_0x2e88c8,_0x5ad41c);let _0x32ad77=this[_0x103f79(0x107)][_0x103f79(0x115)](_0x2b6ab3);this[_0x103f79(0x117)][_0x103f79(0x120)]({'interceptor':(_0x54d7d8,_0x322182)=>{const _0x17df32=_0x103f79;let _0x10110e=_0x54d7d8[_0x17df32(0x11d)];if(_0x32ad77!=null&&_0x32ad77[_0x17df32(0x121)]){for(let _0x25d8a5 in _0x32ad77[_0x17df32(0x121)])_0x10110e[_0x17df32(0x12a)](_0x25d8a5,_0x32ad77[_0x17df32(0x121)][_0x25d8a5]);}return _0x322182(_0x54d7d8);}});}async['createSocket'](_0x4b439d){return this['_doCreateSocket'](_0x4b439d);}};P=D([E(0x0,_0x2230a9(_0x47ab99)),E(0x1,_0x2230a9(_0x5b9e3f)),E(0x2,_0x14ebb6),E(0x3,_0x438094),E(0x4,_0x326cbd)],P);export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4e5ede=_0x552d;(function(_0x3ee7c4,_0x433baf){const _0x10ba5b=_0x552d,_0x37f7c4=_0x3ee7c4();while(!![]){try{const _0x5be1a6=-parseInt(_0x10ba5b(0x10c))/0x1*(-parseInt(_0x10ba5b(0x104))/0x2)+parseInt(_0x10ba5b(0x110))/0x3*(parseInt(_0x10ba5b(0x130))/0x4)+parseInt(_0x10ba5b(0x11a))/0x5+-parseInt(_0x10ba5b(0x12c))/0x6+parseInt(_0x10ba5b(0x12d))/0x7*(-parseInt(_0x10ba5b(0x12b))/0x8)+parseInt(_0x10ba5b(0x11f))/0x9*(parseInt(_0x10ba5b(0x109))/0xa)+parseInt(_0x10ba5b(0x108))/0xb;if(_0x5be1a6===_0x433baf)break;else _0x37f7c4['push'](_0x37f7c4['shift']());}catch(_0x4499d6){_0x37f7c4['push'](_0x37f7c4['shift']());}}}(_0x2c5b,0xe8e53));function _0x552d(_0x29107d,_0x2e1f5f){_0x29107d=_0x29107d-0x104;const _0x2c5b99=_0x2c5b();let _0x552d46=_0x2c5b99[_0x29107d];return _0x552d46;}import{ISnapshotServerService as _0x326cbd,UniverCollaborationPlugin as _0x3e5c6e}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2b6ab3,CollaborationSocketService as _0x2786a9,UniverCollaborationClientPlugin as _0x535c1b}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x19c837}from'@univerjs-pro/license';function _0x2c5b(){const _0x125238=['1010PdzPvq','object','prototype','3607hPKBFy','_config','call','iterator','1188gzJMkT','function','_registerDependencies','createSocket','pipe','getConfig','send','_httpService','removeEventListener','constructor','1472475FWhCYC','next','length','headers','_injector','72918VwrxfR','registerHTTPInterceptor','customHeaders','defineProperty','symbol','close','dispose','getOwnPropertyDescriptor','onStarting','string','error','set','8NaoogK','9190512kWdqrP','4059349OoEomG','add','collaboration-client-node.config','1092WKLqdM','decorate','message','setConfig','addEventListener','open','packageName','226EsXEJZ','toPrimitive','pluginName','_configService','15808122ZeechC'];_0x2c5b=function(){return _0x125238;};return _0x2c5b();}import{DependentOn as _0x354757,Disposable as _0x3eb992,DisposableCollection as _0x421a87,IConfigService as _0x14ebb6,ILogService as _0x438094,Inject as _0x2230a9,Injector as _0x47ab99,Plugin as _0x2b7407,merge as _0x26d366,registerDependencies as _0x10eca6,toDisposable as _0x11414c}from'@univerjs/core';import{HTTPService as _0x5b9e3f,ISocketService as _0x2d4145,UniverNetworkPlugin as _0x5e7747}from'@univerjs/network';import{Observable as _0x56148f,share as _0x30a152}from'rxjs';import{WebSocket as _0x63fb79}from'ws';var C='@univerjs-pro/collaboration-client-node',w='1.5.1';const T={};function E(_0x1e4a83,_0xea7fd3){return function(_0x4866a4,_0x351f22){_0xea7fd3(_0x4866a4,_0x351f22,_0x1e4a83);};}function D(_0x1ced99,_0xa4acba,_0x2765fa,_0x1413e3){const _0xa146dd=_0x552d;var _0x4329ca=arguments[_0xa146dd(0x11c)],_0xab9118=_0x4329ca<0x3?_0xa4acba:_0x1413e3===null?_0x1413e3=Object[_0xa146dd(0x126)](_0xa4acba,_0x2765fa):_0x1413e3,_0x2a8886;if(typeof Reflect==_0xa146dd(0x10a)&&typeof Reflect['decorate']==_0xa146dd(0x111))_0xab9118=Reflect[_0xa146dd(0x131)](_0x1ced99,_0xa4acba,_0x2765fa,_0x1413e3);else{for(var _0xe77767=_0x1ced99[_0xa146dd(0x11c)]-0x1;_0xe77767>=0x0;_0xe77767--)(_0x2a8886=_0x1ced99[_0xe77767])&&(_0xab9118=(_0x4329ca<0x3?_0x2a8886(_0xab9118):_0x4329ca>0x3?_0x2a8886(_0xa4acba,_0x2765fa,_0xab9118):_0x2a8886(_0xa4acba,_0x2765fa))||_0xab9118);}return _0x4329ca>0x3&&_0xab9118&&Object[_0xa146dd(0x122)](_0xa4acba,_0x2765fa,_0xab9118),_0xab9118;}let O=class extends _0x3eb992{constructor(_0x15fa4d){const _0x366f6c=_0x552d;super(),this[_0x366f6c(0x107)]=_0x15fa4d;}[_0x4e5ede(0x113)](_0x1ac2a0){const _0x2d4cbc=_0x4e5ede;var _0x2d61b8;let _0x311408=((_0x2d61b8=this[_0x2d4cbc(0x107)][_0x2d4cbc(0x115)](_0x2b6ab3))==null?void 0x0:_0x2d61b8[_0x2d4cbc(0x121)])||{};try{let _0x3e2a4a=new _0x63fb79(_0x1ac2a0,{'headers':{..._0x311408}}),_0x270485=new _0x421a87();return{'URL':_0x1ac2a0,'close':(_0x26ea07,_0x1ea03f)=>{const _0x3fc34e=_0x2d4cbc;_0x3e2a4a[_0x3fc34e(0x124)](_0x26ea07,_0x1ea03f),_0x270485[_0x3fc34e(0x125)]();},'send':_0x2e0a58=>{const _0x1bb720=_0x2d4cbc;_0x3e2a4a[_0x1bb720(0x116)](_0x2e0a58);},'open$':new _0x56148f(_0x159f88=>{const _0x136750=_0x2d4cbc;let _0x20f89c=_0x4a3cef=>_0x159f88[_0x136750(0x11b)](_0x4a3cef);_0x3e2a4a['addEventListener']('open',_0x20f89c),_0x270485[_0x136750(0x12e)](_0x11414c(()=>_0x3e2a4a[_0x136750(0x118)](_0x136750(0x135),_0x20f89c)));})['pipe'](_0x30a152()),'close$':new _0x56148f(_0x510e38=>{const _0x51be4e=_0x2d4cbc;let _0x2e1505=_0x4cf132=>_0x510e38[_0x51be4e(0x11b)](_0x4cf132);_0x3e2a4a['addEventListener'](_0x51be4e(0x124),_0x2e1505),_0x270485[_0x51be4e(0x12e)](_0x11414c(()=>_0x3e2a4a[_0x51be4e(0x118)](_0x51be4e(0x124),_0x2e1505)));})[_0x2d4cbc(0x114)](_0x30a152()),'error$':new _0x56148f(_0x18ec05=>{const _0x98126d=_0x2d4cbc;let _0x4d7f00=_0x21b930=>_0x18ec05[_0x98126d(0x11b)](_0x21b930);_0x3e2a4a[_0x98126d(0x134)](_0x98126d(0x129),_0x4d7f00),_0x270485[_0x98126d(0x12e)](_0x11414c(()=>_0x3e2a4a['removeEventListener'](_0x98126d(0x129),_0x4d7f00)));})[_0x2d4cbc(0x114)](_0x30a152()),'message$':new _0x56148f(_0x1ee8d5=>{const _0x5f4d22=_0x2d4cbc;let _0x2d1217=_0x56cd20=>_0x1ee8d5[_0x5f4d22(0x11b)](_0x56cd20);_0x3e2a4a[_0x5f4d22(0x134)]('message',_0x2d1217),_0x270485[_0x5f4d22(0x12e)](_0x11414c(()=>_0x3e2a4a[_0x5f4d22(0x118)](_0x5f4d22(0x132),_0x2d1217)));})['pipe'](_0x30a152())};}catch(_0x987be8){return console[_0x2d4cbc(0x129)](_0x987be8),null;}}};O=D([E(0x0,_0x14ebb6)],O);function k(_0x57ebc5){'@babel/helpers - typeof';const _0x5c4121=_0x4e5ede;return k=typeof Symbol==_0x5c4121(0x111)&&typeof Symbol[_0x5c4121(0x10f)]==_0x5c4121(0x123)?function(_0x1fa2c5){return typeof _0x1fa2c5;}:function(_0x374e5e){const _0x2cfce4=_0x5c4121;return _0x374e5e&&typeof Symbol=='function'&&_0x374e5e[_0x2cfce4(0x119)]===Symbol&&_0x374e5e!==Symbol[_0x2cfce4(0x10b)]?'symbol':typeof _0x374e5e;},k(_0x57ebc5);}function A(_0x4781d2,_0x1aacf6){const _0x4a714f=_0x4e5ede;if(k(_0x4781d2)!=_0x4a714f(0x10a)||!_0x4781d2)return _0x4781d2;var _0x58526d;if(typeof Symbol<'u'&&(_0x58526d=_0x4781d2[Symbol[_0x4a714f(0x105)]])!==void 0x0){var _0x25f054=_0x58526d[_0x4a714f(0x10e)](_0x4781d2,_0x1aacf6||'default');if(k(_0x25f054)!='object')return _0x25f054;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1aacf6===_0x4a714f(0x128)?String:Number)(_0x4781d2);}function j(_0x454662){const _0x550f1d=_0x4e5ede;var _0x3f3bd4=A(_0x454662,_0x550f1d(0x128));return k(_0x3f3bd4)=='symbol'?_0x3f3bd4:_0x3f3bd4+'';}function M(_0x2cca8b,_0x3dccd8,_0x4acee8){return(_0x3dccd8=j(_0x3dccd8))in _0x2cca8b?Object['defineProperty'](_0x2cca8b,_0x3dccd8,{'value':_0x4acee8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2cca8b[_0x3dccd8]=_0x4acee8,_0x2cca8b;}let N=class extends _0x2b7407{constructor(_0x459d0b=T,_0x244bf4,_0x2a43fc){const _0xf52eb8=_0x4e5ede;super(),this[_0xf52eb8(0x10d)]=_0x459d0b,this[_0xf52eb8(0x107)]=_0x244bf4,this[_0xf52eb8(0x11e)]=_0x2a43fc;let {..._0x2e3d5a}=_0x26d366({},T,this[_0xf52eb8(0x10d)]);this[_0xf52eb8(0x107)][_0xf52eb8(0x133)](_0xf52eb8(0x12f),_0x2e3d5a);}[_0x4e5ede(0x127)](){const _0x3d5379=_0x4e5ede;this[_0x3d5379(0x112)]();}[_0x4e5ede(0x112)](){const _0x47d1dd=_0x4e5ede;_0x10eca6(this[_0x47d1dd(0x11e)],[[_0x2d4145,{'useClass':O}]]);}};M(N,_0x4e5ede(0x106),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),M(N,_0x4e5ede(0x136),C),M(N,'version',w),N=D([_0x354757(_0x19c837,_0x5e7747,_0x3e5c6e,_0x535c1b),E(0x1,_0x14ebb6),E(0x2,_0x2230a9(_0x47ab99))],N);let P=class extends _0x2786a9{constructor(_0x416048,_0x188e2d,_0x52e635,_0x2e88c8,_0x5ad41c){const _0x103f79=_0x4e5ede;super(_0x416048,_0x188e2d,_0x52e635,_0x2e88c8,_0x5ad41c);let _0x32ad77=this[_0x103f79(0x107)][_0x103f79(0x115)](_0x2b6ab3);this[_0x103f79(0x117)][_0x103f79(0x120)]({'interceptor':(_0x54d7d8,_0x322182)=>{const _0x17df32=_0x103f79;let _0x10110e=_0x54d7d8[_0x17df32(0x11d)];if(_0x32ad77!=null&&_0x32ad77[_0x17df32(0x121)]){for(let _0x25d8a5 in _0x32ad77[_0x17df32(0x121)])_0x10110e[_0x17df32(0x12a)](_0x25d8a5,_0x32ad77[_0x17df32(0x121)][_0x25d8a5]);}return _0x322182(_0x54d7d8);}});}async['createSocket'](_0x4b439d){return this['_doCreateSocket'](_0x4b439d);}};P=D([E(0x0,_0x2230a9(_0x47ab99)),E(0x1,_0x2230a9(_0x5b9e3f)),E(0x2,_0x14ebb6),E(0x3,_0x438094),E(0x4,_0x326cbd)],P);export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4fae(_0x2b77fb,_0x43b407){_0x2b77fb=_0x2b77fb-0xf7;const _0x4db131=_0x4db1();let _0x4fae48=_0x4db131[_0x2b77fb];return _0x4fae48;}(function(_0x30279f,_0x4a2e9d){const _0x3f7b87=_0x4fae,_0x32e481=_0x30279f();while(!![]){try{const _0x2b82f2=-parseInt(_0x3f7b87(0x150))/0x1*(parseInt(_0x3f7b87(0x11d))/0x2)+-parseInt(_0x3f7b87(0x10a))/0x3*(-parseInt(_0x3f7b87(0x11a))/0x4)+parseInt(_0x3f7b87(0x142))/0x5*(-parseInt(_0x3f7b87(0x104))/0x6)+parseInt(_0x3f7b87(0x14d))/0x7+parseInt(_0x3f7b87(0x13b))/0x8*(-parseInt(_0x3f7b87(0x141))/0x9)+-parseInt(_0x3f7b87(0x126))/0xa*(parseInt(_0x3f7b87(0x123))/0xb)+-parseInt(_0x3f7b87(0x106))/0xc*(-parseInt(_0x3f7b87(0x122))/0xd);if(_0x2b82f2===_0x4a2e9d)break;else _0x32e481['push'](_0x32e481['shift']());}catch(_0x2688d2){_0x32e481['push'](_0x32e481['shift']());}}}(_0x4db1,0xe69b3),function(_0x996545,_0x14e226){const _0x37d037=_0x4fae;typeof exports==_0x37d037(0x110)&&typeof module<'u'?_0x14e226(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs')):typeof define==_0x37d037(0xfc)&&define[_0x37d037(0xfd)]?define([_0x37d037(0x140),_0x37d037(0x14c),_0x37d037(0x108),_0x37d037(0xf9),_0x37d037(0x115),_0x37d037(0x107),_0x37d037(0x14a)],_0x14e226):(_0x996545=typeof globalThis<'u'?globalThis:_0x996545||self,_0x14e226(_0x996545[_0x37d037(0x111)]={},_0x996545[_0x37d037(0x118)],_0x996545[_0x37d037(0x147)],_0x996545[_0x37d037(0x131)],_0x996545[_0x37d037(0x12b)],_0x996545['UniverNetwork'],_0x996545[_0x37d037(0x14a)]));}(this,function(_0x57ef3c,_0x58149b,_0x45eaca,_0x7c75e,_0x2b6870,_0x364c73,_0x4701c4){const _0x2afafa=_0x4fae;Object[_0x2afafa(0x121)](_0x57ef3c,Symbol[_0x2afafa(0x119)],{'value':_0x2afafa(0x11c)});var _0x44d7fb=(_0x237d42,_0x1e977c)=>()=>(_0x1e977c||(_0x237d42((_0x1e977c={'exports':{}})['exports'],_0x1e977c,_0x1e977c[_0x2afafa(0x140)]),_0x237d42=null),_0x1e977c[_0x2afafa(0x140)]),_0x54b9d8=_0x2afafa(0x116),_0x23ebe1='1.5.0';let _0x6f3327={};var _0x8e9d62=_0x44d7fb((_0x5d3511,_0x1e54c6)=>{_0x1e54c6['exports']=function(){throw Error('ws\x20does\x20not\x20work\x20in\x20the\x20browser.\x20Browser\x20clients\x20must\x20use\x20the\x20native\x20WebSocket\x20object');};})();function _0x4e7ec9(_0x5131d4,_0x434d87){return function(_0x1cfb0c,_0xd2791f){_0x434d87(_0x1cfb0c,_0xd2791f,_0x5131d4);};}function _0x45bc58(_0x36caa5,_0xe6c7de,_0x3fb0c4,_0x4321dc){const _0x419eb7=_0x2afafa;var _0x29c2c7=arguments[_0x419eb7(0x134)],_0x4c23a2=_0x29c2c7<0x3?_0xe6c7de:_0x4321dc===null?_0x4321dc=Object[_0x419eb7(0x132)](_0xe6c7de,_0x3fb0c4):_0x4321dc,_0x195fac;if(typeof Reflect==_0x419eb7(0x110)&&typeof Reflect[_0x419eb7(0xfb)]==_0x419eb7(0xfc))_0x4c23a2=Reflect['decorate'](_0x36caa5,_0xe6c7de,_0x3fb0c4,_0x4321dc);else{for(var _0x5c2f95=_0x36caa5[_0x419eb7(0x134)]-0x1;_0x5c2f95>=0x0;_0x5c2f95--)(_0x195fac=_0x36caa5[_0x5c2f95])&&(_0x4c23a2=(_0x29c2c7<0x3?_0x195fac(_0x4c23a2):_0x29c2c7>0x3?_0x195fac(_0xe6c7de,_0x3fb0c4,_0x4c23a2):_0x195fac(_0xe6c7de,_0x3fb0c4))||_0x4c23a2);}return _0x29c2c7>0x3&&_0x4c23a2&&Object[_0x419eb7(0x121)](_0xe6c7de,_0x3fb0c4,_0x4c23a2),_0x4c23a2;}let _0x36cdd8=class extends _0x2b6870[_0x2afafa(0x128)]{constructor(_0x99fb05){const _0x5b96bd=_0x2afafa;super(),this[_0x5b96bd(0x12c)]=_0x99fb05;}[_0x2afafa(0x11e)](_0x54bebc){const _0x585f88=_0x2afafa;var _0x525584;let _0x220a46=((_0x525584=this[_0x585f88(0x12c)][_0x585f88(0x112)](_0x45eaca[_0x585f88(0x10c)]))==null?void 0x0:_0x525584[_0x585f88(0x10d)])||{};try{let _0x116ce0=new _0x8e9d62[(_0x585f88(0x135))](_0x54bebc,{'headers':{..._0x220a46}}),_0x3096a9=new _0x2b6870[(_0x585f88(0x12e))]();return{'URL':_0x54bebc,'close':(_0x5f22ab,_0x4d95b8)=>{const _0x28e53d=_0x585f88;_0x116ce0['close'](_0x5f22ab,_0x4d95b8),_0x3096a9[_0x28e53d(0x13f)]();},'send':_0x5dbab8=>{const _0x3ebdf6=_0x585f88;_0x116ce0[_0x3ebdf6(0x12f)](_0x5dbab8);},'open$':new _0x4701c4[(_0x585f88(0x149))](_0x35d699=>{const _0x272a58=_0x585f88;let _0x4cf03c=_0x47ef36=>_0x35d699[_0x272a58(0x13c)](_0x47ef36);_0x116ce0['addEventListener'](_0x272a58(0x101),_0x4cf03c),_0x3096a9[_0x272a58(0x14b)]((0x0,_0x2b6870[_0x272a58(0x151)])(()=>_0x116ce0[_0x272a58(0x105)]('open',_0x4cf03c)));})[_0x585f88(0x137)]((0x0,_0x4701c4['share'])()),'close$':new _0x4701c4[(_0x585f88(0x149))](_0x1ae7d1=>{const _0x286824=_0x585f88;let _0x110365=_0x411fc8=>_0x1ae7d1[_0x286824(0x13c)](_0x411fc8);_0x116ce0[_0x286824(0xfa)](_0x286824(0x13e),_0x110365),_0x3096a9[_0x286824(0x14b)]((0x0,_0x2b6870[_0x286824(0x151)])(()=>_0x116ce0[_0x286824(0x105)](_0x286824(0x13e),_0x110365)));})[_0x585f88(0x137)]((0x0,_0x4701c4[_0x585f88(0x148)])()),'error$':new _0x4701c4[(_0x585f88(0x149))](_0x37fa04=>{const _0x1a38ff=_0x585f88;let _0x1dd25d=_0x5c3285=>_0x37fa04[_0x1a38ff(0x13c)](_0x5c3285);_0x116ce0[_0x1a38ff(0xfa)](_0x1a38ff(0x10f),_0x1dd25d),_0x3096a9[_0x1a38ff(0x14b)]((0x0,_0x2b6870[_0x1a38ff(0x151)])(()=>_0x116ce0[_0x1a38ff(0x105)](_0x1a38ff(0x10f),_0x1dd25d)));})[_0x585f88(0x137)]((0x0,_0x4701c4[_0x585f88(0x148)])()),'message$':new _0x4701c4['Observable'](_0x1775ec=>{const _0x43e83d=_0x585f88;let _0x120a9f=_0x13b5f1=>_0x1775ec['next'](_0x13b5f1);_0x116ce0[_0x43e83d(0xfa)](_0x43e83d(0x14e),_0x120a9f),_0x3096a9[_0x43e83d(0x14b)]((0x0,_0x2b6870[_0x43e83d(0x151)])(()=>_0x116ce0[_0x43e83d(0x105)]('message',_0x120a9f)));})[_0x585f88(0x137)]((0x0,_0x4701c4['share'])())};}catch(_0x12f0ea){return console[_0x585f88(0x10f)](_0x12f0ea),null;}}};_0x36cdd8=_0x45bc58([_0x4e7ec9(0x0,_0x2b6870[_0x2afafa(0x129)])],_0x36cdd8);function _0x130e9c(_0x55044f){'@babel/helpers - typeof';const _0x551133=_0x2afafa;return _0x130e9c=typeof Symbol==_0x551133(0xfc)&&typeof Symbol[_0x551133(0x125)]==_0x551133(0x143)?function(_0x24907c){return typeof _0x24907c;}:function(_0x23864b){const _0x1fdb41=_0x551133;return _0x23864b&&typeof Symbol=='function'&&_0x23864b[_0x1fdb41(0x124)]===Symbol&&_0x23864b!==Symbol[_0x1fdb41(0x10e)]?_0x1fdb41(0x143):typeof _0x23864b;},_0x130e9c(_0x55044f);}function _0x3e5d9d(_0x556e29,_0xcb6d28){const _0x3b4fe8=_0x2afafa;if(_0x130e9c(_0x556e29)!=_0x3b4fe8(0x110)||!_0x556e29)return _0x556e29;var _0x161544;if(typeof Symbol<'u'&&(_0x161544=_0x556e29[Symbol['toPrimitive']])!==void 0x0){var _0x5bffaf=_0x161544[_0x3b4fe8(0x127)](_0x556e29,_0xcb6d28||_0x3b4fe8(0x146));if(_0x130e9c(_0x5bffaf)!='object')return _0x5bffaf;throw TypeError(_0x3b4fe8(0x109));}return(_0xcb6d28===_0x3b4fe8(0x103)?String:Number)(_0x556e29);}function _0x38c905(_0x5de944){const _0x977f91=_0x2afafa;var _0x5bb55f=_0x3e5d9d(_0x5de944,_0x977f91(0x103));return _0x130e9c(_0x5bb55f)==_0x977f91(0x143)?_0x5bb55f:_0x5bb55f+'';}function _0x327e80(_0x1ae843,_0xaa032f,_0x5e68af){const _0x3dbac5=_0x2afafa;return(_0xaa032f=_0x38c905(_0xaa032f))in _0x1ae843?Object[_0x3dbac5(0x121)](_0x1ae843,_0xaa032f,{'value':_0x5e68af,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1ae843[_0xaa032f]=_0x5e68af,_0x1ae843;}let _0x2b2e2c=class extends _0x2b6870[_0x2afafa(0x117)]{constructor(_0x5db03c=_0x6f3327,_0x6fc766,_0x11fa5e){const _0x4f052d=_0x2afafa;super(),this[_0x4f052d(0x14f)]=_0x5db03c,this['_configService']=_0x6fc766,this[_0x4f052d(0x12d)]=_0x11fa5e;let {..._0x31fe93}=(0x0,_0x2b6870[_0x4f052d(0x120)])({},_0x6f3327,this[_0x4f052d(0x14f)]);this[_0x4f052d(0x12c)]['setConfig']('collaboration-client-node.config',_0x31fe93);}[_0x2afafa(0x130)](){const _0x36e7d4=_0x2afafa;this[_0x36e7d4(0x139)]();}[_0x2afafa(0x139)](){const _0x1041cd=_0x2afafa;(0x0,_0x2b6870['registerDependencies'])(this[_0x1041cd(0x12d)],[[_0x364c73[_0x1041cd(0xfe)],{'useClass':_0x36cdd8}]]);}};_0x327e80(_0x2b2e2c,_0x2afafa(0x11f),_0x2afafa(0xf7)),_0x327e80(_0x2b2e2c,'packageName',_0x54b9d8),_0x327e80(_0x2b2e2c,_0x2afafa(0xff),_0x23ebe1),_0x2b2e2c=_0x45bc58([(0x0,_0x2b6870[_0x2afafa(0x13d)])(_0x7c75e[_0x2afafa(0x10b)],_0x364c73[_0x2afafa(0x144)],_0x58149b[_0x2afafa(0x11b)],_0x45eaca['UniverCollaborationClientPlugin']),_0x4e7ec9(0x1,_0x2b6870[_0x2afafa(0x129)]),_0x4e7ec9(0x2,(0x0,_0x2b6870[_0x2afafa(0x113)])(_0x2b6870['Injector']))],_0x2b2e2c);let _0x791d9c=class extends _0x45eaca[_0x2afafa(0x145)]{constructor(_0x5b61ef,_0x468c9d,_0x2f5c09,_0x211cc4,_0x3794bf){const _0x5bda47=_0x2afafa;super(_0x5b61ef,_0x468c9d,_0x2f5c09,_0x211cc4,_0x3794bf);let _0x3b375d=this['_configService'][_0x5bda47(0x112)](_0x45eaca[_0x5bda47(0x10c)]);this[_0x5bda47(0x138)]['registerHTTPInterceptor']({'interceptor':(_0x58e03f,_0x3739e3)=>{const _0x2b5960=_0x5bda47;let _0x5b88ed=_0x58e03f[_0x2b5960(0xf8)];if(_0x3b375d!=null&&_0x3b375d[_0x2b5960(0x10d)]){for(let _0xfca1ca in _0x3b375d['customHeaders'])_0x5b88ed[_0x2b5960(0x133)](_0xfca1ca,_0x3b375d[_0x2b5960(0x10d)][_0xfca1ca]);}return _0x3739e3(_0x58e03f);}});}async[_0x2afafa(0x11e)](_0x48e7d8){const _0xb79001=_0x2afafa;return this[_0xb79001(0x114)](_0x48e7d8);}};_0x791d9c=_0x45bc58([_0x4e7ec9(0x0,(0x0,_0x2b6870[_0x2afafa(0x113)])(_0x2b6870[_0x2afafa(0x100)])),_0x4e7ec9(0x1,(0x0,_0x2b6870[_0x2afafa(0x113)])(_0x364c73['HTTPService'])),_0x4e7ec9(0x2,_0x2b6870[_0x2afafa(0x129)]),_0x4e7ec9(0x3,_0x2b6870[_0x2afafa(0x12a)]),_0x4e7ec9(0x4,_0x58149b[_0x2afafa(0x13a)])],_0x791d9c),Object[_0x2afafa(0x121)](_0x57ef3c,_0x2afafa(0x136),{'enumerable':!0x0,'get':function(){return _0x791d9c;}}),Object[_0x2afafa(0x121)](_0x57ef3c,_0x2afafa(0x102),{'enumerable':!0x0,'get':function(){return _0x2b2e2c;}});}));function _0x4db1(){const _0x135c86=['getConfig','Inject','_doCreateSocket','@univerjs/core','@univerjs-pro/collaboration-client-node','Plugin','UniverProCollaboration','toStringTag','668UqDWOX','UniverCollaborationPlugin','Module','9114eWMVfR','createSocket','pluginName','merge','defineProperty','117TTnGJe','341OjMhVs','constructor','iterator','553510ETOgjJ','call','Disposable','IConfigService','ILogService','UniverCore','_configService','_injector','DisposableCollection','send','onStarting','UniverProLicense','getOwnPropertyDescriptor','set','length','WebSocket','NodeCollaborationSocketService','pipe','_httpService','_registerDependencies','ISnapshotServerService','4120naitGs','next','DependentOn','close','dispose','exports','10287xJsOGS','16225AzxNBk','symbol','UniverNetworkPlugin','CollaborationSocketService','default','UniverProCollaborationClient','share','Observable','rxjs','add','@univerjs-pro/collaboration','12175030mvlDyG','message','_config','405KRbliL','toDisposable','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','headers','@univerjs-pro/license','addEventListener','decorate','function','amd','ISocketService','version','Injector','open','UniverCollaborationClientNodePlugin','string','2778vrptMv','removeEventListener','6400272uECkhL','@univerjs/network','@univerjs-pro/collaboration-client','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','1035AdcXJn','UniverLicensePlugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','customHeaders','prototype','error','object','UniverProCollaborationClientNode'];_0x4db1=function(){return _0x135c86;};return _0x4db1();}
|
|
1
|
+
function _0x80d9(_0x2e3aa,_0x542233){_0x2e3aa=_0x2e3aa-0x10b;const _0x24a3fc=_0x24a3();let _0x80d97=_0x24a3fc[_0x2e3aa];return _0x80d97;}(function(_0x4f827c,_0x495dcc){const _0x345811=_0x80d9,_0x5f5a00=_0x4f827c();while(!![]){try{const _0x3d104e=parseInt(_0x345811(0x123))/0x1*(parseInt(_0x345811(0x150))/0x2)+parseInt(_0x345811(0x157))/0x3*(-parseInt(_0x345811(0x149))/0x4)+parseInt(_0x345811(0x139))/0x5+-parseInt(_0x345811(0x13c))/0x6+-parseInt(_0x345811(0x141))/0x7*(parseInt(_0x345811(0x11b))/0x8)+-parseInt(_0x345811(0x14f))/0x9*(-parseInt(_0x345811(0x112))/0xa)+parseInt(_0x345811(0x12e))/0xb*(-parseInt(_0x345811(0x15f))/0xc);if(_0x3d104e===_0x495dcc)break;else _0x5f5a00['push'](_0x5f5a00['shift']());}catch(_0x4aafb3){_0x5f5a00['push'](_0x5f5a00['shift']());}}}(_0x24a3,0x4fb94),function(_0x1750bc,_0x54e3cf){const _0x2ae5c3=_0x80d9;typeof exports==_0x2ae5c3(0x13b)&&typeof module<'u'?_0x54e3cf(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs')):typeof define=='function'&&define[_0x2ae5c3(0x138)]?define([_0x2ae5c3(0x126),_0x2ae5c3(0x110),_0x2ae5c3(0x162),_0x2ae5c3(0x125),_0x2ae5c3(0x10d),_0x2ae5c3(0x131),'rxjs'],_0x54e3cf):(_0x1750bc=typeof globalThis<'u'?globalThis:_0x1750bc||self,_0x54e3cf(_0x1750bc[_0x2ae5c3(0x135)]={},_0x1750bc[_0x2ae5c3(0x14c)],_0x1750bc[_0x2ae5c3(0x130)],_0x1750bc[_0x2ae5c3(0x153)],_0x1750bc[_0x2ae5c3(0x147)],_0x1750bc[_0x2ae5c3(0x12d)],_0x1750bc[_0x2ae5c3(0x133)]));}(this,function(_0xe08eb,_0x26b81e,_0x399a18,_0x521bf9,_0x51ba76,_0x14dd9c,_0x146c64){const _0x3709ce=_0x80d9;Object[_0x3709ce(0x142)](_0xe08eb,Symbol[_0x3709ce(0x154)],{'value':_0x3709ce(0x140)});var _0xa06070=(_0x25bb82,_0xa1daa0)=>()=>(_0xa1daa0||(_0x25bb82((_0xa1daa0={'exports':{}})[_0x3709ce(0x126)],_0xa1daa0,_0xa1daa0[_0x3709ce(0x126)]),_0x25bb82=null),_0xa1daa0[_0x3709ce(0x126)]),_0x47df93=_0x3709ce(0x15c),_0x18159c=_0x3709ce(0x155);let _0x3e1b8b={};var _0x5f1e16=_0xa06070((_0x4855cb,_0x5e1efa)=>{_0x5e1efa['exports']=function(){const _0x409134=_0x80d9;throw Error(_0x409134(0x144));};})();function _0x55e838(_0x3c19ac,_0x57240c){return function(_0x4aff3a,_0x427342){_0x57240c(_0x4aff3a,_0x427342,_0x3c19ac);};}function _0x166fcd(_0x42ebe7,_0x46a6e9,_0x558b2a,_0x4ec728){const _0x257a39=_0x3709ce;var _0x117c69=arguments[_0x257a39(0x11f)],_0x106aef=_0x117c69<0x3?_0x46a6e9:_0x4ec728===null?_0x4ec728=Object[_0x257a39(0x163)](_0x46a6e9,_0x558b2a):_0x4ec728,_0x589c5b;if(typeof Reflect==_0x257a39(0x13b)&&typeof Reflect[_0x257a39(0x152)]=='function')_0x106aef=Reflect[_0x257a39(0x152)](_0x42ebe7,_0x46a6e9,_0x558b2a,_0x4ec728);else{for(var _0x15a8b7=_0x42ebe7[_0x257a39(0x11f)]-0x1;_0x15a8b7>=0x0;_0x15a8b7--)(_0x589c5b=_0x42ebe7[_0x15a8b7])&&(_0x106aef=(_0x117c69<0x3?_0x589c5b(_0x106aef):_0x117c69>0x3?_0x589c5b(_0x46a6e9,_0x558b2a,_0x106aef):_0x589c5b(_0x46a6e9,_0x558b2a))||_0x106aef);}return _0x117c69>0x3&&_0x106aef&&Object[_0x257a39(0x142)](_0x46a6e9,_0x558b2a,_0x106aef),_0x106aef;}let _0x57495d=class extends _0x51ba76['Disposable']{constructor(_0x53026c){super(),this['_configService']=_0x53026c;}[_0x3709ce(0x15e)](_0x39677d){const _0x196dc2=_0x3709ce;var _0x1994e1;let _0x2e9af2=((_0x1994e1=this[_0x196dc2(0x11d)][_0x196dc2(0x11c)](_0x399a18[_0x196dc2(0x124)]))==null?void 0x0:_0x1994e1['customHeaders'])||{};try{let _0x5c0bfe=new _0x5f1e16[(_0x196dc2(0x118))](_0x39677d,{'headers':{..._0x2e9af2}}),_0x4b3b85=new _0x51ba76[(_0x196dc2(0x10e))]();return{'URL':_0x39677d,'close':(_0x5d0995,_0xdde263)=>{const _0x4a38fc=_0x196dc2;_0x5c0bfe[_0x4a38fc(0x14d)](_0x5d0995,_0xdde263),_0x4b3b85[_0x4a38fc(0x146)]();},'send':_0x1abb42=>{_0x5c0bfe['send'](_0x1abb42);},'open$':new _0x146c64[(_0x196dc2(0x116))](_0x40baec=>{const _0x37a3d8=_0x196dc2;let _0x44b6f3=_0x2e6f64=>_0x40baec['next'](_0x2e6f64);_0x5c0bfe[_0x37a3d8(0x15b)]('open',_0x44b6f3),_0x4b3b85[_0x37a3d8(0x132)]((0x0,_0x51ba76[_0x37a3d8(0x111)])(()=>_0x5c0bfe['removeEventListener'](_0x37a3d8(0x13d),_0x44b6f3)));})[_0x196dc2(0x159)]((0x0,_0x146c64[_0x196dc2(0x13f)])()),'close$':new _0x146c64[(_0x196dc2(0x116))](_0x586cb4=>{const _0x3725b0=_0x196dc2;let _0x535baf=_0x57681d=>_0x586cb4['next'](_0x57681d);_0x5c0bfe[_0x3725b0(0x15b)](_0x3725b0(0x14d),_0x535baf),_0x4b3b85['add']((0x0,_0x51ba76[_0x3725b0(0x111)])(()=>_0x5c0bfe[_0x3725b0(0x128)](_0x3725b0(0x14d),_0x535baf)));})[_0x196dc2(0x159)]((0x0,_0x146c64[_0x196dc2(0x13f)])()),'error$':new _0x146c64[(_0x196dc2(0x116))](_0x55ea88=>{const _0x277995=_0x196dc2;let _0x26bc19=_0x43d48b=>_0x55ea88['next'](_0x43d48b);_0x5c0bfe[_0x277995(0x15b)](_0x277995(0x115),_0x26bc19),_0x4b3b85[_0x277995(0x132)]((0x0,_0x51ba76[_0x277995(0x111)])(()=>_0x5c0bfe[_0x277995(0x128)](_0x277995(0x115),_0x26bc19)));})[_0x196dc2(0x159)]((0x0,_0x146c64[_0x196dc2(0x13f)])()),'message$':new _0x146c64[(_0x196dc2(0x116))](_0x4d3557=>{const _0x41f9cf=_0x196dc2;let _0xe11b2c=_0x563953=>_0x4d3557[_0x41f9cf(0x122)](_0x563953);_0x5c0bfe[_0x41f9cf(0x15b)](_0x41f9cf(0x15a),_0xe11b2c),_0x4b3b85[_0x41f9cf(0x132)]((0x0,_0x51ba76[_0x41f9cf(0x111)])(()=>_0x5c0bfe[_0x41f9cf(0x128)](_0x41f9cf(0x15a),_0xe11b2c)));})['pipe']((0x0,_0x146c64['share'])())};}catch(_0x5c1cc1){return console['error'](_0x5c1cc1),null;}}};_0x57495d=_0x166fcd([_0x55e838(0x0,_0x51ba76[_0x3709ce(0x156)])],_0x57495d);function _0x3ba571(_0x59e21e){'@babel/helpers - typeof';const _0x2782de=_0x3709ce;return _0x3ba571=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x2782de(0x120)?function(_0x1e4dd3){return typeof _0x1e4dd3;}:function(_0x311f00){const _0x31c047=_0x2782de;return _0x311f00&&typeof Symbol=='function'&&_0x311f00[_0x31c047(0x160)]===Symbol&&_0x311f00!==Symbol[_0x31c047(0x11e)]?_0x31c047(0x120):typeof _0x311f00;},_0x3ba571(_0x59e21e);}function _0x224a78(_0x4aabf7,_0x16aec7){const _0x437e00=_0x3709ce;if(_0x3ba571(_0x4aabf7)!=_0x437e00(0x13b)||!_0x4aabf7)return _0x4aabf7;var _0x3e74c8;if(typeof Symbol<'u'&&(_0x3e74c8=_0x4aabf7[Symbol[_0x437e00(0x12f)]])!==void 0x0){var _0x439a70=_0x3e74c8['call'](_0x4aabf7,_0x16aec7||_0x437e00(0x137));if(_0x3ba571(_0x439a70)!=_0x437e00(0x13b))return _0x439a70;throw TypeError(_0x437e00(0x129));}return(_0x16aec7===_0x437e00(0x148)?String:Number)(_0x4aabf7);}function _0x6cf7d(_0xf25e59){const _0x4053a1=_0x3709ce;var _0x2c16e3=_0x224a78(_0xf25e59,_0x4053a1(0x148));return _0x3ba571(_0x2c16e3)==_0x4053a1(0x120)?_0x2c16e3:_0x2c16e3+'';}function _0xf7399(_0x1a71b7,_0x18127e,_0x138150){const _0x29a793=_0x3709ce;return(_0x18127e=_0x6cf7d(_0x18127e))in _0x1a71b7?Object[_0x29a793(0x142)](_0x1a71b7,_0x18127e,{'value':_0x138150,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1a71b7[_0x18127e]=_0x138150,_0x1a71b7;}let _0x2b2ac3=class extends _0x51ba76[_0x3709ce(0x12a)]{constructor(_0x52ffef=_0x3e1b8b,_0x367c82,_0xca4c8e){const _0x3d0454=_0x3709ce;super(),this[_0x3d0454(0x143)]=_0x52ffef,this['_configService']=_0x367c82,this['_injector']=_0xca4c8e;let {..._0x5b1d8a}=(0x0,_0x51ba76['merge'])({},_0x3e1b8b,this[_0x3d0454(0x143)]);this[_0x3d0454(0x11d)]['setConfig'](_0x3d0454(0x12b),_0x5b1d8a);}[_0x3709ce(0x11a)](){this['_registerDependencies']();}[_0x3709ce(0x14e)](){const _0x4f300a=_0x3709ce;(0x0,_0x51ba76['registerDependencies'])(this['_injector'],[[_0x14dd9c[_0x4f300a(0x145)],{'useClass':_0x57495d}]]);}};_0xf7399(_0x2b2ac3,_0x3709ce(0x151),_0x3709ce(0x127)),_0xf7399(_0x2b2ac3,_0x3709ce(0x14b),_0x47df93),_0xf7399(_0x2b2ac3,_0x3709ce(0x119),_0x18159c),_0x2b2ac3=_0x166fcd([(0x0,_0x51ba76[_0x3709ce(0x134)])(_0x521bf9[_0x3709ce(0x114)],_0x14dd9c[_0x3709ce(0x113)],_0x26b81e[_0x3709ce(0x161)],_0x399a18[_0x3709ce(0x117)]),_0x55e838(0x1,_0x51ba76[_0x3709ce(0x156)]),_0x55e838(0x2,(0x0,_0x51ba76['Inject'])(_0x51ba76['Injector']))],_0x2b2ac3);let _0x5c759b=class extends _0x399a18[_0x3709ce(0x10c)]{constructor(_0x3b83af,_0x3f994a,_0x1c602c,_0x5e3855,_0x350d77){const _0x4d4608=_0x3709ce;super(_0x3b83af,_0x3f994a,_0x1c602c,_0x5e3855,_0x350d77);let _0x132a78=this[_0x4d4608(0x11d)]['getConfig'](_0x399a18[_0x4d4608(0x124)]);this[_0x4d4608(0x136)][_0x4d4608(0x158)]({'interceptor':(_0xf68ed3,_0x1719a5)=>{const _0x150ed9=_0x4d4608;let _0x19d924=_0xf68ed3[_0x150ed9(0x10f)];if(_0x132a78!=null&&_0x132a78[_0x150ed9(0x13a)]){for(let _0x4006d0 in _0x132a78[_0x150ed9(0x13a)])_0x19d924['set'](_0x4006d0,_0x132a78['customHeaders'][_0x4006d0]);}return _0x1719a5(_0xf68ed3);}});}async[_0x3709ce(0x15e)](_0x4cce65){return this['_doCreateSocket'](_0x4cce65);}};_0x5c759b=_0x166fcd([_0x55e838(0x0,(0x0,_0x51ba76[_0x3709ce(0x10b)])(_0x51ba76[_0x3709ce(0x13e)])),_0x55e838(0x1,(0x0,_0x51ba76['Inject'])(_0x14dd9c[_0x3709ce(0x15d)])),_0x55e838(0x2,_0x51ba76[_0x3709ce(0x156)]),_0x55e838(0x3,_0x51ba76[_0x3709ce(0x12c)]),_0x55e838(0x4,_0x26b81e[_0x3709ce(0x164)])],_0x5c759b),Object[_0x3709ce(0x142)](_0xe08eb,_0x3709ce(0x121),{'enumerable':!0x0,'get':function(){return _0x5c759b;}}),Object['defineProperty'](_0xe08eb,_0x3709ce(0x14a),{'enumerable':!0x0,'get':function(){return _0x2b2ac3;}});}));function _0x24a3(){const _0x1945a7=['decorate','UniverProLicense','toStringTag','1.5.1','IConfigService','387867zJBXBb','registerHTTPInterceptor','pipe','message','addEventListener','@univerjs-pro/collaboration-client-node','HTTPService','createSocket','21456GOGULX','constructor','UniverCollaborationPlugin','@univerjs-pro/collaboration-client','getOwnPropertyDescriptor','ISnapshotServerService','Inject','CollaborationSocketService','@univerjs/core','DisposableCollection','headers','@univerjs-pro/collaboration','toDisposable','800ghMIAu','UniverNetworkPlugin','UniverLicensePlugin','error','Observable','UniverCollaborationClientPlugin','WebSocket','version','onStarting','24AYKPLh','getConfig','_configService','prototype','length','symbol','NodeCollaborationSocketService','next','1uYoucX','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs-pro/license','exports','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','removeEventListener','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Plugin','collaboration-client-node.config','ILogService','UniverNetwork','2640YkmCLH','toPrimitive','UniverProCollaborationClient','@univerjs/network','add','rxjs','DependentOn','UniverProCollaborationClientNode','_httpService','default','amd','227105WgmVsg','customHeaders','object','1412562dClhEA','open','Injector','share','Module','205730BJfcVh','defineProperty','_config','ws\x20does\x20not\x20work\x20in\x20the\x20browser.\x20Browser\x20clients\x20must\x20use\x20the\x20native\x20WebSocket\x20object','ISocketService','dispose','UniverCore','string','8AxBEwN','UniverCollaborationClientNodePlugin','packageName','UniverProCollaboration','close','_registerDependencies','72396ndmdNK','1297804LFVvnB','pluginName'];_0x24a3=function(){return _0x1945a7;};return _0x24a3();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/collaboration-client-node",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
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.5.
|
|
55
|
-
"@univerjs-pro/collaboration-client": "1.5.
|
|
56
|
-
"@univerjs-pro/license": "1.5.
|
|
57
|
-
"@univerjs/core": "1.5.
|
|
58
|
-
"@univerjs/network": "1.5.
|
|
54
|
+
"@univerjs-pro/collaboration": "1.5.1",
|
|
55
|
+
"@univerjs-pro/collaboration-client": "1.5.1",
|
|
56
|
+
"@univerjs-pro/license": "1.5.1",
|
|
57
|
+
"@univerjs/core": "1.5.1",
|
|
58
|
+
"@univerjs/network": "1.5.1",
|
|
59
59
|
"ws": "8.21.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/ws": "8.18.1",
|
|
63
|
-
"@univerjs-infra/shared": "1.5.
|
|
63
|
+
"@univerjs-infra/shared": "1.5.1",
|
|
64
64
|
"rxjs": "7.8.2",
|
|
65
65
|
"tsrs": "0.23.0-ts7.1.0-beta",
|
|
66
66
|
"vitest": "^5.1.0"
|