@univerjs-pro/collaboration-client-node 1.0.4 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +8 -8
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1424c7=_0x400d;(function(_0x5d7679,_0x4bb4b9){const _0x4d2241=_0x400d,_0x304ceb=_0x5d7679();while(!![]){try{const _0x314a59=-parseInt(_0x4d2241(0x1b0))/0x1*(-parseInt(_0x4d2241(0x195))/0x2)+-parseInt(_0x4d2241(0x1d4))/0x3+-parseInt(_0x4d2241(0x1d0))/0x4+parseInt(_0x4d2241(0x1c5))/0x5*(-parseInt(_0x4d2241(0x1a3))/0x6)+-parseInt(_0x4d2241(0x1a2))/0x7+parseInt(_0x4d2241(0x1c7))/0x8*(parseInt(_0x4d2241(0x1cb))/0x9)+parseInt(_0x4d2241(0x1cf))/0xa;if(_0x314a59===_0x4bb4b9)break;else _0x304ceb['push'](_0x304ceb['shift']());}catch(_0x4ea97b){_0x304ceb['push'](_0x304ceb['shift']());}}}(_0x1de3,0xbd430),Object[_0x1424c7(0x194)](exports,Symbol['toStringTag'],{'value':'Module'}));let e=require('@univerjs-pro/collaboration'),t=require('@univerjs-pro/collaboration-client'),n=require('@univerjs-pro/license'),r=require('@univerjs/core'),i=require('@univerjs/network'),a=require('rxjs'),o=require('ws');var s=_0x1424c7(0x19a),c=_0x1424c7(0x1aa);const l={};function _0x400d(_0x2d4384,_0x5ce964){_0x2d4384=_0x2d4384-0x194;const _0x1de3b6=_0x1de3();let _0x400d54=_0x1de3b6[_0x2d4384];return _0x400d54;}function u(_0x3e6a60,_0x150d28){return function(_0x18146b,_0x3f924a){_0x150d28(_0x18146b,_0x3f924a,_0x3e6a60);};}function d(_0x53c5ac,_0x39dea8,_0x130297,_0x4ff16b){const _0x4b6201=_0x1424c7;var _0x219ba5=arguments[_0x4b6201(0x1d5)],_0x5eed4e=_0x219ba5<0x3?_0x39dea8:_0x4ff16b===null?_0x4ff16b=Object[_0x4b6201(0x1a6)](_0x39dea8,_0x130297):_0x4ff16b,_0x1d4597;if(typeof Reflect=='object'&&typeof Reflect[_0x4b6201(0x1bd)]==_0x4b6201(0x1b7))_0x5eed4e=Reflect[_0x4b6201(0x1bd)](_0x53c5ac,_0x39dea8,_0x130297,_0x4ff16b);else{for(var _0x54fd8e=_0x53c5ac[_0x4b6201(0x1d5)]-0x1;_0x54fd8e>=0x0;_0x54fd8e--)(_0x1d4597=_0x53c5ac[_0x54fd8e])&&(_0x5eed4e=(_0x219ba5<0x3?_0x1d4597(_0x5eed4e):_0x219ba5>0x3?_0x1d4597(_0x39dea8,_0x130297,_0x5eed4e):_0x1d4597(_0x39dea8,_0x130297))||_0x5eed4e);}return _0x219ba5>0x3&&_0x5eed4e&&Object[_0x4b6201(0x194)](_0x39dea8,_0x130297,_0x5eed4e),_0x5eed4e;}let f=class extends r['Disposable']{constructor(_0x464c49){const _0x5ea9ec=_0x1424c7;super(),this[_0x5ea9ec(0x1af)]=_0x464c49;}[_0x1424c7(0x1c3)](_0x7f2e91){const _0x108292=_0x1424c7;var _0x19663c;let _0x46e669=((_0x19663c=this['_configService'][_0x108292(0x1ce)](t['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x19663c['customHeaders'])||{};try{let _0x4d67cc=new o[(_0x108292(0x1cd))](_0x7f2e91,{'headers':{..._0x46e669}}),_0x24a42c=new r[(_0x108292(0x1a0))]();return{'URL':_0x7f2e91,'close':(_0x5dfd06,_0x5e2812)=>{const _0x4d208c=_0x108292;_0x4d67cc[_0x4d208c(0x197)](_0x5dfd06,_0x5e2812),_0x24a42c[_0x4d208c(0x19d)]();},'send':_0x1e3046=>{_0x4d67cc['send'](_0x1e3046);},'open$':new a['Observable'](_0x8ee127=>{const _0x137919=_0x108292;let _0x38b5ef=_0x456447=>_0x8ee127[_0x137919(0x1b3)](_0x456447);_0x4d67cc[_0x137919(0x1ab)](_0x137919(0x1bc),_0x38b5ef),_0x24a42c[_0x137919(0x1da)]((0x0,r[_0x137919(0x19c)])(()=>_0x4d67cc[_0x137919(0x1d9)](_0x137919(0x1bc),_0x38b5ef)));})[_0x108292(0x1ae)]((0x0,a[_0x108292(0x1a4)])()),'close$':new a[(_0x108292(0x19b))](_0xa4128d=>{const _0x59038e=_0x108292;let _0x1029c6=_0x22b32b=>_0xa4128d['next'](_0x22b32b);_0x4d67cc[_0x59038e(0x1ab)](_0x59038e(0x197),_0x1029c6),_0x24a42c[_0x59038e(0x1da)]((0x0,r[_0x59038e(0x19c)])(()=>_0x4d67cc[_0x59038e(0x1d9)](_0x59038e(0x197),_0x1029c6)));})[_0x108292(0x1ae)]((0x0,a[_0x108292(0x1a4)])()),'error$':new a[(_0x108292(0x19b))](_0x1f6c0d=>{const _0x352625=_0x108292;let _0x1ee5e6=_0x70ff3e=>_0x1f6c0d[_0x352625(0x1b3)](_0x70ff3e);_0x4d67cc['addEventListener']('error',_0x1ee5e6),_0x24a42c[_0x352625(0x1da)]((0x0,r['toDisposable'])(()=>_0x4d67cc[_0x352625(0x1d9)](_0x352625(0x1a8),_0x1ee5e6)));})[_0x108292(0x1ae)]((0x0,a[_0x108292(0x1a4)])()),'message$':new a[(_0x108292(0x19b))](_0x382ba0=>{const _0x3dd65b=_0x108292;let _0x3343ec=_0x47c6e6=>_0x382ba0[_0x3dd65b(0x1b3)](_0x47c6e6);_0x4d67cc[_0x3dd65b(0x1ab)]('message',_0x3343ec),_0x24a42c['add']((0x0,r[_0x3dd65b(0x19c)])(()=>_0x4d67cc[_0x3dd65b(0x1d9)](_0x3dd65b(0x1c1),_0x3343ec)));})[_0x108292(0x1ae)]((0x0,a[_0x108292(0x1a4)])())};}catch(_0x33a820){return console[_0x108292(0x1a8)](_0x33a820),null;}}};f=d([u(0x0,r['IConfigService'])],f);function p(_0x555c12){'@babel/helpers - typeof';const _0x4bc0b6=_0x1424c7;return p=typeof Symbol==_0x4bc0b6(0x1b7)&&typeof Symbol['iterator']==_0x4bc0b6(0x1a5)?function(_0x3701e1){return typeof _0x3701e1;}:function(_0x10bce0){const _0x115b08=_0x4bc0b6;return _0x10bce0&&typeof Symbol==_0x115b08(0x1b7)&&_0x10bce0[_0x115b08(0x1c4)]===Symbol&&_0x10bce0!==Symbol['prototype']?_0x115b08(0x1a5):typeof _0x10bce0;},p(_0x555c12);}function m(_0x5491e0,_0x2a81d9){const _0x3a1d37=_0x1424c7;if(p(_0x5491e0)!=_0x3a1d37(0x1c6)||!_0x5491e0)return _0x5491e0;var _0x2dbf1f=_0x5491e0[Symbol[_0x3a1d37(0x19f)]];if(_0x2dbf1f!==void 0x0){var _0x566697=_0x2dbf1f[_0x3a1d37(0x1c8)](_0x5491e0,_0x2a81d9||_0x3a1d37(0x1b2));if(p(_0x566697)!='object')return _0x566697;throw TypeError(_0x3a1d37(0x1a9));}return(_0x2a81d9===_0x3a1d37(0x1d6)?String:Number)(_0x5491e0);}function h(_0x58ae4f){const _0x264100=_0x1424c7;var _0x1af0d7=m(_0x58ae4f,_0x264100(0x1d6));return p(_0x1af0d7)==_0x264100(0x1a5)?_0x1af0d7:_0x1af0d7+'';}function g(_0x549785,_0x47d17a,_0x56dffa){const _0x236c81=_0x1424c7;return(_0x47d17a=h(_0x47d17a))in _0x549785?Object[_0x236c81(0x194)](_0x549785,_0x47d17a,{'value':_0x56dffa,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x549785[_0x47d17a]=_0x56dffa,_0x549785;}let _=class extends r[_0x1424c7(0x198)]{constructor(_0x47f52d=l,_0x126165,_0x4762d6){const _0x37a2ec=_0x1424c7;super(),this['_config']=_0x47f52d,this['_configService']=_0x126165,this[_0x37a2ec(0x1a7)]=_0x4762d6;let {..._0x473c3f}=(0x0,r['merge'])({},l,this['_config']);this['_configService']['setConfig'](_0x37a2ec(0x1b8),_0x473c3f);}[_0x1424c7(0x196)](){const _0x3e8cbd=_0x1424c7;this[_0x3e8cbd(0x1c0)]();}['_registerDependencies'](){const _0x39251c=_0x1424c7;(0x0,r[_0x39251c(0x1b1)])(this[_0x39251c(0x1a7)],[[i[_0x39251c(0x1c9)],{'useClass':f}]]);}};g(_,_0x1424c7(0x1ba),_0x1424c7(0x1bb)),g(_,_0x1424c7(0x1d8),s),g(_,'version',c),_=d([(0x0,r[_0x1424c7(0x1b4)])(n['UniverLicensePlugin'],i['UniverNetworkPlugin'],e[_0x1424c7(0x1d7)],t[_0x1424c7(0x1d3)]),u(0x1,r[_0x1424c7(0x1ad)]),u(0x2,(0x0,r[_0x1424c7(0x1b6)])(r[_0x1424c7(0x1bf)]))],_);let v=class extends t[_0x1424c7(0x1d1)]{constructor(_0x49ec7b,_0x220def,_0x2a2d0d,_0x1b9b21,_0x269ede){const _0x1f0b45=_0x1424c7;super(_0x49ec7b,_0x220def,_0x2a2d0d,_0x1b9b21,_0x269ede);let _0x3d77a4=this['_configService'][_0x1f0b45(0x1ce)](t[_0x1f0b45(0x199)]);this[_0x1f0b45(0x1b9)][_0x1f0b45(0x1b5)]({'interceptor':(_0x5ab961,_0x14e981)=>{const _0x25ef4f=_0x1f0b45;let _0x38e431=_0x5ab961[_0x25ef4f(0x1cc)];if(_0x3d77a4!=null&&_0x3d77a4[_0x25ef4f(0x1d2)]){for(let _0x1253ea in _0x3d77a4[_0x25ef4f(0x1d2)])_0x38e431[_0x25ef4f(0x1a1)](_0x1253ea,_0x3d77a4['customHeaders'][_0x1253ea]);}return _0x14e981(_0x5ab961);}});}async[_0x1424c7(0x1c3)](_0x3f219f){const _0x10720a=_0x1424c7;return this[_0x10720a(0x19e)](_0x3f219f);}};function _0x1de3(){const _0x55cbf9=['decorate','ILogService','Injector','_registerDependencies','message','ISnapshotServerService','createSocket','constructor','4332025Xylcjy','object','904boimYL','call','ISocketService','HTTPService','11169ioICaB','headers','WebSocket','getConfig','31405470uNUQXZ','3966008QxjHrj','CollaborationSocketService','customHeaders','UniverCollaborationClientPlugin','3991701ardUVI','length','string','UniverCollaborationPlugin','packageName','removeEventListener','add','defineProperty','8538uHgTVB','onStarting','close','Plugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs-pro/collaboration-client-node','Observable','toDisposable','dispose','_doCreateSocket','toPrimitive','DisposableCollection','set','5589031hCzjxr','6xwlOVZ','share','symbol','getOwnPropertyDescriptor','_injector','error','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','1.2.0','addEventListener','NodeCollaborationSocketService','IConfigService','pipe','_configService','347mVKHWt','registerDependencies','default','next','DependentOn','registerHTTPInterceptor','Inject','function','collaboration-client-node.config','_httpService','pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','open'];_0x1de3=function(){return _0x55cbf9;};return _0x1de3();}v=d([u(0x0,(0x0,r[_0x1424c7(0x1b6)])(r[_0x1424c7(0x1bf)])),u(0x1,(0x0,r[_0x1424c7(0x1b6)])(i[_0x1424c7(0x1ca)])),u(0x2,r[_0x1424c7(0x1ad)]),u(0x3,r[_0x1424c7(0x1be)]),u(0x4,e[_0x1424c7(0x1c2)])],v),Object[_0x1424c7(0x194)](exports,_0x1424c7(0x1ac),{'enumerable':!0x0,'get':function(){return v;}}),Object[_0x1424c7(0x194)](exports,'UniverCollaborationClientNodePlugin',{'enumerable':!0x0,'get':function(){return _;}});
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x47bc2a=_0x100f;(function(_0x85ba9,_0x3a56bc){const _0x5cdbef=_0x100f,_0x159ae9=_0x85ba9();while(!![]){try{const _0x544251=parseInt(_0x5cdbef(0x178))/0x1+parseInt(_0x5cdbef(0x15a))/0x2+parseInt(_0x5cdbef(0x159))/0x3*(parseInt(_0x5cdbef(0x169))/0x4)+parseInt(_0x5cdbef(0x17e))/0x5*(parseInt(_0x5cdbef(0x17f))/0x6)+parseInt(_0x5cdbef(0x17c))/0x7+parseInt(_0x5cdbef(0x165))/0x8+-parseInt(_0x5cdbef(0x15b))/0x9;if(_0x544251===_0x3a56bc)break;else _0x159ae9['push'](_0x159ae9['shift']());}catch(_0x2448f2){_0x159ae9['push'](_0x159ae9['shift']());}}}(_0x3158,0x9db67));import{ISnapshotServerService as _0x3da036,UniverCollaborationPlugin as _0x5abde8}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2fe3fc,CollaborationSocketService as _0x2e173e,UniverCollaborationClientPlugin as _0x3b637d}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x599a0d}from'@univerjs-pro/license';import{DependentOn as _0x57091f,Disposable as _0x47d90e,DisposableCollection as _0x2b456d,IConfigService as _0x4c03a8,ILogService as _0x209a81,Inject as _0x250861,Injector as _0x2d0a9a,Plugin as _0x154098,merge as _0x1f8196,registerDependencies as _0x1e6a9c,toDisposable as _0x280896}from'@univerjs/core';import{HTTPService as _0x1fb9b7,ISocketService as _0x33e5fd,UniverNetworkPlugin as _0x3ee3ce}from'@univerjs/network';import{Observable as _0x433ce7,share as _0x2ea3a3}from'rxjs';import{WebSocket as _0xfb2a47}from'ws';var C=_0x47bc2a(0x161),w=_0x47bc2a(0x15d);const T={};function E(_0x363fe4,_0x471e00){return function(_0x436767,_0x39443e){_0x471e00(_0x436767,_0x39443e,_0x363fe4);};}function D(_0x352d22,_0x4daf38,_0x16dfb8,_0xd49fa0){const _0x579d42=_0x47bc2a;var _0x2fa88e=arguments['length'],_0x4f8238=_0x2fa88e<0x3?_0x4daf38:_0xd49fa0===null?_0xd49fa0=Object[_0x579d42(0x179)](_0x4daf38,_0x16dfb8):_0xd49fa0,_0x367f5b;if(typeof Reflect==_0x579d42(0x166)&&typeof Reflect[_0x579d42(0x175)]=='function')_0x4f8238=Reflect[_0x579d42(0x175)](_0x352d22,_0x4daf38,_0x16dfb8,_0xd49fa0);else{for(var _0x30ff70=_0x352d22['length']-0x1;_0x30ff70>=0x0;_0x30ff70--)(_0x367f5b=_0x352d22[_0x30ff70])&&(_0x4f8238=(_0x2fa88e<0x3?_0x367f5b(_0x4f8238):_0x2fa88e>0x3?_0x367f5b(_0x4daf38,_0x16dfb8,_0x4f8238):_0x367f5b(_0x4daf38,_0x16dfb8))||_0x4f8238);}return _0x2fa88e>0x3&&_0x4f8238&&Object[_0x579d42(0x158)](_0x4daf38,_0x16dfb8,_0x4f8238),_0x4f8238;}let O=class extends _0x47d90e{constructor(_0x326dad){const _0x5b5c04=_0x47bc2a;super(),this[_0x5b5c04(0x183)]=_0x326dad;}[_0x47bc2a(0x180)](_0x291f15){const _0x24218=_0x47bc2a;var _0x497c9a;let _0x129af1=((_0x497c9a=this[_0x24218(0x183)]['getConfig'](_0x2fe3fc))==null?void 0x0:_0x497c9a[_0x24218(0x164)])||{};try{let _0x14dc8c=new _0xfb2a47(_0x291f15,{'headers':{..._0x129af1}}),_0x470d0b=new _0x2b456d();return{'URL':_0x291f15,'close':(_0x39fe68,_0x3d59d6)=>{const _0xa7cdbf=_0x24218;_0x14dc8c[_0xa7cdbf(0x172)](_0x39fe68,_0x3d59d6),_0x470d0b['dispose']();},'send':_0xa92791=>{const _0x5a4d43=_0x24218;_0x14dc8c[_0x5a4d43(0x173)](_0xa92791);},'open$':new _0x433ce7(_0x3452f1=>{const _0x211510=_0x24218;let _0x10a622=_0x58aa5a=>_0x3452f1[_0x211510(0x16c)](_0x58aa5a);_0x14dc8c[_0x211510(0x17b)](_0x211510(0x16b),_0x10a622),_0x470d0b['add'](_0x280896(()=>_0x14dc8c[_0x211510(0x174)](_0x211510(0x16b),_0x10a622)));})['pipe'](_0x2ea3a3()),'close$':new _0x433ce7(_0x326cf6=>{const _0x42a9ab=_0x24218;let _0x148dbc=_0x5913e5=>_0x326cf6[_0x42a9ab(0x16c)](_0x5913e5);_0x14dc8c[_0x42a9ab(0x17b)](_0x42a9ab(0x172),_0x148dbc),_0x470d0b[_0x42a9ab(0x177)](_0x280896(()=>_0x14dc8c[_0x42a9ab(0x174)](_0x42a9ab(0x172),_0x148dbc)));})[_0x24218(0x15c)](_0x2ea3a3()),'error$':new _0x433ce7(_0x251060=>{const _0x21d29b=_0x24218;let _0x2af2d7=_0x17ee5f=>_0x251060[_0x21d29b(0x16c)](_0x17ee5f);_0x14dc8c[_0x21d29b(0x17b)](_0x21d29b(0x15f),_0x2af2d7),_0x470d0b[_0x21d29b(0x177)](_0x280896(()=>_0x14dc8c[_0x21d29b(0x174)]('error',_0x2af2d7)));})['pipe'](_0x2ea3a3()),'message$':new _0x433ce7(_0x163e7e=>{const _0x5f23b3=_0x24218;let _0x32ee0b=_0x5ee749=>_0x163e7e['next'](_0x5ee749);_0x14dc8c[_0x5f23b3(0x17b)]('message',_0x32ee0b),_0x470d0b['add'](_0x280896(()=>_0x14dc8c[_0x5f23b3(0x174)](_0x5f23b3(0x17d),_0x32ee0b)));})[_0x24218(0x15c)](_0x2ea3a3())};}catch(_0x2f763a){return console[_0x24218(0x15f)](_0x2f763a),null;}}};O=D([E(0x0,_0x4c03a8)],O);function k(_0x2b9b0a){'@babel/helpers - typeof';const _0x2532c8=_0x47bc2a;return k=typeof Symbol==_0x2532c8(0x15e)&&typeof Symbol[_0x2532c8(0x160)]=='symbol'?function(_0x2ec1ff){return typeof _0x2ec1ff;}:function(_0x2af757){const _0x163154=_0x2532c8;return _0x2af757&&typeof Symbol==_0x163154(0x15e)&&_0x2af757[_0x163154(0x170)]===Symbol&&_0x2af757!==Symbol['prototype']?_0x163154(0x182):typeof _0x2af757;},k(_0x2b9b0a);}function A(_0x23af1a,_0x16d773){const _0x2f348c=_0x47bc2a;if(k(_0x23af1a)!=_0x2f348c(0x166)||!_0x23af1a)return _0x23af1a;var _0x5d5c7b=_0x23af1a[Symbol['toPrimitive']];if(_0x5d5c7b!==void 0x0){var _0x4a470f=_0x5d5c7b[_0x2f348c(0x171)](_0x23af1a,_0x16d773||_0x2f348c(0x16a));if(k(_0x4a470f)!=_0x2f348c(0x166))return _0x4a470f;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x16d773===_0x2f348c(0x187)?String:Number)(_0x23af1a);}function j(_0x1ed0dc){const _0x22530b=_0x47bc2a;var _0x18534a=A(_0x1ed0dc,_0x22530b(0x187));return k(_0x18534a)==_0x22530b(0x182)?_0x18534a:_0x18534a+'';}function M(_0x2aa112,_0x3359db,_0x3c82fd){const _0x24e1b3=_0x47bc2a;return(_0x3359db=j(_0x3359db))in _0x2aa112?Object[_0x24e1b3(0x158)](_0x2aa112,_0x3359db,{'value':_0x3c82fd,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2aa112[_0x3359db]=_0x3c82fd,_0x2aa112;}let N=class extends _0x154098{constructor(_0xdb9c17=T,_0x4e282d,_0x5ee0bf){const _0x373c56=_0x47bc2a;super(),this[_0x373c56(0x162)]=_0xdb9c17,this['_configService']=_0x4e282d,this[_0x373c56(0x17a)]=_0x5ee0bf;let {..._0x338481}=_0x1f8196({},T,this[_0x373c56(0x162)]);this['_configService'][_0x373c56(0x186)](_0x373c56(0x181),_0x338481);}[_0x47bc2a(0x163)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x32fe0f=_0x47bc2a;_0x1e6a9c(this[_0x32fe0f(0x17a)],[[_0x33e5fd,{'useClass':O}]]);}};M(N,'pluginName',_0x47bc2a(0x16f)),M(N,_0x47bc2a(0x168),C),M(N,_0x47bc2a(0x167),w),N=D([_0x57091f(_0x599a0d,_0x3ee3ce,_0x5abde8,_0x3b637d),E(0x1,_0x4c03a8),E(0x2,_0x250861(_0x2d0a9a))],N);let P=class extends _0x2e173e{constructor(_0x58f740,_0x599e88,_0x352d2f,_0x1c7ec3,_0x103701){const _0x51a58e=_0x47bc2a;super(_0x58f740,_0x599e88,_0x352d2f,_0x1c7ec3,_0x103701);let _0x2797b4=this['_configService'][_0x51a58e(0x16d)](_0x2fe3fc);this[_0x51a58e(0x16e)][_0x51a58e(0x185)]({'interceptor':(_0x2ad996,_0x5667c3)=>{const _0x3391f2=_0x51a58e;let _0x2d4d64=_0x2ad996[_0x3391f2(0x188)];if(_0x2797b4!=null&&_0x2797b4[_0x3391f2(0x164)]){for(let _0x5ac32d in _0x2797b4['customHeaders'])_0x2d4d64[_0x3391f2(0x184)](_0x5ac32d,_0x2797b4['customHeaders'][_0x5ac32d]);}return _0x5667c3(_0x2ad996);}});}async[_0x47bc2a(0x180)](_0x5b671c){const _0x46efae=_0x47bc2a;return this[_0x46efae(0x176)](_0x5b671c);}};P=D([E(0x0,_0x250861(_0x2d0a9a)),E(0x1,_0x250861(_0x1fb9b7)),E(0x2,_0x4c03a8),E(0x3,_0x209a81),E(0x4,_0x3da036)],P);function _0x100f(_0x1c6378,_0x5557fc){_0x1c6378=_0x1c6378-0x158;const _0x31589b=_0x3158();let _0x100f0f=_0x31589b[_0x1c6378];return _0x100f0f;}export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};function _0x3158(){const _0x434c27=['createSocket','collaboration-client-node.config','symbol','_configService','set','registerHTTPInterceptor','setConfig','string','headers','defineProperty','9pjkVYb','309792eigmeA','9989919OyCHbF','pipe','1.2.0','function','error','iterator','@univerjs-pro/collaboration-client-node','_config','onStarting','customHeaders','2694384psaQll','object','version','packageName','350684oyyOdA','default','open','next','getConfig','_httpService','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','constructor','call','close','send','removeEventListener','decorate','_doCreateSocket','add','11265FHxDTQ','getOwnPropertyDescriptor','_injector','addEventListener','5341574RbXNtA','message','141830sMXkgY','48yNXkuY'];_0x3158=function(){return _0x434c27;};return _0x3158();}
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x47bc2a=_0x100f;(function(_0x85ba9,_0x3a56bc){const _0x5cdbef=_0x100f,_0x159ae9=_0x85ba9();while(!![]){try{const _0x544251=parseInt(_0x5cdbef(0x178))/0x1+parseInt(_0x5cdbef(0x15a))/0x2+parseInt(_0x5cdbef(0x159))/0x3*(parseInt(_0x5cdbef(0x169))/0x4)+parseInt(_0x5cdbef(0x17e))/0x5*(parseInt(_0x5cdbef(0x17f))/0x6)+parseInt(_0x5cdbef(0x17c))/0x7+parseInt(_0x5cdbef(0x165))/0x8+-parseInt(_0x5cdbef(0x15b))/0x9;if(_0x544251===_0x3a56bc)break;else _0x159ae9['push'](_0x159ae9['shift']());}catch(_0x2448f2){_0x159ae9['push'](_0x159ae9['shift']());}}}(_0x3158,0x9db67));import{ISnapshotServerService as _0x3da036,UniverCollaborationPlugin as _0x5abde8}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2fe3fc,CollaborationSocketService as _0x2e173e,UniverCollaborationClientPlugin as _0x3b637d}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x599a0d}from'@univerjs-pro/license';import{DependentOn as _0x57091f,Disposable as _0x47d90e,DisposableCollection as _0x2b456d,IConfigService as _0x4c03a8,ILogService as _0x209a81,Inject as _0x250861,Injector as _0x2d0a9a,Plugin as _0x154098,merge as _0x1f8196,registerDependencies as _0x1e6a9c,toDisposable as _0x280896}from'@univerjs/core';import{HTTPService as _0x1fb9b7,ISocketService as _0x33e5fd,UniverNetworkPlugin as _0x3ee3ce}from'@univerjs/network';import{Observable as _0x433ce7,share as _0x2ea3a3}from'rxjs';import{WebSocket as _0xfb2a47}from'ws';var C=_0x47bc2a(0x161),w=_0x47bc2a(0x15d);const T={};function E(_0x363fe4,_0x471e00){return function(_0x436767,_0x39443e){_0x471e00(_0x436767,_0x39443e,_0x363fe4);};}function D(_0x352d22,_0x4daf38,_0x16dfb8,_0xd49fa0){const _0x579d42=_0x47bc2a;var _0x2fa88e=arguments['length'],_0x4f8238=_0x2fa88e<0x3?_0x4daf38:_0xd49fa0===null?_0xd49fa0=Object[_0x579d42(0x179)](_0x4daf38,_0x16dfb8):_0xd49fa0,_0x367f5b;if(typeof Reflect==_0x579d42(0x166)&&typeof Reflect[_0x579d42(0x175)]=='function')_0x4f8238=Reflect[_0x579d42(0x175)](_0x352d22,_0x4daf38,_0x16dfb8,_0xd49fa0);else{for(var _0x30ff70=_0x352d22['length']-0x1;_0x30ff70>=0x0;_0x30ff70--)(_0x367f5b=_0x352d22[_0x30ff70])&&(_0x4f8238=(_0x2fa88e<0x3?_0x367f5b(_0x4f8238):_0x2fa88e>0x3?_0x367f5b(_0x4daf38,_0x16dfb8,_0x4f8238):_0x367f5b(_0x4daf38,_0x16dfb8))||_0x4f8238);}return _0x2fa88e>0x3&&_0x4f8238&&Object[_0x579d42(0x158)](_0x4daf38,_0x16dfb8,_0x4f8238),_0x4f8238;}let O=class extends _0x47d90e{constructor(_0x326dad){const _0x5b5c04=_0x47bc2a;super(),this[_0x5b5c04(0x183)]=_0x326dad;}[_0x47bc2a(0x180)](_0x291f15){const _0x24218=_0x47bc2a;var _0x497c9a;let _0x129af1=((_0x497c9a=this[_0x24218(0x183)]['getConfig'](_0x2fe3fc))==null?void 0x0:_0x497c9a[_0x24218(0x164)])||{};try{let _0x14dc8c=new _0xfb2a47(_0x291f15,{'headers':{..._0x129af1}}),_0x470d0b=new _0x2b456d();return{'URL':_0x291f15,'close':(_0x39fe68,_0x3d59d6)=>{const _0xa7cdbf=_0x24218;_0x14dc8c[_0xa7cdbf(0x172)](_0x39fe68,_0x3d59d6),_0x470d0b['dispose']();},'send':_0xa92791=>{const _0x5a4d43=_0x24218;_0x14dc8c[_0x5a4d43(0x173)](_0xa92791);},'open$':new _0x433ce7(_0x3452f1=>{const _0x211510=_0x24218;let _0x10a622=_0x58aa5a=>_0x3452f1[_0x211510(0x16c)](_0x58aa5a);_0x14dc8c[_0x211510(0x17b)](_0x211510(0x16b),_0x10a622),_0x470d0b['add'](_0x280896(()=>_0x14dc8c[_0x211510(0x174)](_0x211510(0x16b),_0x10a622)));})['pipe'](_0x2ea3a3()),'close$':new _0x433ce7(_0x326cf6=>{const _0x42a9ab=_0x24218;let _0x148dbc=_0x5913e5=>_0x326cf6[_0x42a9ab(0x16c)](_0x5913e5);_0x14dc8c[_0x42a9ab(0x17b)](_0x42a9ab(0x172),_0x148dbc),_0x470d0b[_0x42a9ab(0x177)](_0x280896(()=>_0x14dc8c[_0x42a9ab(0x174)](_0x42a9ab(0x172),_0x148dbc)));})[_0x24218(0x15c)](_0x2ea3a3()),'error$':new _0x433ce7(_0x251060=>{const _0x21d29b=_0x24218;let _0x2af2d7=_0x17ee5f=>_0x251060[_0x21d29b(0x16c)](_0x17ee5f);_0x14dc8c[_0x21d29b(0x17b)](_0x21d29b(0x15f),_0x2af2d7),_0x470d0b[_0x21d29b(0x177)](_0x280896(()=>_0x14dc8c[_0x21d29b(0x174)]('error',_0x2af2d7)));})['pipe'](_0x2ea3a3()),'message$':new _0x433ce7(_0x163e7e=>{const _0x5f23b3=_0x24218;let _0x32ee0b=_0x5ee749=>_0x163e7e['next'](_0x5ee749);_0x14dc8c[_0x5f23b3(0x17b)]('message',_0x32ee0b),_0x470d0b['add'](_0x280896(()=>_0x14dc8c[_0x5f23b3(0x174)](_0x5f23b3(0x17d),_0x32ee0b)));})[_0x24218(0x15c)](_0x2ea3a3())};}catch(_0x2f763a){return console[_0x24218(0x15f)](_0x2f763a),null;}}};O=D([E(0x0,_0x4c03a8)],O);function k(_0x2b9b0a){'@babel/helpers - typeof';const _0x2532c8=_0x47bc2a;return k=typeof Symbol==_0x2532c8(0x15e)&&typeof Symbol[_0x2532c8(0x160)]=='symbol'?function(_0x2ec1ff){return typeof _0x2ec1ff;}:function(_0x2af757){const _0x163154=_0x2532c8;return _0x2af757&&typeof Symbol==_0x163154(0x15e)&&_0x2af757[_0x163154(0x170)]===Symbol&&_0x2af757!==Symbol['prototype']?_0x163154(0x182):typeof _0x2af757;},k(_0x2b9b0a);}function A(_0x23af1a,_0x16d773){const _0x2f348c=_0x47bc2a;if(k(_0x23af1a)!=_0x2f348c(0x166)||!_0x23af1a)return _0x23af1a;var _0x5d5c7b=_0x23af1a[Symbol['toPrimitive']];if(_0x5d5c7b!==void 0x0){var _0x4a470f=_0x5d5c7b[_0x2f348c(0x171)](_0x23af1a,_0x16d773||_0x2f348c(0x16a));if(k(_0x4a470f)!=_0x2f348c(0x166))return _0x4a470f;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x16d773===_0x2f348c(0x187)?String:Number)(_0x23af1a);}function j(_0x1ed0dc){const _0x22530b=_0x47bc2a;var _0x18534a=A(_0x1ed0dc,_0x22530b(0x187));return k(_0x18534a)==_0x22530b(0x182)?_0x18534a:_0x18534a+'';}function M(_0x2aa112,_0x3359db,_0x3c82fd){const _0x24e1b3=_0x47bc2a;return(_0x3359db=j(_0x3359db))in _0x2aa112?Object[_0x24e1b3(0x158)](_0x2aa112,_0x3359db,{'value':_0x3c82fd,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2aa112[_0x3359db]=_0x3c82fd,_0x2aa112;}let N=class extends _0x154098{constructor(_0xdb9c17=T,_0x4e282d,_0x5ee0bf){const _0x373c56=_0x47bc2a;super(),this[_0x373c56(0x162)]=_0xdb9c17,this['_configService']=_0x4e282d,this[_0x373c56(0x17a)]=_0x5ee0bf;let {..._0x338481}=_0x1f8196({},T,this[_0x373c56(0x162)]);this['_configService'][_0x373c56(0x186)](_0x373c56(0x181),_0x338481);}[_0x47bc2a(0x163)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x32fe0f=_0x47bc2a;_0x1e6a9c(this[_0x32fe0f(0x17a)],[[_0x33e5fd,{'useClass':O}]]);}};M(N,'pluginName',_0x47bc2a(0x16f)),M(N,_0x47bc2a(0x168),C),M(N,_0x47bc2a(0x167),w),N=D([_0x57091f(_0x599a0d,_0x3ee3ce,_0x5abde8,_0x3b637d),E(0x1,_0x4c03a8),E(0x2,_0x250861(_0x2d0a9a))],N);let P=class extends _0x2e173e{constructor(_0x58f740,_0x599e88,_0x352d2f,_0x1c7ec3,_0x103701){const _0x51a58e=_0x47bc2a;super(_0x58f740,_0x599e88,_0x352d2f,_0x1c7ec3,_0x103701);let _0x2797b4=this['_configService'][_0x51a58e(0x16d)](_0x2fe3fc);this[_0x51a58e(0x16e)][_0x51a58e(0x185)]({'interceptor':(_0x2ad996,_0x5667c3)=>{const _0x3391f2=_0x51a58e;let _0x2d4d64=_0x2ad996[_0x3391f2(0x188)];if(_0x2797b4!=null&&_0x2797b4[_0x3391f2(0x164)]){for(let _0x5ac32d in _0x2797b4['customHeaders'])_0x2d4d64[_0x3391f2(0x184)](_0x5ac32d,_0x2797b4['customHeaders'][_0x5ac32d]);}return _0x5667c3(_0x2ad996);}});}async[_0x47bc2a(0x180)](_0x5b671c){const _0x46efae=_0x47bc2a;return this[_0x46efae(0x176)](_0x5b671c);}};P=D([E(0x0,_0x250861(_0x2d0a9a)),E(0x1,_0x250861(_0x1fb9b7)),E(0x2,_0x4c03a8),E(0x3,_0x209a81),E(0x4,_0x3da036)],P);function _0x100f(_0x1c6378,_0x5557fc){_0x1c6378=_0x1c6378-0x158;const _0x31589b=_0x3158();let _0x100f0f=_0x31589b[_0x1c6378];return _0x100f0f;}export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};function _0x3158(){const _0x434c27=['createSocket','collaboration-client-node.config','symbol','_configService','set','registerHTTPInterceptor','setConfig','string','headers','defineProperty','9pjkVYb','309792eigmeA','9989919OyCHbF','pipe','1.2.0','function','error','iterator','@univerjs-pro/collaboration-client-node','_config','onStarting','customHeaders','2694384psaQll','object','version','packageName','350684oyyOdA','default','open','next','getConfig','_httpService','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','constructor','call','close','send','removeEventListener','decorate','_doCreateSocket','add','11265FHxDTQ','getOwnPropertyDescriptor','_injector','addEventListener','5341574RbXNtA','message','141830sMXkgY','48yNXkuY'];_0x3158=function(){return _0x434c27;};return _0x3158();}
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1d81(_0xc56e90,_0x1d0ba5){_0xc56e90=_0xc56e90-0xde;const _0x1ec5d4=_0x1ec5();let _0x1d8169=_0x1ec5d4[_0xc56e90];return _0x1d8169;}function _0x1ec5(){const _0x5ed025=['merge','_injector','function','Inject','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','@univerjs/network','UniverCore','length','6608616fZkLhp','Observable','@univerjs-pro/collaboration','1205110vnAaPU','prototype','Injector','UniverProCollaboration','_registerDependencies','add','call','DisposableCollection','dispose','symbol','getConfig','share','toStringTag','amd','close','pipe','collaboration-client-node.config','addEventListener','rxjs','version','removeEventListener','UniverCollaborationClientNodePlugin','373935lMZcIl','7PEQGMi','_doCreateSocket','UniverProCollaborationClientNode','set','headers','Module','setConfig','UniverNetwork','getOwnPropertyDescriptor','16563GnjhzM','open','IConfigService','iterator','514646kHlgYb','defineProperty','send','UniverCollaborationPlugin','5335236uBOAMg','message','ILogService','@univerjs-pro/collaboration-client','error','object','exports','customHeaders','ISocketService','default','CollaborationSocketService','_configService','registerHTTPInterceptor','_httpService','@univerjs-pro/license','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','decorate','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','UniverLicensePlugin','1915276JPVNOq','next','DependentOn','UniverProLicense','createSocket','UniverCollaborationClientPlugin','WebSocket','UniverNetworkPlugin','toDisposable','_config','ISnapshotServerService','1.0.4','NodeCollaborationSocketService','@univerjs/core'];_0x1ec5=function(){return _0x5ed025;};return _0x1ec5();}(function(_0x42fd05,_0x37895e){const _0x307bd2=_0x1d81,_0x2d577d=_0x42fd05();while(!![]){try{const _0x2bf778=parseInt(_0x307bd2(0x12b))/0x1+parseInt(_0x307bd2(0x107))/0x2+-parseInt(_0x307bd2(0x127))/0x3+-parseInt(_0x307bd2(0xee))/0x4+-parseInt(_0x307bd2(0x11d))/0x5+-parseInt(_0x307bd2(0x12f))/0x6+-parseInt(_0x307bd2(0x11e))/0x7*(-parseInt(_0x307bd2(0x104))/0x8);if(_0x2bf778===_0x37895e)break;else _0x2d577d['push'](_0x2d577d['shift']());}catch(_0x2b11d7){_0x2d577d['push'](_0x2d577d['shift']());}}}(_0x1ec5,0x78d61),function(_0x5f146f,_0x13a737){const _0x2eceb4=_0x1d81;typeof exports==_0x2eceb4(0xe0)&&typeof module<'u'?_0x13a737(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[_0x2eceb4(0x114)]?define([_0x2eceb4(0xe1),_0x2eceb4(0x106),_0x2eceb4(0xde),_0x2eceb4(0xe9),_0x2eceb4(0xfb),_0x2eceb4(0x101),'rxjs'],_0x13a737):(_0x5f146f=typeof globalThis<'u'?globalThis:_0x5f146f||self,_0x13a737(_0x5f146f[_0x2eceb4(0x120)]={},_0x5f146f[_0x2eceb4(0x10a)],_0x5f146f['UniverProCollaborationClient'],_0x5f146f[_0x2eceb4(0xf1)],_0x5f146f[_0x2eceb4(0x102)],_0x5f146f[_0x2eceb4(0x125)],_0x5f146f[_0x2eceb4(0x119)]));}(this,function(_0x38e7d4,_0x4931f9,_0x45935d,_0x3da27e,_0x17dee1,_0x17d6b3,_0x3aa0ac){const _0x6996a5=_0x1d81;Object['defineProperty'](_0x38e7d4,Symbol[_0x6996a5(0x113)],{'value':_0x6996a5(0x123)});var _0x29ec88=(_0x49c174,_0x56f812)=>()=>(_0x56f812||(_0x49c174((_0x56f812={'exports':{}})[_0x6996a5(0xe1)],_0x56f812),_0x49c174=null),_0x56f812[_0x6996a5(0xe1)]),_0x58ec36='@univerjs-pro/collaboration-client-node',_0xa9026a=_0x6996a5(0xf9);let _0x34f4e5={};var _0x2e3937=_0x29ec88((_0x177cd9,_0x295e98)=>{const _0x4e5a50=_0x6996a5;_0x295e98[_0x4e5a50(0xe1)]=function(){throw Error('ws\x20does\x20not\x20work\x20in\x20the\x20browser.\x20Browser\x20clients\x20must\x20use\x20the\x20native\x20WebSocket\x20object');};})();function _0x20bdbe(_0x537685,_0xee779f){return function(_0x1baf8a,_0x4863e0){_0xee779f(_0x1baf8a,_0x4863e0,_0x537685);};}function _0x3710cb(_0x1f2b6b,_0x935e67,_0x1b2aff,_0x889520){const _0x54030b=_0x6996a5;var _0x584c90=arguments[_0x54030b(0x103)],_0x7b669c=_0x584c90<0x3?_0x935e67:_0x889520===null?_0x889520=Object[_0x54030b(0x126)](_0x935e67,_0x1b2aff):_0x889520,_0x30f3f2;if(typeof Reflect==_0x54030b(0xe0)&&typeof Reflect['decorate']==_0x54030b(0xfe))_0x7b669c=Reflect[_0x54030b(0xeb)](_0x1f2b6b,_0x935e67,_0x1b2aff,_0x889520);else{for(var _0x487df6=_0x1f2b6b[_0x54030b(0x103)]-0x1;_0x487df6>=0x0;_0x487df6--)(_0x30f3f2=_0x1f2b6b[_0x487df6])&&(_0x7b669c=(_0x584c90<0x3?_0x30f3f2(_0x7b669c):_0x584c90>0x3?_0x30f3f2(_0x935e67,_0x1b2aff,_0x7b669c):_0x30f3f2(_0x935e67,_0x1b2aff))||_0x7b669c);}return _0x584c90>0x3&&_0x7b669c&&Object['defineProperty'](_0x935e67,_0x1b2aff,_0x7b669c),_0x7b669c;}let _0x9ca3d3=class extends _0x17dee1['Disposable']{constructor(_0xd6624e){super(),this['_configService']=_0xd6624e;}[_0x6996a5(0xf2)](_0x3d3eba){const _0x1be147=_0x6996a5;var _0x7f567f;let _0x3d818d=((_0x7f567f=this['_configService']['getConfig'](_0x45935d[_0x1be147(0xea)]))==null?void 0x0:_0x7f567f[_0x1be147(0xe2)])||{};try{let _0x2bfb54=new _0x2e3937[(_0x1be147(0xf4))](_0x3d3eba,{'headers':{..._0x3d818d}}),_0x248767=new _0x17dee1[(_0x1be147(0x10e))]();return{'URL':_0x3d3eba,'close':(_0x23b5f7,_0x926d18)=>{const _0x461f81=_0x1be147;_0x2bfb54[_0x461f81(0x115)](_0x23b5f7,_0x926d18),_0x248767[_0x461f81(0x10f)]();},'send':_0x2dd4f6=>{const _0xe4b12d=_0x1be147;_0x2bfb54[_0xe4b12d(0x12d)](_0x2dd4f6);},'open$':new _0x3aa0ac[(_0x1be147(0x105))](_0x2fc150=>{const _0x1a4b8d=_0x1be147;let _0x458cba=_0x4fb07e=>_0x2fc150[_0x1a4b8d(0xef)](_0x4fb07e);_0x2bfb54[_0x1a4b8d(0x118)](_0x1a4b8d(0x128),_0x458cba),_0x248767[_0x1a4b8d(0x10c)]((0x0,_0x17dee1[_0x1a4b8d(0xf6)])(()=>_0x2bfb54[_0x1a4b8d(0x11b)]('open',_0x458cba)));})[_0x1be147(0x116)]((0x0,_0x3aa0ac['share'])()),'close$':new _0x3aa0ac[(_0x1be147(0x105))](_0x4a369c=>{const _0x4488bd=_0x1be147;let _0x414ac4=_0x44f109=>_0x4a369c[_0x4488bd(0xef)](_0x44f109);_0x2bfb54[_0x4488bd(0x118)](_0x4488bd(0x115),_0x414ac4),_0x248767[_0x4488bd(0x10c)]((0x0,_0x17dee1[_0x4488bd(0xf6)])(()=>_0x2bfb54[_0x4488bd(0x11b)](_0x4488bd(0x115),_0x414ac4)));})[_0x1be147(0x116)]((0x0,_0x3aa0ac[_0x1be147(0x112)])()),'error$':new _0x3aa0ac['Observable'](_0x504881=>{const _0x3dc335=_0x1be147;let _0x40cd4e=_0x19cd75=>_0x504881['next'](_0x19cd75);_0x2bfb54[_0x3dc335(0x118)](_0x3dc335(0xdf),_0x40cd4e),_0x248767[_0x3dc335(0x10c)]((0x0,_0x17dee1[_0x3dc335(0xf6)])(()=>_0x2bfb54[_0x3dc335(0x11b)]('error',_0x40cd4e)));})[_0x1be147(0x116)]((0x0,_0x3aa0ac[_0x1be147(0x112)])()),'message$':new _0x3aa0ac[(_0x1be147(0x105))](_0x5bc4d4=>{const _0x2a35d2=_0x1be147;let _0x5d8e33=_0x1e5482=>_0x5bc4d4[_0x2a35d2(0xef)](_0x1e5482);_0x2bfb54[_0x2a35d2(0x118)](_0x2a35d2(0x130),_0x5d8e33),_0x248767[_0x2a35d2(0x10c)]((0x0,_0x17dee1[_0x2a35d2(0xf6)])(()=>_0x2bfb54['removeEventListener'](_0x2a35d2(0x130),_0x5d8e33)));})[_0x1be147(0x116)]((0x0,_0x3aa0ac[_0x1be147(0x112)])())};}catch(_0x3afccc){return console[_0x1be147(0xdf)](_0x3afccc),null;}}};_0x9ca3d3=_0x3710cb([_0x20bdbe(0x0,_0x17dee1[_0x6996a5(0x129)])],_0x9ca3d3);function _0x161986(_0x3e6a7d){'@babel/helpers - typeof';const _0x5788bc=_0x6996a5;return _0x161986=typeof Symbol==_0x5788bc(0xfe)&&typeof Symbol[_0x5788bc(0x12a)]==_0x5788bc(0x110)?function(_0x1d08d3){return typeof _0x1d08d3;}:function(_0x460f3f){const _0x2b39af=_0x5788bc;return _0x460f3f&&typeof Symbol==_0x2b39af(0xfe)&&_0x460f3f['constructor']===Symbol&&_0x460f3f!==Symbol[_0x2b39af(0x108)]?'symbol':typeof _0x460f3f;},_0x161986(_0x3e6a7d);}function _0x52d293(_0x4f7cf5,_0x4ba1e8){const _0x1f7083=_0x6996a5;if(_0x161986(_0x4f7cf5)!=_0x1f7083(0xe0)||!_0x4f7cf5)return _0x4f7cf5;var _0x501710=_0x4f7cf5[Symbol['toPrimitive']];if(_0x501710!==void 0x0){var _0x190a1b=_0x501710[_0x1f7083(0x10d)](_0x4f7cf5,_0x4ba1e8||_0x1f7083(0xe4));if(_0x161986(_0x190a1b)!='object')return _0x190a1b;throw TypeError(_0x1f7083(0xec));}return(_0x4ba1e8==='string'?String:Number)(_0x4f7cf5);}function _0x1921a1(_0x54aeea){const _0x52105a=_0x6996a5;var _0x448ac5=_0x52d293(_0x54aeea,'string');return _0x161986(_0x448ac5)==_0x52105a(0x110)?_0x448ac5:_0x448ac5+'';}function _0x1f53f4(_0x4d3fa4,_0x70ef45,_0x3f6101){const _0x185408=_0x6996a5;return(_0x70ef45=_0x1921a1(_0x70ef45))in _0x4d3fa4?Object[_0x185408(0x12c)](_0x4d3fa4,_0x70ef45,{'value':_0x3f6101,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4d3fa4[_0x70ef45]=_0x3f6101,_0x4d3fa4;}let _0x53351a=class extends _0x17dee1['Plugin']{constructor(_0x30775f=_0x34f4e5,_0x51f78f,_0x34708c){const _0x113cf3=_0x6996a5;super(),this['_config']=_0x30775f,this[_0x113cf3(0xe6)]=_0x51f78f,this[_0x113cf3(0xfd)]=_0x34708c;let {..._0x2c861b}=(0x0,_0x17dee1[_0x113cf3(0xfc)])({},_0x34f4e5,this[_0x113cf3(0xf7)]);this[_0x113cf3(0xe6)][_0x113cf3(0x124)](_0x113cf3(0x117),_0x2c861b);}['onStarting'](){const _0xd4bc14=_0x6996a5;this[_0xd4bc14(0x10b)]();}[_0x6996a5(0x10b)](){const _0x518a53=_0x6996a5;(0x0,_0x17dee1['registerDependencies'])(this[_0x518a53(0xfd)],[[_0x17d6b3[_0x518a53(0xe3)],{'useClass':_0x9ca3d3}]]);}};_0x1f53f4(_0x53351a,'pluginName',_0x6996a5(0x100)),_0x1f53f4(_0x53351a,'packageName',_0x58ec36),_0x1f53f4(_0x53351a,_0x6996a5(0x11a),_0xa9026a),_0x53351a=_0x3710cb([(0x0,_0x17dee1[_0x6996a5(0xf0)])(_0x3da27e[_0x6996a5(0xed)],_0x17d6b3[_0x6996a5(0xf5)],_0x4931f9[_0x6996a5(0x12e)],_0x45935d[_0x6996a5(0xf3)]),_0x20bdbe(0x1,_0x17dee1[_0x6996a5(0x129)]),_0x20bdbe(0x2,(0x0,_0x17dee1[_0x6996a5(0xff)])(_0x17dee1[_0x6996a5(0x109)]))],_0x53351a);let _0x4d8d89=class extends _0x45935d[_0x6996a5(0xe5)]{constructor(_0x1fdeba,_0x4466ce,_0x5f9cf5,_0x3283b2,_0x19a382){const _0x7fc043=_0x6996a5;super(_0x1fdeba,_0x4466ce,_0x5f9cf5,_0x3283b2,_0x19a382);let _0x3c14b6=this[_0x7fc043(0xe6)][_0x7fc043(0x111)](_0x45935d[_0x7fc043(0xea)]);this[_0x7fc043(0xe8)][_0x7fc043(0xe7)]({'interceptor':(_0x23e19d,_0x5a75af)=>{const _0x59e019=_0x7fc043;let _0x137579=_0x23e19d[_0x59e019(0x122)];if(_0x3c14b6!=null&&_0x3c14b6['customHeaders']){for(let _0x48c25d in _0x3c14b6[_0x59e019(0xe2)])_0x137579[_0x59e019(0x121)](_0x48c25d,_0x3c14b6[_0x59e019(0xe2)][_0x48c25d]);}return _0x5a75af(_0x23e19d);}});}async[_0x6996a5(0xf2)](_0x55a11f){const _0x7dd4ef=_0x6996a5;return this[_0x7dd4ef(0x11f)](_0x55a11f);}};_0x4d8d89=_0x3710cb([_0x20bdbe(0x0,(0x0,_0x17dee1[_0x6996a5(0xff)])(_0x17dee1[_0x6996a5(0x109)])),_0x20bdbe(0x1,(0x0,_0x17dee1[_0x6996a5(0xff)])(_0x17d6b3['HTTPService'])),_0x20bdbe(0x2,_0x17dee1[_0x6996a5(0x129)]),_0x20bdbe(0x3,_0x17dee1[_0x6996a5(0x131)]),_0x20bdbe(0x4,_0x4931f9[_0x6996a5(0xf8)])],_0x4d8d89),Object['defineProperty'](_0x38e7d4,_0x6996a5(0xfa),{'enumerable':!0x0,'get':function(){return _0x4d8d89;}}),Object[_0x6996a5(0x12c)](_0x38e7d4,_0x6996a5(0x11c),{'enumerable':!0x0,'get':function(){return _0x53351a;}});}));
|
|
1
|
+
function _0x5741(){const _0x551e4e=['20cBVrQk','591752wfxMxq','1072552RZpkQm','next','ISnapshotServerService','toStringTag','18udvfyt','string','UniverProCollaborationClientNode','CollaborationSocketService','symbol','1.2.0','createSocket','onStarting','share','set','function','ws\x20does\x20not\x20work\x20in\x20the\x20browser.\x20Browser\x20clients\x20must\x20use\x20the\x20native\x20WebSocket\x20object','22187KOPQqx','getOwnPropertyDescriptor','decorate','@univerjs-pro/collaboration-client','close','error','_configService','prototype','NodeCollaborationSocketService','getConfig','@univerjs/network','_doCreateSocket','pipe','UniverCollaborationPlugin','send','Module','868115HfZHKD','DisposableCollection','730379gpRopX','33562vZAfrM','UniverCollaborationClientPlugin','6852gGmRtq','version','length','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','constructor','UniverNetwork','removeEventListener','object','_config','registerDependencies','DependentOn','UniverCollaborationClientNodePlugin','collaboration-client-node.config','HTTPService','ISocketService','toPrimitive','rxjs','add','registerHTTPInterceptor','ILogService','120uXjqcD','exports','Injector','UniverNetworkPlugin','toDisposable','IConfigService','Inject','customHeaders','amd','1662810Flstsx','24bJLuzC','message','headers','@univerjs-pro/license','_registerDependencies','addEventListener','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs-pro/collaboration-client-node','@univerjs-pro/collaboration','call','WebSocket','Observable','defineProperty','dispose'];_0x5741=function(){return _0x551e4e;};return _0x5741();}function _0x4f0e(_0x5204e7,_0xbd9a2){_0x5204e7=_0x5204e7-0x8c;const _0x574174=_0x5741();let _0x4f0efa=_0x574174[_0x5204e7];return _0x4f0efa;}(function(_0x468e90,_0x43f841){const _0x5a462=_0x4f0e,_0x277543=_0x468e90();while(!![]){try{const _0x3cb9e2=parseInt(_0x5a462(0x94))/0x1+parseInt(_0x5a462(0x95))/0x2*(-parseInt(_0x5a462(0xab))/0x3)+parseInt(_0x5a462(0xc3))/0x4*(-parseInt(_0x5a462(0x92))/0x5)+-parseInt(_0x5a462(0xb5))/0x6*(parseInt(_0x5a462(0xc4))/0x7)+-parseInt(_0x5a462(0xc5))/0x8*(-parseInt(_0x5a462(0xc9))/0x9)+parseInt(_0x5a462(0xb4))/0xa+-parseInt(_0x5a462(0xd5))/0xb*(-parseInt(_0x5a462(0x97))/0xc);if(_0x3cb9e2===_0x43f841)break;else _0x277543['push'](_0x277543['shift']());}catch(_0x5c874e){_0x277543['push'](_0x277543['shift']());}}}(_0x5741,0x6b2de),function(_0x512914,_0x3bf952){const _0x206d97=_0x4f0e;typeof exports=='object'&&typeof module<'u'?_0x3bf952(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs')):typeof define==_0x206d97(0xd3)&&define[_0x206d97(0xb3)]?define([_0x206d97(0xac),_0x206d97(0xbd),_0x206d97(0xd8),_0x206d97(0xb8),'@univerjs/core',_0x206d97(0x8c),_0x206d97(0xa7)],_0x3bf952):(_0x512914=typeof globalThis<'u'?globalThis:_0x512914||self,_0x3bf952(_0x512914[_0x206d97(0xcb)]={},_0x512914['UniverProCollaboration'],_0x512914['UniverProCollaborationClient'],_0x512914['UniverProLicense'],_0x512914['UniverCore'],_0x512914[_0x206d97(0x9c)],_0x512914[_0x206d97(0xa7)]));}(this,function(_0x456191,_0x5b2c43,_0x3d1626,_0x5d909e,_0x2e284b,_0x224836,_0x3f5451){const _0x4b34e2=_0x4f0e;Object['defineProperty'](_0x456191,Symbol[_0x4b34e2(0xc8)],{'value':_0x4b34e2(0x91)});var _0x144a6a=(_0xeb9cb0,_0x3e234a)=>()=>(_0x3e234a||(_0xeb9cb0((_0x3e234a={'exports':{}})[_0x4b34e2(0xac)],_0x3e234a),_0xeb9cb0=null),_0x3e234a[_0x4b34e2(0xac)]),_0x1baf45=_0x4b34e2(0xbc),_0x423b82=_0x4b34e2(0xce);let _0x508ea2={};var _0x5dd875=_0x144a6a((_0xca181,_0x171d3a)=>{const _0x52b3d9=_0x4b34e2;_0x171d3a[_0x52b3d9(0xac)]=function(){const _0x5556ef=_0x52b3d9;throw Error(_0x5556ef(0xd4));};})();function _0x571732(_0x1da928,_0x41328e){return function(_0x7db2b1,_0x33534b){_0x41328e(_0x7db2b1,_0x33534b,_0x1da928);};}function _0x507320(_0xbd7aed,_0xbce5bb,_0x4b49a6,_0x5dd44a){const _0x24d8da=_0x4b34e2;var _0x10d025=arguments[_0x24d8da(0x99)],_0x35f10a=_0x10d025<0x3?_0xbce5bb:_0x5dd44a===null?_0x5dd44a=Object[_0x24d8da(0xd6)](_0xbce5bb,_0x4b49a6):_0x5dd44a,_0x46a463;if(typeof Reflect==_0x24d8da(0x9e)&&typeof Reflect[_0x24d8da(0xd7)]==_0x24d8da(0xd3))_0x35f10a=Reflect['decorate'](_0xbd7aed,_0xbce5bb,_0x4b49a6,_0x5dd44a);else{for(var _0x6b3562=_0xbd7aed[_0x24d8da(0x99)]-0x1;_0x6b3562>=0x0;_0x6b3562--)(_0x46a463=_0xbd7aed[_0x6b3562])&&(_0x35f10a=(_0x10d025<0x3?_0x46a463(_0x35f10a):_0x10d025>0x3?_0x46a463(_0xbce5bb,_0x4b49a6,_0x35f10a):_0x46a463(_0xbce5bb,_0x4b49a6))||_0x35f10a);}return _0x10d025>0x3&&_0x35f10a&&Object['defineProperty'](_0xbce5bb,_0x4b49a6,_0x35f10a),_0x35f10a;}let _0x4b6bf8=class extends _0x2e284b['Disposable']{constructor(_0x5b3129){const _0x56a4c6=_0x4b34e2;super(),this[_0x56a4c6(0xdb)]=_0x5b3129;}[_0x4b34e2(0xcf)](_0x4e9462){const _0x51088e=_0x4b34e2;var _0x2bd1a7;let _0x3ad65c=((_0x2bd1a7=this['_configService'][_0x51088e(0xde)](_0x3d1626['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x2bd1a7[_0x51088e(0xb2)])||{};try{let _0x2ce4d8=new _0x5dd875[(_0x51088e(0xbf))](_0x4e9462,{'headers':{..._0x3ad65c}}),_0x143b78=new _0x2e284b[(_0x51088e(0x93))]();return{'URL':_0x4e9462,'close':(_0xe801cc,_0x16b233)=>{const _0x4c4b0c=_0x51088e;_0x2ce4d8[_0x4c4b0c(0xd9)](_0xe801cc,_0x16b233),_0x143b78[_0x4c4b0c(0xc2)]();},'send':_0x19ce98=>{const _0x20a430=_0x51088e;_0x2ce4d8[_0x20a430(0x90)](_0x19ce98);},'open$':new _0x3f5451['Observable'](_0x1259e8=>{const _0x345f34=_0x51088e;let _0x2db9d3=_0x9acb73=>_0x1259e8[_0x345f34(0xc6)](_0x9acb73);_0x2ce4d8[_0x345f34(0xba)]('open',_0x2db9d3),_0x143b78[_0x345f34(0xa8)]((0x0,_0x2e284b['toDisposable'])(()=>_0x2ce4d8[_0x345f34(0x9d)]('open',_0x2db9d3)));})[_0x51088e(0x8e)]((0x0,_0x3f5451[_0x51088e(0xd1)])()),'close$':new _0x3f5451[(_0x51088e(0xc0))](_0x4956cf=>{const _0x5b09a6=_0x51088e;let _0x2c2526=_0x4c9020=>_0x4956cf['next'](_0x4c9020);_0x2ce4d8['addEventListener'](_0x5b09a6(0xd9),_0x2c2526),_0x143b78['add']((0x0,_0x2e284b[_0x5b09a6(0xaf)])(()=>_0x2ce4d8['removeEventListener'](_0x5b09a6(0xd9),_0x2c2526)));})[_0x51088e(0x8e)]((0x0,_0x3f5451[_0x51088e(0xd1)])()),'error$':new _0x3f5451[(_0x51088e(0xc0))](_0x4d5ad8=>{const _0x5d69df=_0x51088e;let _0x313f1d=_0x48c681=>_0x4d5ad8[_0x5d69df(0xc6)](_0x48c681);_0x2ce4d8[_0x5d69df(0xba)](_0x5d69df(0xda),_0x313f1d),_0x143b78['add']((0x0,_0x2e284b['toDisposable'])(()=>_0x2ce4d8[_0x5d69df(0x9d)](_0x5d69df(0xda),_0x313f1d)));})[_0x51088e(0x8e)]((0x0,_0x3f5451[_0x51088e(0xd1)])()),'message$':new _0x3f5451['Observable'](_0x46f161=>{const _0x4438bf=_0x51088e;let _0x484f4c=_0x34a9d1=>_0x46f161[_0x4438bf(0xc6)](_0x34a9d1);_0x2ce4d8[_0x4438bf(0xba)](_0x4438bf(0xb6),_0x484f4c),_0x143b78[_0x4438bf(0xa8)]((0x0,_0x2e284b['toDisposable'])(()=>_0x2ce4d8[_0x4438bf(0x9d)]('message',_0x484f4c)));})['pipe']((0x0,_0x3f5451[_0x51088e(0xd1)])())};}catch(_0x2af5d5){return console['error'](_0x2af5d5),null;}}};_0x4b6bf8=_0x507320([_0x571732(0x0,_0x2e284b[_0x4b34e2(0xb0)])],_0x4b6bf8);function _0xe7241f(_0x43656b){'@babel/helpers - typeof';const _0x3a7e79=_0x4b34e2;return _0xe7241f=typeof Symbol==_0x3a7e79(0xd3)&&typeof Symbol['iterator']==_0x3a7e79(0xcd)?function(_0x20b187){return typeof _0x20b187;}:function(_0x4d2be5){const _0x2df101=_0x3a7e79;return _0x4d2be5&&typeof Symbol==_0x2df101(0xd3)&&_0x4d2be5[_0x2df101(0x9b)]===Symbol&&_0x4d2be5!==Symbol[_0x2df101(0xdc)]?_0x2df101(0xcd):typeof _0x4d2be5;},_0xe7241f(_0x43656b);}function _0x401a85(_0x4da4ae,_0xb216e){const _0x33cfb8=_0x4b34e2;if(_0xe7241f(_0x4da4ae)!=_0x33cfb8(0x9e)||!_0x4da4ae)return _0x4da4ae;var _0x5ed4d0=_0x4da4ae[Symbol[_0x33cfb8(0xa6)]];if(_0x5ed4d0!==void 0x0){var _0x246f76=_0x5ed4d0[_0x33cfb8(0xbe)](_0x4da4ae,_0xb216e||'default');if(_0xe7241f(_0x246f76)!=_0x33cfb8(0x9e))return _0x246f76;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xb216e===_0x33cfb8(0xca)?String:Number)(_0x4da4ae);}function _0x392a32(_0x1deafe){const _0x3ff6b8=_0x4b34e2;var _0x49c4d0=_0x401a85(_0x1deafe,_0x3ff6b8(0xca));return _0xe7241f(_0x49c4d0)==_0x3ff6b8(0xcd)?_0x49c4d0:_0x49c4d0+'';}function _0x324a7d(_0x556c9c,_0x501067,_0x1afc30){return(_0x501067=_0x392a32(_0x501067))in _0x556c9c?Object['defineProperty'](_0x556c9c,_0x501067,{'value':_0x1afc30,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x556c9c[_0x501067]=_0x1afc30,_0x556c9c;}let _0x2435f5=class extends _0x2e284b['Plugin']{constructor(_0x56ca97=_0x508ea2,_0xef7119,_0x53d46c){const _0x3c3d7f=_0x4b34e2;super(),this[_0x3c3d7f(0x9f)]=_0x56ca97,this['_configService']=_0xef7119,this['_injector']=_0x53d46c;let {..._0x2929a2}=(0x0,_0x2e284b['merge'])({},_0x508ea2,this[_0x3c3d7f(0x9f)]);this[_0x3c3d7f(0xdb)]['setConfig'](_0x3c3d7f(0xa3),_0x2929a2);}[_0x4b34e2(0xd0)](){const _0x42cd00=_0x4b34e2;this[_0x42cd00(0xb9)]();}[_0x4b34e2(0xb9)](){const _0x37e985=_0x4b34e2;(0x0,_0x2e284b[_0x37e985(0xa0)])(this['_injector'],[[_0x224836[_0x37e985(0xa5)],{'useClass':_0x4b6bf8}]]);}};_0x324a7d(_0x2435f5,'pluginName',_0x4b34e2(0x9a)),_0x324a7d(_0x2435f5,'packageName',_0x1baf45),_0x324a7d(_0x2435f5,_0x4b34e2(0x98),_0x423b82),_0x2435f5=_0x507320([(0x0,_0x2e284b[_0x4b34e2(0xa1)])(_0x5d909e['UniverLicensePlugin'],_0x224836[_0x4b34e2(0xae)],_0x5b2c43[_0x4b34e2(0x8f)],_0x3d1626[_0x4b34e2(0x96)]),_0x571732(0x1,_0x2e284b[_0x4b34e2(0xb0)]),_0x571732(0x2,(0x0,_0x2e284b['Inject'])(_0x2e284b[_0x4b34e2(0xad)]))],_0x2435f5);let _0x31e157=class extends _0x3d1626[_0x4b34e2(0xcc)]{constructor(_0x27c8fc,_0x372b6b,_0xab4956,_0x58faa8,_0x43364d){const _0x509ed8=_0x4b34e2;super(_0x27c8fc,_0x372b6b,_0xab4956,_0x58faa8,_0x43364d);let _0x1a5d07=this[_0x509ed8(0xdb)][_0x509ed8(0xde)](_0x3d1626[_0x509ed8(0xbb)]);this['_httpService'][_0x509ed8(0xa9)]({'interceptor':(_0x16e775,_0x1aa0e9)=>{const _0x1efec0=_0x509ed8;let _0x2784b6=_0x16e775[_0x1efec0(0xb7)];if(_0x1a5d07!=null&&_0x1a5d07[_0x1efec0(0xb2)]){for(let _0x525a1e in _0x1a5d07[_0x1efec0(0xb2)])_0x2784b6[_0x1efec0(0xd2)](_0x525a1e,_0x1a5d07[_0x1efec0(0xb2)][_0x525a1e]);}return _0x1aa0e9(_0x16e775);}});}async[_0x4b34e2(0xcf)](_0x1631ea){const _0x161572=_0x4b34e2;return this[_0x161572(0x8d)](_0x1631ea);}};_0x31e157=_0x507320([_0x571732(0x0,(0x0,_0x2e284b[_0x4b34e2(0xb1)])(_0x2e284b[_0x4b34e2(0xad)])),_0x571732(0x1,(0x0,_0x2e284b['Inject'])(_0x224836[_0x4b34e2(0xa4)])),_0x571732(0x2,_0x2e284b[_0x4b34e2(0xb0)]),_0x571732(0x3,_0x2e284b[_0x4b34e2(0xaa)]),_0x571732(0x4,_0x5b2c43[_0x4b34e2(0xc7)])],_0x31e157),Object['defineProperty'](_0x456191,_0x4b34e2(0xdd),{'enumerable':!0x0,'get':function(){return _0x31e157;}}),Object[_0x4b34e2(0xc1)](_0x456191,_0x4b34e2(0xa2),{'enumerable':!0x0,'get':function(){return _0x2435f5;}});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/collaboration-client-node",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Node.js collaboration client plugin for Univer Pro.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -51,19 +51,19 @@
|
|
|
51
51
|
"rxjs": ">=7.0.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@univerjs-pro/collaboration": "1.0
|
|
55
|
-
"@univerjs-pro/collaboration-client": "1.0
|
|
56
|
-
"@univerjs-pro/license": "1.0
|
|
57
|
-
"@univerjs/core": "1.0
|
|
58
|
-
"@univerjs/network": "1.0
|
|
54
|
+
"@univerjs-pro/collaboration": "1.2.0",
|
|
55
|
+
"@univerjs-pro/collaboration-client": "1.2.0",
|
|
56
|
+
"@univerjs-pro/license": "1.2.0",
|
|
57
|
+
"@univerjs/core": "1.2.0",
|
|
58
|
+
"@univerjs/network": "1.2.0",
|
|
59
59
|
"ws": "8.21.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/ws": "8.18.1",
|
|
63
|
-
"@univerjs-infra/shared": "1.0
|
|
63
|
+
"@univerjs-infra/shared": "1.2.0",
|
|
64
64
|
"rxjs": "7.8.2",
|
|
65
65
|
"typescript": "^6.0.3",
|
|
66
|
-
"vitest": "^5.0.
|
|
66
|
+
"vitest": "^5.0.4"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"test": "vitest run",
|