@univerjs-pro/collaboration-client-node 1.0.0-alpha.8 → 1.0.0-beta.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 _0x243580=_0x2fd1;(function(_0x4c8673,_0x1869e0){const _0x440fb=_0x2fd1,_0x346f1a=_0x4c8673();while(!![]){try{const _0x8e174c=-parseInt(_0x440fb(0x190))/0x1*(-parseInt(_0x440fb(0x15c))/0x2)+-parseInt(_0x440fb(0x18b))/0x3*(parseInt(_0x440fb(0x191))/0x4)+parseInt(_0x440fb(0x161))/0x5+parseInt(_0x440fb(0x18c))/0x6+-parseInt(_0x440fb(0x186))/0x7*(-parseInt(_0x440fb(0x19a))/0x8)+parseInt(_0x440fb(0x185))/0x9*(parseInt(_0x440fb(0x19b))/0xa)+-parseInt(_0x440fb(0x194))/0xb;if(_0x8e174c===_0x1869e0)break;else _0x346f1a['push'](_0x346f1a['shift']());}catch(_0x44e8c4){_0x346f1a['push'](_0x346f1a['shift']());}}}(_0xb78f,0x7b9d0),Object[_0x243580(0x162)](exports,Symbol['toStringTag'],{'value':_0x243580(0x192)}));function _0xb78f(){const _0x49d896=['onStarting','ISocketService','createSocket','collaboration-client-node.config','Inject','_config','send','ISnapshotServerService','DisposableCollection','registerHTTPInterceptor','open','toDisposable','symbol','_registerDependencies','customHeaders','UniverCollaborationClientNodePlugin','constructor','_httpService','Disposable','getConfig','length','UniverCollaborationPlugin','add','1.0.0-beta.0','UniverLicensePlugin','set','close','next','iterator','11403bTCekh','7XPFmAQ','IConfigService','object','Injector','string','178806aqlaAq','1358118DHRzXf','Observable','Plugin','function','23wACLxs','32xpgmQV','Module','UniverNetworkPlugin','26945556lWrZBE','share','prototype','pipe','default','_injector','6554120GKKNvO','7140cxUBTz','getOwnPropertyDescriptor','@univerjs-pro/collaboration-client-node','addEventListener','setConfig','removeEventListener','call','49814yVQzPx','_configService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','message','_doCreateSocket','4548075EdAzJL','defineProperty','pluginName','decorate','toPrimitive','error','NodeCollaborationSocketService'];_0xb78f=function(){return _0x49d896;};return _0xb78f();}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=_0x243580(0x157),c=_0x243580(0x17f);const l={};function u(_0x498a57,_0xcb1221){return function(_0x2bac66,_0x4f9100){_0xcb1221(_0x2bac66,_0x4f9100,_0x498a57);};}function d(_0x4056ea,_0x2879c1,_0x1c7366,_0x5998b4){const _0x55d3c7=_0x243580;var _0x244c89=arguments[_0x55d3c7(0x17c)],_0x15945=_0x244c89<0x3?_0x2879c1:_0x5998b4===null?_0x5998b4=Object[_0x55d3c7(0x156)](_0x2879c1,_0x1c7366):_0x5998b4,_0x2847be;if(typeof Reflect=='object'&&typeof Reflect[_0x55d3c7(0x164)]==_0x55d3c7(0x18f))_0x15945=Reflect['decorate'](_0x4056ea,_0x2879c1,_0x1c7366,_0x5998b4);else{for(var _0x44c0e7=_0x4056ea[_0x55d3c7(0x17c)]-0x1;_0x44c0e7>=0x0;_0x44c0e7--)(_0x2847be=_0x4056ea[_0x44c0e7])&&(_0x15945=(_0x244c89<0x3?_0x2847be(_0x15945):_0x244c89>0x3?_0x2847be(_0x2879c1,_0x1c7366,_0x15945):_0x2847be(_0x2879c1,_0x1c7366))||_0x15945);}return _0x244c89>0x3&&_0x15945&&Object[_0x55d3c7(0x162)](_0x2879c1,_0x1c7366,_0x15945),_0x15945;}let f=class extends r[_0x243580(0x17a)]{constructor(_0x1b3efe){const _0x2b9d9f=_0x243580;super(),this[_0x2b9d9f(0x15d)]=_0x1b3efe;}['createSocket'](_0x369ca5){const _0x2ff893=_0x243580;var _0x1e39a0;let _0x364e9b=((_0x1e39a0=this[_0x2ff893(0x15d)][_0x2ff893(0x17b)](t[_0x2ff893(0x15e)]))==null?void 0x0:_0x1e39a0[_0x2ff893(0x176)])||{};try{let _0x554c3c=new o['WebSocket'](_0x369ca5,{'headers':{..._0x364e9b}}),_0x821771=new r[(_0x2ff893(0x170))]();return{'URL':_0x369ca5,'close':(_0x316392,_0x2d1960)=>{const _0x39dc2e=_0x2ff893;_0x554c3c[_0x39dc2e(0x182)](_0x316392,_0x2d1960),_0x821771['dispose']();},'send':_0x7f0080=>{const _0x4be711=_0x2ff893;_0x554c3c[_0x4be711(0x16e)](_0x7f0080);},'open$':new a[(_0x2ff893(0x18d))](_0x119107=>{const _0x511eb3=_0x2ff893;let _0x4287e1=_0x8b625d=>_0x119107['next'](_0x8b625d);_0x554c3c[_0x511eb3(0x158)](_0x511eb3(0x172),_0x4287e1),_0x821771[_0x511eb3(0x17e)]((0x0,r[_0x511eb3(0x173)])(()=>_0x554c3c[_0x511eb3(0x15a)](_0x511eb3(0x172),_0x4287e1)));})[_0x2ff893(0x197)]((0x0,a['share'])()),'close$':new a[(_0x2ff893(0x18d))](_0x5ded9b=>{const _0x4b70d2=_0x2ff893;let _0x4e1332=_0x3b1beb=>_0x5ded9b[_0x4b70d2(0x183)](_0x3b1beb);_0x554c3c[_0x4b70d2(0x158)](_0x4b70d2(0x182),_0x4e1332),_0x821771[_0x4b70d2(0x17e)]((0x0,r[_0x4b70d2(0x173)])(()=>_0x554c3c[_0x4b70d2(0x15a)](_0x4b70d2(0x182),_0x4e1332)));})[_0x2ff893(0x197)]((0x0,a['share'])()),'error$':new a[(_0x2ff893(0x18d))](_0x31c106=>{const _0xa929a6=_0x2ff893;let _0x5e3e91=_0xcb5305=>_0x31c106[_0xa929a6(0x183)](_0xcb5305);_0x554c3c[_0xa929a6(0x158)](_0xa929a6(0x166),_0x5e3e91),_0x821771[_0xa929a6(0x17e)]((0x0,r['toDisposable'])(()=>_0x554c3c[_0xa929a6(0x15a)]('error',_0x5e3e91)));})['pipe']((0x0,a[_0x2ff893(0x195)])()),'message$':new a['Observable'](_0x53ee9a=>{const _0x51ad33=_0x2ff893;let _0x12b7a7=_0x55a903=>_0x53ee9a['next'](_0x55a903);_0x554c3c[_0x51ad33(0x158)](_0x51ad33(0x15f),_0x12b7a7),_0x821771[_0x51ad33(0x17e)]((0x0,r[_0x51ad33(0x173)])(()=>_0x554c3c[_0x51ad33(0x15a)](_0x51ad33(0x15f),_0x12b7a7)));})['pipe']((0x0,a[_0x2ff893(0x195)])())};}catch(_0x130aad){return console[_0x2ff893(0x166)](_0x130aad),null;}}};f=d([u(0x0,r[_0x243580(0x187)])],f);function p(_0x4063d3){'@babel/helpers - typeof';const _0x447853=_0x243580;return p=typeof Symbol=='function'&&typeof Symbol[_0x447853(0x184)]==_0x447853(0x174)?function(_0x542def){return typeof _0x542def;}:function(_0x30c6eb){const _0x56aab8=_0x447853;return _0x30c6eb&&typeof Symbol==_0x56aab8(0x18f)&&_0x30c6eb[_0x56aab8(0x178)]===Symbol&&_0x30c6eb!==Symbol[_0x56aab8(0x196)]?'symbol':typeof _0x30c6eb;},p(_0x4063d3);}function m(_0x5b6b9e,_0x7b9720){const _0x1e5f0a=_0x243580;if(p(_0x5b6b9e)!=_0x1e5f0a(0x188)||!_0x5b6b9e)return _0x5b6b9e;var _0x47884c=_0x5b6b9e[Symbol[_0x1e5f0a(0x165)]];if(_0x47884c!==void 0x0){var _0x12c132=_0x47884c[_0x1e5f0a(0x15b)](_0x5b6b9e,_0x7b9720||_0x1e5f0a(0x198));if(p(_0x12c132)!=_0x1e5f0a(0x188))return _0x12c132;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x7b9720==='string'?String:Number)(_0x5b6b9e);}function h(_0x48d707){const _0x740da9=_0x243580;var _0x44f6d9=m(_0x48d707,_0x740da9(0x18a));return p(_0x44f6d9)==_0x740da9(0x174)?_0x44f6d9:_0x44f6d9+'';}function g(_0x8487c9,_0x1912dc,_0x35bead){return(_0x1912dc=h(_0x1912dc))in _0x8487c9?Object['defineProperty'](_0x8487c9,_0x1912dc,{'value':_0x35bead,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x8487c9[_0x1912dc]=_0x35bead,_0x8487c9;}let _=class extends r[_0x243580(0x18e)]{constructor(_0x4cbb02=l,_0xb53873,_0x5b1a00){const _0x36e2e3=_0x243580;super(),this[_0x36e2e3(0x16d)]=_0x4cbb02,this[_0x36e2e3(0x15d)]=_0xb53873,this[_0x36e2e3(0x199)]=_0x5b1a00;let {..._0x8544c5}=(0x0,r['merge'])({},l,this[_0x36e2e3(0x16d)]);this[_0x36e2e3(0x15d)][_0x36e2e3(0x159)](_0x36e2e3(0x16b),_0x8544c5);}[_0x243580(0x168)](){const _0x78773=_0x243580;this[_0x78773(0x175)]();}[_0x243580(0x175)](){const _0x2c164f=_0x243580;(0x0,r['registerDependencies'])(this[_0x2c164f(0x199)],[[i[_0x2c164f(0x169)],{'useClass':f}]]);}};g(_,_0x243580(0x163),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),g(_,'packageName',s),g(_,'version',c),_=d([(0x0,r['DependentOn'])(n[_0x243580(0x180)],i[_0x243580(0x193)],e[_0x243580(0x17d)],t['UniverCollaborationClientPlugin']),u(0x1,r['IConfigService']),u(0x2,(0x0,r[_0x243580(0x16c)])(r[_0x243580(0x189)]))],_);let v=class extends t['CollaborationSocketService']{constructor(_0x2b25b2,_0x411936,_0x1ce98d,_0x3dcace,_0x5b059b){const _0x2af245=_0x243580;super(_0x2b25b2,_0x411936,_0x1ce98d,_0x3dcace,_0x5b059b);let _0x4acf38=this[_0x2af245(0x15d)]['getConfig'](t[_0x2af245(0x15e)]);this[_0x2af245(0x179)][_0x2af245(0x171)]({'interceptor':(_0x4d13c4,_0x56c752)=>{const _0x39fbdb=_0x2af245;let _0x5b661f=_0x4d13c4['headers'];if(_0x4acf38!=null&&_0x4acf38['customHeaders']){for(let _0x7bf623 in _0x4acf38[_0x39fbdb(0x176)])_0x5b661f[_0x39fbdb(0x181)](_0x7bf623,_0x4acf38[_0x39fbdb(0x176)][_0x7bf623]);}return _0x56c752(_0x4d13c4);}});}async[_0x243580(0x16a)](_0x3e23df){const _0x29081d=_0x243580;return this[_0x29081d(0x160)](_0x3e23df);}};function _0x2fd1(_0x510627,_0xcba76f){_0x510627=_0x510627-0x156;const _0xb78fac=_0xb78f();let _0x2fd15a=_0xb78fac[_0x510627];return _0x2fd15a;}v=d([u(0x0,(0x0,r[_0x243580(0x16c)])(r[_0x243580(0x189)])),u(0x1,(0x0,r[_0x243580(0x16c)])(i['HTTPService'])),u(0x2,r[_0x243580(0x187)]),u(0x3,r['ILogService']),u(0x4,e[_0x243580(0x16f)])],v),Object[_0x243580(0x162)](exports,_0x243580(0x167),{'enumerable':!0x0,'get':function(){return v;}}),Object[_0x243580(0x162)](exports,_0x243580(0x177),{'enumerable':!0x0,'get':function(){return _;}});
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3b6ca0=_0x387f;(function(_0x234dd1,_0x56b1d7){const _0x147fb7=_0x387f,_0x55e851=_0x234dd1();while(!![]){try{const _0x24c2bf=-parseInt(_0x147fb7(0x10d))/0x1+-parseInt(_0x147fb7(0xfc))/0x2+-parseInt(_0x147fb7(0xf8))/0x3+parseInt(_0x147fb7(0xe7))/0x4*(parseInt(_0x147fb7(0x10b))/0x5)+parseInt(_0x147fb7(0x107))/0x6*(parseInt(_0x147fb7(0xf7))/0x7)+parseInt(_0x147fb7(0xf4))/0x8+parseInt(_0x147fb7(0xf0))/0x9;if(_0x24c2bf===_0x56b1d7)break;else _0x55e851['push'](_0x55e851['shift']());}catch(_0x333d51){_0x55e851['push'](_0x55e851['shift']());}}}(_0x2cce,0x1d1ae));import{ISnapshotServerService as _0x273df5,UniverCollaborationPlugin as _0x507fb4}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x57ca1b,CollaborationSocketService as _0x1227d2,UniverCollaborationClientPlugin as _0x113637}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x4191f7}from'@univerjs-pro/license';import{DependentOn as _0x1b1156,Disposable as _0x4e0a69,DisposableCollection as _0xfed7b4,IConfigService as _0x3b6310,ILogService as _0x3a20b0,Inject as _0x418e9c,Injector as _0x10c1dd,Plugin as _0x4494c0,merge as _0xbbbd18,registerDependencies as _0x565b92,toDisposable as _0x4ee5bb}from'@univerjs/core';import{HTTPService as _0x245e64,ISocketService as _0x379874,UniverNetworkPlugin as _0x1b40ae}from'@univerjs/network';import{Observable as _0x11449a,share as _0x2d17be}from'rxjs';import{WebSocket as _0x229b7f}from'ws';var C=_0x3b6ca0(0x10f),w=_0x3b6ca0(0xed);const T={};function E(_0x17f717,_0x4d19b0){return function(_0x3b5322,_0x80bde7){_0x4d19b0(_0x3b5322,_0x80bde7,_0x17f717);};}function D(_0x3de28b,_0x5806ba,_0x2b13b7,_0x44bb5d){const _0x3e50aa=_0x3b6ca0;var _0x53e5b0=arguments[_0x3e50aa(0xfb)],_0x5eb9a7=_0x53e5b0<0x3?_0x5806ba:_0x44bb5d===null?_0x44bb5d=Object[_0x3e50aa(0xf6)](_0x5806ba,_0x2b13b7):_0x44bb5d,_0x11b3ec;if(typeof Reflect=='object'&&typeof Reflect[_0x3e50aa(0x106)]==_0x3e50aa(0xf9))_0x5eb9a7=Reflect[_0x3e50aa(0x106)](_0x3de28b,_0x5806ba,_0x2b13b7,_0x44bb5d);else{for(var _0x3a17a2=_0x3de28b[_0x3e50aa(0xfb)]-0x1;_0x3a17a2>=0x0;_0x3a17a2--)(_0x11b3ec=_0x3de28b[_0x3a17a2])&&(_0x5eb9a7=(_0x53e5b0<0x3?_0x11b3ec(_0x5eb9a7):_0x53e5b0>0x3?_0x11b3ec(_0x5806ba,_0x2b13b7,_0x5eb9a7):_0x11b3ec(_0x5806ba,_0x2b13b7))||_0x5eb9a7);}return _0x53e5b0>0x3&&_0x5eb9a7&&Object['defineProperty'](_0x5806ba,_0x2b13b7,_0x5eb9a7),_0x5eb9a7;}let O=class extends _0x4e0a69{constructor(_0x45859f){const _0x3f9f3a=_0x3b6ca0;super(),this[_0x3f9f3a(0xf3)]=_0x45859f;}[_0x3b6ca0(0xea)](_0x350817){const _0x556f5b=_0x3b6ca0;var _0x2de61a;let _0x469e56=((_0x2de61a=this['_configService'][_0x556f5b(0xee)](_0x57ca1b))==null?void 0x0:_0x2de61a[_0x556f5b(0x115)])||{};try{let _0x45e9c8=new _0x229b7f(_0x350817,{'headers':{..._0x469e56}}),_0x18ebd9=new _0xfed7b4();return{'URL':_0x350817,'close':(_0x1a2666,_0x4b8ef9)=>{const _0x227848=_0x556f5b;_0x45e9c8[_0x227848(0x103)](_0x1a2666,_0x4b8ef9),_0x18ebd9[_0x227848(0xf5)]();},'send':_0x47bbbc=>{_0x45e9c8['send'](_0x47bbbc);},'open$':new _0x11449a(_0x566e24=>{const _0x156459=_0x556f5b;let _0x5c2029=_0x512c5a=>_0x566e24[_0x156459(0x104)](_0x512c5a);_0x45e9c8[_0x156459(0x117)](_0x156459(0xec),_0x5c2029),_0x18ebd9['add'](_0x4ee5bb(()=>_0x45e9c8['removeEventListener'](_0x156459(0xec),_0x5c2029)));})['pipe'](_0x2d17be()),'close$':new _0x11449a(_0x139617=>{const _0x3ca06a=_0x556f5b;let _0x4ce0b3=_0x526f85=>_0x139617[_0x3ca06a(0x104)](_0x526f85);_0x45e9c8[_0x3ca06a(0x117)](_0x3ca06a(0x103),_0x4ce0b3),_0x18ebd9['add'](_0x4ee5bb(()=>_0x45e9c8[_0x3ca06a(0xe8)]('close',_0x4ce0b3)));})[_0x556f5b(0xe9)](_0x2d17be()),'error$':new _0x11449a(_0x5de6b9=>{const _0x15ab52=_0x556f5b;let _0x9eacef=_0x592a66=>_0x5de6b9['next'](_0x592a66);_0x45e9c8[_0x15ab52(0x117)](_0x15ab52(0x100),_0x9eacef),_0x18ebd9[_0x15ab52(0xe5)](_0x4ee5bb(()=>_0x45e9c8[_0x15ab52(0xe8)](_0x15ab52(0x100),_0x9eacef)));})[_0x556f5b(0xe9)](_0x2d17be()),'message$':new _0x11449a(_0x2b3fcf=>{const _0x1fa9ae=_0x556f5b;let _0x59a683=_0x4b0f45=>_0x2b3fcf['next'](_0x4b0f45);_0x45e9c8[_0x1fa9ae(0x117)](_0x1fa9ae(0x114),_0x59a683),_0x18ebd9[_0x1fa9ae(0xe5)](_0x4ee5bb(()=>_0x45e9c8['removeEventListener'](_0x1fa9ae(0x114),_0x59a683)));})['pipe'](_0x2d17be())};}catch(_0x41295c){return console[_0x556f5b(0x100)](_0x41295c),null;}}};function _0x387f(_0x3e3329,_0x25026c){_0x3e3329=_0x3e3329-0xe5;const _0x2cce3c=_0x2cce();let _0x387f1a=_0x2cce3c[_0x3e3329];return _0x387f1a;}O=D([E(0x0,_0x3b6310)],O);function _0x2cce(){const _0x1eee20=['default','collaboration-client-node.config','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','message','customHeaders','prototype','addEventListener','packageName','add','call','4lgHyrQ','removeEventListener','pipe','createSocket','defineProperty','open','1.0.0-beta.0','getConfig','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','1211112neAjqn','_injector','string','_configService','650504ZsrKht','dispose','getOwnPropertyDescriptor','49154CCqxjE','580434kHdsAR','function','pluginName','length','18280zcHylc','setConfig','headers','symbol','error','onStarting','_registerDependencies','close','next','_httpService','decorate','12Mfdlmp','version','toPrimitive','_config','973740nxhfVJ','iterator','102841iIBWgv','object','@univerjs-pro/collaboration-client-node','registerHTTPInterceptor'];_0x2cce=function(){return _0x1eee20;};return _0x2cce();}function k(_0x4126f8){'@babel/helpers - typeof';const _0x192d01=_0x3b6ca0;return k=typeof Symbol=='function'&&typeof Symbol[_0x192d01(0x10c)]==_0x192d01(0xff)?function(_0xe3553d){return typeof _0xe3553d;}:function(_0x1fd918){const _0x5032a8=_0x192d01;return _0x1fd918&&typeof Symbol==_0x5032a8(0xf9)&&_0x1fd918['constructor']===Symbol&&_0x1fd918!==Symbol[_0x5032a8(0x116)]?_0x5032a8(0xff):typeof _0x1fd918;},k(_0x4126f8);}function A(_0x39db12,_0x258d7a){const _0x109c17=_0x3b6ca0;if(k(_0x39db12)!=_0x109c17(0x10e)||!_0x39db12)return _0x39db12;var _0x90ac99=_0x39db12[Symbol[_0x109c17(0x109)]];if(_0x90ac99!==void 0x0){var _0x1c3e9a=_0x90ac99[_0x109c17(0xe6)](_0x39db12,_0x258d7a||_0x109c17(0x111));if(k(_0x1c3e9a)!=_0x109c17(0x10e))return _0x1c3e9a;throw TypeError(_0x109c17(0xef));}return(_0x258d7a===_0x109c17(0xf2)?String:Number)(_0x39db12);}function j(_0x31857b){const _0x131c47=_0x3b6ca0;var _0x8d2ba3=A(_0x31857b,_0x131c47(0xf2));return k(_0x8d2ba3)==_0x131c47(0xff)?_0x8d2ba3:_0x8d2ba3+'';}function M(_0x2a65d6,_0x29a12a,_0x542308){const _0x57a349=_0x3b6ca0;return(_0x29a12a=j(_0x29a12a))in _0x2a65d6?Object[_0x57a349(0xeb)](_0x2a65d6,_0x29a12a,{'value':_0x542308,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2a65d6[_0x29a12a]=_0x542308,_0x2a65d6;}let N=class extends _0x4494c0{constructor(_0x171a67=T,_0x3461d5,_0x10c464){const _0x28d3a0=_0x3b6ca0;super(),this[_0x28d3a0(0x10a)]=_0x171a67,this[_0x28d3a0(0xf3)]=_0x3461d5,this[_0x28d3a0(0xf1)]=_0x10c464;let {..._0x2d9c22}=_0xbbbd18({},T,this[_0x28d3a0(0x10a)]);this['_configService'][_0x28d3a0(0xfd)](_0x28d3a0(0x112),_0x2d9c22);}[_0x3b6ca0(0x101)](){const _0x2ca10b=_0x3b6ca0;this[_0x2ca10b(0x102)]();}['_registerDependencies'](){const _0xd8d326=_0x3b6ca0;_0x565b92(this[_0xd8d326(0xf1)],[[_0x379874,{'useClass':O}]]);}};M(N,_0x3b6ca0(0xfa),_0x3b6ca0(0x113)),M(N,_0x3b6ca0(0x118),C),M(N,_0x3b6ca0(0x108),w),N=D([_0x1b1156(_0x4191f7,_0x1b40ae,_0x507fb4,_0x113637),E(0x1,_0x3b6310),E(0x2,_0x418e9c(_0x10c1dd))],N);let P=class extends _0x1227d2{constructor(_0x27d442,_0x1e5594,_0x17f553,_0x59b4ea,_0x59e457){const _0x1a85d2=_0x3b6ca0;super(_0x27d442,_0x1e5594,_0x17f553,_0x59b4ea,_0x59e457);let _0x43bc03=this[_0x1a85d2(0xf3)][_0x1a85d2(0xee)](_0x57ca1b);this[_0x1a85d2(0x105)][_0x1a85d2(0x110)]({'interceptor':(_0x29cb17,_0x2913d3)=>{const _0x581781=_0x1a85d2;let _0xacc05d=_0x29cb17[_0x581781(0xfe)];if(_0x43bc03!=null&&_0x43bc03[_0x581781(0x115)]){for(let _0x18f79c in _0x43bc03[_0x581781(0x115)])_0xacc05d['set'](_0x18f79c,_0x43bc03[_0x581781(0x115)][_0x18f79c]);}return _0x2913d3(_0x29cb17);}});}async[_0x3b6ca0(0xea)](_0x2058c5){return this['_doCreateSocket'](_0x2058c5);}};P=D([E(0x0,_0x418e9c(_0x10c1dd)),E(0x1,_0x418e9c(_0x245e64)),E(0x2,_0x3b6310),E(0x3,_0x3a20b0),E(0x4,_0x273df5)],P);export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3b6ca0=_0x387f;(function(_0x234dd1,_0x56b1d7){const _0x147fb7=_0x387f,_0x55e851=_0x234dd1();while(!![]){try{const _0x24c2bf=-parseInt(_0x147fb7(0x10d))/0x1+-parseInt(_0x147fb7(0xfc))/0x2+-parseInt(_0x147fb7(0xf8))/0x3+parseInt(_0x147fb7(0xe7))/0x4*(parseInt(_0x147fb7(0x10b))/0x5)+parseInt(_0x147fb7(0x107))/0x6*(parseInt(_0x147fb7(0xf7))/0x7)+parseInt(_0x147fb7(0xf4))/0x8+parseInt(_0x147fb7(0xf0))/0x9;if(_0x24c2bf===_0x56b1d7)break;else _0x55e851['push'](_0x55e851['shift']());}catch(_0x333d51){_0x55e851['push'](_0x55e851['shift']());}}}(_0x2cce,0x1d1ae));import{ISnapshotServerService as _0x273df5,UniverCollaborationPlugin as _0x507fb4}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x57ca1b,CollaborationSocketService as _0x1227d2,UniverCollaborationClientPlugin as _0x113637}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x4191f7}from'@univerjs-pro/license';import{DependentOn as _0x1b1156,Disposable as _0x4e0a69,DisposableCollection as _0xfed7b4,IConfigService as _0x3b6310,ILogService as _0x3a20b0,Inject as _0x418e9c,Injector as _0x10c1dd,Plugin as _0x4494c0,merge as _0xbbbd18,registerDependencies as _0x565b92,toDisposable as _0x4ee5bb}from'@univerjs/core';import{HTTPService as _0x245e64,ISocketService as _0x379874,UniverNetworkPlugin as _0x1b40ae}from'@univerjs/network';import{Observable as _0x11449a,share as _0x2d17be}from'rxjs';import{WebSocket as _0x229b7f}from'ws';var C=_0x3b6ca0(0x10f),w=_0x3b6ca0(0xed);const T={};function E(_0x17f717,_0x4d19b0){return function(_0x3b5322,_0x80bde7){_0x4d19b0(_0x3b5322,_0x80bde7,_0x17f717);};}function D(_0x3de28b,_0x5806ba,_0x2b13b7,_0x44bb5d){const _0x3e50aa=_0x3b6ca0;var _0x53e5b0=arguments[_0x3e50aa(0xfb)],_0x5eb9a7=_0x53e5b0<0x3?_0x5806ba:_0x44bb5d===null?_0x44bb5d=Object[_0x3e50aa(0xf6)](_0x5806ba,_0x2b13b7):_0x44bb5d,_0x11b3ec;if(typeof Reflect=='object'&&typeof Reflect[_0x3e50aa(0x106)]==_0x3e50aa(0xf9))_0x5eb9a7=Reflect[_0x3e50aa(0x106)](_0x3de28b,_0x5806ba,_0x2b13b7,_0x44bb5d);else{for(var _0x3a17a2=_0x3de28b[_0x3e50aa(0xfb)]-0x1;_0x3a17a2>=0x0;_0x3a17a2--)(_0x11b3ec=_0x3de28b[_0x3a17a2])&&(_0x5eb9a7=(_0x53e5b0<0x3?_0x11b3ec(_0x5eb9a7):_0x53e5b0>0x3?_0x11b3ec(_0x5806ba,_0x2b13b7,_0x5eb9a7):_0x11b3ec(_0x5806ba,_0x2b13b7))||_0x5eb9a7);}return _0x53e5b0>0x3&&_0x5eb9a7&&Object['defineProperty'](_0x5806ba,_0x2b13b7,_0x5eb9a7),_0x5eb9a7;}let O=class extends _0x4e0a69{constructor(_0x45859f){const _0x3f9f3a=_0x3b6ca0;super(),this[_0x3f9f3a(0xf3)]=_0x45859f;}[_0x3b6ca0(0xea)](_0x350817){const _0x556f5b=_0x3b6ca0;var _0x2de61a;let _0x469e56=((_0x2de61a=this['_configService'][_0x556f5b(0xee)](_0x57ca1b))==null?void 0x0:_0x2de61a[_0x556f5b(0x115)])||{};try{let _0x45e9c8=new _0x229b7f(_0x350817,{'headers':{..._0x469e56}}),_0x18ebd9=new _0xfed7b4();return{'URL':_0x350817,'close':(_0x1a2666,_0x4b8ef9)=>{const _0x227848=_0x556f5b;_0x45e9c8[_0x227848(0x103)](_0x1a2666,_0x4b8ef9),_0x18ebd9[_0x227848(0xf5)]();},'send':_0x47bbbc=>{_0x45e9c8['send'](_0x47bbbc);},'open$':new _0x11449a(_0x566e24=>{const _0x156459=_0x556f5b;let _0x5c2029=_0x512c5a=>_0x566e24[_0x156459(0x104)](_0x512c5a);_0x45e9c8[_0x156459(0x117)](_0x156459(0xec),_0x5c2029),_0x18ebd9['add'](_0x4ee5bb(()=>_0x45e9c8['removeEventListener'](_0x156459(0xec),_0x5c2029)));})['pipe'](_0x2d17be()),'close$':new _0x11449a(_0x139617=>{const _0x3ca06a=_0x556f5b;let _0x4ce0b3=_0x526f85=>_0x139617[_0x3ca06a(0x104)](_0x526f85);_0x45e9c8[_0x3ca06a(0x117)](_0x3ca06a(0x103),_0x4ce0b3),_0x18ebd9['add'](_0x4ee5bb(()=>_0x45e9c8[_0x3ca06a(0xe8)]('close',_0x4ce0b3)));})[_0x556f5b(0xe9)](_0x2d17be()),'error$':new _0x11449a(_0x5de6b9=>{const _0x15ab52=_0x556f5b;let _0x9eacef=_0x592a66=>_0x5de6b9['next'](_0x592a66);_0x45e9c8[_0x15ab52(0x117)](_0x15ab52(0x100),_0x9eacef),_0x18ebd9[_0x15ab52(0xe5)](_0x4ee5bb(()=>_0x45e9c8[_0x15ab52(0xe8)](_0x15ab52(0x100),_0x9eacef)));})[_0x556f5b(0xe9)](_0x2d17be()),'message$':new _0x11449a(_0x2b3fcf=>{const _0x1fa9ae=_0x556f5b;let _0x59a683=_0x4b0f45=>_0x2b3fcf['next'](_0x4b0f45);_0x45e9c8[_0x1fa9ae(0x117)](_0x1fa9ae(0x114),_0x59a683),_0x18ebd9[_0x1fa9ae(0xe5)](_0x4ee5bb(()=>_0x45e9c8['removeEventListener'](_0x1fa9ae(0x114),_0x59a683)));})['pipe'](_0x2d17be())};}catch(_0x41295c){return console[_0x556f5b(0x100)](_0x41295c),null;}}};function _0x387f(_0x3e3329,_0x25026c){_0x3e3329=_0x3e3329-0xe5;const _0x2cce3c=_0x2cce();let _0x387f1a=_0x2cce3c[_0x3e3329];return _0x387f1a;}O=D([E(0x0,_0x3b6310)],O);function _0x2cce(){const _0x1eee20=['default','collaboration-client-node.config','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','message','customHeaders','prototype','addEventListener','packageName','add','call','4lgHyrQ','removeEventListener','pipe','createSocket','defineProperty','open','1.0.0-beta.0','getConfig','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','1211112neAjqn','_injector','string','_configService','650504ZsrKht','dispose','getOwnPropertyDescriptor','49154CCqxjE','580434kHdsAR','function','pluginName','length','18280zcHylc','setConfig','headers','symbol','error','onStarting','_registerDependencies','close','next','_httpService','decorate','12Mfdlmp','version','toPrimitive','_config','973740nxhfVJ','iterator','102841iIBWgv','object','@univerjs-pro/collaboration-client-node','registerHTTPInterceptor'];_0x2cce=function(){return _0x1eee20;};return _0x2cce();}function k(_0x4126f8){'@babel/helpers - typeof';const _0x192d01=_0x3b6ca0;return k=typeof Symbol=='function'&&typeof Symbol[_0x192d01(0x10c)]==_0x192d01(0xff)?function(_0xe3553d){return typeof _0xe3553d;}:function(_0x1fd918){const _0x5032a8=_0x192d01;return _0x1fd918&&typeof Symbol==_0x5032a8(0xf9)&&_0x1fd918['constructor']===Symbol&&_0x1fd918!==Symbol[_0x5032a8(0x116)]?_0x5032a8(0xff):typeof _0x1fd918;},k(_0x4126f8);}function A(_0x39db12,_0x258d7a){const _0x109c17=_0x3b6ca0;if(k(_0x39db12)!=_0x109c17(0x10e)||!_0x39db12)return _0x39db12;var _0x90ac99=_0x39db12[Symbol[_0x109c17(0x109)]];if(_0x90ac99!==void 0x0){var _0x1c3e9a=_0x90ac99[_0x109c17(0xe6)](_0x39db12,_0x258d7a||_0x109c17(0x111));if(k(_0x1c3e9a)!=_0x109c17(0x10e))return _0x1c3e9a;throw TypeError(_0x109c17(0xef));}return(_0x258d7a===_0x109c17(0xf2)?String:Number)(_0x39db12);}function j(_0x31857b){const _0x131c47=_0x3b6ca0;var _0x8d2ba3=A(_0x31857b,_0x131c47(0xf2));return k(_0x8d2ba3)==_0x131c47(0xff)?_0x8d2ba3:_0x8d2ba3+'';}function M(_0x2a65d6,_0x29a12a,_0x542308){const _0x57a349=_0x3b6ca0;return(_0x29a12a=j(_0x29a12a))in _0x2a65d6?Object[_0x57a349(0xeb)](_0x2a65d6,_0x29a12a,{'value':_0x542308,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2a65d6[_0x29a12a]=_0x542308,_0x2a65d6;}let N=class extends _0x4494c0{constructor(_0x171a67=T,_0x3461d5,_0x10c464){const _0x28d3a0=_0x3b6ca0;super(),this[_0x28d3a0(0x10a)]=_0x171a67,this[_0x28d3a0(0xf3)]=_0x3461d5,this[_0x28d3a0(0xf1)]=_0x10c464;let {..._0x2d9c22}=_0xbbbd18({},T,this[_0x28d3a0(0x10a)]);this['_configService'][_0x28d3a0(0xfd)](_0x28d3a0(0x112),_0x2d9c22);}[_0x3b6ca0(0x101)](){const _0x2ca10b=_0x3b6ca0;this[_0x2ca10b(0x102)]();}['_registerDependencies'](){const _0xd8d326=_0x3b6ca0;_0x565b92(this[_0xd8d326(0xf1)],[[_0x379874,{'useClass':O}]]);}};M(N,_0x3b6ca0(0xfa),_0x3b6ca0(0x113)),M(N,_0x3b6ca0(0x118),C),M(N,_0x3b6ca0(0x108),w),N=D([_0x1b1156(_0x4191f7,_0x1b40ae,_0x507fb4,_0x113637),E(0x1,_0x3b6310),E(0x2,_0x418e9c(_0x10c1dd))],N);let P=class extends _0x1227d2{constructor(_0x27d442,_0x1e5594,_0x17f553,_0x59b4ea,_0x59e457){const _0x1a85d2=_0x3b6ca0;super(_0x27d442,_0x1e5594,_0x17f553,_0x59b4ea,_0x59e457);let _0x43bc03=this[_0x1a85d2(0xf3)][_0x1a85d2(0xee)](_0x57ca1b);this[_0x1a85d2(0x105)][_0x1a85d2(0x110)]({'interceptor':(_0x29cb17,_0x2913d3)=>{const _0x581781=_0x1a85d2;let _0xacc05d=_0x29cb17[_0x581781(0xfe)];if(_0x43bc03!=null&&_0x43bc03[_0x581781(0x115)]){for(let _0x18f79c in _0x43bc03[_0x581781(0x115)])_0xacc05d['set'](_0x18f79c,_0x43bc03[_0x581781(0x115)][_0x18f79c]);}return _0x2913d3(_0x29cb17);}});}async[_0x3b6ca0(0xea)](_0x2058c5){return this['_doCreateSocket'](_0x2058c5);}};P=D([E(0x0,_0x418e9c(_0x10c1dd)),E(0x1,_0x418e9c(_0x245e64)),E(0x2,_0x3b6310),E(0x3,_0x3a20b0),E(0x4,_0x273df5)],P);export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5343(_0x1f4e5a,_0x29df12){_0x1f4e5a=_0x1f4e5a-0xe8;const _0x1e480d=_0x1e48();let _0x5343cf=_0x1e480d[_0x1f4e5a];return _0x5343cf;}function _0x1e48(){const _0xb3db89=['ILogService','_config','createSocket','toDisposable','pipe','constructor','3069NfTdub','_injector','share','next','add','DisposableCollection','Injector','error','Observable','HTTPService','UniverCore','object','IConfigService','_registerDependencies','15jvgJLq','ws\x20does\x20not\x20work\x20in\x20the\x20browser.\x20Browser\x20clients\x20must\x20use\x20the\x20native\x20WebSocket\x20object','registerHTTPInterceptor','exports','setConfig','1.0.0-alpha.8','57260UnRibU','defineProperty','Disposable','dispose','WebSocket','getConfig','4220304KLZEXp','ISnapshotServerService','set','message','addEventListener','3918928RGVZCP','amd','@univerjs/network','collaboration-client-node.config','ISocketService','1835811DmCfEe','505964ZpqAgb','string','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','headers','rxjs','close','UniverProLicense','90ForKwW','call','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','length','Plugin','UniverNetworkPlugin','UniverCollaborationPlugin','@univerjs/core','removeEventListener','UniverNetwork','UniverProCollaborationClient','function','@univerjs-pro/collaboration-client-node','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','6522194OaNiEa','pluginName','_doCreateSocket','merge','customHeaders','28584oAKPnw','getOwnPropertyDescriptor','open','_configService','Inject','decorate','symbol','UniverProCollaborationClientNode','@univerjs-pro/collaboration'];_0x1e48=function(){return _0xb3db89;};return _0x1e48();}(function(_0x167937,_0x10b1b5){const _0x44fe39=_0x5343,_0xa60000=_0x167937();while(!![]){try{const _0xb634a1=-parseInt(_0x44fe39(0x12a))/0x1*(parseInt(_0x44fe39(0x117))/0x2)+-parseInt(_0x44fe39(0x10f))/0x3+parseInt(_0x44fe39(0x110))/0x4*(parseInt(_0x44fe39(0xf9))/0x5)+parseInt(_0x44fe39(0x105))/0x6+-parseInt(_0x44fe39(0x125))/0x7+parseInt(_0x44fe39(0x10a))/0x8+-parseInt(_0x44fe39(0xeb))/0x9*(-parseInt(_0x44fe39(0xff))/0xa);if(_0xb634a1===_0x10b1b5)break;else _0xa60000['push'](_0xa60000['shift']());}catch(_0x117bd4){_0xa60000['push'](_0xa60000['shift']());}}}(_0x1e48,0xa9c22),function(_0x366c28,_0x253f60){const _0x2764e0=_0x5343;typeof exports==_0x2764e0(0xf6)&&typeof module<'u'?_0x253f60(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[_0x2764e0(0x10b)]?define(['exports',_0x2764e0(0x132),'@univerjs-pro/collaboration-client','@univerjs-pro/license',_0x2764e0(0x11e),_0x2764e0(0x10c),_0x2764e0(0x114)],_0x253f60):(_0x366c28=typeof globalThis<'u'?globalThis:_0x366c28||self,_0x253f60(_0x366c28[_0x2764e0(0x131)]={},_0x366c28['UniverProCollaboration'],_0x366c28[_0x2764e0(0x121)],_0x366c28[_0x2764e0(0x116)],_0x366c28[_0x2764e0(0xf5)],_0x366c28[_0x2764e0(0x120)],_0x366c28[_0x2764e0(0x114)]));}(this,function(_0x4eb2d7,_0x313316,_0x2f2bab,_0x4425a0,_0x14091b,_0x579e63,_0x54977b){const _0x21f81a=_0x5343;Object[_0x21f81a(0x100)](_0x4eb2d7,Symbol['toStringTag'],{'value':'Module'});var _0x62281b=(_0x96fbd9,_0x326127)=>()=>(_0x326127||(_0x96fbd9((_0x326127={'exports':{}})[_0x21f81a(0xfc)],_0x326127),_0x96fbd9=null),_0x326127[_0x21f81a(0xfc)]),_0x5c05e7=_0x21f81a(0x123),_0x44e493=_0x21f81a(0xfe);let _0x1dd696={};var _0x3823d2=_0x62281b((_0x4c8815,_0x2f23ad)=>{const _0x4a0b00=_0x21f81a;_0x2f23ad[_0x4a0b00(0xfc)]=function(){const _0x42a174=_0x4a0b00;throw Error(_0x42a174(0xfa));};})();function _0x1bfc97(_0x4f303d,_0x3a6665){return function(_0x36dfe0,_0x44dc7f){_0x3a6665(_0x36dfe0,_0x44dc7f,_0x4f303d);};}function _0x2189bf(_0x2a8870,_0x193438,_0x256ddb,_0x283e41){const _0x31cc03=_0x21f81a;var _0x443a30=arguments[_0x31cc03(0x11a)],_0x222795=_0x443a30<0x3?_0x193438:_0x283e41===null?_0x283e41=Object[_0x31cc03(0x12b)](_0x193438,_0x256ddb):_0x283e41,_0x285bf0;if(typeof Reflect==_0x31cc03(0xf6)&&typeof Reflect['decorate']=='function')_0x222795=Reflect[_0x31cc03(0x12f)](_0x2a8870,_0x193438,_0x256ddb,_0x283e41);else{for(var _0x93ab57=_0x2a8870[_0x31cc03(0x11a)]-0x1;_0x93ab57>=0x0;_0x93ab57--)(_0x285bf0=_0x2a8870[_0x93ab57])&&(_0x222795=(_0x443a30<0x3?_0x285bf0(_0x222795):_0x443a30>0x3?_0x285bf0(_0x193438,_0x256ddb,_0x222795):_0x285bf0(_0x193438,_0x256ddb))||_0x222795);}return _0x443a30>0x3&&_0x222795&&Object['defineProperty'](_0x193438,_0x256ddb,_0x222795),_0x222795;}let _0x4c2a0c=class extends _0x14091b[_0x21f81a(0x101)]{constructor(_0x3113a1){const _0x22f2b5=_0x21f81a;super(),this[_0x22f2b5(0x12d)]=_0x3113a1;}[_0x21f81a(0x135)](_0x43b667){const _0xd233b1=_0x21f81a;var _0x49cb97;let _0xb28b85=((_0x49cb97=this['_configService'][_0xd233b1(0x104)](_0x2f2bab[_0xd233b1(0x124)]))==null?void 0x0:_0x49cb97['customHeaders'])||{};try{let _0x432375=new _0x3823d2[(_0xd233b1(0x103))](_0x43b667,{'headers':{..._0xb28b85}}),_0x4aae09=new _0x14091b[(_0xd233b1(0xf0))]();return{'URL':_0x43b667,'close':(_0x500d87,_0x383e72)=>{const _0x425607=_0xd233b1;_0x432375[_0x425607(0x115)](_0x500d87,_0x383e72),_0x4aae09[_0x425607(0x102)]();},'send':_0x46482c=>{_0x432375['send'](_0x46482c);},'open$':new _0x54977b['Observable'](_0x2b9946=>{const _0x139d4f=_0xd233b1;let _0x4a1cd4=_0x309a3a=>_0x2b9946[_0x139d4f(0xee)](_0x309a3a);_0x432375[_0x139d4f(0x109)](_0x139d4f(0x12c),_0x4a1cd4),_0x4aae09[_0x139d4f(0xef)]((0x0,_0x14091b['toDisposable'])(()=>_0x432375[_0x139d4f(0x11f)](_0x139d4f(0x12c),_0x4a1cd4)));})['pipe']((0x0,_0x54977b[_0xd233b1(0xed)])()),'close$':new _0x54977b[(_0xd233b1(0xf3))](_0x3ade60=>{const _0x50cb0c=_0xd233b1;let _0x440e92=_0x1aafd2=>_0x3ade60[_0x50cb0c(0xee)](_0x1aafd2);_0x432375[_0x50cb0c(0x109)](_0x50cb0c(0x115),_0x440e92),_0x4aae09[_0x50cb0c(0xef)]((0x0,_0x14091b[_0x50cb0c(0xe8)])(()=>_0x432375[_0x50cb0c(0x11f)](_0x50cb0c(0x115),_0x440e92)));})[_0xd233b1(0xe9)]((0x0,_0x54977b[_0xd233b1(0xed)])()),'error$':new _0x54977b['Observable'](_0x3b201d=>{const _0x42a517=_0xd233b1;let _0x2d3c5c=_0x2e91f0=>_0x3b201d[_0x42a517(0xee)](_0x2e91f0);_0x432375[_0x42a517(0x109)]('error',_0x2d3c5c),_0x4aae09['add']((0x0,_0x14091b[_0x42a517(0xe8)])(()=>_0x432375[_0x42a517(0x11f)]('error',_0x2d3c5c)));})[_0xd233b1(0xe9)]((0x0,_0x54977b[_0xd233b1(0xed)])()),'message$':new _0x54977b[(_0xd233b1(0xf3))](_0x1b4ccb=>{const _0x37be03=_0xd233b1;let _0x4d9bd3=_0x467f7f=>_0x1b4ccb[_0x37be03(0xee)](_0x467f7f);_0x432375[_0x37be03(0x109)](_0x37be03(0x108),_0x4d9bd3),_0x4aae09['add']((0x0,_0x14091b[_0x37be03(0xe8)])(()=>_0x432375[_0x37be03(0x11f)](_0x37be03(0x108),_0x4d9bd3)));})['pipe']((0x0,_0x54977b[_0xd233b1(0xed)])())};}catch(_0x50bbe6){return console[_0xd233b1(0xf2)](_0x50bbe6),null;}}};_0x4c2a0c=_0x2189bf([_0x1bfc97(0x0,_0x14091b[_0x21f81a(0xf7)])],_0x4c2a0c);function _0x48900e(_0x47cc31){'@babel/helpers - typeof';const _0x4fd0a3=_0x21f81a;return _0x48900e=typeof Symbol==_0x4fd0a3(0x122)&&typeof Symbol['iterator']==_0x4fd0a3(0x130)?function(_0xe2dfd3){return typeof _0xe2dfd3;}:function(_0x528d88){const _0x5cddbb=_0x4fd0a3;return _0x528d88&&typeof Symbol==_0x5cddbb(0x122)&&_0x528d88[_0x5cddbb(0xea)]===Symbol&&_0x528d88!==Symbol['prototype']?_0x5cddbb(0x130):typeof _0x528d88;},_0x48900e(_0x47cc31);}function _0x3c1d45(_0x310d35,_0x2cade1){const _0x2d248a=_0x21f81a;if(_0x48900e(_0x310d35)!=_0x2d248a(0xf6)||!_0x310d35)return _0x310d35;var _0x1a1258=_0x310d35[Symbol['toPrimitive']];if(_0x1a1258!==void 0x0){var _0x1e4ffa=_0x1a1258[_0x2d248a(0x118)](_0x310d35,_0x2cade1||'default');if(_0x48900e(_0x1e4ffa)!=_0x2d248a(0xf6))return _0x1e4ffa;throw TypeError(_0x2d248a(0x112));}return(_0x2cade1===_0x2d248a(0x111)?String:Number)(_0x310d35);}function _0x5390cf(_0x36a79e){const _0x58f1f0=_0x21f81a;var _0x342af2=_0x3c1d45(_0x36a79e,_0x58f1f0(0x111));return _0x48900e(_0x342af2)=='symbol'?_0x342af2:_0x342af2+'';}function _0x14b7e2(_0x581d16,_0xbe501e,_0x59bea9){const _0x300d4a=_0x21f81a;return(_0xbe501e=_0x5390cf(_0xbe501e))in _0x581d16?Object[_0x300d4a(0x100)](_0x581d16,_0xbe501e,{'value':_0x59bea9,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x581d16[_0xbe501e]=_0x59bea9,_0x581d16;}let _0x944d09=class extends _0x14091b[_0x21f81a(0x11b)]{constructor(_0x3bdefd=_0x1dd696,_0x1bac7e,_0x55850e){const _0x5acbd1=_0x21f81a;super(),this[_0x5acbd1(0x134)]=_0x3bdefd,this[_0x5acbd1(0x12d)]=_0x1bac7e,this[_0x5acbd1(0xec)]=_0x55850e;let {..._0x3ddb9a}=(0x0,_0x14091b[_0x5acbd1(0x128)])({},_0x1dd696,this[_0x5acbd1(0x134)]);this[_0x5acbd1(0x12d)][_0x5acbd1(0xfd)](_0x5acbd1(0x10d),_0x3ddb9a);}['onStarting'](){const _0x542b6b=_0x21f81a;this[_0x542b6b(0xf8)]();}[_0x21f81a(0xf8)](){const _0x13401c=_0x21f81a;(0x0,_0x14091b['registerDependencies'])(this[_0x13401c(0xec)],[[_0x579e63[_0x13401c(0x10e)],{'useClass':_0x4c2a0c}]]);}};_0x14b7e2(_0x944d09,_0x21f81a(0x126),_0x21f81a(0x119)),_0x14b7e2(_0x944d09,'packageName',_0x5c05e7),_0x14b7e2(_0x944d09,'version',_0x44e493),_0x944d09=_0x2189bf([(0x0,_0x14091b['DependentOn'])(_0x4425a0['UniverLicensePlugin'],_0x579e63[_0x21f81a(0x11c)],_0x313316[_0x21f81a(0x11d)],_0x2f2bab['UniverCollaborationClientPlugin']),_0x1bfc97(0x1,_0x14091b[_0x21f81a(0xf7)]),_0x1bfc97(0x2,(0x0,_0x14091b[_0x21f81a(0x12e)])(_0x14091b[_0x21f81a(0xf1)]))],_0x944d09);let _0x5a824c=class extends _0x2f2bab['CollaborationSocketService']{constructor(_0x19beec,_0x34cc32,_0x2eb34b,_0x2670d4,_0x58d98e){const _0x235d4b=_0x21f81a;super(_0x19beec,_0x34cc32,_0x2eb34b,_0x2670d4,_0x58d98e);let _0x3a7c68=this[_0x235d4b(0x12d)][_0x235d4b(0x104)](_0x2f2bab['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']);this['_httpService'][_0x235d4b(0xfb)]({'interceptor':(_0x4d3b21,_0x4d7fd9)=>{const _0x9e07af=_0x235d4b;let _0x4b0c35=_0x4d3b21[_0x9e07af(0x113)];if(_0x3a7c68!=null&&_0x3a7c68[_0x9e07af(0x129)]){for(let _0x2c1225 in _0x3a7c68[_0x9e07af(0x129)])_0x4b0c35[_0x9e07af(0x107)](_0x2c1225,_0x3a7c68['customHeaders'][_0x2c1225]);}return _0x4d7fd9(_0x4d3b21);}});}async['createSocket'](_0x184be8){const _0x5efe89=_0x21f81a;return this[_0x5efe89(0x127)](_0x184be8);}};_0x5a824c=_0x2189bf([_0x1bfc97(0x0,(0x0,_0x14091b[_0x21f81a(0x12e)])(_0x14091b['Injector'])),_0x1bfc97(0x1,(0x0,_0x14091b[_0x21f81a(0x12e)])(_0x579e63[_0x21f81a(0xf4)])),_0x1bfc97(0x2,_0x14091b[_0x21f81a(0xf7)]),_0x1bfc97(0x3,_0x14091b[_0x21f81a(0x133)]),_0x1bfc97(0x4,_0x313316[_0x21f81a(0x106)])],_0x5a824c),Object[_0x21f81a(0x100)](_0x4eb2d7,'NodeCollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x5a824c;}}),Object[_0x21f81a(0x100)](_0x4eb2d7,'UniverCollaborationClientNodePlugin',{'enumerable':!0x0,'get':function(){return _0x944d09;}});}));
|
|
1
|
+
(function(_0x4d123b,_0x1ae7ed){const _0x4eb133=_0x5a67,_0x12b85b=_0x4d123b();while(!![]){try{const _0x212b88=-parseInt(_0x4eb133(0x243))/0x1*(-parseInt(_0x4eb133(0x222))/0x2)+-parseInt(_0x4eb133(0x23e))/0x3*(-parseInt(_0x4eb133(0x1f9))/0x4)+-parseInt(_0x4eb133(0x1fb))/0x5*(parseInt(_0x4eb133(0x1fc))/0x6)+parseInt(_0x4eb133(0x22b))/0x7*(-parseInt(_0x4eb133(0x248))/0x8)+-parseInt(_0x4eb133(0x22a))/0x9+-parseInt(_0x4eb133(0x247))/0xa*(-parseInt(_0x4eb133(0x23b))/0xb)+parseInt(_0x4eb133(0x21e))/0xc;if(_0x212b88===_0x1ae7ed)break;else _0x12b85b['push'](_0x12b85b['shift']());}catch(_0x6e0f8c){_0x12b85b['push'](_0x12b85b['shift']());}}}(_0x1112,0x29400),function(_0x4ce2de,_0x2d6272){const _0x5b312e=_0x5a67;typeof exports==_0x5b312e(0x244)&&typeof module<'u'?_0x2d6272(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs')):typeof define==_0x5b312e(0x203)&&define['amd']?define(['exports','@univerjs-pro/collaboration',_0x5b312e(0x227),_0x5b312e(0x21d),_0x5b312e(0x229),_0x5b312e(0x209),_0x5b312e(0x228)],_0x2d6272):(_0x4ce2de=typeof globalThis<'u'?globalThis:_0x4ce2de||self,_0x2d6272(_0x4ce2de[_0x5b312e(0x237)]={},_0x4ce2de['UniverProCollaboration'],_0x4ce2de[_0x5b312e(0x219)],_0x4ce2de[_0x5b312e(0x233)],_0x4ce2de['UniverCore'],_0x4ce2de[_0x5b312e(0x210)],_0x4ce2de[_0x5b312e(0x228)]));}(this,function(_0x580277,_0x697832,_0x34fe81,_0x465a1a,_0x1702ca,_0x402637,_0x1c089e){const _0x4dde1e=_0x5a67;Object[_0x4dde1e(0x21b)](_0x580277,Symbol[_0x4dde1e(0x206)],{'value':'Module'});var _0x2a8632=(_0x271cbc,_0x49c5cf)=>()=>(_0x49c5cf||(_0x271cbc((_0x49c5cf={'exports':{}})[_0x4dde1e(0x1fd)],_0x49c5cf),_0x271cbc=null),_0x49c5cf[_0x4dde1e(0x1fd)]),_0x39afe9=_0x4dde1e(0x1f6),_0x2c4d4c=_0x4dde1e(0x21a);let _0x1466f7={};var _0x3add2b=_0x2a8632((_0x68d9a0,_0x535fc6)=>{_0x535fc6['exports']=function(){const _0x338bd2=_0x5a67;throw Error(_0x338bd2(0x1ff));};})();function _0xbb7d3a(_0x60469d,_0x453eae){return function(_0x2daaa8,_0x220556){_0x453eae(_0x2daaa8,_0x220556,_0x60469d);};}function _0x29dba9(_0x47ff48,_0x267978,_0x1877bc,_0x2bdf8c){const _0x242751=_0x4dde1e;var _0xc85e74=arguments[_0x242751(0x22d)],_0x27aa2b=_0xc85e74<0x3?_0x267978:_0x2bdf8c===null?_0x2bdf8c=Object['getOwnPropertyDescriptor'](_0x267978,_0x1877bc):_0x2bdf8c,_0x42a258;if(typeof Reflect==_0x242751(0x244)&&typeof Reflect[_0x242751(0x202)]==_0x242751(0x203))_0x27aa2b=Reflect[_0x242751(0x202)](_0x47ff48,_0x267978,_0x1877bc,_0x2bdf8c);else{for(var _0x4ce2e3=_0x47ff48[_0x242751(0x22d)]-0x1;_0x4ce2e3>=0x0;_0x4ce2e3--)(_0x42a258=_0x47ff48[_0x4ce2e3])&&(_0x27aa2b=(_0xc85e74<0x3?_0x42a258(_0x27aa2b):_0xc85e74>0x3?_0x42a258(_0x267978,_0x1877bc,_0x27aa2b):_0x42a258(_0x267978,_0x1877bc))||_0x27aa2b);}return _0xc85e74>0x3&&_0x27aa2b&&Object[_0x242751(0x21b)](_0x267978,_0x1877bc,_0x27aa2b),_0x27aa2b;}let _0x177232=class extends _0x1702ca[_0x4dde1e(0x224)]{constructor(_0x330e31){const _0x201d4c=_0x4dde1e;super(),this[_0x201d4c(0x240)]=_0x330e31;}[_0x4dde1e(0x232)](_0x5da254){const _0x4a9a59=_0x4dde1e;var _0x9b9550;let _0x437608=((_0x9b9550=this[_0x4a9a59(0x240)][_0x4a9a59(0x214)](_0x34fe81[_0x4a9a59(0x207)]))==null?void 0x0:_0x9b9550[_0x4a9a59(0x234)])||{};try{let _0x4468e9=new _0x3add2b[(_0x4a9a59(0x215))](_0x5da254,{'headers':{..._0x437608}}),_0x4c4db9=new _0x1702ca[(_0x4a9a59(0x226))]();return{'URL':_0x5da254,'close':(_0x539b22,_0x2314dd)=>{const _0x4b82aa=_0x4a9a59;_0x4468e9[_0x4b82aa(0x241)](_0x539b22,_0x2314dd),_0x4c4db9[_0x4b82aa(0x1f8)]();},'send':_0x194570=>{_0x4468e9['send'](_0x194570);},'open$':new _0x1c089e[(_0x4a9a59(0x201))](_0x16e40f=>{const _0x3d7436=_0x4a9a59;let _0x25e0b5=_0x348368=>_0x16e40f['next'](_0x348368);_0x4468e9[_0x3d7436(0x235)](_0x3d7436(0x221),_0x25e0b5),_0x4c4db9[_0x3d7436(0x236)]((0x0,_0x1702ca[_0x3d7436(0x1f4)])(()=>_0x4468e9[_0x3d7436(0x230)]('open',_0x25e0b5)));})[_0x4a9a59(0x238)]((0x0,_0x1c089e['share'])()),'close$':new _0x1c089e[(_0x4a9a59(0x201))](_0x476b4b=>{const _0x5b6b08=_0x4a9a59;let _0x176cdf=_0x4587d4=>_0x476b4b[_0x5b6b08(0x211)](_0x4587d4);_0x4468e9[_0x5b6b08(0x235)](_0x5b6b08(0x241),_0x176cdf),_0x4c4db9[_0x5b6b08(0x236)]((0x0,_0x1702ca[_0x5b6b08(0x1f4)])(()=>_0x4468e9['removeEventListener'](_0x5b6b08(0x241),_0x176cdf)));})[_0x4a9a59(0x238)]((0x0,_0x1c089e['share'])()),'error$':new _0x1c089e[(_0x4a9a59(0x201))](_0x336626=>{const _0x5948de=_0x4a9a59;let _0x2d0942=_0x100cad=>_0x336626[_0x5948de(0x211)](_0x100cad);_0x4468e9[_0x5948de(0x235)](_0x5948de(0x223),_0x2d0942),_0x4c4db9[_0x5948de(0x236)]((0x0,_0x1702ca['toDisposable'])(()=>_0x4468e9[_0x5948de(0x230)](_0x5948de(0x223),_0x2d0942)));})['pipe']((0x0,_0x1c089e['share'])()),'message$':new _0x1c089e[(_0x4a9a59(0x201))](_0x2cff9b=>{const _0x2ed290=_0x4a9a59;let _0x5c83b4=_0x3ced2b=>_0x2cff9b[_0x2ed290(0x211)](_0x3ced2b);_0x4468e9[_0x2ed290(0x235)](_0x2ed290(0x231),_0x5c83b4),_0x4c4db9[_0x2ed290(0x236)]((0x0,_0x1702ca[_0x2ed290(0x1f4)])(()=>_0x4468e9[_0x2ed290(0x230)](_0x2ed290(0x231),_0x5c83b4)));})['pipe']((0x0,_0x1c089e[_0x4a9a59(0x21f)])())};}catch(_0x52e99b){return console[_0x4a9a59(0x223)](_0x52e99b),null;}}};_0x177232=_0x29dba9([_0xbb7d3a(0x0,_0x1702ca['IConfigService'])],_0x177232);function _0x18b8f2(_0x1976ed){'@babel/helpers - typeof';const _0x74c715=_0x4dde1e;return _0x18b8f2=typeof Symbol==_0x74c715(0x203)&&typeof Symbol[_0x74c715(0x1f3)]==_0x74c715(0x218)?function(_0x11da27){return typeof _0x11da27;}:function(_0x2f4a46){const _0x3b7c7a=_0x74c715;return _0x2f4a46&&typeof Symbol==_0x3b7c7a(0x203)&&_0x2f4a46['constructor']===Symbol&&_0x2f4a46!==Symbol['prototype']?'symbol':typeof _0x2f4a46;},_0x18b8f2(_0x1976ed);}function _0x546b28(_0x358534,_0x2eb63d){const _0x1606ee=_0x4dde1e;if(_0x18b8f2(_0x358534)!='object'||!_0x358534)return _0x358534;var _0x24059b=_0x358534[Symbol[_0x1606ee(0x217)]];if(_0x24059b!==void 0x0){var _0x2cd04c=_0x24059b[_0x1606ee(0x22f)](_0x358534,_0x2eb63d||_0x1606ee(0x20b));if(_0x18b8f2(_0x2cd04c)!=_0x1606ee(0x244))return _0x2cd04c;throw TypeError(_0x1606ee(0x225));}return(_0x2eb63d===_0x1606ee(0x220)?String:Number)(_0x358534);}function _0x262d88(_0x4dd3df){const _0x4e744=_0x4dde1e;var _0x52bc6c=_0x546b28(_0x4dd3df,_0x4e744(0x220));return _0x18b8f2(_0x52bc6c)==_0x4e744(0x218)?_0x52bc6c:_0x52bc6c+'';}function _0x5b3680(_0x5d5477,_0x5c1935,_0x1ba5d1){const _0x26004e=_0x4dde1e;return(_0x5c1935=_0x262d88(_0x5c1935))in _0x5d5477?Object[_0x26004e(0x21b)](_0x5d5477,_0x5c1935,{'value':_0x1ba5d1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5d5477[_0x5c1935]=_0x1ba5d1,_0x5d5477;}let _0xcdf363=class extends _0x1702ca['Plugin']{constructor(_0x5da7d5=_0x1466f7,_0x207a1a,_0x39d42c){const _0xa81889=_0x4dde1e;super(),this[_0xa81889(0x23f)]=_0x5da7d5,this[_0xa81889(0x240)]=_0x207a1a,this[_0xa81889(0x21c)]=_0x39d42c;let {..._0x3c2595}=(0x0,_0x1702ca[_0xa81889(0x216)])({},_0x1466f7,this[_0xa81889(0x23f)]);this[_0xa81889(0x240)][_0xa81889(0x22e)](_0xa81889(0x213),_0x3c2595);}['onStarting'](){const _0x3c1f4f=_0x4dde1e;this[_0x3c1f4f(0x23d)]();}['_registerDependencies'](){const _0x5d9d90=_0x4dde1e;(0x0,_0x1702ca[_0x5d9d90(0x20d)])(this[_0x5d9d90(0x21c)],[[_0x402637[_0x5d9d90(0x20c)],{'useClass':_0x177232}]]);}};_0x5b3680(_0xcdf363,_0x4dde1e(0x242),_0x4dde1e(0x212)),_0x5b3680(_0xcdf363,_0x4dde1e(0x200),_0x39afe9),_0x5b3680(_0xcdf363,_0x4dde1e(0x20a),_0x2c4d4c),_0xcdf363=_0x29dba9([(0x0,_0x1702ca[_0x4dde1e(0x239)])(_0x465a1a[_0x4dde1e(0x1f7)],_0x402637[_0x4dde1e(0x1fa)],_0x697832[_0x4dde1e(0x208)],_0x34fe81[_0x4dde1e(0x246)]),_0xbb7d3a(0x1,_0x1702ca[_0x4dde1e(0x20e)]),_0xbb7d3a(0x2,(0x0,_0x1702ca[_0x4dde1e(0x23a)])(_0x1702ca['Injector']))],_0xcdf363);let _0x2b3409=class extends _0x34fe81[_0x4dde1e(0x1f5)]{constructor(_0xdf7a24,_0xad6435,_0xf8622d,_0x38858e,_0x279b49){const _0x302a6b=_0x4dde1e;super(_0xdf7a24,_0xad6435,_0xf8622d,_0x38858e,_0x279b49);let _0x41f16b=this[_0x302a6b(0x240)][_0x302a6b(0x214)](_0x34fe81[_0x302a6b(0x207)]);this[_0x302a6b(0x245)][_0x302a6b(0x23c)]({'interceptor':(_0x22b4c5,_0xa87240)=>{const _0x3b3d11=_0x302a6b;let _0x588e4a=_0x22b4c5['headers'];if(_0x41f16b!=null&&_0x41f16b[_0x3b3d11(0x234)]){for(let _0x58706f in _0x41f16b['customHeaders'])_0x588e4a['set'](_0x58706f,_0x41f16b[_0x3b3d11(0x234)][_0x58706f]);}return _0xa87240(_0x22b4c5);}});}async[_0x4dde1e(0x232)](_0x2161e1){const _0x25fd54=_0x4dde1e;return this[_0x25fd54(0x1fe)](_0x2161e1);}};_0x2b3409=_0x29dba9([_0xbb7d3a(0x0,(0x0,_0x1702ca[_0x4dde1e(0x23a)])(_0x1702ca['Injector'])),_0xbb7d3a(0x1,(0x0,_0x1702ca[_0x4dde1e(0x23a)])(_0x402637[_0x4dde1e(0x20f)])),_0xbb7d3a(0x2,_0x1702ca[_0x4dde1e(0x20e)]),_0xbb7d3a(0x3,_0x1702ca[_0x4dde1e(0x205)]),_0xbb7d3a(0x4,_0x697832[_0x4dde1e(0x22c)])],_0x2b3409),Object[_0x4dde1e(0x21b)](_0x580277,_0x4dde1e(0x204),{'enumerable':!0x0,'get':function(){return _0x2b3409;}}),Object[_0x4dde1e(0x21b)](_0x580277,'UniverCollaborationClientNodePlugin',{'enumerable':!0x0,'get':function(){return _0xcdf363;}});}));function _0x5a67(_0x2970c2,_0x3ec5b8){_0x2970c2=_0x2970c2-0x1f3;const _0x11128e=_0x1112();let _0x5a67ff=_0x11128e[_0x2970c2];return _0x5a67ff;}function _0x1112(){const _0x2f2ee0=['Inject','16093UwhjTX','registerHTTPInterceptor','_registerDependencies','723JgASCW','_config','_configService','close','pluginName','1pHsSWx','object','_httpService','UniverCollaborationClientPlugin','1370bXnjvV','680NECcGq','iterator','toDisposable','CollaborationSocketService','@univerjs-pro/collaboration-client-node','UniverLicensePlugin','dispose','4844WQKlbi','UniverNetworkPlugin','500210lmczCf','18AOgFBk','exports','_doCreateSocket','ws\x20does\x20not\x20work\x20in\x20the\x20browser.\x20Browser\x20clients\x20must\x20use\x20the\x20native\x20WebSocket\x20object','packageName','Observable','decorate','function','NodeCollaborationSocketService','ILogService','toStringTag','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverCollaborationPlugin','@univerjs/network','version','default','ISocketService','registerDependencies','IConfigService','HTTPService','UniverNetwork','next','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','collaboration-client-node.config','getConfig','WebSocket','merge','toPrimitive','symbol','UniverProCollaborationClient','1.0.0-beta.0','defineProperty','_injector','@univerjs-pro/license','1160172KgmirH','share','string','open','507786XbvZfk','error','Disposable','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','DisposableCollection','@univerjs-pro/collaboration-client','rxjs','@univerjs/core','973305OZckEk','21875ZPtXDh','ISnapshotServerService','length','setConfig','call','removeEventListener','message','createSocket','UniverProLicense','customHeaders','addEventListener','add','UniverProCollaborationClientNode','pipe','DependentOn'];_0x1112=function(){return _0x2f2ee0;};return _0x1112();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/collaboration-client-node",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-beta.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>",
|
|
@@ -52,18 +52,18 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"ws": "8.21.0",
|
|
55
|
-
"@univerjs-pro/
|
|
56
|
-
"@univerjs
|
|
57
|
-
"@univerjs
|
|
58
|
-
"@univerjs/
|
|
59
|
-
"@univerjs/
|
|
55
|
+
"@univerjs-pro/license": "1.0.0-beta.0",
|
|
56
|
+
"@univerjs/core": "1.0.0-beta.0",
|
|
57
|
+
"@univerjs/network": "1.0.0-beta.0",
|
|
58
|
+
"@univerjs-pro/collaboration-client": "1.0.0-beta.0",
|
|
59
|
+
"@univerjs-pro/collaboration": "1.0.0-beta.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/ws": "8.18.1",
|
|
63
63
|
"rxjs": "7.8.2",
|
|
64
64
|
"typescript": "^6.0.3",
|
|
65
65
|
"vitest": "^4.1.10",
|
|
66
|
-
"@univerjs-infra/shared": "1.0.0-
|
|
66
|
+
"@univerjs-infra/shared": "1.0.0-beta.0"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"test": "vitest run",
|