@univerjs-pro/collaboration-client-node 1.0.0-alpha.7 → 1.0.0-alpha.8
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 -6
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x103fa9=_0x5abb;(function(_0x100b5d,_0x50e0fb){const _0x14290b=_0x5abb,_0x5d6831=_0x100b5d();while(!![]){try{const _0x614618=-parseInt(_0x14290b(0x1c5))/0x1*(-parseInt(_0x14290b(0x197))/0x2)+-parseInt(_0x14290b(0x1a5))/0x3*(-parseInt(_0x14290b(0x1a7))/0x4)+parseInt(_0x14290b(0x1b3))/0x5+-parseInt(_0x14290b(0x1d0))/0x6*(parseInt(_0x14290b(0x198))/0x7)+parseInt(_0x14290b(0x1c8))/0x8+-parseInt(_0x14290b(0x1c6))/0x9+-parseInt(_0x14290b(0x19d))/0xa*(parseInt(_0x14290b(0x18e))/0xb);if(_0x614618===_0x50e0fb)break;else _0x5d6831['push'](_0x5d6831['shift']());}catch(_0x265b63){_0x5d6831['push'](_0x5d6831['shift']());}}}(_0x5d05,0x64dda),Object[_0x103fa9(0x1bd)](exports,Symbol[_0x103fa9(0x1c2)],{'value':_0x103fa9(0x1af)}));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=_0x103fa9(0x1a9),c=_0x103fa9(0x18d);const l={};function u(_0x5ce610,_0x1395cb){return function(_0x94e9ae,_0x5d85e3){_0x1395cb(_0x94e9ae,_0x5d85e3,_0x5ce610);};}function d(_0x2dee9e,_0x1bb869,_0x12904e,_0xf6c7c2){const _0x5ee903=_0x103fa9;var _0x368102=arguments[_0x5ee903(0x1c7)],_0x5e1d3b=_0x368102<0x3?_0x1bb869:_0xf6c7c2===null?_0xf6c7c2=Object[_0x5ee903(0x1cf)](_0x1bb869,_0x12904e):_0xf6c7c2,_0x4f7311;if(typeof Reflect=='object'&&typeof Reflect['decorate']=='function')_0x5e1d3b=Reflect[_0x5ee903(0x1b4)](_0x2dee9e,_0x1bb869,_0x12904e,_0xf6c7c2);else{for(var _0x32ab52=_0x2dee9e['length']-0x1;_0x32ab52>=0x0;_0x32ab52--)(_0x4f7311=_0x2dee9e[_0x32ab52])&&(_0x5e1d3b=(_0x368102<0x3?_0x4f7311(_0x5e1d3b):_0x368102>0x3?_0x4f7311(_0x1bb869,_0x12904e,_0x5e1d3b):_0x4f7311(_0x1bb869,_0x12904e))||_0x5e1d3b);}return _0x368102>0x3&&_0x5e1d3b&&Object[_0x5ee903(0x1bd)](_0x1bb869,_0x12904e,_0x5e1d3b),_0x5e1d3b;}let f=class extends r[_0x103fa9(0x1b7)]{constructor(_0x2ee0d7){const _0x243f66=_0x103fa9;super(),this[_0x243f66(0x190)]=_0x2ee0d7;}[_0x103fa9(0x1cc)](_0x4592c2){const _0x4602e9=_0x103fa9;var _0x3608af;let _0x48dfb7=((_0x3608af=this['_configService'][_0x4602e9(0x1a3)](t[_0x4602e9(0x1ab)]))==null?void 0x0:_0x3608af[_0x4602e9(0x1ac)])||{};try{let _0x5a1bbc=new o[(_0x4602e9(0x1cd))](_0x4592c2,{'headers':{..._0x48dfb7}}),_0x2af491=new r[(_0x4602e9(0x1b5))]();return{'URL':_0x4592c2,'close':(_0x377911,_0x130f06)=>{const _0x3938e4=_0x4602e9;_0x5a1bbc['close'](_0x377911,_0x130f06),_0x2af491[_0x3938e4(0x1ba)]();},'send':_0x45c5bb=>{const _0x2c142b=_0x4602e9;_0x5a1bbc[_0x2c142b(0x1d1)](_0x45c5bb);},'open$':new a[(_0x4602e9(0x1ca))](_0x2c3e6e=>{const _0x185e38=_0x4602e9;let _0xbe64df=_0x54836d=>_0x2c3e6e['next'](_0x54836d);_0x5a1bbc[_0x185e38(0x1b8)]('open',_0xbe64df),_0x2af491['add']((0x0,r[_0x185e38(0x1bb)])(()=>_0x5a1bbc[_0x185e38(0x1a8)](_0x185e38(0x1b2),_0xbe64df)));})['pipe']((0x0,a[_0x4602e9(0x1a1)])()),'close$':new a['Observable'](_0x1362b8=>{const _0x27d587=_0x4602e9;let _0x2fadc8=_0x4ebab2=>_0x1362b8[_0x27d587(0x193)](_0x4ebab2);_0x5a1bbc[_0x27d587(0x1b8)](_0x27d587(0x1c3),_0x2fadc8),_0x2af491[_0x27d587(0x1c0)]((0x0,r[_0x27d587(0x1bb)])(()=>_0x5a1bbc[_0x27d587(0x1a8)](_0x27d587(0x1c3),_0x2fadc8)));})['pipe']((0x0,a['share'])()),'error$':new a['Observable'](_0x419d78=>{const _0x552349=_0x4602e9;let _0x1b0a1c=_0x40cfc2=>_0x419d78[_0x552349(0x193)](_0x40cfc2);_0x5a1bbc[_0x552349(0x1b8)]('error',_0x1b0a1c),_0x2af491[_0x552349(0x1c0)]((0x0,r[_0x552349(0x1bb)])(()=>_0x5a1bbc['removeEventListener'](_0x552349(0x1a0),_0x1b0a1c)));})[_0x4602e9(0x19c)]((0x0,a[_0x4602e9(0x1a1)])()),'message$':new a['Observable'](_0x2219c4=>{const _0x33f212=_0x4602e9;let _0x3af405=_0x4289b8=>_0x2219c4['next'](_0x4289b8);_0x5a1bbc[_0x33f212(0x1b8)](_0x33f212(0x1aa),_0x3af405),_0x2af491[_0x33f212(0x1c0)]((0x0,r[_0x33f212(0x1bb)])(()=>_0x5a1bbc[_0x33f212(0x1a8)]('message',_0x3af405)));})[_0x4602e9(0x19c)]((0x0,a['share'])())};}catch(_0x28ced3){return console[_0x4602e9(0x1a0)](_0x28ced3),null;}}};f=d([u(0x0,r[_0x103fa9(0x1d3)])],f);function p(_0x1df724){'@babel/helpers - typeof';const _0x3a297a=_0x103fa9;return p=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x3a297a(0x1bf)?function(_0x3c5304){return typeof _0x3c5304;}:function(_0x45ddb5){const _0x828694=_0x3a297a;return _0x45ddb5&&typeof Symbol=='function'&&_0x45ddb5['constructor']===Symbol&&_0x45ddb5!==Symbol['prototype']?_0x828694(0x1bf):typeof _0x45ddb5;},p(_0x1df724);}function _0x5abb(_0x48f0f5,_0x5c2723){_0x48f0f5=_0x48f0f5-0x18c;const _0x5d0590=_0x5d05();let _0x5abbc2=_0x5d0590[_0x48f0f5];return _0x5abbc2;}function m(_0x2350d6,_0x3f6445){const _0x5d9630=_0x103fa9;if(p(_0x2350d6)!='object'||!_0x2350d6)return _0x2350d6;var _0x1a2ca2=_0x2350d6[Symbol[_0x5d9630(0x19a)]];if(_0x1a2ca2!==void 0x0){var _0x4fa3ad=_0x1a2ca2[_0x5d9630(0x1a6)](_0x2350d6,_0x3f6445||_0x5d9630(0x196));if(p(_0x4fa3ad)!='object')return _0x4fa3ad;throw TypeError(_0x5d9630(0x19b));}return(_0x3f6445==='string'?String:Number)(_0x2350d6);}function h(_0x1655d0){const _0x36ef03=_0x103fa9;var _0x4c0cdd=m(_0x1655d0,_0x36ef03(0x1b0));return p(_0x4c0cdd)=='symbol'?_0x4c0cdd:_0x4c0cdd+'';}function g(_0x5de0da,_0x49013f,_0x1800a9){const _0x57bd1=_0x103fa9;return(_0x49013f=h(_0x49013f))in _0x5de0da?Object[_0x57bd1(0x1bd)](_0x5de0da,_0x49013f,{'value':_0x1800a9,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5de0da[_0x49013f]=_0x1800a9,_0x5de0da;}let _=class extends r[_0x103fa9(0x192)]{constructor(_0x38ec6e=l,_0x16d6cc,_0x46b776){const _0x2f4c15=_0x103fa9;super(),this[_0x2f4c15(0x18f)]=_0x38ec6e,this['_configService']=_0x16d6cc,this[_0x2f4c15(0x1ae)]=_0x46b776;let {..._0x18bfa2}=(0x0,r[_0x2f4c15(0x195)])({},l,this['_config']);this[_0x2f4c15(0x190)]['setConfig'](_0x2f4c15(0x194),_0x18bfa2);}[_0x103fa9(0x1d4)](){this['_registerDependencies']();}[_0x103fa9(0x1d5)](){const _0xd61042=_0x103fa9;(0x0,r['registerDependencies'])(this[_0xd61042(0x1ae)],[[i[_0xd61042(0x1c1)],{'useClass':f}]]);}};g(_,_0x103fa9(0x1b1),_0x103fa9(0x19e)),g(_,'packageName',s),g(_,'version',c),_=d([(0x0,r[_0x103fa9(0x1b9)])(n[_0x103fa9(0x1a2)],i['UniverNetworkPlugin'],e[_0x103fa9(0x1c4)],t[_0x103fa9(0x1bc)]),u(0x1,r[_0x103fa9(0x1d3)]),u(0x2,(0x0,r[_0x103fa9(0x191)])(r[_0x103fa9(0x199)]))],_);let v=class extends t[_0x103fa9(0x1be)]{constructor(_0x448a09,_0x41d4dc,_0x1b8b1e,_0x4f0dec,_0x297da6){const _0x4d55a5=_0x103fa9;super(_0x448a09,_0x41d4dc,_0x1b8b1e,_0x4f0dec,_0x297da6);let _0x559744=this['_configService'][_0x4d55a5(0x1a3)](t[_0x4d55a5(0x1ab)]);this[_0x4d55a5(0x1ce)][_0x4d55a5(0x1d2)]({'interceptor':(_0x1f9a19,_0x47ce2b)=>{const _0x5a4b2c=_0x4d55a5;let _0x42a305=_0x1f9a19[_0x5a4b2c(0x1b6)];if(_0x559744!=null&&_0x559744[_0x5a4b2c(0x1ac)]){for(let _0x52aeba in _0x559744['customHeaders'])_0x42a305[_0x5a4b2c(0x1ad)](_0x52aeba,_0x559744[_0x5a4b2c(0x1ac)][_0x52aeba]);}return _0x47ce2b(_0x1f9a19);}});}async[_0x103fa9(0x1cc)](_0x37821c){const _0x4a763f=_0x103fa9;return this[_0x4a763f(0x18c)](_0x37821c);}};function _0x5d05(){const _0x3c6ba1=['send','registerHTTPInterceptor','IConfigService','onStarting','_registerDependencies','_doCreateSocket','1.0.0-alpha.8','13739957XTjDSd','_config','_configService','Inject','Plugin','next','collaboration-client-node.config','merge','default','34DNSZtx','7hrWzjQ','Injector','toPrimitive','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','pipe','10AqiRJC','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','ILogService','error','share','UniverLicensePlugin','getConfig','ISnapshotServerService','15lZYOQC','call','639304AQHHSw','removeEventListener','@univerjs-pro/collaboration-client-node','message','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','customHeaders','set','_injector','Module','string','pluginName','open','3424260JCedwZ','decorate','DisposableCollection','headers','Disposable','addEventListener','DependentOn','dispose','toDisposable','UniverCollaborationClientPlugin','defineProperty','CollaborationSocketService','symbol','add','ISocketService','toStringTag','close','UniverCollaborationPlugin','32747CMizeU','2384334Tbpxjd','length','314856AljsLI','NodeCollaborationSocketService','Observable','HTTPService','createSocket','WebSocket','_httpService','getOwnPropertyDescriptor','917274LjLtqQ'];_0x5d05=function(){return _0x3c6ba1;};return _0x5d05();}v=d([u(0x0,(0x0,r[_0x103fa9(0x191)])(r[_0x103fa9(0x199)])),u(0x1,(0x0,r[_0x103fa9(0x191)])(i[_0x103fa9(0x1cb)])),u(0x2,r['IConfigService']),u(0x3,r[_0x103fa9(0x19f)]),u(0x4,e[_0x103fa9(0x1a4)])],v),Object[_0x103fa9(0x1bd)](exports,_0x103fa9(0x1c9),{'enumerable':!0x0,'get':function(){return v;}}),Object[_0x103fa9(0x1bd)](exports,'UniverCollaborationClientNodePlugin',{'enumerable':!0x0,'get':function(){return _;}});
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x235d84=_0x12b9;(function(_0x3bcdf7,_0x1af648){const _0xb91e75=_0x12b9,_0x11e334=_0x3bcdf7();while(!![]){try{const _0x252fe2=-parseInt(_0xb91e75(0x170))/0x1*(parseInt(_0xb91e75(0x161))/0x2)+-parseInt(_0xb91e75(0x17d))/0x3+-parseInt(_0xb91e75(0x168))/0x4+-parseInt(_0xb91e75(0x15d))/0x5+parseInt(_0xb91e75(0x171))/0x6+-parseInt(_0xb91e75(0x160))/0x7*(parseInt(_0xb91e75(0x169))/0x8)+parseInt(_0xb91e75(0x187))/0x9;if(_0x252fe2===_0x1af648)break;else _0x11e334['push'](_0x11e334['shift']());}catch(_0x1ff30d){_0x11e334['push'](_0x11e334['shift']());}}}(_0x10e1,0x27b64));function _0x10e1(){const _0x3f961d=['@univerjs-pro/collaboration-client-node','headers','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','length','customHeaders','461344dJbwak','336wuAGUY','constructor','_registerDependencies','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','function','add','prototype','1021FilZsp','238716KFOKLT','version','default','send','pipe','pluginName','close','object','_injector','decorate','string','addEventListener','444828TZvVZd','onStarting','createSocket','1.0.0-alpha.8','next','symbol','defineProperty','iterator','_configService','set','7352649jFBXiC','error','open','registerHTTPInterceptor','getConfig','_config','dispose','setConfig','collaboration-client-node.config','_doCreateSocket','call','789745XntGWc','packageName','removeEventListener','43379PkEbNM','24pliVNN','getOwnPropertyDescriptor'];_0x10e1=function(){return _0x3f961d;};return _0x10e1();}import{ISnapshotServerService as _0x453804,UniverCollaborationPlugin as _0x3f7578}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x47a581,CollaborationSocketService as _0x491a0a,UniverCollaborationClientPlugin as _0x2357c6}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x4e9c57}from'@univerjs-pro/license';import{DependentOn as _0x30f537,Disposable as _0x483524,DisposableCollection as _0x1b2f8c,IConfigService as _0x3a2aa7,ILogService as _0x1fd565,Inject as _0x17871c,Injector as _0x40934f,Plugin as _0x431070,merge as _0x1a204f,registerDependencies as _0x2aabdc,toDisposable as _0x4ff571}from'@univerjs/core';import{HTTPService as _0x2f01c1,ISocketService as _0x10e05e,UniverNetworkPlugin as _0x97505d}from'@univerjs/network';import{Observable as _0x5579b8,share as _0x2ccf17}from'rxjs';import{WebSocket as _0x272831}from'ws';var C=_0x235d84(0x163),w=_0x235d84(0x180);const T={};function E(_0x3ecfbd,_0x3804de){return function(_0x123805,_0x4e5fa9){_0x3804de(_0x123805,_0x4e5fa9,_0x3ecfbd);};}function D(_0x21fd4f,_0x471bbc,_0x142cc2,_0x342241){const _0x4f096c=_0x235d84;var _0x3a72a6=arguments[_0x4f096c(0x166)],_0x524c71=_0x3a72a6<0x3?_0x471bbc:_0x342241===null?_0x342241=Object[_0x4f096c(0x162)](_0x471bbc,_0x142cc2):_0x342241,_0x14e87c;if(typeof Reflect==_0x4f096c(0x178)&&typeof Reflect[_0x4f096c(0x17a)]=='function')_0x524c71=Reflect[_0x4f096c(0x17a)](_0x21fd4f,_0x471bbc,_0x142cc2,_0x342241);else{for(var _0x3ecb87=_0x21fd4f['length']-0x1;_0x3ecb87>=0x0;_0x3ecb87--)(_0x14e87c=_0x21fd4f[_0x3ecb87])&&(_0x524c71=(_0x3a72a6<0x3?_0x14e87c(_0x524c71):_0x3a72a6>0x3?_0x14e87c(_0x471bbc,_0x142cc2,_0x524c71):_0x14e87c(_0x471bbc,_0x142cc2))||_0x524c71);}return _0x3a72a6>0x3&&_0x524c71&&Object[_0x4f096c(0x183)](_0x471bbc,_0x142cc2,_0x524c71),_0x524c71;}let O=class extends _0x483524{constructor(_0x2268d2){const _0x3ccbb9=_0x235d84;super(),this[_0x3ccbb9(0x185)]=_0x2268d2;}[_0x235d84(0x17f)](_0x5d7e9e){const _0x35d1b9=_0x235d84;var _0x3d1341;let _0x1d986b=((_0x3d1341=this[_0x35d1b9(0x185)][_0x35d1b9(0x18b)](_0x47a581))==null?void 0x0:_0x3d1341[_0x35d1b9(0x167)])||{};try{let _0x2e6670=new _0x272831(_0x5d7e9e,{'headers':{..._0x1d986b}}),_0xc75773=new _0x1b2f8c();return{'URL':_0x5d7e9e,'close':(_0x32cea3,_0x3e8e3d)=>{const _0x3051a1=_0x35d1b9;_0x2e6670[_0x3051a1(0x177)](_0x32cea3,_0x3e8e3d),_0xc75773[_0x3051a1(0x18d)]();},'send':_0x4ed355=>{const _0x47485f=_0x35d1b9;_0x2e6670[_0x47485f(0x174)](_0x4ed355);},'open$':new _0x5579b8(_0x2924e7=>{const _0x55d9f3=_0x35d1b9;let _0x5014bf=_0x2d8515=>_0x2924e7[_0x55d9f3(0x181)](_0x2d8515);_0x2e6670[_0x55d9f3(0x17c)]('open',_0x5014bf),_0xc75773[_0x55d9f3(0x16e)](_0x4ff571(()=>_0x2e6670['removeEventListener'](_0x55d9f3(0x189),_0x5014bf)));})['pipe'](_0x2ccf17()),'close$':new _0x5579b8(_0x3f10c5=>{const _0x29f4cd=_0x35d1b9;let _0x3018a1=_0x584338=>_0x3f10c5[_0x29f4cd(0x181)](_0x584338);_0x2e6670[_0x29f4cd(0x17c)]('close',_0x3018a1),_0xc75773['add'](_0x4ff571(()=>_0x2e6670[_0x29f4cd(0x15f)](_0x29f4cd(0x177),_0x3018a1)));})['pipe'](_0x2ccf17()),'error$':new _0x5579b8(_0x502928=>{const _0x3cf716=_0x35d1b9;let _0x19ebf1=_0x44d9ed=>_0x502928[_0x3cf716(0x181)](_0x44d9ed);_0x2e6670[_0x3cf716(0x17c)]('error',_0x19ebf1),_0xc75773[_0x3cf716(0x16e)](_0x4ff571(()=>_0x2e6670['removeEventListener'](_0x3cf716(0x188),_0x19ebf1)));})[_0x35d1b9(0x175)](_0x2ccf17()),'message$':new _0x5579b8(_0xba82b5=>{const _0x127d2e=_0x35d1b9;let _0x184243=_0x16a895=>_0xba82b5[_0x127d2e(0x181)](_0x16a895);_0x2e6670['addEventListener']('message',_0x184243),_0xc75773[_0x127d2e(0x16e)](_0x4ff571(()=>_0x2e6670['removeEventListener']('message',_0x184243)));})[_0x35d1b9(0x175)](_0x2ccf17())};}catch(_0x207388){return console[_0x35d1b9(0x188)](_0x207388),null;}}};O=D([E(0x0,_0x3a2aa7)],O);function k(_0x4a3fe9){'@babel/helpers - typeof';const _0x36a734=_0x235d84;return k=typeof Symbol==_0x36a734(0x16d)&&typeof Symbol[_0x36a734(0x184)]==_0x36a734(0x182)?function(_0xda5b50){return typeof _0xda5b50;}:function(_0x1b104c){const _0x25385a=_0x36a734;return _0x1b104c&&typeof Symbol==_0x25385a(0x16d)&&_0x1b104c[_0x25385a(0x16a)]===Symbol&&_0x1b104c!==Symbol[_0x25385a(0x16f)]?_0x25385a(0x182):typeof _0x1b104c;},k(_0x4a3fe9);}function A(_0x2ed4bd,_0xda61a5){const _0x54550c=_0x235d84;if(k(_0x2ed4bd)!='object'||!_0x2ed4bd)return _0x2ed4bd;var _0x8ff93d=_0x2ed4bd[Symbol['toPrimitive']];if(_0x8ff93d!==void 0x0){var _0x4d7bd8=_0x8ff93d[_0x54550c(0x191)](_0x2ed4bd,_0xda61a5||_0x54550c(0x173));if(k(_0x4d7bd8)!=_0x54550c(0x178))return _0x4d7bd8;throw TypeError(_0x54550c(0x165));}return(_0xda61a5===_0x54550c(0x17b)?String:Number)(_0x2ed4bd);}function j(_0x279cec){const _0x364aba=_0x235d84;var _0x11e1dd=A(_0x279cec,_0x364aba(0x17b));return k(_0x11e1dd)==_0x364aba(0x182)?_0x11e1dd:_0x11e1dd+'';}function M(_0x3b0c98,_0x33fb95,_0x2ed841){const _0x36cc0e=_0x235d84;return(_0x33fb95=j(_0x33fb95))in _0x3b0c98?Object[_0x36cc0e(0x183)](_0x3b0c98,_0x33fb95,{'value':_0x2ed841,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3b0c98[_0x33fb95]=_0x2ed841,_0x3b0c98;}let N=class extends _0x431070{constructor(_0x25ca0a=T,_0x56a079,_0x6be67a){const _0x169f81=_0x235d84;super(),this['_config']=_0x25ca0a,this[_0x169f81(0x185)]=_0x56a079,this[_0x169f81(0x179)]=_0x6be67a;let {..._0x5e38ae}=_0x1a204f({},T,this[_0x169f81(0x18c)]);this[_0x169f81(0x185)][_0x169f81(0x18e)](_0x169f81(0x18f),_0x5e38ae);}[_0x235d84(0x17e)](){const _0x581537=_0x235d84;this[_0x581537(0x16b)]();}[_0x235d84(0x16b)](){const _0xf8278b=_0x235d84;_0x2aabdc(this[_0xf8278b(0x179)],[[_0x10e05e,{'useClass':O}]]);}};function _0x12b9(_0x4c2413,_0x5275ed){_0x4c2413=_0x4c2413-0x15d;const _0x10e126=_0x10e1();let _0x12b9cb=_0x10e126[_0x4c2413];return _0x12b9cb;}M(N,_0x235d84(0x176),_0x235d84(0x16c)),M(N,_0x235d84(0x15e),C),M(N,_0x235d84(0x172),w),N=D([_0x30f537(_0x4e9c57,_0x97505d,_0x3f7578,_0x2357c6),E(0x1,_0x3a2aa7),E(0x2,_0x17871c(_0x40934f))],N);let P=class extends _0x491a0a{constructor(_0x27a71c,_0x4d6333,_0x7b3634,_0x589ee8,_0x30f2ea){const _0x47f87f=_0x235d84;super(_0x27a71c,_0x4d6333,_0x7b3634,_0x589ee8,_0x30f2ea);let _0x4ba2bb=this[_0x47f87f(0x185)]['getConfig'](_0x47a581);this['_httpService'][_0x47f87f(0x18a)]({'interceptor':(_0x26b026,_0x17e0e3)=>{const _0x4962ea=_0x47f87f;let _0xd71acf=_0x26b026[_0x4962ea(0x164)];if(_0x4ba2bb!=null&&_0x4ba2bb[_0x4962ea(0x167)]){for(let _0xdb5f59 in _0x4ba2bb['customHeaders'])_0xd71acf[_0x4962ea(0x186)](_0xdb5f59,_0x4ba2bb[_0x4962ea(0x167)][_0xdb5f59]);}return _0x17e0e3(_0x26b026);}});}async[_0x235d84(0x17f)](_0x39386d){const _0x16c536=_0x235d84;return this[_0x16c536(0x190)](_0x39386d);}};P=D([E(0x0,_0x17871c(_0x40934f)),E(0x1,_0x17871c(_0x2f01c1)),E(0x2,_0x3a2aa7),E(0x3,_0x1fd565),E(0x4,_0x453804)],P);export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x235d84=_0x12b9;(function(_0x3bcdf7,_0x1af648){const _0xb91e75=_0x12b9,_0x11e334=_0x3bcdf7();while(!![]){try{const _0x252fe2=-parseInt(_0xb91e75(0x170))/0x1*(parseInt(_0xb91e75(0x161))/0x2)+-parseInt(_0xb91e75(0x17d))/0x3+-parseInt(_0xb91e75(0x168))/0x4+-parseInt(_0xb91e75(0x15d))/0x5+parseInt(_0xb91e75(0x171))/0x6+-parseInt(_0xb91e75(0x160))/0x7*(parseInt(_0xb91e75(0x169))/0x8)+parseInt(_0xb91e75(0x187))/0x9;if(_0x252fe2===_0x1af648)break;else _0x11e334['push'](_0x11e334['shift']());}catch(_0x1ff30d){_0x11e334['push'](_0x11e334['shift']());}}}(_0x10e1,0x27b64));function _0x10e1(){const _0x3f961d=['@univerjs-pro/collaboration-client-node','headers','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','length','customHeaders','461344dJbwak','336wuAGUY','constructor','_registerDependencies','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','function','add','prototype','1021FilZsp','238716KFOKLT','version','default','send','pipe','pluginName','close','object','_injector','decorate','string','addEventListener','444828TZvVZd','onStarting','createSocket','1.0.0-alpha.8','next','symbol','defineProperty','iterator','_configService','set','7352649jFBXiC','error','open','registerHTTPInterceptor','getConfig','_config','dispose','setConfig','collaboration-client-node.config','_doCreateSocket','call','789745XntGWc','packageName','removeEventListener','43379PkEbNM','24pliVNN','getOwnPropertyDescriptor'];_0x10e1=function(){return _0x3f961d;};return _0x10e1();}import{ISnapshotServerService as _0x453804,UniverCollaborationPlugin as _0x3f7578}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x47a581,CollaborationSocketService as _0x491a0a,UniverCollaborationClientPlugin as _0x2357c6}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x4e9c57}from'@univerjs-pro/license';import{DependentOn as _0x30f537,Disposable as _0x483524,DisposableCollection as _0x1b2f8c,IConfigService as _0x3a2aa7,ILogService as _0x1fd565,Inject as _0x17871c,Injector as _0x40934f,Plugin as _0x431070,merge as _0x1a204f,registerDependencies as _0x2aabdc,toDisposable as _0x4ff571}from'@univerjs/core';import{HTTPService as _0x2f01c1,ISocketService as _0x10e05e,UniverNetworkPlugin as _0x97505d}from'@univerjs/network';import{Observable as _0x5579b8,share as _0x2ccf17}from'rxjs';import{WebSocket as _0x272831}from'ws';var C=_0x235d84(0x163),w=_0x235d84(0x180);const T={};function E(_0x3ecfbd,_0x3804de){return function(_0x123805,_0x4e5fa9){_0x3804de(_0x123805,_0x4e5fa9,_0x3ecfbd);};}function D(_0x21fd4f,_0x471bbc,_0x142cc2,_0x342241){const _0x4f096c=_0x235d84;var _0x3a72a6=arguments[_0x4f096c(0x166)],_0x524c71=_0x3a72a6<0x3?_0x471bbc:_0x342241===null?_0x342241=Object[_0x4f096c(0x162)](_0x471bbc,_0x142cc2):_0x342241,_0x14e87c;if(typeof Reflect==_0x4f096c(0x178)&&typeof Reflect[_0x4f096c(0x17a)]=='function')_0x524c71=Reflect[_0x4f096c(0x17a)](_0x21fd4f,_0x471bbc,_0x142cc2,_0x342241);else{for(var _0x3ecb87=_0x21fd4f['length']-0x1;_0x3ecb87>=0x0;_0x3ecb87--)(_0x14e87c=_0x21fd4f[_0x3ecb87])&&(_0x524c71=(_0x3a72a6<0x3?_0x14e87c(_0x524c71):_0x3a72a6>0x3?_0x14e87c(_0x471bbc,_0x142cc2,_0x524c71):_0x14e87c(_0x471bbc,_0x142cc2))||_0x524c71);}return _0x3a72a6>0x3&&_0x524c71&&Object[_0x4f096c(0x183)](_0x471bbc,_0x142cc2,_0x524c71),_0x524c71;}let O=class extends _0x483524{constructor(_0x2268d2){const _0x3ccbb9=_0x235d84;super(),this[_0x3ccbb9(0x185)]=_0x2268d2;}[_0x235d84(0x17f)](_0x5d7e9e){const _0x35d1b9=_0x235d84;var _0x3d1341;let _0x1d986b=((_0x3d1341=this[_0x35d1b9(0x185)][_0x35d1b9(0x18b)](_0x47a581))==null?void 0x0:_0x3d1341[_0x35d1b9(0x167)])||{};try{let _0x2e6670=new _0x272831(_0x5d7e9e,{'headers':{..._0x1d986b}}),_0xc75773=new _0x1b2f8c();return{'URL':_0x5d7e9e,'close':(_0x32cea3,_0x3e8e3d)=>{const _0x3051a1=_0x35d1b9;_0x2e6670[_0x3051a1(0x177)](_0x32cea3,_0x3e8e3d),_0xc75773[_0x3051a1(0x18d)]();},'send':_0x4ed355=>{const _0x47485f=_0x35d1b9;_0x2e6670[_0x47485f(0x174)](_0x4ed355);},'open$':new _0x5579b8(_0x2924e7=>{const _0x55d9f3=_0x35d1b9;let _0x5014bf=_0x2d8515=>_0x2924e7[_0x55d9f3(0x181)](_0x2d8515);_0x2e6670[_0x55d9f3(0x17c)]('open',_0x5014bf),_0xc75773[_0x55d9f3(0x16e)](_0x4ff571(()=>_0x2e6670['removeEventListener'](_0x55d9f3(0x189),_0x5014bf)));})['pipe'](_0x2ccf17()),'close$':new _0x5579b8(_0x3f10c5=>{const _0x29f4cd=_0x35d1b9;let _0x3018a1=_0x584338=>_0x3f10c5[_0x29f4cd(0x181)](_0x584338);_0x2e6670[_0x29f4cd(0x17c)]('close',_0x3018a1),_0xc75773['add'](_0x4ff571(()=>_0x2e6670[_0x29f4cd(0x15f)](_0x29f4cd(0x177),_0x3018a1)));})['pipe'](_0x2ccf17()),'error$':new _0x5579b8(_0x502928=>{const _0x3cf716=_0x35d1b9;let _0x19ebf1=_0x44d9ed=>_0x502928[_0x3cf716(0x181)](_0x44d9ed);_0x2e6670[_0x3cf716(0x17c)]('error',_0x19ebf1),_0xc75773[_0x3cf716(0x16e)](_0x4ff571(()=>_0x2e6670['removeEventListener'](_0x3cf716(0x188),_0x19ebf1)));})[_0x35d1b9(0x175)](_0x2ccf17()),'message$':new _0x5579b8(_0xba82b5=>{const _0x127d2e=_0x35d1b9;let _0x184243=_0x16a895=>_0xba82b5[_0x127d2e(0x181)](_0x16a895);_0x2e6670['addEventListener']('message',_0x184243),_0xc75773[_0x127d2e(0x16e)](_0x4ff571(()=>_0x2e6670['removeEventListener']('message',_0x184243)));})[_0x35d1b9(0x175)](_0x2ccf17())};}catch(_0x207388){return console[_0x35d1b9(0x188)](_0x207388),null;}}};O=D([E(0x0,_0x3a2aa7)],O);function k(_0x4a3fe9){'@babel/helpers - typeof';const _0x36a734=_0x235d84;return k=typeof Symbol==_0x36a734(0x16d)&&typeof Symbol[_0x36a734(0x184)]==_0x36a734(0x182)?function(_0xda5b50){return typeof _0xda5b50;}:function(_0x1b104c){const _0x25385a=_0x36a734;return _0x1b104c&&typeof Symbol==_0x25385a(0x16d)&&_0x1b104c[_0x25385a(0x16a)]===Symbol&&_0x1b104c!==Symbol[_0x25385a(0x16f)]?_0x25385a(0x182):typeof _0x1b104c;},k(_0x4a3fe9);}function A(_0x2ed4bd,_0xda61a5){const _0x54550c=_0x235d84;if(k(_0x2ed4bd)!='object'||!_0x2ed4bd)return _0x2ed4bd;var _0x8ff93d=_0x2ed4bd[Symbol['toPrimitive']];if(_0x8ff93d!==void 0x0){var _0x4d7bd8=_0x8ff93d[_0x54550c(0x191)](_0x2ed4bd,_0xda61a5||_0x54550c(0x173));if(k(_0x4d7bd8)!=_0x54550c(0x178))return _0x4d7bd8;throw TypeError(_0x54550c(0x165));}return(_0xda61a5===_0x54550c(0x17b)?String:Number)(_0x2ed4bd);}function j(_0x279cec){const _0x364aba=_0x235d84;var _0x11e1dd=A(_0x279cec,_0x364aba(0x17b));return k(_0x11e1dd)==_0x364aba(0x182)?_0x11e1dd:_0x11e1dd+'';}function M(_0x3b0c98,_0x33fb95,_0x2ed841){const _0x36cc0e=_0x235d84;return(_0x33fb95=j(_0x33fb95))in _0x3b0c98?Object[_0x36cc0e(0x183)](_0x3b0c98,_0x33fb95,{'value':_0x2ed841,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3b0c98[_0x33fb95]=_0x2ed841,_0x3b0c98;}let N=class extends _0x431070{constructor(_0x25ca0a=T,_0x56a079,_0x6be67a){const _0x169f81=_0x235d84;super(),this['_config']=_0x25ca0a,this[_0x169f81(0x185)]=_0x56a079,this[_0x169f81(0x179)]=_0x6be67a;let {..._0x5e38ae}=_0x1a204f({},T,this[_0x169f81(0x18c)]);this[_0x169f81(0x185)][_0x169f81(0x18e)](_0x169f81(0x18f),_0x5e38ae);}[_0x235d84(0x17e)](){const _0x581537=_0x235d84;this[_0x581537(0x16b)]();}[_0x235d84(0x16b)](){const _0xf8278b=_0x235d84;_0x2aabdc(this[_0xf8278b(0x179)],[[_0x10e05e,{'useClass':O}]]);}};function _0x12b9(_0x4c2413,_0x5275ed){_0x4c2413=_0x4c2413-0x15d;const _0x10e126=_0x10e1();let _0x12b9cb=_0x10e126[_0x4c2413];return _0x12b9cb;}M(N,_0x235d84(0x176),_0x235d84(0x16c)),M(N,_0x235d84(0x15e),C),M(N,_0x235d84(0x172),w),N=D([_0x30f537(_0x4e9c57,_0x97505d,_0x3f7578,_0x2357c6),E(0x1,_0x3a2aa7),E(0x2,_0x17871c(_0x40934f))],N);let P=class extends _0x491a0a{constructor(_0x27a71c,_0x4d6333,_0x7b3634,_0x589ee8,_0x30f2ea){const _0x47f87f=_0x235d84;super(_0x27a71c,_0x4d6333,_0x7b3634,_0x589ee8,_0x30f2ea);let _0x4ba2bb=this[_0x47f87f(0x185)]['getConfig'](_0x47a581);this['_httpService'][_0x47f87f(0x18a)]({'interceptor':(_0x26b026,_0x17e0e3)=>{const _0x4962ea=_0x47f87f;let _0xd71acf=_0x26b026[_0x4962ea(0x164)];if(_0x4ba2bb!=null&&_0x4ba2bb[_0x4962ea(0x167)]){for(let _0xdb5f59 in _0x4ba2bb['customHeaders'])_0xd71acf[_0x4962ea(0x186)](_0xdb5f59,_0x4ba2bb[_0x4962ea(0x167)][_0xdb5f59]);}return _0x17e0e3(_0x26b026);}});}async[_0x235d84(0x17f)](_0x39386d){const _0x16c536=_0x235d84;return this[_0x16c536(0x190)](_0x39386d);}};P=D([E(0x0,_0x17871c(_0x40934f)),E(0x1,_0x17871c(_0x2f01c1)),E(0x2,_0x3a2aa7),E(0x3,_0x1fd565),E(0x4,_0x453804)],P);export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1de9(_0x4b141d,_0x4317f1){_0x4b141d=_0x4b141d-0x18b;const _0xb44255=_0xb442();let _0x1de97d=_0xb44255[_0x4b141d];return _0x1de97d;}function _0xb442(){const _0x3bf200=['4UgAbkE','send','2290320oXwEhZ','call','UniverNetwork','setConfig','CollaborationSocketService','headers','registerHTTPInterceptor','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Inject','toStringTag','474574HqEqlC','length','close','_doCreateSocket','merge','version','@univerjs-pro/collaboration','createSocket','Plugin','customHeaders','@univerjs/core','prototype','constructor','WebSocket','_httpService','UniverProCollaboration','iterator','decorate','pipe','_config','Injector','default','54342WEuAKX','removeEventListener','share','getOwnPropertyDescriptor','287gQmVBK','add','open','ISocketService','ILogService','rxjs','NodeCollaborationSocketService','object','packageName','672531RdJHrF','UniverProCollaborationClient','4051704McinRF','pluginName','Observable','symbol','function','1.0.0-alpha.7','_configService','UniverCollaborationClientPlugin','ws\x20does\x20not\x20work\x20in\x20the\x20browser.\x20Browser\x20clients\x20must\x20use\x20the\x20native\x20WebSocket\x20object','collaboration-client-node.config','next','@univerjs-pro/collaboration-client','HTTPService','string','1762844KvAoVv','onStarting','getConfig','registerDependencies','@univerjs/network','exports','_injector','ISnapshotServerService','IConfigService','addEventListener','toDisposable','message','error','@univerjs-pro/collaboration-client-node','defineProperty','21961638FTWlIW'];_0xb442=function(){return _0x3bf200;};return _0xb442();}(function(_0x5f0980,_0xfb72f2){const _0x1131f0=_0x1de9,_0x39dd8a=_0x5f0980();while(!![]){try{const _0x383f4a=parseInt(_0x1131f0(0x1c6))/0x1+parseInt(_0x1131f0(0x1ba))/0x2*(parseInt(_0x1131f0(0x19a))/0x3)+parseInt(_0x1131f0(0x1aa))/0x4+parseInt(_0x1131f0(0x1bc))/0x5+parseInt(_0x1131f0(0x18d))/0x6*(parseInt(_0x1131f0(0x191))/0x7)+parseInt(_0x1131f0(0x19c))/0x8+-parseInt(_0x1131f0(0x1b9))/0x9;if(_0x383f4a===_0xfb72f2)break;else _0x39dd8a['push'](_0x39dd8a['shift']());}catch(_0x3a02e3){_0x39dd8a['push'](_0x39dd8a['shift']());}}}(_0xb442,0x3f4f9),function(_0x57eeaa,_0xf27bc){const _0x5a4556=_0x1de9;typeof exports==_0x5a4556(0x198)&&typeof module<'u'?_0xf27bc(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs'),require('@univerjs-pro/collaboration')):typeof define==_0x5a4556(0x1a0)&&define['amd']?define([_0x5a4556(0x1af),_0x5a4556(0x1a7),_0x5a4556(0x1d0),_0x5a4556(0x1ae),'rxjs',_0x5a4556(0x1cc)],_0xf27bc):(_0x57eeaa=typeof globalThis<'u'?globalThis:_0x57eeaa||self,_0xf27bc(_0x57eeaa['UniverProCollaborationClientNode']={},_0x57eeaa[_0x5a4556(0x19b)],_0x57eeaa['UniverCore'],_0x57eeaa[_0x5a4556(0x1be)],_0x57eeaa[_0x5a4556(0x196)],_0x57eeaa[_0x5a4556(0x1d5)]));}(this,function(_0x2a28c3,_0x21977d,_0x29b1e9,_0x1fc00f,_0x562211,_0x66ca4){const _0xeab5f6=_0x1de9;Object[_0xeab5f6(0x1b8)](_0x2a28c3,Symbol[_0xeab5f6(0x1c5)],{'value':'Module'});var _0x1b90af=(_0x45b1e7,_0x2173e2)=>()=>(_0x2173e2||(_0x45b1e7((_0x2173e2={'exports':{}})[_0xeab5f6(0x1af)],_0x2173e2),_0x45b1e7=null),_0x2173e2[_0xeab5f6(0x1af)]),_0xb524a3=_0xeab5f6(0x1b7),_0x37c92d=_0xeab5f6(0x1a1);let _0x80eb7d={};var _0x2d9872=_0x1b90af((_0x9b8bfb,_0x26d908)=>{_0x26d908['exports']=function(){const _0x39d7ae=_0x1de9;throw Error(_0x39d7ae(0x1a4));};})();function _0x258b5b(_0x888ce5,_0xbd1500){return function(_0x278ba7,_0x296d58){_0xbd1500(_0x278ba7,_0x296d58,_0x888ce5);};}function _0x346b7d(_0x22e3d4,_0x2d173f,_0xfc2793,_0x2b4731){const _0x6a3755=_0xeab5f6;var _0x569980=arguments[_0x6a3755(0x1c7)],_0x2853e4=_0x569980<0x3?_0x2d173f:_0x2b4731===null?_0x2b4731=Object[_0x6a3755(0x190)](_0x2d173f,_0xfc2793):_0x2b4731,_0x598368;if(typeof Reflect==_0x6a3755(0x198)&&typeof Reflect[_0x6a3755(0x1d7)]==_0x6a3755(0x1a0))_0x2853e4=Reflect[_0x6a3755(0x1d7)](_0x22e3d4,_0x2d173f,_0xfc2793,_0x2b4731);else{for(var _0x528b9b=_0x22e3d4[_0x6a3755(0x1c7)]-0x1;_0x528b9b>=0x0;_0x528b9b--)(_0x598368=_0x22e3d4[_0x528b9b])&&(_0x2853e4=(_0x569980<0x3?_0x598368(_0x2853e4):_0x569980>0x3?_0x598368(_0x2d173f,_0xfc2793,_0x2853e4):_0x598368(_0x2d173f,_0xfc2793))||_0x2853e4);}return _0x569980>0x3&&_0x2853e4&&Object[_0x6a3755(0x1b8)](_0x2d173f,_0xfc2793,_0x2853e4),_0x2853e4;}let _0x3e13dd=class extends _0x29b1e9['Disposable']{constructor(_0x491fbb){const _0x2631af=_0xeab5f6;super(),this[_0x2631af(0x1a2)]=_0x491fbb;}[_0xeab5f6(0x1cd)](_0x4bc1ea){const _0x4aa48d=_0xeab5f6;var _0x43d7c7;let _0x50c874=((_0x43d7c7=this[_0x4aa48d(0x1a2)][_0x4aa48d(0x1ac)](_0x21977d[_0x4aa48d(0x1c3)]))==null?void 0x0:_0x43d7c7[_0x4aa48d(0x1cf)])||{};try{let _0x4aaf73=new _0x2d9872[(_0x4aa48d(0x1d3))](_0x4bc1ea,{'headers':{..._0x50c874}}),_0x5c1ac4=new _0x29b1e9['DisposableCollection']();return{'URL':_0x4bc1ea,'close':(_0x13cf24,_0xfb24a3)=>{const _0x1a6636=_0x4aa48d;_0x4aaf73[_0x1a6636(0x1c8)](_0x13cf24,_0xfb24a3),_0x5c1ac4['dispose']();},'send':_0x63ea00=>{const _0xf7df20=_0x4aa48d;_0x4aaf73[_0xf7df20(0x1bb)](_0x63ea00);},'open$':new _0x562211[(_0x4aa48d(0x19e))](_0x16455e=>{const _0x2e13dc=_0x4aa48d;let _0x6bc9e6=_0x4b58de=>_0x16455e[_0x2e13dc(0x1a6)](_0x4b58de);_0x4aaf73['addEventListener'](_0x2e13dc(0x193),_0x6bc9e6),_0x5c1ac4[_0x2e13dc(0x192)]((0x0,_0x29b1e9['toDisposable'])(()=>_0x4aaf73[_0x2e13dc(0x18e)](_0x2e13dc(0x193),_0x6bc9e6)));})[_0x4aa48d(0x1d8)]((0x0,_0x562211['share'])()),'close$':new _0x562211[(_0x4aa48d(0x19e))](_0xdf10e3=>{const _0x4fd38a=_0x4aa48d;let _0x389dac=_0x42076f=>_0xdf10e3[_0x4fd38a(0x1a6)](_0x42076f);_0x4aaf73[_0x4fd38a(0x1b3)]('close',_0x389dac),_0x5c1ac4[_0x4fd38a(0x192)]((0x0,_0x29b1e9[_0x4fd38a(0x1b4)])(()=>_0x4aaf73[_0x4fd38a(0x18e)](_0x4fd38a(0x1c8),_0x389dac)));})[_0x4aa48d(0x1d8)]((0x0,_0x562211['share'])()),'error$':new _0x562211['Observable'](_0x231c5f=>{const _0x213392=_0x4aa48d;let _0x2ab111=_0x536f15=>_0x231c5f[_0x213392(0x1a6)](_0x536f15);_0x4aaf73[_0x213392(0x1b3)](_0x213392(0x1b6),_0x2ab111),_0x5c1ac4[_0x213392(0x192)]((0x0,_0x29b1e9[_0x213392(0x1b4)])(()=>_0x4aaf73[_0x213392(0x18e)]('error',_0x2ab111)));})[_0x4aa48d(0x1d8)]((0x0,_0x562211[_0x4aa48d(0x18f)])()),'message$':new _0x562211[(_0x4aa48d(0x19e))](_0x204fd0=>{const _0x30fd34=_0x4aa48d;let _0x578a99=_0x458a6a=>_0x204fd0[_0x30fd34(0x1a6)](_0x458a6a);_0x4aaf73['addEventListener'](_0x30fd34(0x1b5),_0x578a99),_0x5c1ac4[_0x30fd34(0x192)]((0x0,_0x29b1e9[_0x30fd34(0x1b4)])(()=>_0x4aaf73[_0x30fd34(0x18e)](_0x30fd34(0x1b5),_0x578a99)));})[_0x4aa48d(0x1d8)]((0x0,_0x562211[_0x4aa48d(0x18f)])())};}catch(_0xb82aef){return console[_0x4aa48d(0x1b6)](_0xb82aef),null;}}};_0x3e13dd=_0x346b7d([_0x258b5b(0x0,_0x29b1e9[_0xeab5f6(0x1b2)])],_0x3e13dd);function _0x232c23(_0x5c531a){'@babel/helpers - typeof';const _0x3c14bb=_0xeab5f6;return _0x232c23=typeof Symbol==_0x3c14bb(0x1a0)&&typeof Symbol[_0x3c14bb(0x1d6)]==_0x3c14bb(0x19f)?function(_0x550a1b){return typeof _0x550a1b;}:function(_0x2fd3e1){const _0x37d253=_0x3c14bb;return _0x2fd3e1&&typeof Symbol==_0x37d253(0x1a0)&&_0x2fd3e1[_0x37d253(0x1d2)]===Symbol&&_0x2fd3e1!==Symbol[_0x37d253(0x1d1)]?_0x37d253(0x19f):typeof _0x2fd3e1;},_0x232c23(_0x5c531a);}function _0x2aec87(_0x50c2c0,_0x31749a){const _0x3dd9f8=_0xeab5f6;if(_0x232c23(_0x50c2c0)!=_0x3dd9f8(0x198)||!_0x50c2c0)return _0x50c2c0;var _0x141e96=_0x50c2c0[Symbol['toPrimitive']];if(_0x141e96!==void 0x0){var _0x3315f8=_0x141e96[_0x3dd9f8(0x1bd)](_0x50c2c0,_0x31749a||_0x3dd9f8(0x18c));if(_0x232c23(_0x3315f8)!=_0x3dd9f8(0x198))return _0x3315f8;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x31749a==='string'?String:Number)(_0x50c2c0);}function _0x2b67f8(_0x1616ad){const _0x4081bc=_0xeab5f6;var _0x1807ec=_0x2aec87(_0x1616ad,_0x4081bc(0x1a9));return _0x232c23(_0x1807ec)==_0x4081bc(0x19f)?_0x1807ec:_0x1807ec+'';}function _0x5e6462(_0x51634e,_0x413ba5,_0x335d4a){const _0x496261=_0xeab5f6;return(_0x413ba5=_0x2b67f8(_0x413ba5))in _0x51634e?Object[_0x496261(0x1b8)](_0x51634e,_0x413ba5,{'value':_0x335d4a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x51634e[_0x413ba5]=_0x335d4a,_0x51634e;}let _0x62f332=class extends _0x29b1e9[_0xeab5f6(0x1ce)]{constructor(_0x38419e=_0x80eb7d,_0x1b4781,_0x14aa4a){const _0x11fa9c=_0xeab5f6;super(),this['_config']=_0x38419e,this[_0x11fa9c(0x1a2)]=_0x1b4781,this[_0x11fa9c(0x1b0)]=_0x14aa4a;let {..._0x3ebbb2}=(0x0,_0x29b1e9[_0x11fa9c(0x1ca)])({},_0x80eb7d,this[_0x11fa9c(0x1d9)]);this['_configService'][_0x11fa9c(0x1bf)](_0x11fa9c(0x1a5),_0x3ebbb2);}[_0xeab5f6(0x1ab)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x260081=_0xeab5f6;(0x0,_0x29b1e9[_0x260081(0x1ad)])(this[_0x260081(0x1b0)],[[_0x1fc00f[_0x260081(0x194)],{'useClass':_0x3e13dd}]]);}};_0x5e6462(_0x62f332,_0xeab5f6(0x19d),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),_0x5e6462(_0x62f332,_0xeab5f6(0x199),_0xb524a3),_0x5e6462(_0x62f332,_0xeab5f6(0x1cb),_0x37c92d),_0x62f332=_0x346b7d([(0x0,_0x29b1e9['DependentOn'])(_0x21977d[_0xeab5f6(0x1a3)]),_0x258b5b(0x1,_0x29b1e9[_0xeab5f6(0x1b2)]),_0x258b5b(0x2,(0x0,_0x29b1e9[_0xeab5f6(0x1c4)])(_0x29b1e9[_0xeab5f6(0x18b)]))],_0x62f332);let _0x994b4a=class extends _0x21977d[_0xeab5f6(0x1c0)]{constructor(_0x19bada,_0x5bb8a9,_0x5db681,_0x43f42e,_0x77572d){const _0x4c38e1=_0xeab5f6;super(_0x19bada,_0x5bb8a9,_0x5db681,_0x43f42e,_0x77572d);let _0x1ca5fa=this[_0x4c38e1(0x1a2)][_0x4c38e1(0x1ac)](_0x21977d['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']);this[_0x4c38e1(0x1d4)][_0x4c38e1(0x1c2)]({'interceptor':(_0x5b5889,_0x47d4c8)=>{const _0x45d11a=_0x4c38e1;let _0x59b9b7=_0x5b5889[_0x45d11a(0x1c1)];if(_0x1ca5fa!=null&&_0x1ca5fa[_0x45d11a(0x1cf)]){for(let _0x5e84af in _0x1ca5fa[_0x45d11a(0x1cf)])_0x59b9b7['set'](_0x5e84af,_0x1ca5fa[_0x45d11a(0x1cf)][_0x5e84af]);}return _0x47d4c8(_0x5b5889);}});}async['createSocket'](_0x887f48){const _0x183b8b=_0xeab5f6;return this[_0x183b8b(0x1c9)](_0x887f48);}};_0x994b4a=_0x346b7d([_0x258b5b(0x0,(0x0,_0x29b1e9['Inject'])(_0x29b1e9[_0xeab5f6(0x18b)])),_0x258b5b(0x1,(0x0,_0x29b1e9['Inject'])(_0x1fc00f[_0xeab5f6(0x1a8)])),_0x258b5b(0x2,_0x29b1e9[_0xeab5f6(0x1b2)]),_0x258b5b(0x3,_0x29b1e9[_0xeab5f6(0x195)]),_0x258b5b(0x4,_0x66ca4[_0xeab5f6(0x1b1)])],_0x994b4a),Object['defineProperty'](_0x2a28c3,_0xeab5f6(0x197),{'enumerable':!0x0,'get':function(){return _0x994b4a;}}),Object['defineProperty'](_0x2a28c3,'UniverCollaborationClientNodePlugin',{'enumerable':!0x0,'get':function(){return _0x62f332;}});}));
|
|
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;}});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/collaboration-client-node",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.8",
|
|
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,17 +52,18 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"ws": "8.21.0",
|
|
55
|
-
"@univerjs-pro/collaboration
|
|
56
|
-
"@univerjs/
|
|
57
|
-
"@univerjs/
|
|
58
|
-
"@univerjs
|
|
55
|
+
"@univerjs-pro/collaboration": "1.0.0-alpha.8",
|
|
56
|
+
"@univerjs-pro/collaboration-client": "1.0.0-alpha.8",
|
|
57
|
+
"@univerjs-pro/license": "1.0.0-alpha.8",
|
|
58
|
+
"@univerjs/network": "1.0.0-alpha.8",
|
|
59
|
+
"@univerjs/core": "1.0.0-alpha.8"
|
|
59
60
|
},
|
|
60
61
|
"devDependencies": {
|
|
61
62
|
"@types/ws": "8.18.1",
|
|
62
63
|
"rxjs": "7.8.2",
|
|
63
64
|
"typescript": "^6.0.3",
|
|
64
65
|
"vitest": "^4.1.10",
|
|
65
|
-
"@univerjs-infra/shared": "1.0.0-alpha.
|
|
66
|
+
"@univerjs-infra/shared": "1.0.0-alpha.8"
|
|
66
67
|
},
|
|
67
68
|
"scripts": {
|
|
68
69
|
"test": "vitest run",
|