@univerjs-pro/collaboration-client-node 1.0.0-alpha.8 → 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5cda3e=_0x2faf;(function(_0x23d530,_0x3a700f){const _0x7fb196=_0x2faf,_0x557a82=_0x23d530();while(!![]){try{const _0x1ccc67=parseInt(_0x7fb196(0xc8))/0x1+parseInt(_0x7fb196(0xaf))/0x2+parseInt(_0x7fb196(0xb0))/0x3*(-parseInt(_0x7fb196(0xdc))/0x4)+parseInt(_0x7fb196(0xba))/0x5*(parseInt(_0x7fb196(0xca))/0x6)+-parseInt(_0x7fb196(0xbc))/0x7*(parseInt(_0x7fb196(0xea))/0x8)+parseInt(_0x7fb196(0xc5))/0x9+-parseInt(_0x7fb196(0xb5))/0xa;if(_0x1ccc67===_0x3a700f)break;else _0x557a82['push'](_0x557a82['shift']());}catch(_0x40bc75){_0x557a82['push'](_0x557a82['shift']());}}}(_0xb1b2,0x48bed),Object[_0x5cda3e(0xdd)](exports,Symbol['toStringTag'],{'value':'Module'}));let e=require('@univerjs-pro/collaboration'),t=require('@univerjs-pro/collaboration-client'),n=require('@univerjs-pro/license'),r=require('@univerjs/core'),i=require('@univerjs/network'),a=require('rxjs'),o=require('ws');var s='@univerjs-pro/collaboration-client-node',c=_0x5cda3e(0xec);const l={};function u(_0x1ad0c4,_0x2ee70d){return function(_0x511ad2,_0x579c08){_0x2ee70d(_0x511ad2,_0x579c08,_0x1ad0c4);};}function d(_0x173f3d,_0x5e5249,_0x51010d,_0x2ceacf){const _0x2b32cd=_0x5cda3e;var _0x413de2=arguments[_0x2b32cd(0xb4)],_0x399a29=_0x413de2<0x3?_0x5e5249:_0x2ceacf===null?_0x2ceacf=Object['getOwnPropertyDescriptor'](_0x5e5249,_0x51010d):_0x2ceacf,_0x361482;if(typeof Reflect==_0x2b32cd(0xdf)&&typeof Reflect[_0x2b32cd(0xe8)]==_0x2b32cd(0xe1))_0x399a29=Reflect[_0x2b32cd(0xe8)](_0x173f3d,_0x5e5249,_0x51010d,_0x2ceacf);else{for(var _0x34584f=_0x173f3d[_0x2b32cd(0xb4)]-0x1;_0x34584f>=0x0;_0x34584f--)(_0x361482=_0x173f3d[_0x34584f])&&(_0x399a29=(_0x413de2<0x3?_0x361482(_0x399a29):_0x413de2>0x3?_0x361482(_0x5e5249,_0x51010d,_0x399a29):_0x361482(_0x5e5249,_0x51010d))||_0x399a29);}return _0x413de2>0x3&&_0x399a29&&Object[_0x2b32cd(0xdd)](_0x5e5249,_0x51010d,_0x399a29),_0x399a29;}function _0x2faf(_0x1783e9,_0x5f4209){_0x1783e9=_0x1783e9-0xaa;const _0xb1b22a=_0xb1b2();let _0x2faf36=_0xb1b22a[_0x1783e9];return _0x2faf36;}let f=class extends r[_0x5cda3e(0xc6)]{constructor(_0xb25c){const _0x2c861f=_0x5cda3e;super(),this[_0x2c861f(0xc1)]=_0xb25c;}[_0x5cda3e(0xe2)](_0x645ac0){const _0x362d17=_0x5cda3e;var _0x5c03cc;let _0x24a1df=((_0x5c03cc=this[_0x362d17(0xc1)][_0x362d17(0xd2)](t['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x5c03cc[_0x362d17(0xcc)])||{};try{let _0xdd27d5=new o[(_0x362d17(0xb2))](_0x645ac0,{'headers':{..._0x24a1df}}),_0x56e400=new r[(_0x362d17(0xb9))]();return{'URL':_0x645ac0,'close':(_0x4cf24d,_0x69f678)=>{const _0x4f0ea3=_0x362d17;_0xdd27d5[_0x4f0ea3(0xee)](_0x4cf24d,_0x69f678),_0x56e400['dispose']();},'send':_0x2b4341=>{_0xdd27d5['send'](_0x2b4341);},'open$':new a[(_0x362d17(0xb7))](_0x5bc31e=>{const _0x17d6c8=_0x362d17;let _0xbbb086=_0x4e393a=>_0x5bc31e[_0x17d6c8(0xe5)](_0x4e393a);_0xdd27d5[_0x17d6c8(0xad)](_0x17d6c8(0xb6),_0xbbb086),_0x56e400[_0x17d6c8(0xde)]((0x0,r[_0x17d6c8(0xdb)])(()=>_0xdd27d5[_0x17d6c8(0xab)](_0x17d6c8(0xb6),_0xbbb086)));})['pipe']((0x0,a[_0x362d17(0xae)])()),'close$':new a['Observable'](_0x34092b=>{const _0x4ff0f8=_0x362d17;let _0x3a8b6e=_0x4489aa=>_0x34092b['next'](_0x4489aa);_0xdd27d5[_0x4ff0f8(0xad)](_0x4ff0f8(0xee),_0x3a8b6e),_0x56e400[_0x4ff0f8(0xde)]((0x0,r['toDisposable'])(()=>_0xdd27d5[_0x4ff0f8(0xab)]('close',_0x3a8b6e)));})[_0x362d17(0xeb)]((0x0,a[_0x362d17(0xae)])()),'error$':new a[(_0x362d17(0xb7))](_0x4ff0ce=>{const _0x562b44=_0x362d17;let _0x195425=_0x20f628=>_0x4ff0ce[_0x562b44(0xe5)](_0x20f628);_0xdd27d5[_0x562b44(0xad)](_0x562b44(0xcd),_0x195425),_0x56e400[_0x562b44(0xde)]((0x0,r[_0x562b44(0xdb)])(()=>_0xdd27d5[_0x562b44(0xab)](_0x562b44(0xcd),_0x195425)));})[_0x362d17(0xeb)]((0x0,a[_0x362d17(0xae)])()),'message$':new a['Observable'](_0x41f1ca=>{const _0x51cbaa=_0x362d17;let _0x55fd44=_0x2d58dc=>_0x41f1ca[_0x51cbaa(0xe5)](_0x2d58dc);_0xdd27d5[_0x51cbaa(0xad)](_0x51cbaa(0xc9),_0x55fd44),_0x56e400[_0x51cbaa(0xde)]((0x0,r[_0x51cbaa(0xdb)])(()=>_0xdd27d5[_0x51cbaa(0xab)]('message',_0x55fd44)));})[_0x362d17(0xeb)]((0x0,a[_0x362d17(0xae)])())};}catch(_0x5b6a9c){return console[_0x362d17(0xcd)](_0x5b6a9c),null;}}};f=d([u(0x0,r[_0x5cda3e(0xd0)])],f);function p(_0x2f0f26){'@babel/helpers - typeof';const _0x2f8521=_0x5cda3e;return p=typeof Symbol==_0x2f8521(0xe1)&&typeof Symbol[_0x2f8521(0xaa)]==_0x2f8521(0xd1)?function(_0x485bbb){return typeof _0x485bbb;}:function(_0x1c7527){const _0x5dc2f0=_0x2f8521;return _0x1c7527&&typeof Symbol==_0x5dc2f0(0xe1)&&_0x1c7527[_0x5dc2f0(0xe9)]===Symbol&&_0x1c7527!==Symbol[_0x5dc2f0(0xb3)]?_0x5dc2f0(0xd1):typeof _0x1c7527;},p(_0x2f0f26);}function m(_0x5c3b81,_0x1fcd55){const _0x451a5a=_0x5cda3e;if(p(_0x5c3b81)!=_0x451a5a(0xdf)||!_0x5c3b81)return _0x5c3b81;var _0x365c04=_0x5c3b81[Symbol[_0x451a5a(0xd3)]];if(_0x365c04!==void 0x0){var _0x1c8653=_0x365c04[_0x451a5a(0xcb)](_0x5c3b81,_0x1fcd55||_0x451a5a(0xbe));if(p(_0x1c8653)!='object')return _0x1c8653;throw TypeError(_0x451a5a(0xd9));}return(_0x1fcd55===_0x451a5a(0xbf)?String:Number)(_0x5c3b81);}function h(_0xa6a40f){const _0x3321c6=_0x5cda3e;var _0x4e9b41=m(_0xa6a40f,_0x3321c6(0xbf));return p(_0x4e9b41)=='symbol'?_0x4e9b41:_0x4e9b41+'';}function g(_0x1ed13c,_0x583b8e,_0x224cd9){const _0x543f68=_0x5cda3e;return(_0x583b8e=h(_0x583b8e))in _0x1ed13c?Object[_0x543f68(0xdd)](_0x1ed13c,_0x583b8e,{'value':_0x224cd9,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1ed13c[_0x583b8e]=_0x224cd9,_0x1ed13c;}let _=class extends r[_0x5cda3e(0xb1)]{constructor(_0x18a6d9=l,_0x55b75a,_0x45579b){const _0x221922=_0x5cda3e;super(),this[_0x221922(0xd4)]=_0x18a6d9,this['_configService']=_0x55b75a,this['_injector']=_0x45579b;let {..._0x536083}=(0x0,r['merge'])({},l,this['_config']);this[_0x221922(0xc1)][_0x221922(0xe3)](_0x221922(0xc4),_0x536083);}[_0x5cda3e(0xd7)](){const _0x4f710e=_0x5cda3e;this[_0x4f710e(0xce)]();}[_0x5cda3e(0xce)](){const _0x1e7f6b=_0x5cda3e;(0x0,r['registerDependencies'])(this[_0x1e7f6b(0xc0)],[[i[_0x1e7f6b(0xe7)],{'useClass':f}]]);}};function _0xb1b2(){const _0x3e61e4=['UniverNetworkPlugin','NodeCollaborationSocketService','collaboration-client-node.config','2680821UFDczW','Disposable','UniverCollaborationClientPlugin','537985imGtAP','message','282bGUKmm','call','customHeaders','error','_registerDependencies','Injector','IConfigService','symbol','getConfig','toPrimitive','_config','headers','CollaborationSocketService','onStarting','UniverCollaborationPlugin','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','UniverLicensePlugin','toDisposable','1390052CpoaEk','defineProperty','add','object','Inject','function','createSocket','setConfig','ILogService','next','ISnapshotServerService','ISocketService','decorate','constructor','639512eEuXJZ','pipe','1.0.0-beta.1','pluginName','close','iterator','removeEventListener','version','addEventListener','share','102608kYrvHn','3rlbqbZ','Plugin','WebSocket','prototype','length','5951280wtBKgr','open','Observable','set','DisposableCollection','46105eAxgGE','packageName','7zmqVKX','DependentOn','default','string','_injector','_configService'];_0xb1b2=function(){return _0x3e61e4;};return _0xb1b2();}g(_,_0x5cda3e(0xed),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),g(_,_0x5cda3e(0xbb),s),g(_,_0x5cda3e(0xac),c),_=d([(0x0,r[_0x5cda3e(0xbd)])(n[_0x5cda3e(0xda)],i[_0x5cda3e(0xc2)],e[_0x5cda3e(0xd8)],t[_0x5cda3e(0xc7)]),u(0x1,r['IConfigService']),u(0x2,(0x0,r[_0x5cda3e(0xe0)])(r[_0x5cda3e(0xcf)]))],_);let v=class extends t[_0x5cda3e(0xd6)]{constructor(_0x5d8a34,_0x151c78,_0xf2ada7,_0x29b21d,_0x5b51c2){const _0x329117=_0x5cda3e;super(_0x5d8a34,_0x151c78,_0xf2ada7,_0x29b21d,_0x5b51c2);let _0x34b5a0=this[_0x329117(0xc1)][_0x329117(0xd2)](t['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x4ab3d1,_0x18469e)=>{const _0x2b5b52=_0x329117;let _0x909ff7=_0x4ab3d1[_0x2b5b52(0xd5)];if(_0x34b5a0!=null&&_0x34b5a0[_0x2b5b52(0xcc)]){for(let _0x4fb907 in _0x34b5a0[_0x2b5b52(0xcc)])_0x909ff7[_0x2b5b52(0xb8)](_0x4fb907,_0x34b5a0[_0x2b5b52(0xcc)][_0x4fb907]);}return _0x18469e(_0x4ab3d1);}});}async[_0x5cda3e(0xe2)](_0x523bd5){return this['_doCreateSocket'](_0x523bd5);}};v=d([u(0x0,(0x0,r[_0x5cda3e(0xe0)])(r['Injector'])),u(0x1,(0x0,r['Inject'])(i['HTTPService'])),u(0x2,r[_0x5cda3e(0xd0)]),u(0x3,r[_0x5cda3e(0xe4)]),u(0x4,e[_0x5cda3e(0xe6)])],v),Object[_0x5cda3e(0xdd)](exports,_0x5cda3e(0xc3),{'enumerable':!0x0,'get':function(){return v;}}),Object['defineProperty'](exports,'UniverCollaborationClientNodePlugin',{'enumerable':!0x0,'get':function(){return _;}});
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x53c162=_0x2392;(function(_0x4e16c2,_0xd8ae15){const _0x52699f=_0x2392,_0xe3ae53=_0x4e16c2();while(!![]){try{const _0x3c603c=-parseInt(_0x52699f(0x78))/0x1*(-parseInt(_0x52699f(0x94))/0x2)+-parseInt(_0x52699f(0x9d))/0x3*(-parseInt(_0x52699f(0xa1))/0x4)+parseInt(_0x52699f(0x84))/0x5+-parseInt(_0x52699f(0x9f))/0x6*(parseInt(_0x52699f(0x7f))/0x7)+-parseInt(_0x52699f(0x79))/0x8+-parseInt(_0x52699f(0x9a))/0x9*(-parseInt(_0x52699f(0x7c))/0xa)+parseInt(_0x52699f(0x85))/0xb*(-parseInt(_0x52699f(0x9c))/0xc);if(_0x3c603c===_0xd8ae15)break;else _0xe3ae53['push'](_0xe3ae53['shift']());}catch(_0x19ebec){_0xe3ae53['push'](_0xe3ae53['shift']());}}}(_0x1d79,0xea3cf));import{ISnapshotServerService as _0x1f6a15,UniverCollaborationPlugin as _0x38020d}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x46937c,CollaborationSocketService as _0x2a5c17,UniverCollaborationClientPlugin as _0x5086da}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x4f4401}from'@univerjs-pro/license';import{DependentOn as _0x12a480,Disposable as _0xe535ca,DisposableCollection as _0x5a29c4,IConfigService as _0x4fc5ac,ILogService as _0x39cecc,Inject as _0x535242,Injector as _0x5e17c2,Plugin as _0x5b63a7,merge as _0x4ce595,registerDependencies as _0x54c6a8,toDisposable as _0x2641d0}from'@univerjs/core';function _0x2392(_0x376559,_0x2ffc34){_0x376559=_0x376559-0x74;const _0x1d79bf=_0x1d79();let _0x23922f=_0x1d79bf[_0x376559];return _0x23922f;}import{HTTPService as _0x2779fb,ISocketService as _0x1a8a8d,UniverNetworkPlugin as _0x56abef}from'@univerjs/network';import{Observable as _0x5f30fa,share as _0x22ce3a}from'rxjs';function _0x1d79(){const _0x2e7bd7=['message','4436613DxdCHQ','_registerDependencies','12UAsQok','147vYTEEI','prototype','32442xVezWJ','onStarting','109236PIDAue','add','removeEventListener','pluginName','constructor','dispose','object','addEventListener','next','1zYVmFr','8408280nfXiIk','call','string','30TAYmGd','customHeaders','createSocket','1883RTmmOF','1.0.0-beta.1','open','_configService','set','8548960xTxSrb','17579474aveRyJ','length','decorate','_doCreateSocket','setConfig','error','function','getConfig','pipe','_config','toPrimitive','symbol','_injector','getOwnPropertyDescriptor','iterator','1072574wgBbNV','default','_httpService','close','packageName'];_0x1d79=function(){return _0x2e7bd7;};return _0x1d79();}import{WebSocket as _0x9366c5}from'ws';var C='@univerjs-pro/collaboration-client-node',w=_0x53c162(0x80);const T={};function E(_0xa8c8fb,_0x2b6a5b){return function(_0x4d072e,_0x437716){_0x2b6a5b(_0x4d072e,_0x437716,_0xa8c8fb);};}function D(_0x519ca2,_0xbace1f,_0x353183,_0x4506c4){const _0x2cdff1=_0x53c162;var _0x59c200=arguments[_0x2cdff1(0x86)],_0x51b427=_0x59c200<0x3?_0xbace1f:_0x4506c4===null?_0x4506c4=Object[_0x2cdff1(0x92)](_0xbace1f,_0x353183):_0x4506c4,_0x27b6c2;if(typeof Reflect==_0x2cdff1(0x75)&&typeof Reflect[_0x2cdff1(0x87)]==_0x2cdff1(0x8b))_0x51b427=Reflect['decorate'](_0x519ca2,_0xbace1f,_0x353183,_0x4506c4);else{for(var _0x27a667=_0x519ca2[_0x2cdff1(0x86)]-0x1;_0x27a667>=0x0;_0x27a667--)(_0x27b6c2=_0x519ca2[_0x27a667])&&(_0x51b427=(_0x59c200<0x3?_0x27b6c2(_0x51b427):_0x59c200>0x3?_0x27b6c2(_0xbace1f,_0x353183,_0x51b427):_0x27b6c2(_0xbace1f,_0x353183))||_0x51b427);}return _0x59c200>0x3&&_0x51b427&&Object['defineProperty'](_0xbace1f,_0x353183,_0x51b427),_0x51b427;}let O=class extends _0xe535ca{constructor(_0x2de500){super(),this['_configService']=_0x2de500;}[_0x53c162(0x7e)](_0x242d69){const _0x452f38=_0x53c162;var _0x46d2eb;let _0xd9c102=((_0x46d2eb=this[_0x452f38(0x82)][_0x452f38(0x8c)](_0x46937c))==null?void 0x0:_0x46d2eb[_0x452f38(0x7d)])||{};try{let _0x431cd3=new _0x9366c5(_0x242d69,{'headers':{..._0xd9c102}}),_0x4334a5=new _0x5a29c4();return{'URL':_0x242d69,'close':(_0xdd297e,_0x1d8d92)=>{const _0x20015a=_0x452f38;_0x431cd3[_0x20015a(0x97)](_0xdd297e,_0x1d8d92),_0x4334a5[_0x20015a(0x74)]();},'send':_0x153c17=>{_0x431cd3['send'](_0x153c17);},'open$':new _0x5f30fa(_0x4eaf4b=>{const _0x17eaba=_0x452f38;let _0x1a0510=_0x371982=>_0x4eaf4b['next'](_0x371982);_0x431cd3['addEventListener'](_0x17eaba(0x81),_0x1a0510),_0x4334a5['add'](_0x2641d0(()=>_0x431cd3['removeEventListener'](_0x17eaba(0x81),_0x1a0510)));})[_0x452f38(0x8d)](_0x22ce3a()),'close$':new _0x5f30fa(_0x26b423=>{const _0x1ab73a=_0x452f38;let _0xf5369e=_0x453c57=>_0x26b423[_0x1ab73a(0x77)](_0x453c57);_0x431cd3['addEventListener'](_0x1ab73a(0x97),_0xf5369e),_0x4334a5[_0x1ab73a(0xa2)](_0x2641d0(()=>_0x431cd3[_0x1ab73a(0xa3)](_0x1ab73a(0x97),_0xf5369e)));})[_0x452f38(0x8d)](_0x22ce3a()),'error$':new _0x5f30fa(_0x5b9c9b=>{const _0x2ed896=_0x452f38;let _0x58dc64=_0x519865=>_0x5b9c9b[_0x2ed896(0x77)](_0x519865);_0x431cd3[_0x2ed896(0x76)]('error',_0x58dc64),_0x4334a5[_0x2ed896(0xa2)](_0x2641d0(()=>_0x431cd3[_0x2ed896(0xa3)](_0x2ed896(0x8a),_0x58dc64)));})[_0x452f38(0x8d)](_0x22ce3a()),'message$':new _0x5f30fa(_0x19642d=>{const _0x4f984b=_0x452f38;let _0x51c482=_0x51fed1=>_0x19642d[_0x4f984b(0x77)](_0x51fed1);_0x431cd3['addEventListener'](_0x4f984b(0x99),_0x51c482),_0x4334a5[_0x4f984b(0xa2)](_0x2641d0(()=>_0x431cd3[_0x4f984b(0xa3)](_0x4f984b(0x99),_0x51c482)));})[_0x452f38(0x8d)](_0x22ce3a())};}catch(_0x4eed5c){return console['error'](_0x4eed5c),null;}}};O=D([E(0x0,_0x4fc5ac)],O);function k(_0x48e904){'@babel/helpers - typeof';const _0x91b717=_0x53c162;return k=typeof Symbol=='function'&&typeof Symbol[_0x91b717(0x93)]==_0x91b717(0x90)?function(_0x58a25f){return typeof _0x58a25f;}:function(_0x3cd423){const _0x28b4d3=_0x91b717;return _0x3cd423&&typeof Symbol==_0x28b4d3(0x8b)&&_0x3cd423[_0x28b4d3(0xa5)]===Symbol&&_0x3cd423!==Symbol[_0x28b4d3(0x9e)]?_0x28b4d3(0x90):typeof _0x3cd423;},k(_0x48e904);}function A(_0x2d0896,_0x3caf00){const _0x48b47a=_0x53c162;if(k(_0x2d0896)!=_0x48b47a(0x75)||!_0x2d0896)return _0x2d0896;var _0x34b5c1=_0x2d0896[Symbol[_0x48b47a(0x8f)]];if(_0x34b5c1!==void 0x0){var _0x3c9a12=_0x34b5c1[_0x48b47a(0x7a)](_0x2d0896,_0x3caf00||_0x48b47a(0x95));if(k(_0x3c9a12)!=_0x48b47a(0x75))return _0x3c9a12;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3caf00===_0x48b47a(0x7b)?String:Number)(_0x2d0896);}function j(_0x17248c){const _0x26f907=_0x53c162;var _0x191222=A(_0x17248c,_0x26f907(0x7b));return k(_0x191222)==_0x26f907(0x90)?_0x191222:_0x191222+'';}function M(_0x2e8e6a,_0x30e5d9,_0x50467c){return(_0x30e5d9=j(_0x30e5d9))in _0x2e8e6a?Object['defineProperty'](_0x2e8e6a,_0x30e5d9,{'value':_0x50467c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2e8e6a[_0x30e5d9]=_0x50467c,_0x2e8e6a;}let N=class extends _0x5b63a7{constructor(_0x46267a=T,_0x5cb506,_0x2ff399){const _0x53216b=_0x53c162;super(),this['_config']=_0x46267a,this[_0x53216b(0x82)]=_0x5cb506,this[_0x53216b(0x91)]=_0x2ff399;let {..._0x87dc8d}=_0x4ce595({},T,this[_0x53216b(0x8e)]);this[_0x53216b(0x82)][_0x53216b(0x89)]('collaboration-client-node.config',_0x87dc8d);}[_0x53c162(0xa0)](){this['_registerDependencies']();}[_0x53c162(0x9b)](){const _0x19c8b3=_0x53c162;_0x54c6a8(this[_0x19c8b3(0x91)],[[_0x1a8a8d,{'useClass':O}]]);}};M(N,_0x53c162(0xa4),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),M(N,_0x53c162(0x98),C),M(N,'version',w),N=D([_0x12a480(_0x4f4401,_0x56abef,_0x38020d,_0x5086da),E(0x1,_0x4fc5ac),E(0x2,_0x535242(_0x5e17c2))],N);let P=class extends _0x2a5c17{constructor(_0xbef5d2,_0x1fe2c7,_0x5aa3ed,_0x150b9a,_0x15459c){const _0x1cd080=_0x53c162;super(_0xbef5d2,_0x1fe2c7,_0x5aa3ed,_0x150b9a,_0x15459c);let _0x6e7105=this[_0x1cd080(0x82)][_0x1cd080(0x8c)](_0x46937c);this[_0x1cd080(0x96)]['registerHTTPInterceptor']({'interceptor':(_0x1db86a,_0x4120fb)=>{const _0x4e6b99=_0x1cd080;let _0x26c43e=_0x1db86a['headers'];if(_0x6e7105!=null&&_0x6e7105[_0x4e6b99(0x7d)]){for(let _0x467451 in _0x6e7105[_0x4e6b99(0x7d)])_0x26c43e[_0x4e6b99(0x83)](_0x467451,_0x6e7105[_0x4e6b99(0x7d)][_0x467451]);}return _0x4120fb(_0x1db86a);}});}async[_0x53c162(0x7e)](_0x199838){const _0x177e5b=_0x53c162;return this[_0x177e5b(0x88)](_0x199838);}};P=D([E(0x0,_0x535242(_0x5e17c2)),E(0x1,_0x535242(_0x2779fb)),E(0x2,_0x4fc5ac),E(0x3,_0x39cecc),E(0x4,_0x1f6a15)],P);export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x53c162=_0x2392;(function(_0x4e16c2,_0xd8ae15){const _0x52699f=_0x2392,_0xe3ae53=_0x4e16c2();while(!![]){try{const _0x3c603c=-parseInt(_0x52699f(0x78))/0x1*(-parseInt(_0x52699f(0x94))/0x2)+-parseInt(_0x52699f(0x9d))/0x3*(-parseInt(_0x52699f(0xa1))/0x4)+parseInt(_0x52699f(0x84))/0x5+-parseInt(_0x52699f(0x9f))/0x6*(parseInt(_0x52699f(0x7f))/0x7)+-parseInt(_0x52699f(0x79))/0x8+-parseInt(_0x52699f(0x9a))/0x9*(-parseInt(_0x52699f(0x7c))/0xa)+parseInt(_0x52699f(0x85))/0xb*(-parseInt(_0x52699f(0x9c))/0xc);if(_0x3c603c===_0xd8ae15)break;else _0xe3ae53['push'](_0xe3ae53['shift']());}catch(_0x19ebec){_0xe3ae53['push'](_0xe3ae53['shift']());}}}(_0x1d79,0xea3cf));import{ISnapshotServerService as _0x1f6a15,UniverCollaborationPlugin as _0x38020d}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x46937c,CollaborationSocketService as _0x2a5c17,UniverCollaborationClientPlugin as _0x5086da}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x4f4401}from'@univerjs-pro/license';import{DependentOn as _0x12a480,Disposable as _0xe535ca,DisposableCollection as _0x5a29c4,IConfigService as _0x4fc5ac,ILogService as _0x39cecc,Inject as _0x535242,Injector as _0x5e17c2,Plugin as _0x5b63a7,merge as _0x4ce595,registerDependencies as _0x54c6a8,toDisposable as _0x2641d0}from'@univerjs/core';function _0x2392(_0x376559,_0x2ffc34){_0x376559=_0x376559-0x74;const _0x1d79bf=_0x1d79();let _0x23922f=_0x1d79bf[_0x376559];return _0x23922f;}import{HTTPService as _0x2779fb,ISocketService as _0x1a8a8d,UniverNetworkPlugin as _0x56abef}from'@univerjs/network';import{Observable as _0x5f30fa,share as _0x22ce3a}from'rxjs';function _0x1d79(){const _0x2e7bd7=['message','4436613DxdCHQ','_registerDependencies','12UAsQok','147vYTEEI','prototype','32442xVezWJ','onStarting','109236PIDAue','add','removeEventListener','pluginName','constructor','dispose','object','addEventListener','next','1zYVmFr','8408280nfXiIk','call','string','30TAYmGd','customHeaders','createSocket','1883RTmmOF','1.0.0-beta.1','open','_configService','set','8548960xTxSrb','17579474aveRyJ','length','decorate','_doCreateSocket','setConfig','error','function','getConfig','pipe','_config','toPrimitive','symbol','_injector','getOwnPropertyDescriptor','iterator','1072574wgBbNV','default','_httpService','close','packageName'];_0x1d79=function(){return _0x2e7bd7;};return _0x1d79();}import{WebSocket as _0x9366c5}from'ws';var C='@univerjs-pro/collaboration-client-node',w=_0x53c162(0x80);const T={};function E(_0xa8c8fb,_0x2b6a5b){return function(_0x4d072e,_0x437716){_0x2b6a5b(_0x4d072e,_0x437716,_0xa8c8fb);};}function D(_0x519ca2,_0xbace1f,_0x353183,_0x4506c4){const _0x2cdff1=_0x53c162;var _0x59c200=arguments[_0x2cdff1(0x86)],_0x51b427=_0x59c200<0x3?_0xbace1f:_0x4506c4===null?_0x4506c4=Object[_0x2cdff1(0x92)](_0xbace1f,_0x353183):_0x4506c4,_0x27b6c2;if(typeof Reflect==_0x2cdff1(0x75)&&typeof Reflect[_0x2cdff1(0x87)]==_0x2cdff1(0x8b))_0x51b427=Reflect['decorate'](_0x519ca2,_0xbace1f,_0x353183,_0x4506c4);else{for(var _0x27a667=_0x519ca2[_0x2cdff1(0x86)]-0x1;_0x27a667>=0x0;_0x27a667--)(_0x27b6c2=_0x519ca2[_0x27a667])&&(_0x51b427=(_0x59c200<0x3?_0x27b6c2(_0x51b427):_0x59c200>0x3?_0x27b6c2(_0xbace1f,_0x353183,_0x51b427):_0x27b6c2(_0xbace1f,_0x353183))||_0x51b427);}return _0x59c200>0x3&&_0x51b427&&Object['defineProperty'](_0xbace1f,_0x353183,_0x51b427),_0x51b427;}let O=class extends _0xe535ca{constructor(_0x2de500){super(),this['_configService']=_0x2de500;}[_0x53c162(0x7e)](_0x242d69){const _0x452f38=_0x53c162;var _0x46d2eb;let _0xd9c102=((_0x46d2eb=this[_0x452f38(0x82)][_0x452f38(0x8c)](_0x46937c))==null?void 0x0:_0x46d2eb[_0x452f38(0x7d)])||{};try{let _0x431cd3=new _0x9366c5(_0x242d69,{'headers':{..._0xd9c102}}),_0x4334a5=new _0x5a29c4();return{'URL':_0x242d69,'close':(_0xdd297e,_0x1d8d92)=>{const _0x20015a=_0x452f38;_0x431cd3[_0x20015a(0x97)](_0xdd297e,_0x1d8d92),_0x4334a5[_0x20015a(0x74)]();},'send':_0x153c17=>{_0x431cd3['send'](_0x153c17);},'open$':new _0x5f30fa(_0x4eaf4b=>{const _0x17eaba=_0x452f38;let _0x1a0510=_0x371982=>_0x4eaf4b['next'](_0x371982);_0x431cd3['addEventListener'](_0x17eaba(0x81),_0x1a0510),_0x4334a5['add'](_0x2641d0(()=>_0x431cd3['removeEventListener'](_0x17eaba(0x81),_0x1a0510)));})[_0x452f38(0x8d)](_0x22ce3a()),'close$':new _0x5f30fa(_0x26b423=>{const _0x1ab73a=_0x452f38;let _0xf5369e=_0x453c57=>_0x26b423[_0x1ab73a(0x77)](_0x453c57);_0x431cd3['addEventListener'](_0x1ab73a(0x97),_0xf5369e),_0x4334a5[_0x1ab73a(0xa2)](_0x2641d0(()=>_0x431cd3[_0x1ab73a(0xa3)](_0x1ab73a(0x97),_0xf5369e)));})[_0x452f38(0x8d)](_0x22ce3a()),'error$':new _0x5f30fa(_0x5b9c9b=>{const _0x2ed896=_0x452f38;let _0x58dc64=_0x519865=>_0x5b9c9b[_0x2ed896(0x77)](_0x519865);_0x431cd3[_0x2ed896(0x76)]('error',_0x58dc64),_0x4334a5[_0x2ed896(0xa2)](_0x2641d0(()=>_0x431cd3[_0x2ed896(0xa3)](_0x2ed896(0x8a),_0x58dc64)));})[_0x452f38(0x8d)](_0x22ce3a()),'message$':new _0x5f30fa(_0x19642d=>{const _0x4f984b=_0x452f38;let _0x51c482=_0x51fed1=>_0x19642d[_0x4f984b(0x77)](_0x51fed1);_0x431cd3['addEventListener'](_0x4f984b(0x99),_0x51c482),_0x4334a5[_0x4f984b(0xa2)](_0x2641d0(()=>_0x431cd3[_0x4f984b(0xa3)](_0x4f984b(0x99),_0x51c482)));})[_0x452f38(0x8d)](_0x22ce3a())};}catch(_0x4eed5c){return console['error'](_0x4eed5c),null;}}};O=D([E(0x0,_0x4fc5ac)],O);function k(_0x48e904){'@babel/helpers - typeof';const _0x91b717=_0x53c162;return k=typeof Symbol=='function'&&typeof Symbol[_0x91b717(0x93)]==_0x91b717(0x90)?function(_0x58a25f){return typeof _0x58a25f;}:function(_0x3cd423){const _0x28b4d3=_0x91b717;return _0x3cd423&&typeof Symbol==_0x28b4d3(0x8b)&&_0x3cd423[_0x28b4d3(0xa5)]===Symbol&&_0x3cd423!==Symbol[_0x28b4d3(0x9e)]?_0x28b4d3(0x90):typeof _0x3cd423;},k(_0x48e904);}function A(_0x2d0896,_0x3caf00){const _0x48b47a=_0x53c162;if(k(_0x2d0896)!=_0x48b47a(0x75)||!_0x2d0896)return _0x2d0896;var _0x34b5c1=_0x2d0896[Symbol[_0x48b47a(0x8f)]];if(_0x34b5c1!==void 0x0){var _0x3c9a12=_0x34b5c1[_0x48b47a(0x7a)](_0x2d0896,_0x3caf00||_0x48b47a(0x95));if(k(_0x3c9a12)!=_0x48b47a(0x75))return _0x3c9a12;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3caf00===_0x48b47a(0x7b)?String:Number)(_0x2d0896);}function j(_0x17248c){const _0x26f907=_0x53c162;var _0x191222=A(_0x17248c,_0x26f907(0x7b));return k(_0x191222)==_0x26f907(0x90)?_0x191222:_0x191222+'';}function M(_0x2e8e6a,_0x30e5d9,_0x50467c){return(_0x30e5d9=j(_0x30e5d9))in _0x2e8e6a?Object['defineProperty'](_0x2e8e6a,_0x30e5d9,{'value':_0x50467c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2e8e6a[_0x30e5d9]=_0x50467c,_0x2e8e6a;}let N=class extends _0x5b63a7{constructor(_0x46267a=T,_0x5cb506,_0x2ff399){const _0x53216b=_0x53c162;super(),this['_config']=_0x46267a,this[_0x53216b(0x82)]=_0x5cb506,this[_0x53216b(0x91)]=_0x2ff399;let {..._0x87dc8d}=_0x4ce595({},T,this[_0x53216b(0x8e)]);this[_0x53216b(0x82)][_0x53216b(0x89)]('collaboration-client-node.config',_0x87dc8d);}[_0x53c162(0xa0)](){this['_registerDependencies']();}[_0x53c162(0x9b)](){const _0x19c8b3=_0x53c162;_0x54c6a8(this[_0x19c8b3(0x91)],[[_0x1a8a8d,{'useClass':O}]]);}};M(N,_0x53c162(0xa4),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),M(N,_0x53c162(0x98),C),M(N,'version',w),N=D([_0x12a480(_0x4f4401,_0x56abef,_0x38020d,_0x5086da),E(0x1,_0x4fc5ac),E(0x2,_0x535242(_0x5e17c2))],N);let P=class extends _0x2a5c17{constructor(_0xbef5d2,_0x1fe2c7,_0x5aa3ed,_0x150b9a,_0x15459c){const _0x1cd080=_0x53c162;super(_0xbef5d2,_0x1fe2c7,_0x5aa3ed,_0x150b9a,_0x15459c);let _0x6e7105=this[_0x1cd080(0x82)][_0x1cd080(0x8c)](_0x46937c);this[_0x1cd080(0x96)]['registerHTTPInterceptor']({'interceptor':(_0x1db86a,_0x4120fb)=>{const _0x4e6b99=_0x1cd080;let _0x26c43e=_0x1db86a['headers'];if(_0x6e7105!=null&&_0x6e7105[_0x4e6b99(0x7d)]){for(let _0x467451 in _0x6e7105[_0x4e6b99(0x7d)])_0x26c43e[_0x4e6b99(0x83)](_0x467451,_0x6e7105[_0x4e6b99(0x7d)][_0x467451]);}return _0x4120fb(_0x1db86a);}});}async[_0x53c162(0x7e)](_0x199838){const _0x177e5b=_0x53c162;return this[_0x177e5b(0x88)](_0x199838);}};P=D([E(0x0,_0x535242(_0x5e17c2)),E(0x1,_0x535242(_0x2779fb)),E(0x2,_0x4fc5ac),E(0x3,_0x39cecc),E(0x4,_0x1f6a15)],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(_0x9777af,_0xd7ccc6){const _0x3ed2e5=_0x3974,_0x11b046=_0x9777af();while(!![]){try{const _0x4ab567=-parseInt(_0x3ed2e5(0x126))/0x1*(-parseInt(_0x3ed2e5(0x150))/0x2)+parseInt(_0x3ed2e5(0x108))/0x3+-parseInt(_0x3ed2e5(0x155))/0x4*(-parseInt(_0x3ed2e5(0x125))/0x5)+parseInt(_0x3ed2e5(0x106))/0x6+-parseInt(_0x3ed2e5(0x123))/0x7*(parseInt(_0x3ed2e5(0x151))/0x8)+-parseInt(_0x3ed2e5(0x128))/0x9*(parseInt(_0x3ed2e5(0x14f))/0xa)+-parseInt(_0x3ed2e5(0x14a))/0xb;if(_0x4ab567===_0xd7ccc6)break;else _0x11b046['push'](_0x11b046['shift']());}catch(_0x4fbe5d){_0x11b046['push'](_0x11b046['shift']());}}}(_0x3858,0x29a5a),function(_0xcfa7c7,_0x59f18a){const _0x14863a=_0x3974;typeof exports==_0x14863a(0x142)&&typeof module<'u'?_0x59f18a(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs')):typeof define==_0x14863a(0x135)&&define[_0x14863a(0x110)]?define([_0x14863a(0x141),_0x14863a(0x109),_0x14863a(0x139),_0x14863a(0x14c),_0x14863a(0x157),_0x14863a(0x10f),'rxjs'],_0x59f18a):(_0xcfa7c7=typeof globalThis<'u'?globalThis:_0xcfa7c7||self,_0x59f18a(_0xcfa7c7[_0x14863a(0x13c)]={},_0xcfa7c7[_0x14863a(0x118)],_0xcfa7c7['UniverProCollaborationClient'],_0xcfa7c7[_0x14863a(0x11d)],_0xcfa7c7[_0x14863a(0x10a)],_0xcfa7c7[_0x14863a(0x143)],_0xcfa7c7[_0x14863a(0x12f)]));}(this,function(_0x2d3646,_0x20b7a7,_0x1eedb8,_0x49c549,_0xb99245,_0x3fab5b,_0x4d318a){const _0x229226=_0x3974;Object[_0x229226(0x13a)](_0x2d3646,Symbol[_0x229226(0x10d)],{'value':_0x229226(0x12c)});var _0x5f45dd=(_0x427c4f,_0xca8c83)=>()=>(_0xca8c83||(_0x427c4f((_0xca8c83={'exports':{}})[_0x229226(0x141)],_0xca8c83),_0x427c4f=null),_0xca8c83[_0x229226(0x141)]),_0x30612a=_0x229226(0x10b),_0x181bd3=_0x229226(0x146);let _0x2a25a9={};var _0x32659a=_0x5f45dd((_0x4c4a08,_0xcab96e)=>{_0xcab96e['exports']=function(){throw Error('ws\x20does\x20not\x20work\x20in\x20the\x20browser.\x20Browser\x20clients\x20must\x20use\x20the\x20native\x20WebSocket\x20object');};})();function _0x4d25e8(_0x28a561,_0xa4445f){return function(_0x235ca6,_0x5a8c07){_0xa4445f(_0x235ca6,_0x5a8c07,_0x28a561);};}function _0x5e5d9b(_0x2a2f0a,_0x4f6d1f,_0x2e66a1,_0x39478b){const _0x4b86e9=_0x229226;var _0xd78031=arguments[_0x4b86e9(0x140)],_0x2d17c3=_0xd78031<0x3?_0x4f6d1f:_0x39478b===null?_0x39478b=Object[_0x4b86e9(0x111)](_0x4f6d1f,_0x2e66a1):_0x39478b,_0x553ea0;if(typeof Reflect==_0x4b86e9(0x142)&&typeof Reflect[_0x4b86e9(0x11a)]==_0x4b86e9(0x135))_0x2d17c3=Reflect[_0x4b86e9(0x11a)](_0x2a2f0a,_0x4f6d1f,_0x2e66a1,_0x39478b);else{for(var _0x52a279=_0x2a2f0a[_0x4b86e9(0x140)]-0x1;_0x52a279>=0x0;_0x52a279--)(_0x553ea0=_0x2a2f0a[_0x52a279])&&(_0x2d17c3=(_0xd78031<0x3?_0x553ea0(_0x2d17c3):_0xd78031>0x3?_0x553ea0(_0x4f6d1f,_0x2e66a1,_0x2d17c3):_0x553ea0(_0x4f6d1f,_0x2e66a1))||_0x2d17c3);}return _0xd78031>0x3&&_0x2d17c3&&Object[_0x4b86e9(0x13a)](_0x4f6d1f,_0x2e66a1,_0x2d17c3),_0x2d17c3;}let _0x1b5e2d=class extends _0xb99245[_0x229226(0x136)]{constructor(_0x3242ce){const _0x46222f=_0x229226;super(),this[_0x46222f(0x119)]=_0x3242ce;}[_0x229226(0x145)](_0x1604cf){const _0xa061c8=_0x229226;var _0xe0d81f;let _0x223d40=((_0xe0d81f=this[_0xa061c8(0x119)]['getConfig'](_0x1eedb8['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xe0d81f['customHeaders'])||{};try{let _0x113491=new _0x32659a[(_0xa061c8(0x117))](_0x1604cf,{'headers':{..._0x223d40}}),_0x41c879=new _0xb99245['DisposableCollection']();return{'URL':_0x1604cf,'close':(_0x26cf07,_0xab68c3)=>{const _0x469b8d=_0xa061c8;_0x113491[_0x469b8d(0x10c)](_0x26cf07,_0xab68c3),_0x41c879[_0x469b8d(0x129)]();},'send':_0x2f0b32=>{_0x113491['send'](_0x2f0b32);},'open$':new _0x4d318a[(_0xa061c8(0x156))](_0x509a39=>{const _0x5c6153=_0xa061c8;let _0x1abdf9=_0x21bdad=>_0x509a39['next'](_0x21bdad);_0x113491[_0x5c6153(0x114)](_0x5c6153(0x144),_0x1abdf9),_0x41c879[_0x5c6153(0x124)]((0x0,_0xb99245[_0x5c6153(0x12e)])(()=>_0x113491[_0x5c6153(0x122)]('open',_0x1abdf9)));})[_0xa061c8(0x12a)]((0x0,_0x4d318a[_0xa061c8(0x13d)])()),'close$':new _0x4d318a['Observable'](_0x24dc7d=>{const _0x443149=_0xa061c8;let _0x51ac42=_0x4c92ea=>_0x24dc7d[_0x443149(0x154)](_0x4c92ea);_0x113491['addEventListener']('close',_0x51ac42),_0x41c879[_0x443149(0x124)]((0x0,_0xb99245['toDisposable'])(()=>_0x113491['removeEventListener'](_0x443149(0x10c),_0x51ac42)));})[_0xa061c8(0x12a)]((0x0,_0x4d318a[_0xa061c8(0x13d)])()),'error$':new _0x4d318a['Observable'](_0x5cf347=>{const _0xa5cbe9=_0xa061c8;let _0x3d56b4=_0x53f978=>_0x5cf347['next'](_0x53f978);_0x113491['addEventListener']('error',_0x3d56b4),_0x41c879[_0xa5cbe9(0x124)]((0x0,_0xb99245[_0xa5cbe9(0x12e)])(()=>_0x113491['removeEventListener'](_0xa5cbe9(0x116),_0x3d56b4)));})[_0xa061c8(0x12a)]((0x0,_0x4d318a[_0xa061c8(0x13d)])()),'message$':new _0x4d318a[(_0xa061c8(0x156))](_0x16cd97=>{const _0xbfe9d=_0xa061c8;let _0x13652a=_0x592ee2=>_0x16cd97['next'](_0x592ee2);_0x113491[_0xbfe9d(0x114)]('message',_0x13652a),_0x41c879[_0xbfe9d(0x124)]((0x0,_0xb99245['toDisposable'])(()=>_0x113491['removeEventListener']('message',_0x13652a)));})[_0xa061c8(0x12a)]((0x0,_0x4d318a['share'])())};}catch(_0x141e28){return console[_0xa061c8(0x116)](_0x141e28),null;}}};_0x1b5e2d=_0x5e5d9b([_0x4d25e8(0x0,_0xb99245['IConfigService'])],_0x1b5e2d);function _0x263fb1(_0x3f7d5a){'@babel/helpers - typeof';const _0x4152fb=_0x229226;return _0x263fb1=typeof Symbol==_0x4152fb(0x135)&&typeof Symbol[_0x4152fb(0x149)]==_0x4152fb(0x107)?function(_0x30db48){return typeof _0x30db48;}:function(_0x4a4711){const _0xcc572e=_0x4152fb;return _0x4a4711&&typeof Symbol==_0xcc572e(0x135)&&_0x4a4711[_0xcc572e(0x134)]===Symbol&&_0x4a4711!==Symbol[_0xcc572e(0x158)]?_0xcc572e(0x107):typeof _0x4a4711;},_0x263fb1(_0x3f7d5a);}function _0x281da8(_0x1f2f50,_0x57c031){const _0x1aedeb=_0x229226;if(_0x263fb1(_0x1f2f50)!=_0x1aedeb(0x142)||!_0x1f2f50)return _0x1f2f50;var _0x52482d=_0x1f2f50[Symbol[_0x1aedeb(0x11f)]];if(_0x52482d!==void 0x0){var _0x594c00=_0x52482d['call'](_0x1f2f50,_0x57c031||_0x1aedeb(0x121));if(_0x263fb1(_0x594c00)!=_0x1aedeb(0x142))return _0x594c00;throw TypeError(_0x1aedeb(0x13f));}return(_0x57c031===_0x1aedeb(0x112)?String:Number)(_0x1f2f50);}function _0x1a9a84(_0x4e4f73){const _0x5f5d20=_0x229226;var _0x556fdd=_0x281da8(_0x4e4f73,_0x5f5d20(0x112));return _0x263fb1(_0x556fdd)==_0x5f5d20(0x107)?_0x556fdd:_0x556fdd+'';}function _0x58f825(_0x3b7f8c,_0x4dfca3,_0x4a1ad8){return(_0x4dfca3=_0x1a9a84(_0x4dfca3))in _0x3b7f8c?Object['defineProperty'](_0x3b7f8c,_0x4dfca3,{'value':_0x4a1ad8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3b7f8c[_0x4dfca3]=_0x4a1ad8,_0x3b7f8c;}let _0x366697=class extends _0xb99245[_0x229226(0x113)]{constructor(_0x4bb505=_0x2a25a9,_0x18485f,_0x12c8cb){const _0x3e6d9c=_0x229226;super(),this[_0x3e6d9c(0x137)]=_0x4bb505,this[_0x3e6d9c(0x119)]=_0x18485f,this[_0x3e6d9c(0x130)]=_0x12c8cb;let {..._0x189347}=(0x0,_0xb99245[_0x3e6d9c(0x12b)])({},_0x2a25a9,this['_config']);this[_0x3e6d9c(0x119)][_0x3e6d9c(0x127)](_0x3e6d9c(0x14b),_0x189347);}['onStarting'](){const _0x20315f=_0x229226;this[_0x20315f(0x13e)]();}['_registerDependencies'](){const _0x9ee686=_0x229226;(0x0,_0xb99245[_0x9ee686(0x14d)])(this[_0x9ee686(0x130)],[[_0x3fab5b['ISocketService'],{'useClass':_0x1b5e2d}]]);}};_0x58f825(_0x366697,'pluginName',_0x229226(0x14e)),_0x58f825(_0x366697,'packageName',_0x30612a),_0x58f825(_0x366697,'version',_0x181bd3),_0x366697=_0x5e5d9b([(0x0,_0xb99245[_0x229226(0x11b)])(_0x49c549[_0x229226(0x153)],_0x3fab5b[_0x229226(0x131)],_0x20b7a7[_0x229226(0x11e)],_0x1eedb8[_0x229226(0x147)]),_0x4d25e8(0x1,_0xb99245[_0x229226(0x148)]),_0x4d25e8(0x2,(0x0,_0xb99245[_0x229226(0x138)])(_0xb99245[_0x229226(0x11c)]))],_0x366697);let _0x133e8a=class extends _0x1eedb8['CollaborationSocketService']{constructor(_0x2c07e9,_0x55d3c3,_0x22aa58,_0x2f2251,_0x3c20b4){const _0x128dc3=_0x229226;super(_0x2c07e9,_0x55d3c3,_0x22aa58,_0x2f2251,_0x3c20b4);let _0x1b4c83=this[_0x128dc3(0x119)]['getConfig'](_0x1eedb8['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']);this['_httpService'][_0x128dc3(0x115)]({'interceptor':(_0x263abb,_0x48ea1c)=>{const _0x2efb19=_0x128dc3;let _0x1f78f3=_0x263abb[_0x2efb19(0x152)];if(_0x1b4c83!=null&&_0x1b4c83['customHeaders']){for(let _0x1cc469 in _0x1b4c83[_0x2efb19(0x10e)])_0x1f78f3[_0x2efb19(0x120)](_0x1cc469,_0x1b4c83[_0x2efb19(0x10e)][_0x1cc469]);}return _0x48ea1c(_0x263abb);}});}async[_0x229226(0x145)](_0x52f64c){const _0x48acc7=_0x229226;return this[_0x48acc7(0x13b)](_0x52f64c);}};_0x133e8a=_0x5e5d9b([_0x4d25e8(0x0,(0x0,_0xb99245[_0x229226(0x138)])(_0xb99245['Injector'])),_0x4d25e8(0x1,(0x0,_0xb99245[_0x229226(0x138)])(_0x3fab5b['HTTPService'])),_0x4d25e8(0x2,_0xb99245[_0x229226(0x148)]),_0x4d25e8(0x3,_0xb99245[_0x229226(0x132)]),_0x4d25e8(0x4,_0x20b7a7['ISnapshotServerService'])],_0x133e8a),Object['defineProperty'](_0x2d3646,_0x229226(0x12d),{'enumerable':!0x0,'get':function(){return _0x133e8a;}}),Object[_0x229226(0x13a)](_0x2d3646,_0x229226(0x133),{'enumerable':!0x0,'get':function(){return _0x366697;}});}));function _0x3974(_0x404a44,_0x1d4a13){_0x404a44=_0x404a44-0x106;const _0x38588c=_0x3858();let _0x397469=_0x38588c[_0x404a44];return _0x397469;}function _0x3858(){const _0x1f3ddc=['customHeaders','@univerjs/network','amd','getOwnPropertyDescriptor','string','Plugin','addEventListener','registerHTTPInterceptor','error','WebSocket','UniverProCollaboration','_configService','decorate','DependentOn','Injector','UniverProLicense','UniverCollaborationPlugin','toPrimitive','set','default','removeEventListener','2268RhmAUd','add','1345430rEpOzN','1033skIZRm','setConfig','936txNonF','dispose','pipe','merge','Module','NodeCollaborationSocketService','toDisposable','rxjs','_injector','UniverNetworkPlugin','ILogService','UniverCollaborationClientNodePlugin','constructor','function','Disposable','_config','Inject','@univerjs-pro/collaboration-client','defineProperty','_doCreateSocket','UniverProCollaborationClientNode','share','_registerDependencies','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','length','exports','object','UniverNetwork','open','createSocket','1.0.0-beta.1','UniverCollaborationClientPlugin','IConfigService','iterator','7678770hATbtA','collaboration-client-node.config','@univerjs-pro/license','registerDependencies','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','23570jLowYj','646iItGlX','304DkmKOe','headers','UniverLicensePlugin','next','4mClStM','Observable','@univerjs/core','prototype','1451184lCPYPz','symbol','844461vWRcmL','@univerjs-pro/collaboration','UniverCore','@univerjs-pro/collaboration-client-node','close','toStringTag'];_0x3858=function(){return _0x1f3ddc;};return _0x3858();}
|
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.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Node.js collaboration client plugin for Univer Pro.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -52,18 +52,18 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"ws": "8.21.0",
|
|
55
|
-
"@univerjs-pro/collaboration": "1.0.0-
|
|
56
|
-
"@univerjs-pro/collaboration
|
|
57
|
-
"@univerjs-pro/license": "1.0.0-
|
|
58
|
-
"@univerjs/
|
|
59
|
-
"@univerjs/
|
|
55
|
+
"@univerjs-pro/collaboration-client": "1.0.0-beta.1",
|
|
56
|
+
"@univerjs-pro/collaboration": "1.0.0-beta.1",
|
|
57
|
+
"@univerjs-pro/license": "1.0.0-beta.1",
|
|
58
|
+
"@univerjs/core": "1.0.0-beta.1",
|
|
59
|
+
"@univerjs/network": "1.0.0-beta.1"
|
|
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.1"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"test": "vitest run",
|