@univerjs-pro/collaboration-client-node 1.0.1 → 1.0.3
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 _0x32668f=_0x3c9f;function _0x3c9f(_0x1f395b,_0x444109){_0x1f395b=_0x1f395b-0xe1;const _0x307bd4=_0x307b();let _0x3c9f8b=_0x307bd4[_0x1f395b];return _0x3c9f8b;}(function(_0x21dcd6,_0x4c3f68){const _0x20de0b=_0x3c9f,_0x49d5aa=_0x21dcd6();while(!![]){try{const _0x1e432a=-parseInt(_0x20de0b(0xe9))/0x1+-parseInt(_0x20de0b(0xf8))/0x2+parseInt(_0x20de0b(0x11e))/0x3*(parseInt(_0x20de0b(0xe7))/0x4)+parseInt(_0x20de0b(0x114))/0x5+-parseInt(_0x20de0b(0x10e))/0x6*(parseInt(_0x20de0b(0xe5))/0x7)+parseInt(_0x20de0b(0x115))/0x8+parseInt(_0x20de0b(0x103))/0x9*(parseInt(_0x20de0b(0xfb))/0xa);if(_0x1e432a===_0x4c3f68)break;else _0x49d5aa['push'](_0x49d5aa['shift']());}catch(_0xa54d27){_0x49d5aa['push'](_0x49d5aa['shift']());}}}(_0x307b,0xc4f76),Object[_0x32668f(0x11b)](exports,Symbol['toStringTag'],{'value':_0x32668f(0x122)}));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=_0x32668f(0xf6),c=_0x32668f(0x11f);const l={};function u(_0x541128,_0x5034dc){return function(_0x5e6f55,_0x25474c){_0x5034dc(_0x5e6f55,_0x25474c,_0x541128);};}function _0x307b(){const _0x49625f=['collaboration-client-node.config','Injector','@univerjs-pro/collaboration-client-node','UniverCollaborationPlugin','1867964pTSAds','constructor','getConfig','10TDSCnd','merge','addEventListener','customHeaders','_httpService','open','HTTPService','ISnapshotServerService','7725069jyjSkw','share','message','_injector','IConfigService','registerHTTPInterceptor','pluginName','_configService','UniverCollaborationClientPlugin','Inject','object','34494EDCEGm','_config','close','WebSocket','setConfig','UniverNetworkPlugin','2143985cObdmD','4749336zDVRii','removeEventListener','pipe','next','string','add','defineProperty','ISocketService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','330agbHCe','1.0.3','packageName','_doCreateSocket','Module','iterator','getOwnPropertyDescriptor','version','function','DisposableCollection','_registerDependencies','CollaborationSocketService','error','toPrimitive','dispose','headers','1351fNDqbx','createSocket','53716ZlyPBE','Plugin','507682GQdUPu','onStarting','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Observable','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','toDisposable','symbol','set','NodeCollaborationSocketService','DependentOn','decorate'];_0x307b=function(){return _0x49625f;};return _0x307b();}function d(_0x3f973f,_0x209d67,_0x53d8a3,_0x344e02){const _0x2fb8eb=_0x32668f;var _0x510e07=arguments['length'],_0x3df5fa=_0x510e07<0x3?_0x209d67:_0x344e02===null?_0x344e02=Object[_0x2fb8eb(0x124)](_0x209d67,_0x53d8a3):_0x344e02,_0x20733d;if(typeof Reflect=='object'&&typeof Reflect[_0x2fb8eb(0xf3)]==_0x2fb8eb(0x126))_0x3df5fa=Reflect[_0x2fb8eb(0xf3)](_0x3f973f,_0x209d67,_0x53d8a3,_0x344e02);else{for(var _0x2e6af6=_0x3f973f['length']-0x1;_0x2e6af6>=0x0;_0x2e6af6--)(_0x20733d=_0x3f973f[_0x2e6af6])&&(_0x3df5fa=(_0x510e07<0x3?_0x20733d(_0x3df5fa):_0x510e07>0x3?_0x20733d(_0x209d67,_0x53d8a3,_0x3df5fa):_0x20733d(_0x209d67,_0x53d8a3))||_0x3df5fa);}return _0x510e07>0x3&&_0x3df5fa&&Object['defineProperty'](_0x209d67,_0x53d8a3,_0x3df5fa),_0x3df5fa;}let f=class extends r['Disposable']{constructor(_0x291916){super(),this['_configService']=_0x291916;}[_0x32668f(0xe6)](_0x5e9bf6){const _0x1711e7=_0x32668f;var _0x1dcaeb;let _0x50a0b2=((_0x1dcaeb=this[_0x1711e7(0x10a)][_0x1711e7(0xfa)](t[_0x1711e7(0x11d)]))==null?void 0x0:_0x1dcaeb[_0x1711e7(0xfe)])||{};try{let _0x32ec52=new o[(_0x1711e7(0x111))](_0x5e9bf6,{'headers':{..._0x50a0b2}}),_0x4e38a5=new r[(_0x1711e7(0x127))]();return{'URL':_0x5e9bf6,'close':(_0x778192,_0x116293)=>{const _0x5652b4=_0x1711e7;_0x32ec52['close'](_0x778192,_0x116293),_0x4e38a5[_0x5652b4(0xe3)]();},'send':_0x362458=>{_0x32ec52['send'](_0x362458);},'open$':new a[(_0x1711e7(0xec))](_0x5e1add=>{const _0x3e8919=_0x1711e7;let _0x927610=_0x10d899=>_0x5e1add[_0x3e8919(0x118)](_0x10d899);_0x32ec52[_0x3e8919(0xfd)]('open',_0x927610),_0x4e38a5[_0x3e8919(0x11a)]((0x0,r['toDisposable'])(()=>_0x32ec52['removeEventListener'](_0x3e8919(0x100),_0x927610)));})[_0x1711e7(0x117)]((0x0,a[_0x1711e7(0x104)])()),'close$':new a[(_0x1711e7(0xec))](_0x22bdd5=>{const _0x13e98d=_0x1711e7;let _0x26f279=_0x399cb8=>_0x22bdd5['next'](_0x399cb8);_0x32ec52[_0x13e98d(0xfd)](_0x13e98d(0x110),_0x26f279),_0x4e38a5[_0x13e98d(0x11a)]((0x0,r['toDisposable'])(()=>_0x32ec52['removeEventListener']('close',_0x26f279)));})[_0x1711e7(0x117)]((0x0,a[_0x1711e7(0x104)])()),'error$':new a[(_0x1711e7(0xec))](_0x27c2c2=>{const _0x2bbd28=_0x1711e7;let _0x177a3f=_0x5c7a8d=>_0x27c2c2['next'](_0x5c7a8d);_0x32ec52[_0x2bbd28(0xfd)](_0x2bbd28(0xe1),_0x177a3f),_0x4e38a5['add']((0x0,r[_0x2bbd28(0xee)])(()=>_0x32ec52[_0x2bbd28(0x116)](_0x2bbd28(0xe1),_0x177a3f)));})[_0x1711e7(0x117)]((0x0,a['share'])()),'message$':new a[(_0x1711e7(0xec))](_0x364b9c=>{const _0x57a246=_0x1711e7;let _0x23356b=_0x214c32=>_0x364b9c[_0x57a246(0x118)](_0x214c32);_0x32ec52[_0x57a246(0xfd)](_0x57a246(0x105),_0x23356b),_0x4e38a5[_0x57a246(0x11a)]((0x0,r[_0x57a246(0xee)])(()=>_0x32ec52['removeEventListener'](_0x57a246(0x105),_0x23356b)));})[_0x1711e7(0x117)]((0x0,a['share'])())};}catch(_0x4f2afd){return console[_0x1711e7(0xe1)](_0x4f2afd),null;}}};f=d([u(0x0,r[_0x32668f(0x107)])],f);function p(_0xacd324){'@babel/helpers - typeof';const _0x1b6966=_0x32668f;return p=typeof Symbol=='function'&&typeof Symbol[_0x1b6966(0x123)]==_0x1b6966(0xef)?function(_0x1990ed){return typeof _0x1990ed;}:function(_0x50c556){const _0x4e4d05=_0x1b6966;return _0x50c556&&typeof Symbol=='function'&&_0x50c556[_0x4e4d05(0xf9)]===Symbol&&_0x50c556!==Symbol['prototype']?_0x4e4d05(0xef):typeof _0x50c556;},p(_0xacd324);}function m(_0x296916,_0x2b2968){const _0x283437=_0x32668f;if(p(_0x296916)!=_0x283437(0x10d)||!_0x296916)return _0x296916;var _0x431adc=_0x296916[Symbol[_0x283437(0xe2)]];if(_0x431adc!==void 0x0){var _0x7dacf9=_0x431adc['call'](_0x296916,_0x2b2968||'default');if(p(_0x7dacf9)!=_0x283437(0x10d))return _0x7dacf9;throw TypeError(_0x283437(0xeb));}return(_0x2b2968===_0x283437(0x119)?String:Number)(_0x296916);}function h(_0x3c4d48){const _0x397838=_0x32668f;var _0x14bd61=m(_0x3c4d48,_0x397838(0x119));return p(_0x14bd61)=='symbol'?_0x14bd61:_0x14bd61+'';}function g(_0x55e3f7,_0x44b382,_0x4cc518){const _0x2dc0ce=_0x32668f;return(_0x44b382=h(_0x44b382))in _0x55e3f7?Object[_0x2dc0ce(0x11b)](_0x55e3f7,_0x44b382,{'value':_0x4cc518,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x55e3f7[_0x44b382]=_0x4cc518,_0x55e3f7;}let _=class extends r[_0x32668f(0xe8)]{constructor(_0xfad946=l,_0x38f61e,_0x5abaad){const _0x4a6808=_0x32668f;super(),this[_0x4a6808(0x10f)]=_0xfad946,this['_configService']=_0x38f61e,this[_0x4a6808(0x106)]=_0x5abaad;let {..._0x4f7379}=(0x0,r[_0x4a6808(0xfc)])({},l,this[_0x4a6808(0x10f)]);this['_configService'][_0x4a6808(0x112)](_0x4a6808(0xf4),_0x4f7379);}[_0x32668f(0xea)](){const _0x318cb8=_0x32668f;this[_0x318cb8(0x128)]();}[_0x32668f(0x128)](){const _0x41a9ac=_0x32668f;(0x0,r['registerDependencies'])(this[_0x41a9ac(0x106)],[[i[_0x41a9ac(0x11c)],{'useClass':f}]]);}};g(_,_0x32668f(0x109),_0x32668f(0xed)),g(_,_0x32668f(0x120),s),g(_,_0x32668f(0x125),c),_=d([(0x0,r[_0x32668f(0xf2)])(n['UniverLicensePlugin'],i[_0x32668f(0x113)],e[_0x32668f(0xf7)],t[_0x32668f(0x10b)]),u(0x1,r[_0x32668f(0x107)]),u(0x2,(0x0,r[_0x32668f(0x10c)])(r['Injector']))],_);let v=class extends t[_0x32668f(0x129)]{constructor(_0x5bfc95,_0x200561,_0x548454,_0x3374ba,_0x3ff81d){const _0x323105=_0x32668f;super(_0x5bfc95,_0x200561,_0x548454,_0x3374ba,_0x3ff81d);let _0x526595=this[_0x323105(0x10a)][_0x323105(0xfa)](t[_0x323105(0x11d)]);this[_0x323105(0xff)][_0x323105(0x108)]({'interceptor':(_0x2a3632,_0x437eb7)=>{const _0x494835=_0x323105;let _0x69d75c=_0x2a3632[_0x494835(0xe4)];if(_0x526595!=null&&_0x526595[_0x494835(0xfe)]){for(let _0x3236d3 in _0x526595['customHeaders'])_0x69d75c[_0x494835(0xf0)](_0x3236d3,_0x526595[_0x494835(0xfe)][_0x3236d3]);}return _0x437eb7(_0x2a3632);}});}async[_0x32668f(0xe6)](_0x54e413){const _0xeb2e1c=_0x32668f;return this[_0xeb2e1c(0x121)](_0x54e413);}};v=d([u(0x0,(0x0,r[_0x32668f(0x10c)])(r[_0x32668f(0xf5)])),u(0x1,(0x0,r['Inject'])(i[_0x32668f(0x101)])),u(0x2,r[_0x32668f(0x107)]),u(0x3,r['ILogService']),u(0x4,e[_0x32668f(0x102)])],v),Object[_0x32668f(0x11b)](exports,_0x32668f(0xf1),{'enumerable':!0x0,'get':function(){return v;}}),Object[_0x32668f(0x11b)](exports,'UniverCollaborationClientNodePlugin',{'enumerable':!0x0,'get':function(){return _;}});
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2b1e1b=_0x3b12;(function(_0x3ea45a,_0x3910ee){const _0xcee7a8=_0x3b12,_0x170518=_0x3ea45a();while(!![]){try{const _0x204e27=parseInt(_0xcee7a8(0x15c))/0x1*(parseInt(_0xcee7a8(0x15b))/0x2)+parseInt(_0xcee7a8(0x14f))/0x3*(-parseInt(_0xcee7a8(0x14e))/0x4)+parseInt(_0xcee7a8(0x162))/0x5+-parseInt(_0xcee7a8(0x179))/0x6+-parseInt(_0xcee7a8(0x176))/0x7*(-parseInt(_0xcee7a8(0x175))/0x8)+parseInt(_0xcee7a8(0x17c))/0x9+-parseInt(_0xcee7a8(0x152))/0xa*(parseInt(_0xcee7a8(0x150))/0xb);if(_0x204e27===_0x3910ee)break;else _0x170518['push'](_0x170518['shift']());}catch(_0x26c178){_0x170518['push'](_0x170518['shift']());}}}(_0x2a31,0xdee4d));import{ISnapshotServerService as _0x2febfb,UniverCollaborationPlugin as _0x1ad642}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1fcdd8,CollaborationSocketService as _0x4e8da8,UniverCollaborationClientPlugin as _0x935fb0}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x1018f4}from'@univerjs-pro/license';import{DependentOn as _0x4f38f4,Disposable as _0x67090e,DisposableCollection as _0xdb8371,IConfigService as _0xf5581,ILogService as _0x2f780d,Inject as _0x5361be,Injector as _0x4c5ed7,Plugin as _0x4b51eb,merge as _0xff489b,registerDependencies as _0x17fc10,toDisposable as _0x364422}from'@univerjs/core';import{HTTPService as _0x26c6cf,ISocketService as _0x18bff4,UniverNetworkPlugin as _0x5531fb}from'@univerjs/network';import{Observable as _0x21cbcb,share as _0x1b7183}from'rxjs';import{WebSocket as _0x578461}from'ws';var C=_0x2b1e1b(0x147),w=_0x2b1e1b(0x166);const T={};function E(_0x118cde,_0x18c669){return function(_0x32d02e,_0x2ca518){_0x18c669(_0x32d02e,_0x2ca518,_0x118cde);};}function _0x3b12(_0x1c602a,_0x4ad564){_0x1c602a=_0x1c602a-0x147;const _0x2a3157=_0x2a31();let _0x3b12db=_0x2a3157[_0x1c602a];return _0x3b12db;}function D(_0xcc9e,_0x4dcdf8,_0x53a909,_0x30596e){const _0x376b2c=_0x2b1e1b;var _0x2e1ecf=arguments[_0x376b2c(0x174)],_0x56dca9=_0x2e1ecf<0x3?_0x4dcdf8:_0x30596e===null?_0x30596e=Object[_0x376b2c(0x17a)](_0x4dcdf8,_0x53a909):_0x30596e,_0x2bb3ef;if(typeof Reflect=='object'&&typeof Reflect[_0x376b2c(0x17d)]==_0x376b2c(0x169))_0x56dca9=Reflect[_0x376b2c(0x17d)](_0xcc9e,_0x4dcdf8,_0x53a909,_0x30596e);else{for(var _0x378449=_0xcc9e[_0x376b2c(0x174)]-0x1;_0x378449>=0x0;_0x378449--)(_0x2bb3ef=_0xcc9e[_0x378449])&&(_0x56dca9=(_0x2e1ecf<0x3?_0x2bb3ef(_0x56dca9):_0x2e1ecf>0x3?_0x2bb3ef(_0x4dcdf8,_0x53a909,_0x56dca9):_0x2bb3ef(_0x4dcdf8,_0x53a909))||_0x56dca9);}return _0x2e1ecf>0x3&&_0x56dca9&&Object[_0x376b2c(0x15a)](_0x4dcdf8,_0x53a909,_0x56dca9),_0x56dca9;}let O=class extends _0x67090e{constructor(_0x2a9ab4){const _0x167bf0=_0x2b1e1b;super(),this[_0x167bf0(0x156)]=_0x2a9ab4;}[_0x2b1e1b(0x167)](_0x215d8e){const _0x254f2b=_0x2b1e1b;var _0x12fabc;let _0x582c49=((_0x12fabc=this['_configService'][_0x254f2b(0x151)](_0x1fcdd8))==null?void 0x0:_0x12fabc[_0x254f2b(0x17b)])||{};try{let _0x9b1eba=new _0x578461(_0x215d8e,{'headers':{..._0x582c49}}),_0x470425=new _0xdb8371();return{'URL':_0x215d8e,'close':(_0x21649a,_0x64b954)=>{const _0x4763b2=_0x254f2b;_0x9b1eba[_0x4763b2(0x14d)](_0x21649a,_0x64b954),_0x470425[_0x4763b2(0x14c)]();},'send':_0x30d909=>{const _0x439ca8=_0x254f2b;_0x9b1eba[_0x439ca8(0x16b)](_0x30d909);},'open$':new _0x21cbcb(_0x372159=>{const _0x112b35=_0x254f2b;let _0x60557=_0x2ea334=>_0x372159[_0x112b35(0x178)](_0x2ea334);_0x9b1eba['addEventListener'](_0x112b35(0x160),_0x60557),_0x470425['add'](_0x364422(()=>_0x9b1eba['removeEventListener'](_0x112b35(0x160),_0x60557)));})[_0x254f2b(0x170)](_0x1b7183()),'close$':new _0x21cbcb(_0x12df76=>{const _0x2ebd80=_0x254f2b;let _0x28cb9b=_0x15ee08=>_0x12df76[_0x2ebd80(0x178)](_0x15ee08);_0x9b1eba[_0x2ebd80(0x154)](_0x2ebd80(0x14d),_0x28cb9b),_0x470425['add'](_0x364422(()=>_0x9b1eba[_0x2ebd80(0x171)]('close',_0x28cb9b)));})[_0x254f2b(0x170)](_0x1b7183()),'error$':new _0x21cbcb(_0x1b3b4f=>{const _0x5e2b4a=_0x254f2b;let _0x33b423=_0x1b7dea=>_0x1b3b4f[_0x5e2b4a(0x178)](_0x1b7dea);_0x9b1eba[_0x5e2b4a(0x154)](_0x5e2b4a(0x15f),_0x33b423),_0x470425['add'](_0x364422(()=>_0x9b1eba[_0x5e2b4a(0x171)](_0x5e2b4a(0x15f),_0x33b423)));})[_0x254f2b(0x170)](_0x1b7183()),'message$':new _0x21cbcb(_0x577e7a=>{const _0x31e1c3=_0x254f2b;let _0x3a8b4e=_0x22439c=>_0x577e7a[_0x31e1c3(0x178)](_0x22439c);_0x9b1eba['addEventListener'](_0x31e1c3(0x16f),_0x3a8b4e),_0x470425[_0x31e1c3(0x158)](_0x364422(()=>_0x9b1eba[_0x31e1c3(0x171)](_0x31e1c3(0x16f),_0x3a8b4e)));})['pipe'](_0x1b7183())};}catch(_0x56074d){return console[_0x254f2b(0x15f)](_0x56074d),null;}}};O=D([E(0x0,_0xf5581)],O);function k(_0x23d31c){'@babel/helpers - typeof';const _0x42906b=_0x2b1e1b;return k=typeof Symbol==_0x42906b(0x169)&&typeof Symbol[_0x42906b(0x163)]==_0x42906b(0x168)?function(_0x22c25b){return typeof _0x22c25b;}:function(_0x12f955){const _0xe63ef8=_0x42906b;return _0x12f955&&typeof Symbol==_0xe63ef8(0x169)&&_0x12f955[_0xe63ef8(0x173)]===Symbol&&_0x12f955!==Symbol[_0xe63ef8(0x177)]?_0xe63ef8(0x168):typeof _0x12f955;},k(_0x23d31c);}function A(_0x4ad5ed,_0x27a0be){const _0x288f53=_0x2b1e1b;if(k(_0x4ad5ed)!=_0x288f53(0x149)||!_0x4ad5ed)return _0x4ad5ed;var _0x3d7a65=_0x4ad5ed[Symbol[_0x288f53(0x157)]];if(_0x3d7a65!==void 0x0){var _0x20449d=_0x3d7a65[_0x288f53(0x14a)](_0x4ad5ed,_0x27a0be||_0x288f53(0x14b));if(k(_0x20449d)!='object')return _0x20449d;throw TypeError(_0x288f53(0x16a));}return(_0x27a0be==='string'?String:Number)(_0x4ad5ed);}function j(_0x3e328e){const _0x5d8606=_0x2b1e1b;var _0x1c6241=A(_0x3e328e,'string');return k(_0x1c6241)==_0x5d8606(0x168)?_0x1c6241:_0x1c6241+'';}function M(_0x40bbed,_0x345a74,_0x3a4aa2){const _0x234df3=_0x2b1e1b;return(_0x345a74=j(_0x345a74))in _0x40bbed?Object[_0x234df3(0x15a)](_0x40bbed,_0x345a74,{'value':_0x3a4aa2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x40bbed[_0x345a74]=_0x3a4aa2,_0x40bbed;}let N=class extends _0x4b51eb{constructor(_0x15a818=T,_0x1614cd,_0x4776a7){const _0xf2db97=_0x2b1e1b;super(),this[_0xf2db97(0x165)]=_0x15a818,this[_0xf2db97(0x156)]=_0x1614cd,this[_0xf2db97(0x15d)]=_0x4776a7;let {..._0x195eef}=_0xff489b({},T,this['_config']);this['_configService'][_0xf2db97(0x153)](_0xf2db97(0x159),_0x195eef);}['onStarting'](){const _0x5c53a8=_0x2b1e1b;this[_0x5c53a8(0x161)]();}[_0x2b1e1b(0x161)](){const _0x279adc=_0x2b1e1b;_0x17fc10(this[_0x279adc(0x15d)],[[_0x18bff4,{'useClass':O}]]);}};function _0x2a31(){const _0x4791ab=['1755666EERVnh','1KWoNWK','_injector','_doCreateSocket','error','open','_registerDependencies','6186785SIfVJM','iterator','pluginName','_config','1.0.3','createSocket','symbol','function','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','send','_httpService','headers','set','message','pipe','removeEventListener','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','constructor','length','20152HZmkxf','3031eDYLrf','prototype','next','4555386EyQtqm','getOwnPropertyDescriptor','customHeaders','8726778kQkifI','decorate','@univerjs-pro/collaboration-client-node','version','object','call','default','dispose','close','4Fpojku','4858329ffRvuP','31064ABEBuM','getConfig','3130UzOcTq','setConfig','addEventListener','registerHTTPInterceptor','_configService','toPrimitive','add','collaboration-client-node.config','defineProperty'];_0x2a31=function(){return _0x4791ab;};return _0x2a31();}M(N,_0x2b1e1b(0x164),_0x2b1e1b(0x172)),M(N,'packageName',C),M(N,_0x2b1e1b(0x148),w),N=D([_0x4f38f4(_0x1018f4,_0x5531fb,_0x1ad642,_0x935fb0),E(0x1,_0xf5581),E(0x2,_0x5361be(_0x4c5ed7))],N);let P=class extends _0x4e8da8{constructor(_0x549310,_0x3b9b9e,_0x2233bb,_0x2437e2,_0x34cb74){const _0x1c0046=_0x2b1e1b;super(_0x549310,_0x3b9b9e,_0x2233bb,_0x2437e2,_0x34cb74);let _0x4823db=this['_configService'][_0x1c0046(0x151)](_0x1fcdd8);this[_0x1c0046(0x16c)][_0x1c0046(0x155)]({'interceptor':(_0x9ddda1,_0xf7f30e)=>{const _0x1178ef=_0x1c0046;let _0x47f313=_0x9ddda1[_0x1178ef(0x16d)];if(_0x4823db!=null&&_0x4823db[_0x1178ef(0x17b)]){for(let _0x4ecca4 in _0x4823db[_0x1178ef(0x17b)])_0x47f313[_0x1178ef(0x16e)](_0x4ecca4,_0x4823db[_0x1178ef(0x17b)][_0x4ecca4]);}return _0xf7f30e(_0x9ddda1);}});}async[_0x2b1e1b(0x167)](_0x5cac5a){const _0x32eb16=_0x2b1e1b;return this[_0x32eb16(0x15e)](_0x5cac5a);}};P=D([E(0x0,_0x5361be(_0x4c5ed7)),E(0x1,_0x5361be(_0x26c6cf)),E(0x2,_0xf5581),E(0x3,_0x2f780d),E(0x4,_0x2febfb)],P);export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2b1e1b=_0x3b12;(function(_0x3ea45a,_0x3910ee){const _0xcee7a8=_0x3b12,_0x170518=_0x3ea45a();while(!![]){try{const _0x204e27=parseInt(_0xcee7a8(0x15c))/0x1*(parseInt(_0xcee7a8(0x15b))/0x2)+parseInt(_0xcee7a8(0x14f))/0x3*(-parseInt(_0xcee7a8(0x14e))/0x4)+parseInt(_0xcee7a8(0x162))/0x5+-parseInt(_0xcee7a8(0x179))/0x6+-parseInt(_0xcee7a8(0x176))/0x7*(-parseInt(_0xcee7a8(0x175))/0x8)+parseInt(_0xcee7a8(0x17c))/0x9+-parseInt(_0xcee7a8(0x152))/0xa*(parseInt(_0xcee7a8(0x150))/0xb);if(_0x204e27===_0x3910ee)break;else _0x170518['push'](_0x170518['shift']());}catch(_0x26c178){_0x170518['push'](_0x170518['shift']());}}}(_0x2a31,0xdee4d));import{ISnapshotServerService as _0x2febfb,UniverCollaborationPlugin as _0x1ad642}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1fcdd8,CollaborationSocketService as _0x4e8da8,UniverCollaborationClientPlugin as _0x935fb0}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x1018f4}from'@univerjs-pro/license';import{DependentOn as _0x4f38f4,Disposable as _0x67090e,DisposableCollection as _0xdb8371,IConfigService as _0xf5581,ILogService as _0x2f780d,Inject as _0x5361be,Injector as _0x4c5ed7,Plugin as _0x4b51eb,merge as _0xff489b,registerDependencies as _0x17fc10,toDisposable as _0x364422}from'@univerjs/core';import{HTTPService as _0x26c6cf,ISocketService as _0x18bff4,UniverNetworkPlugin as _0x5531fb}from'@univerjs/network';import{Observable as _0x21cbcb,share as _0x1b7183}from'rxjs';import{WebSocket as _0x578461}from'ws';var C=_0x2b1e1b(0x147),w=_0x2b1e1b(0x166);const T={};function E(_0x118cde,_0x18c669){return function(_0x32d02e,_0x2ca518){_0x18c669(_0x32d02e,_0x2ca518,_0x118cde);};}function _0x3b12(_0x1c602a,_0x4ad564){_0x1c602a=_0x1c602a-0x147;const _0x2a3157=_0x2a31();let _0x3b12db=_0x2a3157[_0x1c602a];return _0x3b12db;}function D(_0xcc9e,_0x4dcdf8,_0x53a909,_0x30596e){const _0x376b2c=_0x2b1e1b;var _0x2e1ecf=arguments[_0x376b2c(0x174)],_0x56dca9=_0x2e1ecf<0x3?_0x4dcdf8:_0x30596e===null?_0x30596e=Object[_0x376b2c(0x17a)](_0x4dcdf8,_0x53a909):_0x30596e,_0x2bb3ef;if(typeof Reflect=='object'&&typeof Reflect[_0x376b2c(0x17d)]==_0x376b2c(0x169))_0x56dca9=Reflect[_0x376b2c(0x17d)](_0xcc9e,_0x4dcdf8,_0x53a909,_0x30596e);else{for(var _0x378449=_0xcc9e[_0x376b2c(0x174)]-0x1;_0x378449>=0x0;_0x378449--)(_0x2bb3ef=_0xcc9e[_0x378449])&&(_0x56dca9=(_0x2e1ecf<0x3?_0x2bb3ef(_0x56dca9):_0x2e1ecf>0x3?_0x2bb3ef(_0x4dcdf8,_0x53a909,_0x56dca9):_0x2bb3ef(_0x4dcdf8,_0x53a909))||_0x56dca9);}return _0x2e1ecf>0x3&&_0x56dca9&&Object[_0x376b2c(0x15a)](_0x4dcdf8,_0x53a909,_0x56dca9),_0x56dca9;}let O=class extends _0x67090e{constructor(_0x2a9ab4){const _0x167bf0=_0x2b1e1b;super(),this[_0x167bf0(0x156)]=_0x2a9ab4;}[_0x2b1e1b(0x167)](_0x215d8e){const _0x254f2b=_0x2b1e1b;var _0x12fabc;let _0x582c49=((_0x12fabc=this['_configService'][_0x254f2b(0x151)](_0x1fcdd8))==null?void 0x0:_0x12fabc[_0x254f2b(0x17b)])||{};try{let _0x9b1eba=new _0x578461(_0x215d8e,{'headers':{..._0x582c49}}),_0x470425=new _0xdb8371();return{'URL':_0x215d8e,'close':(_0x21649a,_0x64b954)=>{const _0x4763b2=_0x254f2b;_0x9b1eba[_0x4763b2(0x14d)](_0x21649a,_0x64b954),_0x470425[_0x4763b2(0x14c)]();},'send':_0x30d909=>{const _0x439ca8=_0x254f2b;_0x9b1eba[_0x439ca8(0x16b)](_0x30d909);},'open$':new _0x21cbcb(_0x372159=>{const _0x112b35=_0x254f2b;let _0x60557=_0x2ea334=>_0x372159[_0x112b35(0x178)](_0x2ea334);_0x9b1eba['addEventListener'](_0x112b35(0x160),_0x60557),_0x470425['add'](_0x364422(()=>_0x9b1eba['removeEventListener'](_0x112b35(0x160),_0x60557)));})[_0x254f2b(0x170)](_0x1b7183()),'close$':new _0x21cbcb(_0x12df76=>{const _0x2ebd80=_0x254f2b;let _0x28cb9b=_0x15ee08=>_0x12df76[_0x2ebd80(0x178)](_0x15ee08);_0x9b1eba[_0x2ebd80(0x154)](_0x2ebd80(0x14d),_0x28cb9b),_0x470425['add'](_0x364422(()=>_0x9b1eba[_0x2ebd80(0x171)]('close',_0x28cb9b)));})[_0x254f2b(0x170)](_0x1b7183()),'error$':new _0x21cbcb(_0x1b3b4f=>{const _0x5e2b4a=_0x254f2b;let _0x33b423=_0x1b7dea=>_0x1b3b4f[_0x5e2b4a(0x178)](_0x1b7dea);_0x9b1eba[_0x5e2b4a(0x154)](_0x5e2b4a(0x15f),_0x33b423),_0x470425['add'](_0x364422(()=>_0x9b1eba[_0x5e2b4a(0x171)](_0x5e2b4a(0x15f),_0x33b423)));})[_0x254f2b(0x170)](_0x1b7183()),'message$':new _0x21cbcb(_0x577e7a=>{const _0x31e1c3=_0x254f2b;let _0x3a8b4e=_0x22439c=>_0x577e7a[_0x31e1c3(0x178)](_0x22439c);_0x9b1eba['addEventListener'](_0x31e1c3(0x16f),_0x3a8b4e),_0x470425[_0x31e1c3(0x158)](_0x364422(()=>_0x9b1eba[_0x31e1c3(0x171)](_0x31e1c3(0x16f),_0x3a8b4e)));})['pipe'](_0x1b7183())};}catch(_0x56074d){return console[_0x254f2b(0x15f)](_0x56074d),null;}}};O=D([E(0x0,_0xf5581)],O);function k(_0x23d31c){'@babel/helpers - typeof';const _0x42906b=_0x2b1e1b;return k=typeof Symbol==_0x42906b(0x169)&&typeof Symbol[_0x42906b(0x163)]==_0x42906b(0x168)?function(_0x22c25b){return typeof _0x22c25b;}:function(_0x12f955){const _0xe63ef8=_0x42906b;return _0x12f955&&typeof Symbol==_0xe63ef8(0x169)&&_0x12f955[_0xe63ef8(0x173)]===Symbol&&_0x12f955!==Symbol[_0xe63ef8(0x177)]?_0xe63ef8(0x168):typeof _0x12f955;},k(_0x23d31c);}function A(_0x4ad5ed,_0x27a0be){const _0x288f53=_0x2b1e1b;if(k(_0x4ad5ed)!=_0x288f53(0x149)||!_0x4ad5ed)return _0x4ad5ed;var _0x3d7a65=_0x4ad5ed[Symbol[_0x288f53(0x157)]];if(_0x3d7a65!==void 0x0){var _0x20449d=_0x3d7a65[_0x288f53(0x14a)](_0x4ad5ed,_0x27a0be||_0x288f53(0x14b));if(k(_0x20449d)!='object')return _0x20449d;throw TypeError(_0x288f53(0x16a));}return(_0x27a0be==='string'?String:Number)(_0x4ad5ed);}function j(_0x3e328e){const _0x5d8606=_0x2b1e1b;var _0x1c6241=A(_0x3e328e,'string');return k(_0x1c6241)==_0x5d8606(0x168)?_0x1c6241:_0x1c6241+'';}function M(_0x40bbed,_0x345a74,_0x3a4aa2){const _0x234df3=_0x2b1e1b;return(_0x345a74=j(_0x345a74))in _0x40bbed?Object[_0x234df3(0x15a)](_0x40bbed,_0x345a74,{'value':_0x3a4aa2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x40bbed[_0x345a74]=_0x3a4aa2,_0x40bbed;}let N=class extends _0x4b51eb{constructor(_0x15a818=T,_0x1614cd,_0x4776a7){const _0xf2db97=_0x2b1e1b;super(),this[_0xf2db97(0x165)]=_0x15a818,this[_0xf2db97(0x156)]=_0x1614cd,this[_0xf2db97(0x15d)]=_0x4776a7;let {..._0x195eef}=_0xff489b({},T,this['_config']);this['_configService'][_0xf2db97(0x153)](_0xf2db97(0x159),_0x195eef);}['onStarting'](){const _0x5c53a8=_0x2b1e1b;this[_0x5c53a8(0x161)]();}[_0x2b1e1b(0x161)](){const _0x279adc=_0x2b1e1b;_0x17fc10(this[_0x279adc(0x15d)],[[_0x18bff4,{'useClass':O}]]);}};function _0x2a31(){const _0x4791ab=['1755666EERVnh','1KWoNWK','_injector','_doCreateSocket','error','open','_registerDependencies','6186785SIfVJM','iterator','pluginName','_config','1.0.3','createSocket','symbol','function','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','send','_httpService','headers','set','message','pipe','removeEventListener','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','constructor','length','20152HZmkxf','3031eDYLrf','prototype','next','4555386EyQtqm','getOwnPropertyDescriptor','customHeaders','8726778kQkifI','decorate','@univerjs-pro/collaboration-client-node','version','object','call','default','dispose','close','4Fpojku','4858329ffRvuP','31064ABEBuM','getConfig','3130UzOcTq','setConfig','addEventListener','registerHTTPInterceptor','_configService','toPrimitive','add','collaboration-client-node.config','defineProperty'];_0x2a31=function(){return _0x4791ab;};return _0x2a31();}M(N,_0x2b1e1b(0x164),_0x2b1e1b(0x172)),M(N,'packageName',C),M(N,_0x2b1e1b(0x148),w),N=D([_0x4f38f4(_0x1018f4,_0x5531fb,_0x1ad642,_0x935fb0),E(0x1,_0xf5581),E(0x2,_0x5361be(_0x4c5ed7))],N);let P=class extends _0x4e8da8{constructor(_0x549310,_0x3b9b9e,_0x2233bb,_0x2437e2,_0x34cb74){const _0x1c0046=_0x2b1e1b;super(_0x549310,_0x3b9b9e,_0x2233bb,_0x2437e2,_0x34cb74);let _0x4823db=this['_configService'][_0x1c0046(0x151)](_0x1fcdd8);this[_0x1c0046(0x16c)][_0x1c0046(0x155)]({'interceptor':(_0x9ddda1,_0xf7f30e)=>{const _0x1178ef=_0x1c0046;let _0x47f313=_0x9ddda1[_0x1178ef(0x16d)];if(_0x4823db!=null&&_0x4823db[_0x1178ef(0x17b)]){for(let _0x4ecca4 in _0x4823db[_0x1178ef(0x17b)])_0x47f313[_0x1178ef(0x16e)](_0x4ecca4,_0x4823db[_0x1178ef(0x17b)][_0x4ecca4]);}return _0xf7f30e(_0x9ddda1);}});}async[_0x2b1e1b(0x167)](_0x5cac5a){const _0x32eb16=_0x2b1e1b;return this[_0x32eb16(0x15e)](_0x5cac5a);}};P=D([E(0x0,_0x5361be(_0x4c5ed7)),E(0x1,_0x5361be(_0x26c6cf)),E(0x2,_0xf5581),E(0x3,_0x2f780d),E(0x4,_0x2febfb)],P);export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4e9dc0,_0x499d51){const _0x51ac67=_0x2b7d,_0x550cb2=_0x4e9dc0();while(!![]){try{const _0x1ca54f=parseInt(_0x51ac67(0x12d))/0x1+parseInt(_0x51ac67(0xf3))/0x2*(parseInt(_0x51ac67(0x10a))/0x3)+-parseInt(_0x51ac67(0xe7))/0x4+-parseInt(_0x51ac67(0x12c))/0x5+parseInt(_0x51ac67(0x12a))/0x6+-parseInt(_0x51ac67(0x133))/0x7+-parseInt(_0x51ac67(0x10b))/0x8;if(_0x1ca54f===_0x499d51)break;else _0x550cb2['push'](_0x550cb2['shift']());}catch(_0xbfb00){_0x550cb2['push'](_0x550cb2['shift']());}}}(_0x140d,0xd3509),function(_0x1ec351,_0x4825a8){const _0x3e5284=_0x2b7d;typeof exports=='object'&&typeof module<'u'?_0x4825a8(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs')):typeof define==_0x3e5284(0x129)&&define[_0x3e5284(0x10e)]?define([_0x3e5284(0xeb),'@univerjs-pro/collaboration',_0x3e5284(0x101),_0x3e5284(0x118),_0x3e5284(0x105),_0x3e5284(0xf5),_0x3e5284(0x11d)],_0x4825a8):(_0x1ec351=typeof globalThis<'u'?globalThis:_0x1ec351||self,_0x4825a8(_0x1ec351[_0x3e5284(0x102)]={},_0x1ec351[_0x3e5284(0x127)],_0x1ec351['UniverProCollaborationClient'],_0x1ec351['UniverProLicense'],_0x1ec351[_0x3e5284(0x103)],_0x1ec351[_0x3e5284(0xe2)],_0x1ec351[_0x3e5284(0x11d)]));}(this,function(_0x348602,_0x357f18,_0x2ea384,_0x53db6c,_0x5ee43a,_0x258040,_0x2f0d6a){const _0x51e570=_0x2b7d;Object['defineProperty'](_0x348602,Symbol[_0x51e570(0x114)],{'value':_0x51e570(0x112)});var _0xf4624=(_0x354f33,_0x2fb966)=>()=>(_0x2fb966||(_0x354f33((_0x2fb966={'exports':{}})[_0x51e570(0xeb)],_0x2fb966),_0x354f33=null),_0x2fb966[_0x51e570(0xeb)]),_0x202324='@univerjs-pro/collaboration-client-node',_0x26242d=_0x51e570(0x124);let _0x3e0c7d={};var _0x4be084=_0xf4624((_0x34d31a,_0x3f040c)=>{const _0x32ff13=_0x51e570;_0x3f040c[_0x32ff13(0xeb)]=function(){const _0x5e6473=_0x32ff13;throw Error(_0x5e6473(0x135));};})();function _0x243cbd(_0x48f9f3,_0x5d319a){return function(_0x7c258b,_0x156832){_0x5d319a(_0x7c258b,_0x156832,_0x48f9f3);};}function _0xd5769b(_0x16aea5,_0x5b275d,_0x576e9d,_0x3c49f3){const _0x1d768d=_0x51e570;var _0x18c229=arguments[_0x1d768d(0x11c)],_0x459957=_0x18c229<0x3?_0x5b275d:_0x3c49f3===null?_0x3c49f3=Object[_0x1d768d(0x136)](_0x5b275d,_0x576e9d):_0x3c49f3,_0x24ef9c;if(typeof Reflect==_0x1d768d(0x10d)&&typeof Reflect[_0x1d768d(0x12b)]=='function')_0x459957=Reflect['decorate'](_0x16aea5,_0x5b275d,_0x576e9d,_0x3c49f3);else{for(var _0x2905ab=_0x16aea5[_0x1d768d(0x11c)]-0x1;_0x2905ab>=0x0;_0x2905ab--)(_0x24ef9c=_0x16aea5[_0x2905ab])&&(_0x459957=(_0x18c229<0x3?_0x24ef9c(_0x459957):_0x18c229>0x3?_0x24ef9c(_0x5b275d,_0x576e9d,_0x459957):_0x24ef9c(_0x5b275d,_0x576e9d))||_0x459957);}return _0x18c229>0x3&&_0x459957&&Object[_0x1d768d(0xea)](_0x5b275d,_0x576e9d,_0x459957),_0x459957;}let _0x5deac9=class extends _0x5ee43a['Disposable']{constructor(_0x246ed0){const _0x2dd61e=_0x51e570;super(),this[_0x2dd61e(0xf6)]=_0x246ed0;}[_0x51e570(0x113)](_0x2867c7){const _0x3da422=_0x51e570;var _0x5328be;let _0x10c24b=((_0x5328be=this[_0x3da422(0xf6)][_0x3da422(0x10c)](_0x2ea384['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x5328be[_0x3da422(0xfc)])||{};try{let _0x4d96eb=new _0x4be084[(_0x3da422(0x130))](_0x2867c7,{'headers':{..._0x10c24b}}),_0x505900=new _0x5ee43a[(_0x3da422(0x11f))]();return{'URL':_0x2867c7,'close':(_0x570b65,_0x3d1998)=>{const _0x3c8038=_0x3da422;_0x4d96eb[_0x3c8038(0x123)](_0x570b65,_0x3d1998),_0x505900[_0x3c8038(0x116)]();},'send':_0xa343ad=>{const _0x1b16f2=_0x3da422;_0x4d96eb[_0x1b16f2(0x132)](_0xa343ad);},'open$':new _0x2f0d6a[(_0x3da422(0xf7))](_0x55151e=>{const _0x488ed7=_0x3da422;let _0x37cacf=_0x20d801=>_0x55151e[_0x488ed7(0xe3)](_0x20d801);_0x4d96eb[_0x488ed7(0xfd)](_0x488ed7(0x108),_0x37cacf),_0x505900[_0x488ed7(0x120)]((0x0,_0x5ee43a[_0x488ed7(0xe5)])(()=>_0x4d96eb[_0x488ed7(0x111)]('open',_0x37cacf)));})[_0x3da422(0xe9)]((0x0,_0x2f0d6a[_0x3da422(0x110)])()),'close$':new _0x2f0d6a['Observable'](_0x2759ba=>{const _0x587986=_0x3da422;let _0x10e295=_0x26e821=>_0x2759ba[_0x587986(0xe3)](_0x26e821);_0x4d96eb[_0x587986(0xfd)](_0x587986(0x123),_0x10e295),_0x505900[_0x587986(0x120)]((0x0,_0x5ee43a['toDisposable'])(()=>_0x4d96eb['removeEventListener'](_0x587986(0x123),_0x10e295)));})['pipe']((0x0,_0x2f0d6a[_0x3da422(0x110)])()),'error$':new _0x2f0d6a[(_0x3da422(0xf7))](_0x822ce8=>{const _0x5e2481=_0x3da422;let _0x2b5b39=_0x4cbd55=>_0x822ce8['next'](_0x4cbd55);_0x4d96eb[_0x5e2481(0xfd)](_0x5e2481(0xe8),_0x2b5b39),_0x505900[_0x5e2481(0x120)]((0x0,_0x5ee43a['toDisposable'])(()=>_0x4d96eb[_0x5e2481(0x111)]('error',_0x2b5b39)));})[_0x3da422(0xe9)]((0x0,_0x2f0d6a[_0x3da422(0x110)])()),'message$':new _0x2f0d6a['Observable'](_0x12245b=>{const _0x2d8cf8=_0x3da422;let _0x40cd91=_0x513ab2=>_0x12245b[_0x2d8cf8(0xe3)](_0x513ab2);_0x4d96eb['addEventListener']('message',_0x40cd91),_0x505900[_0x2d8cf8(0x120)]((0x0,_0x5ee43a[_0x2d8cf8(0xe5)])(()=>_0x4d96eb['removeEventListener'](_0x2d8cf8(0x117),_0x40cd91)));})[_0x3da422(0xe9)]((0x0,_0x2f0d6a[_0x3da422(0x110)])())};}catch(_0xd714f8){return console['error'](_0xd714f8),null;}}};_0x5deac9=_0xd5769b([_0x243cbd(0x0,_0x5ee43a[_0x51e570(0xf9)])],_0x5deac9);function _0x4366ff(_0x21f97e){'@babel/helpers - typeof';const _0x1e330a=_0x51e570;return _0x4366ff=typeof Symbol==_0x1e330a(0x129)&&typeof Symbol[_0x1e330a(0x11e)]==_0x1e330a(0x11a)?function(_0x48d658){return typeof _0x48d658;}:function(_0x12fefb){const _0xcd1115=_0x1e330a;return _0x12fefb&&typeof Symbol=='function'&&_0x12fefb[_0xcd1115(0xef)]===Symbol&&_0x12fefb!==Symbol[_0xcd1115(0xf8)]?'symbol':typeof _0x12fefb;},_0x4366ff(_0x21f97e);}function _0x37a100(_0x496ac1,_0x54eb93){const _0x3a2348=_0x51e570;if(_0x4366ff(_0x496ac1)!=_0x3a2348(0x10d)||!_0x496ac1)return _0x496ac1;var _0x513329=_0x496ac1[Symbol[_0x3a2348(0xf0)]];if(_0x513329!==void 0x0){var _0x4cc578=_0x513329[_0x3a2348(0x12e)](_0x496ac1,_0x54eb93||_0x3a2348(0xed));if(_0x4366ff(_0x4cc578)!=_0x3a2348(0x10d))return _0x4cc578;throw TypeError(_0x3a2348(0x121));}return(_0x54eb93===_0x3a2348(0xe6)?String:Number)(_0x496ac1);}function _0xec36de(_0x56ee7b){const _0x1af530=_0x51e570;var _0x8aaabe=_0x37a100(_0x56ee7b,_0x1af530(0xe6));return _0x4366ff(_0x8aaabe)=='symbol'?_0x8aaabe:_0x8aaabe+'';}function _0x5a5234(_0xb85169,_0x52b984,_0x18d57d){const _0x41d4d7=_0x51e570;return(_0x52b984=_0xec36de(_0x52b984))in _0xb85169?Object[_0x41d4d7(0xea)](_0xb85169,_0x52b984,{'value':_0x18d57d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xb85169[_0x52b984]=_0x18d57d,_0xb85169;}let _0xd8d114=class extends _0x5ee43a[_0x51e570(0x11b)]{constructor(_0x156a5c=_0x3e0c7d,_0x19308b,_0x30351c){const _0x1af719=_0x51e570;super(),this[_0x1af719(0xff)]=_0x156a5c,this['_configService']=_0x19308b,this['_injector']=_0x30351c;let {..._0x40a709}=(0x0,_0x5ee43a[_0x1af719(0x134)])({},_0x3e0c7d,this[_0x1af719(0xff)]);this['_configService']['setConfig'](_0x1af719(0x128),_0x40a709);}[_0x51e570(0xf2)](){const _0x5cce2a=_0x51e570;this[_0x5cce2a(0xee)]();}[_0x51e570(0xee)](){const _0x44d7d3=_0x51e570;(0x0,_0x5ee43a['registerDependencies'])(this['_injector'],[[_0x258040[_0x44d7d3(0x107)],{'useClass':_0x5deac9}]]);}};_0x5a5234(_0xd8d114,'pluginName',_0x51e570(0x106)),_0x5a5234(_0xd8d114,_0x51e570(0xe4),_0x202324),_0x5a5234(_0xd8d114,'version',_0x26242d),_0xd8d114=_0xd5769b([(0x0,_0x5ee43a[_0x51e570(0x131)])(_0x53db6c[_0x51e570(0xfa)],_0x258040[_0x51e570(0xf1)],_0x357f18[_0x51e570(0xf4)],_0x2ea384[_0x51e570(0x10f)]),_0x243cbd(0x1,_0x5ee43a[_0x51e570(0xf9)]),_0x243cbd(0x2,(0x0,_0x5ee43a[_0x51e570(0x109)])(_0x5ee43a[_0x51e570(0x119)]))],_0xd8d114);let _0x2e997f=class extends _0x2ea384[_0x51e570(0x115)]{constructor(_0x2a4afc,_0x3a3a85,_0x1d16a3,_0x37c3a6,_0x79b1df){const _0x1c21ce=_0x51e570;super(_0x2a4afc,_0x3a3a85,_0x1d16a3,_0x37c3a6,_0x79b1df);let _0x2ee11a=this[_0x1c21ce(0xf6)]['getConfig'](_0x2ea384[_0x1c21ce(0x126)]);this['_httpService'][_0x1c21ce(0xfe)]({'interceptor':(_0x295375,_0x252877)=>{const _0x2d60fa=_0x1c21ce;let _0x29b1f2=_0x295375[_0x2d60fa(0x100)];if(_0x2ee11a!=null&&_0x2ee11a[_0x2d60fa(0xfc)]){for(let _0x510d34 in _0x2ee11a['customHeaders'])_0x29b1f2['set'](_0x510d34,_0x2ee11a[_0x2d60fa(0xfc)][_0x510d34]);}return _0x252877(_0x295375);}});}async[_0x51e570(0x113)](_0x2ecc2f){const _0x2a1d92=_0x51e570;return this[_0x2a1d92(0x12f)](_0x2ecc2f);}};_0x2e997f=_0xd5769b([_0x243cbd(0x0,(0x0,_0x5ee43a['Inject'])(_0x5ee43a[_0x51e570(0x119)])),_0x243cbd(0x1,(0x0,_0x5ee43a[_0x51e570(0x109)])(_0x258040[_0x51e570(0x104)])),_0x243cbd(0x2,_0x5ee43a[_0x51e570(0xf9)]),_0x243cbd(0x3,_0x5ee43a[_0x51e570(0x125)]),_0x243cbd(0x4,_0x357f18[_0x51e570(0xfb)])],_0x2e997f),Object[_0x51e570(0xea)](_0x348602,_0x51e570(0x122),{'enumerable':!0x0,'get':function(){return _0x2e997f;}}),Object['defineProperty'](_0x348602,_0x51e570(0xec),{'enumerable':!0x0,'get':function(){return _0xd8d114;}});}));function _0x2b7d(_0x4cd70e,_0x3114a9){_0x4cd70e=_0x4cd70e-0xe2;const _0x140dbc=_0x140d();let _0x2b7d9f=_0x140dbc[_0x4cd70e];return _0x2b7d9f;}function _0x140d(){const _0x12a1dd=['1.0.1','ILogService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverProCollaboration','collaboration-client-node.config','function','6362298xGMedQ','decorate','82370qeHmdd','427403CxBHAD','call','_doCreateSocket','WebSocket','DependentOn','send','3112445WhyGZo','merge','ws\x20does\x20not\x20work\x20in\x20the\x20browser.\x20Browser\x20clients\x20must\x20use\x20the\x20native\x20WebSocket\x20object','getOwnPropertyDescriptor','UniverNetwork','next','packageName','toDisposable','string','2082376jssQqa','error','pipe','defineProperty','exports','UniverCollaborationClientNodePlugin','default','_registerDependencies','constructor','toPrimitive','UniverNetworkPlugin','onStarting','476plJMfL','UniverCollaborationPlugin','@univerjs/network','_configService','Observable','prototype','IConfigService','UniverLicensePlugin','ISnapshotServerService','customHeaders','addEventListener','registerHTTPInterceptor','_config','headers','@univerjs-pro/collaboration-client','UniverProCollaborationClientNode','UniverCore','HTTPService','@univerjs/core','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','ISocketService','open','Inject','9993HiygSx','3466528gzQrHc','getConfig','object','amd','UniverCollaborationClientPlugin','share','removeEventListener','Module','createSocket','toStringTag','CollaborationSocketService','dispose','message','@univerjs-pro/license','Injector','symbol','Plugin','length','rxjs','iterator','DisposableCollection','add','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','NodeCollaborationSocketService','close'];_0x140d=function(){return _0x12a1dd;};return _0x140d();}
|
|
1
|
+
(function(_0x4c2087,_0x25b712){const _0x1affb2=_0x5baa,_0x4af1da=_0x4c2087();while(!![]){try{const _0xc6939b=-parseInt(_0x1affb2(0xc9))/0x1+parseInt(_0x1affb2(0x9d))/0x2+-parseInt(_0x1affb2(0x9a))/0x3*(parseInt(_0x1affb2(0xa1))/0x4)+-parseInt(_0x1affb2(0xb0))/0x5+parseInt(_0x1affb2(0x92))/0x6*(-parseInt(_0x1affb2(0x97))/0x7)+-parseInt(_0x1affb2(0x9b))/0x8*(-parseInt(_0x1affb2(0xb1))/0x9)+parseInt(_0x1affb2(0xe5))/0xa;if(_0xc6939b===_0x25b712)break;else _0x4af1da['push'](_0x4af1da['shift']());}catch(_0x1f12b9){_0x4af1da['push'](_0x4af1da['shift']());}}}(_0x36b7,0x32370),function(_0x228ad5,_0x562912){const _0x35663a=_0x5baa;typeof exports==_0x35663a(0x9c)&&typeof module<'u'?_0x562912(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs')):typeof define==_0x35663a(0xb8)&&define[_0x35663a(0xdf)]?define(['exports',_0x35663a(0xae),_0x35663a(0xbe),'@univerjs-pro/license',_0x35663a(0x98),'@univerjs/network',_0x35663a(0xb5)],_0x562912):(_0x228ad5=typeof globalThis<'u'?globalThis:_0x228ad5||self,_0x562912(_0x228ad5[_0x35663a(0xe6)]={},_0x228ad5['UniverProCollaboration'],_0x228ad5[_0x35663a(0xd4)],_0x228ad5[_0x35663a(0xc5)],_0x228ad5['UniverCore'],_0x228ad5[_0x35663a(0xd0)],_0x228ad5['rxjs']));}(this,function(_0x2d1b6d,_0x3705b0,_0x463fa0,_0x9d15d8,_0x2a3f98,_0x243f6a,_0x45d24c){const _0x53c39d=_0x5baa;Object[_0x53c39d(0xc4)](_0x2d1b6d,Symbol[_0x53c39d(0xb3)],{'value':_0x53c39d(0xe3)});var _0x29dbe8=(_0x18b30f,_0x200054)=>()=>(_0x200054||(_0x18b30f((_0x200054={'exports':{}})['exports'],_0x200054),_0x18b30f=null),_0x200054[_0x53c39d(0xa5)]),_0x2b55b7=_0x53c39d(0xbb),_0xbf2b35='1.0.3';let _0x2a5739={};var _0x1265e1=_0x29dbe8((_0x56991b,_0x4670a4)=>{const _0xd97de=_0x53c39d;_0x4670a4[_0xd97de(0xa5)]=function(){const _0x301f40=_0xd97de;throw Error(_0x301f40(0xa9));};})();function _0x4b1703(_0x4977ca,_0x1cb036){return function(_0x22f842,_0x56bb51){_0x1cb036(_0x22f842,_0x56bb51,_0x4977ca);};}function _0x3b37c4(_0x4f654e,_0x58ab57,_0x1992da,_0x4fb27e){const _0x589bc1=_0x53c39d;var _0x4d2c1b=arguments[_0x589bc1(0xa2)],_0x17a296=_0x4d2c1b<0x3?_0x58ab57:_0x4fb27e===null?_0x4fb27e=Object['getOwnPropertyDescriptor'](_0x58ab57,_0x1992da):_0x4fb27e,_0x4a73c1;if(typeof Reflect==_0x589bc1(0x9c)&&typeof Reflect[_0x589bc1(0xc8)]=='function')_0x17a296=Reflect['decorate'](_0x4f654e,_0x58ab57,_0x1992da,_0x4fb27e);else{for(var _0x3f16e3=_0x4f654e[_0x589bc1(0xa2)]-0x1;_0x3f16e3>=0x0;_0x3f16e3--)(_0x4a73c1=_0x4f654e[_0x3f16e3])&&(_0x17a296=(_0x4d2c1b<0x3?_0x4a73c1(_0x17a296):_0x4d2c1b>0x3?_0x4a73c1(_0x58ab57,_0x1992da,_0x17a296):_0x4a73c1(_0x58ab57,_0x1992da))||_0x17a296);}return _0x4d2c1b>0x3&&_0x17a296&&Object[_0x589bc1(0xc4)](_0x58ab57,_0x1992da,_0x17a296),_0x17a296;}let _0x26f004=class extends _0x2a3f98[_0x53c39d(0xda)]{constructor(_0x12fcd7){const _0x281371=_0x53c39d;super(),this[_0x281371(0xa4)]=_0x12fcd7;}[_0x53c39d(0xde)](_0x4a108a){const _0x5130d4=_0x53c39d;var _0x594666;let _0x4f9ed5=((_0x594666=this[_0x5130d4(0xa4)][_0x5130d4(0xd2)](_0x463fa0[_0x5130d4(0xb6)]))==null?void 0x0:_0x594666[_0x5130d4(0xab)])||{};try{let _0x115df4=new _0x1265e1[(_0x5130d4(0x93))](_0x4a108a,{'headers':{..._0x4f9ed5}}),_0x3d8243=new _0x2a3f98[(_0x5130d4(0xaa))]();return{'URL':_0x4a108a,'close':(_0x9746da,_0x226153)=>{const _0x3a6ab7=_0x5130d4;_0x115df4['close'](_0x9746da,_0x226153),_0x3d8243[_0x3a6ab7(0xd9)]();},'send':_0x5eedac=>{const _0x35b5b5=_0x5130d4;_0x115df4[_0x35b5b5(0xd7)](_0x5eedac);},'open$':new _0x45d24c[(_0x5130d4(0xcb))](_0x1a4e2c=>{const _0x304e91=_0x5130d4;let _0x5f0d45=_0x49305a=>_0x1a4e2c[_0x304e91(0xb9)](_0x49305a);_0x115df4[_0x304e91(0x96)](_0x304e91(0xbf),_0x5f0d45),_0x3d8243[_0x304e91(0xa3)]((0x0,_0x2a3f98[_0x304e91(0xa0)])(()=>_0x115df4[_0x304e91(0xb7)](_0x304e91(0xbf),_0x5f0d45)));})[_0x5130d4(0xc0)]((0x0,_0x45d24c[_0x5130d4(0x9e)])()),'close$':new _0x45d24c[(_0x5130d4(0xcb))](_0x40e402=>{const _0xc45c47=_0x5130d4;let _0xff9997=_0x4bc28e=>_0x40e402['next'](_0x4bc28e);_0x115df4['addEventListener'](_0xc45c47(0xd8),_0xff9997),_0x3d8243[_0xc45c47(0xa3)]((0x0,_0x2a3f98[_0xc45c47(0xa0)])(()=>_0x115df4[_0xc45c47(0xb7)](_0xc45c47(0xd8),_0xff9997)));})[_0x5130d4(0xc0)]((0x0,_0x45d24c[_0x5130d4(0x9e)])()),'error$':new _0x45d24c[(_0x5130d4(0xcb))](_0x542fc8=>{const _0x4481df=_0x5130d4;let _0x3bc6d1=_0x48eb12=>_0x542fc8[_0x4481df(0xb9)](_0x48eb12);_0x115df4['addEventListener'](_0x4481df(0xe7),_0x3bc6d1),_0x3d8243[_0x4481df(0xa3)]((0x0,_0x2a3f98['toDisposable'])(()=>_0x115df4[_0x4481df(0xb7)](_0x4481df(0xe7),_0x3bc6d1)));})[_0x5130d4(0xc0)]((0x0,_0x45d24c['share'])()),'message$':new _0x45d24c[(_0x5130d4(0xcb))](_0x33bb54=>{const _0x56f5b4=_0x5130d4;let _0x43e265=_0x49a0ec=>_0x33bb54[_0x56f5b4(0xb9)](_0x49a0ec);_0x115df4[_0x56f5b4(0x96)](_0x56f5b4(0xc7),_0x43e265),_0x3d8243['add']((0x0,_0x2a3f98[_0x56f5b4(0xa0)])(()=>_0x115df4[_0x56f5b4(0xb7)](_0x56f5b4(0xc7),_0x43e265)));})[_0x5130d4(0xc0)]((0x0,_0x45d24c['share'])())};}catch(_0xe535d5){return console[_0x5130d4(0xe7)](_0xe535d5),null;}}};_0x26f004=_0x3b37c4([_0x4b1703(0x0,_0x2a3f98[_0x53c39d(0xac)])],_0x26f004);function _0x57e82f(_0x2f420b){'@babel/helpers - typeof';const _0x134eb0=_0x53c39d;return _0x57e82f=typeof Symbol==_0x134eb0(0xb8)&&typeof Symbol['iterator']==_0x134eb0(0xbc)?function(_0x37654f){return typeof _0x37654f;}:function(_0x1b9943){const _0x242a28=_0x134eb0;return _0x1b9943&&typeof Symbol=='function'&&_0x1b9943[_0x242a28(0xd3)]===Symbol&&_0x1b9943!==Symbol[_0x242a28(0xc1)]?_0x242a28(0xbc):typeof _0x1b9943;},_0x57e82f(_0x2f420b);}function _0x252c01(_0x191cfe,_0x4a766c){const _0x24eea2=_0x53c39d;if(_0x57e82f(_0x191cfe)!=_0x24eea2(0x9c)||!_0x191cfe)return _0x191cfe;var _0x324537=_0x191cfe[Symbol[_0x24eea2(0xe1)]];if(_0x324537!==void 0x0){var _0x15b79b=_0x324537[_0x24eea2(0xdb)](_0x191cfe,_0x4a766c||_0x24eea2(0x91));if(_0x57e82f(_0x15b79b)!='object')return _0x15b79b;throw TypeError(_0x24eea2(0xe2));}return(_0x4a766c===_0x24eea2(0xa6)?String:Number)(_0x191cfe);}function _0x247e79(_0x2b858a){const _0x501b38=_0x53c39d;var _0x42c726=_0x252c01(_0x2b858a,_0x501b38(0xa6));return _0x57e82f(_0x42c726)==_0x501b38(0xbc)?_0x42c726:_0x42c726+'';}function _0x4e3c0d(_0x59d2be,_0x22e27f,_0x3271d8){return(_0x22e27f=_0x247e79(_0x22e27f))in _0x59d2be?Object['defineProperty'](_0x59d2be,_0x22e27f,{'value':_0x3271d8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x59d2be[_0x22e27f]=_0x3271d8,_0x59d2be;}let _0x1e062f=class extends _0x2a3f98[_0x53c39d(0x95)]{constructor(_0x59e70f=_0x2a5739,_0x34f03e,_0x1a9419){const _0x266c97=_0x53c39d;super(),this[_0x266c97(0xd1)]=_0x59e70f,this[_0x266c97(0xa4)]=_0x34f03e,this[_0x266c97(0xd6)]=_0x1a9419;let {..._0x283fd7}=(0x0,_0x2a3f98[_0x266c97(0xca)])({},_0x2a5739,this[_0x266c97(0xd1)]);this['_configService'][_0x266c97(0xad)](_0x266c97(0xb4),_0x283fd7);}[_0x53c39d(0x9f)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x3ade44=_0x53c39d;(0x0,_0x2a3f98[_0x3ade44(0xd5)])(this[_0x3ade44(0xd6)],[[_0x243f6a[_0x3ade44(0xaf)],{'useClass':_0x26f004}]]);}};_0x4e3c0d(_0x1e062f,_0x53c39d(0xba),_0x53c39d(0xce)),_0x4e3c0d(_0x1e062f,_0x53c39d(0xcc),_0x2b55b7),_0x4e3c0d(_0x1e062f,_0x53c39d(0xe0),_0xbf2b35),_0x1e062f=_0x3b37c4([(0x0,_0x2a3f98[_0x53c39d(0xb2)])(_0x9d15d8[_0x53c39d(0x94)],_0x243f6a['UniverNetworkPlugin'],_0x3705b0[_0x53c39d(0xe4)],_0x463fa0[_0x53c39d(0xdd)]),_0x4b1703(0x1,_0x2a3f98[_0x53c39d(0xac)]),_0x4b1703(0x2,(0x0,_0x2a3f98[_0x53c39d(0xcd)])(_0x2a3f98['Injector']))],_0x1e062f);let _0xb82ac=class extends _0x463fa0['CollaborationSocketService']{constructor(_0x5b2d0e,_0x13d3b2,_0x53b580,_0x1dd71c,_0x4815c2){const _0x3cbebc=_0x53c39d;super(_0x5b2d0e,_0x13d3b2,_0x53b580,_0x1dd71c,_0x4815c2);let _0x48b0d1=this['_configService'][_0x3cbebc(0xd2)](_0x463fa0['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']);this[_0x3cbebc(0xdc)][_0x3cbebc(0xc2)]({'interceptor':(_0x3019c7,_0x28ada5)=>{const _0x3bae61=_0x3cbebc;let _0x4b2d99=_0x3019c7[_0x3bae61(0xcf)];if(_0x48b0d1!=null&&_0x48b0d1[_0x3bae61(0xab)]){for(let _0x4c1616 in _0x48b0d1['customHeaders'])_0x4b2d99['set'](_0x4c1616,_0x48b0d1[_0x3bae61(0xab)][_0x4c1616]);}return _0x28ada5(_0x3019c7);}});}async['createSocket'](_0x483d9b){return this['_doCreateSocket'](_0x483d9b);}};_0xb82ac=_0x3b37c4([_0x4b1703(0x0,(0x0,_0x2a3f98[_0x53c39d(0xcd)])(_0x2a3f98[_0x53c39d(0xc3)])),_0x4b1703(0x1,(0x0,_0x2a3f98['Inject'])(_0x243f6a[_0x53c39d(0xc6)])),_0x4b1703(0x2,_0x2a3f98[_0x53c39d(0xac)]),_0x4b1703(0x3,_0x2a3f98[_0x53c39d(0xbd)]),_0x4b1703(0x4,_0x3705b0[_0x53c39d(0xa8)])],_0xb82ac),Object[_0x53c39d(0xc4)](_0x2d1b6d,_0x53c39d(0x99),{'enumerable':!0x0,'get':function(){return _0xb82ac;}}),Object['defineProperty'](_0x2d1b6d,_0x53c39d(0xa7),{'enumerable':!0x0,'get':function(){return _0x1e062f;}});}));function _0x5baa(_0x1d7371,_0x449052){_0x1d7371=_0x1d7371-0x91;const _0x36b707=_0x36b7();let _0x5baa27=_0x36b707[_0x1d7371];return _0x5baa27;}function _0x36b7(){const _0x2b83a6=['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','removeEventListener','function','next','pluginName','@univerjs-pro/collaboration-client-node','symbol','ILogService','@univerjs-pro/collaboration-client','open','pipe','prototype','registerHTTPInterceptor','Injector','defineProperty','UniverProLicense','HTTPService','message','decorate','161111ZfRXYW','merge','Observable','packageName','Inject','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','headers','UniverNetwork','_config','getConfig','constructor','UniverProCollaborationClient','registerDependencies','_injector','send','close','dispose','Disposable','call','_httpService','UniverCollaborationClientPlugin','createSocket','amd','version','toPrimitive','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Module','UniverCollaborationPlugin','7708930zisPBj','UniverProCollaborationClientNode','error','default','114yOfxIg','WebSocket','UniverLicensePlugin','Plugin','addEventListener','38381xEycUC','@univerjs/core','NodeCollaborationSocketService','99213Xmmaaj','40JDNlyW','object','195452rxzoPC','share','onStarting','toDisposable','24dZpcad','length','add','_configService','exports','string','UniverCollaborationClientNodePlugin','ISnapshotServerService','ws\x20does\x20not\x20work\x20in\x20the\x20browser.\x20Browser\x20clients\x20must\x20use\x20the\x20native\x20WebSocket\x20object','DisposableCollection','customHeaders','IConfigService','setConfig','@univerjs-pro/collaboration','ISocketService','1986150BGCVRr','356409VIBlin','DependentOn','toStringTag','collaboration-client-node.config','rxjs'];_0x36b7=function(){return _0x2b83a6;};return _0x36b7();}
|
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.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Node.js collaboration client plugin for Univer Pro.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -51,16 +51,16 @@
|
|
|
51
51
|
"rxjs": ">=7.0.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@univerjs-pro/collaboration": "1.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.0.3",
|
|
55
|
+
"@univerjs-pro/collaboration-client": "1.0.3",
|
|
56
|
+
"@univerjs-pro/license": "1.0.3",
|
|
57
|
+
"@univerjs/core": "1.0.3",
|
|
58
|
+
"@univerjs/network": "1.0.3",
|
|
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.0.3",
|
|
64
64
|
"rxjs": "7.8.2",
|
|
65
65
|
"typescript": "^6.0.3",
|
|
66
66
|
"vitest": "^5.0.0"
|