@univerjs-pro/collaboration-client-node 1.0.0-beta.1 → 1.0.0-beta.2
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 _0x5dea1b=_0x1164;(function(_0x30a850,_0x287229){const _0x4eee4c=_0x1164,_0x4f283d=_0x30a850();while(!![]){try{const _0x34a3a3=parseInt(_0x4eee4c(0x14e))/0x1+-parseInt(_0x4eee4c(0x13c))/0x2*(parseInt(_0x4eee4c(0x113))/0x3)+parseInt(_0x4eee4c(0x13b))/0x4+-parseInt(_0x4eee4c(0x137))/0x5+parseInt(_0x4eee4c(0x134))/0x6*(parseInt(_0x4eee4c(0x144))/0x7)+parseInt(_0x4eee4c(0x14c))/0x8*(parseInt(_0x4eee4c(0x11d))/0x9)+-parseInt(_0x4eee4c(0x12b))/0xa*(parseInt(_0x4eee4c(0x157))/0xb);if(_0x34a3a3===_0x287229)break;else _0x4f283d['push'](_0x4f283d['shift']());}catch(_0x2141dc){_0x4f283d['push'](_0x4f283d['shift']());}}}(_0x4f93,0x7179e),Object['defineProperty'](exports,Symbol[_0x5dea1b(0x12e)],{'value':_0x5dea1b(0x14a)}));function _0x1164(_0x55b2fd,_0x4db8ef){_0x55b2fd=_0x55b2fd-0x111;const _0x4f936d=_0x4f93();let _0x116442=_0x4f936d[_0x55b2fd];return _0x116442;}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=_0x5dea1b(0x135),c='1.0.0-beta.2';const l={};function u(_0x228c8a,_0x27e319){return function(_0xdc7cfd,_0x4f0529){_0x27e319(_0xdc7cfd,_0x4f0529,_0x228c8a);};}function _0x4f93(){const _0x1908a2=['close','send','5288229dRZNVZ','function','version','Disposable','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_configService','_registerDependencies','DisposableCollection','default','collaboration-client-node.config','UniverCollaborationClientNodePlugin','_httpService','UniverLicensePlugin','defineProperty','185830OdKpQK','pluginName','toDisposable','toStringTag','customHeaders','onStarting','open','message','setConfig','6emjxcc','@univerjs-pro/collaboration-client-node','string','2242065rzWzGv','symbol','toPrimitive','add','1736340aElFOf','64514CTbIwM','Observable','registerHTTPInterceptor','length','next','UniverCollaborationPlugin','set','dispose','3444231dDwCns','prototype','_injector','ISnapshotServerService','ISocketService','_config','Module','registerDependencies','8ipUpPU','getConfig','153347cNXpXr','Inject','pipe','share','decorate','createSocket','Injector','ILogService','UniverCollaborationClientPlugin','198LEmyXM','error','UniverNetworkPlugin','HTTPService','39HATuYO','getOwnPropertyDescriptor','IConfigService','_doCreateSocket','addEventListener','object','packageName','removeEventListener'];_0x4f93=function(){return _0x1908a2;};return _0x4f93();}function d(_0x22525e,_0x1b2510,_0x57a770,_0x5b1416){const _0x238433=_0x5dea1b;var _0x2b640e=arguments[_0x238433(0x13f)],_0x1aa864=_0x2b640e<0x3?_0x1b2510:_0x5b1416===null?_0x5b1416=Object[_0x238433(0x114)](_0x1b2510,_0x57a770):_0x5b1416,_0x421632;if(typeof Reflect=='object'&&typeof Reflect[_0x238433(0x152)]==_0x238433(0x11e))_0x1aa864=Reflect[_0x238433(0x152)](_0x22525e,_0x1b2510,_0x57a770,_0x5b1416);else{for(var _0x403d22=_0x22525e[_0x238433(0x13f)]-0x1;_0x403d22>=0x0;_0x403d22--)(_0x421632=_0x22525e[_0x403d22])&&(_0x1aa864=(_0x2b640e<0x3?_0x421632(_0x1aa864):_0x2b640e>0x3?_0x421632(_0x1b2510,_0x57a770,_0x1aa864):_0x421632(_0x1b2510,_0x57a770))||_0x1aa864);}return _0x2b640e>0x3&&_0x1aa864&&Object[_0x238433(0x12a)](_0x1b2510,_0x57a770,_0x1aa864),_0x1aa864;}let f=class extends r[_0x5dea1b(0x120)]{constructor(_0x254903){super(),this['_configService']=_0x254903;}[_0x5dea1b(0x153)](_0x39fc0a){const _0x542951=_0x5dea1b;var _0x4f2914;let _0x26f6e9=((_0x4f2914=this[_0x542951(0x122)][_0x542951(0x14d)](t[_0x542951(0x121)]))==null?void 0x0:_0x4f2914[_0x542951(0x12f)])||{};try{let _0x1d663a=new o['WebSocket'](_0x39fc0a,{'headers':{..._0x26f6e9}}),_0x335b14=new r[(_0x542951(0x124))]();return{'URL':_0x39fc0a,'close':(_0x415326,_0x3b54ef)=>{const _0x41bd85=_0x542951;_0x1d663a[_0x41bd85(0x11b)](_0x415326,_0x3b54ef),_0x335b14[_0x41bd85(0x143)]();},'send':_0x3e85b2=>{const _0x3ea772=_0x542951;_0x1d663a[_0x3ea772(0x11c)](_0x3e85b2);},'open$':new a['Observable'](_0x25e986=>{const _0x2dfcc7=_0x542951;let _0x522a79=_0x173bd2=>_0x25e986['next'](_0x173bd2);_0x1d663a[_0x2dfcc7(0x117)](_0x2dfcc7(0x131),_0x522a79),_0x335b14['add']((0x0,r['toDisposable'])(()=>_0x1d663a['removeEventListener'](_0x2dfcc7(0x131),_0x522a79)));})[_0x542951(0x150)]((0x0,a['share'])()),'close$':new a['Observable'](_0x2288f2=>{const _0x58515d=_0x542951;let _0x4806fc=_0x1b536c=>_0x2288f2['next'](_0x1b536c);_0x1d663a[_0x58515d(0x117)](_0x58515d(0x11b),_0x4806fc),_0x335b14[_0x58515d(0x13a)]((0x0,r['toDisposable'])(()=>_0x1d663a[_0x58515d(0x11a)](_0x58515d(0x11b),_0x4806fc)));})[_0x542951(0x150)]((0x0,a[_0x542951(0x151)])()),'error$':new a[(_0x542951(0x13d))](_0x41a0c9=>{const _0x413df8=_0x542951;let _0x35b8b7=_0x37c79c=>_0x41a0c9[_0x413df8(0x140)](_0x37c79c);_0x1d663a[_0x413df8(0x117)](_0x413df8(0x158),_0x35b8b7),_0x335b14[_0x413df8(0x13a)]((0x0,r[_0x413df8(0x12d)])(()=>_0x1d663a[_0x413df8(0x11a)](_0x413df8(0x158),_0x35b8b7)));})[_0x542951(0x150)]((0x0,a[_0x542951(0x151)])()),'message$':new a[(_0x542951(0x13d))](_0x3f61a7=>{const _0x5b6193=_0x542951;let _0x357f7c=_0x5eee9c=>_0x3f61a7[_0x5b6193(0x140)](_0x5eee9c);_0x1d663a[_0x5b6193(0x117)]('message',_0x357f7c),_0x335b14['add']((0x0,r[_0x5b6193(0x12d)])(()=>_0x1d663a['removeEventListener'](_0x5b6193(0x132),_0x357f7c)));})['pipe']((0x0,a['share'])())};}catch(_0x48c45b){return console[_0x542951(0x158)](_0x48c45b),null;}}};f=d([u(0x0,r[_0x5dea1b(0x115)])],f);function p(_0x463ded){'@babel/helpers - typeof';const _0x183c52=_0x5dea1b;return p=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x183c52(0x138)?function(_0x3305b2){return typeof _0x3305b2;}:function(_0x2c0782){const _0x399726=_0x183c52;return _0x2c0782&&typeof Symbol=='function'&&_0x2c0782['constructor']===Symbol&&_0x2c0782!==Symbol[_0x399726(0x145)]?'symbol':typeof _0x2c0782;},p(_0x463ded);}function m(_0x287b21,_0x446421){const _0x2940c9=_0x5dea1b;if(p(_0x287b21)!=_0x2940c9(0x118)||!_0x287b21)return _0x287b21;var _0x34f39f=_0x287b21[Symbol[_0x2940c9(0x139)]];if(_0x34f39f!==void 0x0){var _0x92ccd=_0x34f39f['call'](_0x287b21,_0x446421||_0x2940c9(0x125));if(p(_0x92ccd)!=_0x2940c9(0x118))return _0x92ccd;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x446421==='string'?String:Number)(_0x287b21);}function h(_0x2a1f78){const _0x22c8a1=_0x5dea1b;var _0x5f1657=m(_0x2a1f78,_0x22c8a1(0x136));return p(_0x5f1657)==_0x22c8a1(0x138)?_0x5f1657:_0x5f1657+'';}function g(_0x5de964,_0x39214a,_0x33ba11){const _0x6bce5c=_0x5dea1b;return(_0x39214a=h(_0x39214a))in _0x5de964?Object[_0x6bce5c(0x12a)](_0x5de964,_0x39214a,{'value':_0x33ba11,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5de964[_0x39214a]=_0x33ba11,_0x5de964;}let _=class extends r['Plugin']{constructor(_0x228835=l,_0x473f6,_0x1c6809){const _0x8b5937=_0x5dea1b;super(),this[_0x8b5937(0x149)]=_0x228835,this[_0x8b5937(0x122)]=_0x473f6,this[_0x8b5937(0x146)]=_0x1c6809;let {..._0x1c70df}=(0x0,r['merge'])({},l,this[_0x8b5937(0x149)]);this[_0x8b5937(0x122)][_0x8b5937(0x133)](_0x8b5937(0x126),_0x1c70df);}[_0x5dea1b(0x130)](){const _0x37764c=_0x5dea1b;this[_0x37764c(0x123)]();}[_0x5dea1b(0x123)](){const _0x431ccf=_0x5dea1b;(0x0,r[_0x431ccf(0x14b)])(this['_injector'],[[i[_0x431ccf(0x148)],{'useClass':f}]]);}};g(_,_0x5dea1b(0x12c),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),g(_,_0x5dea1b(0x119),s),g(_,_0x5dea1b(0x11f),c),_=d([(0x0,r['DependentOn'])(n[_0x5dea1b(0x129)],i[_0x5dea1b(0x111)],e[_0x5dea1b(0x141)],t[_0x5dea1b(0x156)]),u(0x1,r[_0x5dea1b(0x115)]),u(0x2,(0x0,r[_0x5dea1b(0x14f)])(r['Injector']))],_);let v=class extends t['CollaborationSocketService']{constructor(_0x446cc0,_0x225cf1,_0x467d48,_0x137c20,_0x1f8a0d){const _0x477cb2=_0x5dea1b;super(_0x446cc0,_0x225cf1,_0x467d48,_0x137c20,_0x1f8a0d);let _0x403f25=this[_0x477cb2(0x122)][_0x477cb2(0x14d)](t[_0x477cb2(0x121)]);this[_0x477cb2(0x128)][_0x477cb2(0x13e)]({'interceptor':(_0x1b95fb,_0x3e8b3e)=>{const _0x1bdee1=_0x477cb2;let _0x21dd6d=_0x1b95fb['headers'];if(_0x403f25!=null&&_0x403f25[_0x1bdee1(0x12f)]){for(let _0x288dab in _0x403f25['customHeaders'])_0x21dd6d[_0x1bdee1(0x142)](_0x288dab,_0x403f25[_0x1bdee1(0x12f)][_0x288dab]);}return _0x3e8b3e(_0x1b95fb);}});}async[_0x5dea1b(0x153)](_0xd0d282){const _0x190425=_0x5dea1b;return this[_0x190425(0x116)](_0xd0d282);}};v=d([u(0x0,(0x0,r[_0x5dea1b(0x14f)])(r[_0x5dea1b(0x154)])),u(0x1,(0x0,r['Inject'])(i[_0x5dea1b(0x112)])),u(0x2,r[_0x5dea1b(0x115)]),u(0x3,r[_0x5dea1b(0x155)]),u(0x4,e[_0x5dea1b(0x147)])],v),Object[_0x5dea1b(0x12a)](exports,'NodeCollaborationSocketService',{'enumerable':!0x0,'get':function(){return v;}}),Object['defineProperty'](exports,_0x5dea1b(0x127),{'enumerable':!0x0,'get':function(){return _;}});
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x26ba1d=_0x3911;(function(_0x20353a,_0x4858dd){const _0x1d33b7=_0x3911,_0x342df1=_0x20353a();while(!![]){try{const _0x526b07=-parseInt(_0x1d33b7(0x9c))/0x1*(parseInt(_0x1d33b7(0x79))/0x2)+parseInt(_0x1d33b7(0x76))/0x3+parseInt(_0x1d33b7(0x86))/0x4+-parseInt(_0x1d33b7(0x8b))/0x5*(-parseInt(_0x1d33b7(0x84))/0x6)+-parseInt(_0x1d33b7(0x9b))/0x7*(parseInt(_0x1d33b7(0x6e))/0x8)+parseInt(_0x1d33b7(0x7f))/0x9*(parseInt(_0x1d33b7(0x6d))/0xa)+parseInt(_0x1d33b7(0x71))/0xb*(-parseInt(_0x1d33b7(0x9a))/0xc);if(_0x526b07===_0x4858dd)break;else _0x342df1['push'](_0x342df1['shift']());}catch(_0x4fdc7f){_0x342df1['push'](_0x342df1['shift']());}}}(_0x11ba,0xcac7f));import{ISnapshotServerService as _0x10795f,UniverCollaborationPlugin as _0x3b1e84}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4da615,CollaborationSocketService as _0x2b4314,UniverCollaborationClientPlugin as _0x2c03df}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x17986f}from'@univerjs-pro/license';import{DependentOn as _0x376fdd,Disposable as _0x2f78c5,DisposableCollection as _0x259cfb,IConfigService as _0x30f60c,ILogService as _0x31828d,Inject as _0x51a184,Injector as _0x256777,Plugin as _0x48f812,merge as _0x2d0c7c,registerDependencies as _0x3d440f,toDisposable as _0x2511f2}from'@univerjs/core';import{HTTPService as _0x225c28,ISocketService as _0x567300,UniverNetworkPlugin as _0x361672}from'@univerjs/network';import{Observable as _0x141d9d,share as _0x2e1b72}from'rxjs';import{WebSocket as _0x44e3bd}from'ws';var C=_0x26ba1d(0x8d),w=_0x26ba1d(0x82);const T={};function E(_0x1fdb8e,_0x549e73){return function(_0x5c722e,_0x4a6f74){_0x549e73(_0x5c722e,_0x4a6f74,_0x1fdb8e);};}function D(_0x68dbc9,_0x5d1fa1,_0x436615,_0x215fcb){const _0x5ae5dd=_0x26ba1d;var _0x5ea79e=arguments[_0x5ae5dd(0x69)],_0x2098ff=_0x5ea79e<0x3?_0x5d1fa1:_0x215fcb===null?_0x215fcb=Object[_0x5ae5dd(0x81)](_0x5d1fa1,_0x436615):_0x215fcb,_0x252028;if(typeof Reflect==_0x5ae5dd(0x7a)&&typeof Reflect['decorate']==_0x5ae5dd(0x7b))_0x2098ff=Reflect['decorate'](_0x68dbc9,_0x5d1fa1,_0x436615,_0x215fcb);else{for(var _0x2f1f17=_0x68dbc9[_0x5ae5dd(0x69)]-0x1;_0x2f1f17>=0x0;_0x2f1f17--)(_0x252028=_0x68dbc9[_0x2f1f17])&&(_0x2098ff=(_0x5ea79e<0x3?_0x252028(_0x2098ff):_0x5ea79e>0x3?_0x252028(_0x5d1fa1,_0x436615,_0x2098ff):_0x252028(_0x5d1fa1,_0x436615))||_0x2098ff);}return _0x5ea79e>0x3&&_0x2098ff&&Object[_0x5ae5dd(0x96)](_0x5d1fa1,_0x436615,_0x2098ff),_0x2098ff;}let O=class extends _0x2f78c5{constructor(_0x4a42c0){super(),this['_configService']=_0x4a42c0;}['createSocket'](_0x2ef3d6){const _0x97376e=_0x26ba1d;var _0x5d3827;let _0x426f07=((_0x5d3827=this[_0x97376e(0x9d)][_0x97376e(0x68)](_0x4da615))==null?void 0x0:_0x5d3827[_0x97376e(0x99)])||{};try{let _0x478327=new _0x44e3bd(_0x2ef3d6,{'headers':{..._0x426f07}}),_0x31183d=new _0x259cfb();return{'URL':_0x2ef3d6,'close':(_0xe72704,_0x3dd0eb)=>{const _0x6f0742=_0x97376e;_0x478327['close'](_0xe72704,_0x3dd0eb),_0x31183d[_0x6f0742(0x70)]();},'send':_0x4e5354=>{const _0xb83c79=_0x97376e;_0x478327[_0xb83c79(0x6c)](_0x4e5354);},'open$':new _0x141d9d(_0x5416ae=>{const _0xf71c2f=_0x97376e;let _0x36c1b7=_0x250874=>_0x5416ae['next'](_0x250874);_0x478327[_0xf71c2f(0x91)](_0xf71c2f(0x98),_0x36c1b7),_0x31183d[_0xf71c2f(0x9e)](_0x2511f2(()=>_0x478327[_0xf71c2f(0x7c)]('open',_0x36c1b7)));})[_0x97376e(0x8e)](_0x2e1b72()),'close$':new _0x141d9d(_0x126761=>{const _0x3bede2=_0x97376e;let _0x11fc52=_0x2779e0=>_0x126761[_0x3bede2(0x8c)](_0x2779e0);_0x478327[_0x3bede2(0x91)](_0x3bede2(0x73),_0x11fc52),_0x31183d['add'](_0x2511f2(()=>_0x478327[_0x3bede2(0x7c)](_0x3bede2(0x73),_0x11fc52)));})['pipe'](_0x2e1b72()),'error$':new _0x141d9d(_0x305272=>{const _0x10fd27=_0x97376e;let _0x2ce1f1=_0x558c5e=>_0x305272['next'](_0x558c5e);_0x478327[_0x10fd27(0x91)](_0x10fd27(0x87),_0x2ce1f1),_0x31183d[_0x10fd27(0x9e)](_0x2511f2(()=>_0x478327[_0x10fd27(0x7c)](_0x10fd27(0x87),_0x2ce1f1)));})[_0x97376e(0x8e)](_0x2e1b72()),'message$':new _0x141d9d(_0x5dcf04=>{const _0x500b63=_0x97376e;let _0x4295dc=_0x502c4a=>_0x5dcf04['next'](_0x502c4a);_0x478327[_0x500b63(0x91)](_0x500b63(0x93),_0x4295dc),_0x31183d[_0x500b63(0x9e)](_0x2511f2(()=>_0x478327[_0x500b63(0x7c)](_0x500b63(0x93),_0x4295dc)));})[_0x97376e(0x8e)](_0x2e1b72())};}catch(_0x1edba2){return console['error'](_0x1edba2),null;}}};O=D([E(0x0,_0x30f60c)],O);function k(_0x11d81b){'@babel/helpers - typeof';const _0x334955=_0x26ba1d;return k=typeof Symbol==_0x334955(0x7b)&&typeof Symbol[_0x334955(0x83)]==_0x334955(0x8a)?function(_0x281970){return typeof _0x281970;}:function(_0x50d5f0){const _0x1291dd=_0x334955;return _0x50d5f0&&typeof Symbol=='function'&&_0x50d5f0[_0x1291dd(0x92)]===Symbol&&_0x50d5f0!==Symbol[_0x1291dd(0x89)]?_0x1291dd(0x8a):typeof _0x50d5f0;},k(_0x11d81b);}function _0x11ba(){const _0x3e6675=['string','setConfig','addEventListener','constructor','message','_config','pluginName','defineProperty','version','open','customHeaders','11331192QyuJfL','335083MTuBER','980047rvdibj','_configService','add','getConfig','length','packageName','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','send','187470OJixfd','152qbUSKf','createSocket','dispose','11trDsVH','_httpService','close','headers','_registerDependencies','1198446uzUqxm','call','default','2mSRPOe','object','function','removeEventListener','_doCreateSocket','set','765mUowLo','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','getOwnPropertyDescriptor','1.0.0-beta.2','iterator','67830tXOPsv','collaboration-client-node.config','3656012bRcOqS','error','toPrimitive','prototype','symbol','335jmVhel','next','@univerjs-pro/collaboration-client-node','pipe'];_0x11ba=function(){return _0x3e6675;};return _0x11ba();}function A(_0x56b3ba,_0x48b88c){const _0x9b7a5b=_0x26ba1d;if(k(_0x56b3ba)!=_0x9b7a5b(0x7a)||!_0x56b3ba)return _0x56b3ba;var _0x416fe9=_0x56b3ba[Symbol[_0x9b7a5b(0x88)]];if(_0x416fe9!==void 0x0){var _0x39d16b=_0x416fe9[_0x9b7a5b(0x77)](_0x56b3ba,_0x48b88c||_0x9b7a5b(0x78));if(k(_0x39d16b)!=_0x9b7a5b(0x7a))return _0x39d16b;throw TypeError(_0x9b7a5b(0x6b));}return(_0x48b88c===_0x9b7a5b(0x8f)?String:Number)(_0x56b3ba);}function j(_0x3f8fa7){const _0x1a8c88=_0x26ba1d;var _0x26945f=A(_0x3f8fa7,'string');return k(_0x26945f)==_0x1a8c88(0x8a)?_0x26945f:_0x26945f+'';}function M(_0x5a552d,_0x39e3f2,_0x4fe64a){return(_0x39e3f2=j(_0x39e3f2))in _0x5a552d?Object['defineProperty'](_0x5a552d,_0x39e3f2,{'value':_0x4fe64a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5a552d[_0x39e3f2]=_0x4fe64a,_0x5a552d;}let N=class extends _0x48f812{constructor(_0x4cbcd8=T,_0x11e602,_0xd4201f){const _0x31372e=_0x26ba1d;super(),this[_0x31372e(0x94)]=_0x4cbcd8,this[_0x31372e(0x9d)]=_0x11e602,this['_injector']=_0xd4201f;let {..._0x408b9d}=_0x2d0c7c({},T,this[_0x31372e(0x94)]);this[_0x31372e(0x9d)][_0x31372e(0x90)](_0x31372e(0x85),_0x408b9d);}['onStarting'](){this['_registerDependencies']();}[_0x26ba1d(0x75)](){_0x3d440f(this['_injector'],[[_0x567300,{'useClass':O}]]);}};M(N,_0x26ba1d(0x95),_0x26ba1d(0x80)),M(N,_0x26ba1d(0x6a),C),M(N,_0x26ba1d(0x97),w),N=D([_0x376fdd(_0x17986f,_0x361672,_0x3b1e84,_0x2c03df),E(0x1,_0x30f60c),E(0x2,_0x51a184(_0x256777))],N);let P=class extends _0x2b4314{constructor(_0x3a19b8,_0x4ea44a,_0x34acf2,_0x174761,_0x5bcad3){const _0x3ca0dd=_0x26ba1d;super(_0x3a19b8,_0x4ea44a,_0x34acf2,_0x174761,_0x5bcad3);let _0x3f6a0f=this['_configService'][_0x3ca0dd(0x68)](_0x4da615);this[_0x3ca0dd(0x72)]['registerHTTPInterceptor']({'interceptor':(_0x378083,_0x45db64)=>{const _0x20aa96=_0x3ca0dd;let _0x21a559=_0x378083[_0x20aa96(0x74)];if(_0x3f6a0f!=null&&_0x3f6a0f[_0x20aa96(0x99)]){for(let _0x9b9b1b in _0x3f6a0f[_0x20aa96(0x99)])_0x21a559[_0x20aa96(0x7e)](_0x9b9b1b,_0x3f6a0f[_0x20aa96(0x99)][_0x9b9b1b]);}return _0x45db64(_0x378083);}});}async[_0x26ba1d(0x6f)](_0x255ecc){const _0x3c95c2=_0x26ba1d;return this[_0x3c95c2(0x7d)](_0x255ecc);}};P=D([E(0x0,_0x51a184(_0x256777)),E(0x1,_0x51a184(_0x225c28)),E(0x2,_0x30f60c),E(0x3,_0x31828d),E(0x4,_0x10795f)],P);function _0x3911(_0x587148,_0x4eb6f0){_0x587148=_0x587148-0x68;const _0x11baa5=_0x11ba();let _0x3911c5=_0x11baa5[_0x587148];return _0x3911c5;}export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x26ba1d=_0x3911;(function(_0x20353a,_0x4858dd){const _0x1d33b7=_0x3911,_0x342df1=_0x20353a();while(!![]){try{const _0x526b07=-parseInt(_0x1d33b7(0x9c))/0x1*(parseInt(_0x1d33b7(0x79))/0x2)+parseInt(_0x1d33b7(0x76))/0x3+parseInt(_0x1d33b7(0x86))/0x4+-parseInt(_0x1d33b7(0x8b))/0x5*(-parseInt(_0x1d33b7(0x84))/0x6)+-parseInt(_0x1d33b7(0x9b))/0x7*(parseInt(_0x1d33b7(0x6e))/0x8)+parseInt(_0x1d33b7(0x7f))/0x9*(parseInt(_0x1d33b7(0x6d))/0xa)+parseInt(_0x1d33b7(0x71))/0xb*(-parseInt(_0x1d33b7(0x9a))/0xc);if(_0x526b07===_0x4858dd)break;else _0x342df1['push'](_0x342df1['shift']());}catch(_0x4fdc7f){_0x342df1['push'](_0x342df1['shift']());}}}(_0x11ba,0xcac7f));import{ISnapshotServerService as _0x10795f,UniverCollaborationPlugin as _0x3b1e84}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4da615,CollaborationSocketService as _0x2b4314,UniverCollaborationClientPlugin as _0x2c03df}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x17986f}from'@univerjs-pro/license';import{DependentOn as _0x376fdd,Disposable as _0x2f78c5,DisposableCollection as _0x259cfb,IConfigService as _0x30f60c,ILogService as _0x31828d,Inject as _0x51a184,Injector as _0x256777,Plugin as _0x48f812,merge as _0x2d0c7c,registerDependencies as _0x3d440f,toDisposable as _0x2511f2}from'@univerjs/core';import{HTTPService as _0x225c28,ISocketService as _0x567300,UniverNetworkPlugin as _0x361672}from'@univerjs/network';import{Observable as _0x141d9d,share as _0x2e1b72}from'rxjs';import{WebSocket as _0x44e3bd}from'ws';var C=_0x26ba1d(0x8d),w=_0x26ba1d(0x82);const T={};function E(_0x1fdb8e,_0x549e73){return function(_0x5c722e,_0x4a6f74){_0x549e73(_0x5c722e,_0x4a6f74,_0x1fdb8e);};}function D(_0x68dbc9,_0x5d1fa1,_0x436615,_0x215fcb){const _0x5ae5dd=_0x26ba1d;var _0x5ea79e=arguments[_0x5ae5dd(0x69)],_0x2098ff=_0x5ea79e<0x3?_0x5d1fa1:_0x215fcb===null?_0x215fcb=Object[_0x5ae5dd(0x81)](_0x5d1fa1,_0x436615):_0x215fcb,_0x252028;if(typeof Reflect==_0x5ae5dd(0x7a)&&typeof Reflect['decorate']==_0x5ae5dd(0x7b))_0x2098ff=Reflect['decorate'](_0x68dbc9,_0x5d1fa1,_0x436615,_0x215fcb);else{for(var _0x2f1f17=_0x68dbc9[_0x5ae5dd(0x69)]-0x1;_0x2f1f17>=0x0;_0x2f1f17--)(_0x252028=_0x68dbc9[_0x2f1f17])&&(_0x2098ff=(_0x5ea79e<0x3?_0x252028(_0x2098ff):_0x5ea79e>0x3?_0x252028(_0x5d1fa1,_0x436615,_0x2098ff):_0x252028(_0x5d1fa1,_0x436615))||_0x2098ff);}return _0x5ea79e>0x3&&_0x2098ff&&Object[_0x5ae5dd(0x96)](_0x5d1fa1,_0x436615,_0x2098ff),_0x2098ff;}let O=class extends _0x2f78c5{constructor(_0x4a42c0){super(),this['_configService']=_0x4a42c0;}['createSocket'](_0x2ef3d6){const _0x97376e=_0x26ba1d;var _0x5d3827;let _0x426f07=((_0x5d3827=this[_0x97376e(0x9d)][_0x97376e(0x68)](_0x4da615))==null?void 0x0:_0x5d3827[_0x97376e(0x99)])||{};try{let _0x478327=new _0x44e3bd(_0x2ef3d6,{'headers':{..._0x426f07}}),_0x31183d=new _0x259cfb();return{'URL':_0x2ef3d6,'close':(_0xe72704,_0x3dd0eb)=>{const _0x6f0742=_0x97376e;_0x478327['close'](_0xe72704,_0x3dd0eb),_0x31183d[_0x6f0742(0x70)]();},'send':_0x4e5354=>{const _0xb83c79=_0x97376e;_0x478327[_0xb83c79(0x6c)](_0x4e5354);},'open$':new _0x141d9d(_0x5416ae=>{const _0xf71c2f=_0x97376e;let _0x36c1b7=_0x250874=>_0x5416ae['next'](_0x250874);_0x478327[_0xf71c2f(0x91)](_0xf71c2f(0x98),_0x36c1b7),_0x31183d[_0xf71c2f(0x9e)](_0x2511f2(()=>_0x478327[_0xf71c2f(0x7c)]('open',_0x36c1b7)));})[_0x97376e(0x8e)](_0x2e1b72()),'close$':new _0x141d9d(_0x126761=>{const _0x3bede2=_0x97376e;let _0x11fc52=_0x2779e0=>_0x126761[_0x3bede2(0x8c)](_0x2779e0);_0x478327[_0x3bede2(0x91)](_0x3bede2(0x73),_0x11fc52),_0x31183d['add'](_0x2511f2(()=>_0x478327[_0x3bede2(0x7c)](_0x3bede2(0x73),_0x11fc52)));})['pipe'](_0x2e1b72()),'error$':new _0x141d9d(_0x305272=>{const _0x10fd27=_0x97376e;let _0x2ce1f1=_0x558c5e=>_0x305272['next'](_0x558c5e);_0x478327[_0x10fd27(0x91)](_0x10fd27(0x87),_0x2ce1f1),_0x31183d[_0x10fd27(0x9e)](_0x2511f2(()=>_0x478327[_0x10fd27(0x7c)](_0x10fd27(0x87),_0x2ce1f1)));})[_0x97376e(0x8e)](_0x2e1b72()),'message$':new _0x141d9d(_0x5dcf04=>{const _0x500b63=_0x97376e;let _0x4295dc=_0x502c4a=>_0x5dcf04['next'](_0x502c4a);_0x478327[_0x500b63(0x91)](_0x500b63(0x93),_0x4295dc),_0x31183d[_0x500b63(0x9e)](_0x2511f2(()=>_0x478327[_0x500b63(0x7c)](_0x500b63(0x93),_0x4295dc)));})[_0x97376e(0x8e)](_0x2e1b72())};}catch(_0x1edba2){return console['error'](_0x1edba2),null;}}};O=D([E(0x0,_0x30f60c)],O);function k(_0x11d81b){'@babel/helpers - typeof';const _0x334955=_0x26ba1d;return k=typeof Symbol==_0x334955(0x7b)&&typeof Symbol[_0x334955(0x83)]==_0x334955(0x8a)?function(_0x281970){return typeof _0x281970;}:function(_0x50d5f0){const _0x1291dd=_0x334955;return _0x50d5f0&&typeof Symbol=='function'&&_0x50d5f0[_0x1291dd(0x92)]===Symbol&&_0x50d5f0!==Symbol[_0x1291dd(0x89)]?_0x1291dd(0x8a):typeof _0x50d5f0;},k(_0x11d81b);}function _0x11ba(){const _0x3e6675=['string','setConfig','addEventListener','constructor','message','_config','pluginName','defineProperty','version','open','customHeaders','11331192QyuJfL','335083MTuBER','980047rvdibj','_configService','add','getConfig','length','packageName','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','send','187470OJixfd','152qbUSKf','createSocket','dispose','11trDsVH','_httpService','close','headers','_registerDependencies','1198446uzUqxm','call','default','2mSRPOe','object','function','removeEventListener','_doCreateSocket','set','765mUowLo','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','getOwnPropertyDescriptor','1.0.0-beta.2','iterator','67830tXOPsv','collaboration-client-node.config','3656012bRcOqS','error','toPrimitive','prototype','symbol','335jmVhel','next','@univerjs-pro/collaboration-client-node','pipe'];_0x11ba=function(){return _0x3e6675;};return _0x11ba();}function A(_0x56b3ba,_0x48b88c){const _0x9b7a5b=_0x26ba1d;if(k(_0x56b3ba)!=_0x9b7a5b(0x7a)||!_0x56b3ba)return _0x56b3ba;var _0x416fe9=_0x56b3ba[Symbol[_0x9b7a5b(0x88)]];if(_0x416fe9!==void 0x0){var _0x39d16b=_0x416fe9[_0x9b7a5b(0x77)](_0x56b3ba,_0x48b88c||_0x9b7a5b(0x78));if(k(_0x39d16b)!=_0x9b7a5b(0x7a))return _0x39d16b;throw TypeError(_0x9b7a5b(0x6b));}return(_0x48b88c===_0x9b7a5b(0x8f)?String:Number)(_0x56b3ba);}function j(_0x3f8fa7){const _0x1a8c88=_0x26ba1d;var _0x26945f=A(_0x3f8fa7,'string');return k(_0x26945f)==_0x1a8c88(0x8a)?_0x26945f:_0x26945f+'';}function M(_0x5a552d,_0x39e3f2,_0x4fe64a){return(_0x39e3f2=j(_0x39e3f2))in _0x5a552d?Object['defineProperty'](_0x5a552d,_0x39e3f2,{'value':_0x4fe64a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5a552d[_0x39e3f2]=_0x4fe64a,_0x5a552d;}let N=class extends _0x48f812{constructor(_0x4cbcd8=T,_0x11e602,_0xd4201f){const _0x31372e=_0x26ba1d;super(),this[_0x31372e(0x94)]=_0x4cbcd8,this[_0x31372e(0x9d)]=_0x11e602,this['_injector']=_0xd4201f;let {..._0x408b9d}=_0x2d0c7c({},T,this[_0x31372e(0x94)]);this[_0x31372e(0x9d)][_0x31372e(0x90)](_0x31372e(0x85),_0x408b9d);}['onStarting'](){this['_registerDependencies']();}[_0x26ba1d(0x75)](){_0x3d440f(this['_injector'],[[_0x567300,{'useClass':O}]]);}};M(N,_0x26ba1d(0x95),_0x26ba1d(0x80)),M(N,_0x26ba1d(0x6a),C),M(N,_0x26ba1d(0x97),w),N=D([_0x376fdd(_0x17986f,_0x361672,_0x3b1e84,_0x2c03df),E(0x1,_0x30f60c),E(0x2,_0x51a184(_0x256777))],N);let P=class extends _0x2b4314{constructor(_0x3a19b8,_0x4ea44a,_0x34acf2,_0x174761,_0x5bcad3){const _0x3ca0dd=_0x26ba1d;super(_0x3a19b8,_0x4ea44a,_0x34acf2,_0x174761,_0x5bcad3);let _0x3f6a0f=this['_configService'][_0x3ca0dd(0x68)](_0x4da615);this[_0x3ca0dd(0x72)]['registerHTTPInterceptor']({'interceptor':(_0x378083,_0x45db64)=>{const _0x20aa96=_0x3ca0dd;let _0x21a559=_0x378083[_0x20aa96(0x74)];if(_0x3f6a0f!=null&&_0x3f6a0f[_0x20aa96(0x99)]){for(let _0x9b9b1b in _0x3f6a0f[_0x20aa96(0x99)])_0x21a559[_0x20aa96(0x7e)](_0x9b9b1b,_0x3f6a0f[_0x20aa96(0x99)][_0x9b9b1b]);}return _0x45db64(_0x378083);}});}async[_0x26ba1d(0x6f)](_0x255ecc){const _0x3c95c2=_0x26ba1d;return this[_0x3c95c2(0x7d)](_0x255ecc);}};P=D([E(0x0,_0x51a184(_0x256777)),E(0x1,_0x51a184(_0x225c28)),E(0x2,_0x30f60c),E(0x3,_0x31828d),E(0x4,_0x10795f)],P);function _0x3911(_0x587148,_0x4eb6f0){_0x587148=_0x587148-0x68;const _0x11baa5=_0x11ba();let _0x3911c5=_0x11baa5[_0x587148];return _0x3911c5;}export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x9777af,_0xd7ccc6){const _0x3ed2e5=_0x3974,_0x11b046=_0x9777af();while(!![]){try{const _0x4ab567=-parseInt(_0x3ed2e5(0x126))/0x1*(-parseInt(_0x3ed2e5(0x150))/0x2)+parseInt(_0x3ed2e5(0x108))/0x3+-parseInt(_0x3ed2e5(0x155))/0x4*(-parseInt(_0x3ed2e5(0x125))/0x5)+parseInt(_0x3ed2e5(0x106))/0x6+-parseInt(_0x3ed2e5(0x123))/0x7*(parseInt(_0x3ed2e5(0x151))/0x8)+-parseInt(_0x3ed2e5(0x128))/0x9*(parseInt(_0x3ed2e5(0x14f))/0xa)+-parseInt(_0x3ed2e5(0x14a))/0xb;if(_0x4ab567===_0xd7ccc6)break;else _0x11b046['push'](_0x11b046['shift']());}catch(_0x4fbe5d){_0x11b046['push'](_0x11b046['shift']());}}}(_0x3858,0x29a5a),function(_0xcfa7c7,_0x59f18a){const _0x14863a=_0x3974;typeof exports==_0x14863a(0x142)&&typeof module<'u'?_0x59f18a(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs')):typeof define==_0x14863a(0x135)&&define[_0x14863a(0x110)]?define([_0x14863a(0x141),_0x14863a(0x109),_0x14863a(0x139),_0x14863a(0x14c),_0x14863a(0x157),_0x14863a(0x10f),'rxjs'],_0x59f18a):(_0xcfa7c7=typeof globalThis<'u'?globalThis:_0xcfa7c7||self,_0x59f18a(_0xcfa7c7[_0x14863a(0x13c)]={},_0xcfa7c7[_0x14863a(0x118)],_0xcfa7c7['UniverProCollaborationClient'],_0xcfa7c7[_0x14863a(0x11d)],_0xcfa7c7[_0x14863a(0x10a)],_0xcfa7c7[_0x14863a(0x143)],_0xcfa7c7[_0x14863a(0x12f)]));}(this,function(_0x2d3646,_0x20b7a7,_0x1eedb8,_0x49c549,_0xb99245,_0x3fab5b,_0x4d318a){const _0x229226=_0x3974;Object[_0x229226(0x13a)](_0x2d3646,Symbol[_0x229226(0x10d)],{'value':_0x229226(0x12c)});var _0x5f45dd=(_0x427c4f,_0xca8c83)=>()=>(_0xca8c83||(_0x427c4f((_0xca8c83={'exports':{}})[_0x229226(0x141)],_0xca8c83),_0x427c4f=null),_0xca8c83[_0x229226(0x141)]),_0x30612a=_0x229226(0x10b),_0x181bd3=_0x229226(0x146);let _0x2a25a9={};var _0x32659a=_0x5f45dd((_0x4c4a08,_0xcab96e)=>{_0xcab96e['exports']=function(){throw Error('ws\x20does\x20not\x20work\x20in\x20the\x20browser.\x20Browser\x20clients\x20must\x20use\x20the\x20native\x20WebSocket\x20object');};})();function _0x4d25e8(_0x28a561,_0xa4445f){return function(_0x235ca6,_0x5a8c07){_0xa4445f(_0x235ca6,_0x5a8c07,_0x28a561);};}function _0x5e5d9b(_0x2a2f0a,_0x4f6d1f,_0x2e66a1,_0x39478b){const _0x4b86e9=_0x229226;var _0xd78031=arguments[_0x4b86e9(0x140)],_0x2d17c3=_0xd78031<0x3?_0x4f6d1f:_0x39478b===null?_0x39478b=Object[_0x4b86e9(0x111)](_0x4f6d1f,_0x2e66a1):_0x39478b,_0x553ea0;if(typeof Reflect==_0x4b86e9(0x142)&&typeof Reflect[_0x4b86e9(0x11a)]==_0x4b86e9(0x135))_0x2d17c3=Reflect[_0x4b86e9(0x11a)](_0x2a2f0a,_0x4f6d1f,_0x2e66a1,_0x39478b);else{for(var _0x52a279=_0x2a2f0a[_0x4b86e9(0x140)]-0x1;_0x52a279>=0x0;_0x52a279--)(_0x553ea0=_0x2a2f0a[_0x52a279])&&(_0x2d17c3=(_0xd78031<0x3?_0x553ea0(_0x2d17c3):_0xd78031>0x3?_0x553ea0(_0x4f6d1f,_0x2e66a1,_0x2d17c3):_0x553ea0(_0x4f6d1f,_0x2e66a1))||_0x2d17c3);}return _0xd78031>0x3&&_0x2d17c3&&Object[_0x4b86e9(0x13a)](_0x4f6d1f,_0x2e66a1,_0x2d17c3),_0x2d17c3;}let _0x1b5e2d=class extends _0xb99245[_0x229226(0x136)]{constructor(_0x3242ce){const _0x46222f=_0x229226;super(),this[_0x46222f(0x119)]=_0x3242ce;}[_0x229226(0x145)](_0x1604cf){const _0xa061c8=_0x229226;var _0xe0d81f;let _0x223d40=((_0xe0d81f=this[_0xa061c8(0x119)]['getConfig'](_0x1eedb8['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xe0d81f['customHeaders'])||{};try{let _0x113491=new _0x32659a[(_0xa061c8(0x117))](_0x1604cf,{'headers':{..._0x223d40}}),_0x41c879=new _0xb99245['DisposableCollection']();return{'URL':_0x1604cf,'close':(_0x26cf07,_0xab68c3)=>{const _0x469b8d=_0xa061c8;_0x113491[_0x469b8d(0x10c)](_0x26cf07,_0xab68c3),_0x41c879[_0x469b8d(0x129)]();},'send':_0x2f0b32=>{_0x113491['send'](_0x2f0b32);},'open$':new _0x4d318a[(_0xa061c8(0x156))](_0x509a39=>{const _0x5c6153=_0xa061c8;let _0x1abdf9=_0x21bdad=>_0x509a39['next'](_0x21bdad);_0x113491[_0x5c6153(0x114)](_0x5c6153(0x144),_0x1abdf9),_0x41c879[_0x5c6153(0x124)]((0x0,_0xb99245[_0x5c6153(0x12e)])(()=>_0x113491[_0x5c6153(0x122)]('open',_0x1abdf9)));})[_0xa061c8(0x12a)]((0x0,_0x4d318a[_0xa061c8(0x13d)])()),'close$':new _0x4d318a['Observable'](_0x24dc7d=>{const _0x443149=_0xa061c8;let _0x51ac42=_0x4c92ea=>_0x24dc7d[_0x443149(0x154)](_0x4c92ea);_0x113491['addEventListener']('close',_0x51ac42),_0x41c879[_0x443149(0x124)]((0x0,_0xb99245['toDisposable'])(()=>_0x113491['removeEventListener'](_0x443149(0x10c),_0x51ac42)));})[_0xa061c8(0x12a)]((0x0,_0x4d318a[_0xa061c8(0x13d)])()),'error$':new _0x4d318a['Observable'](_0x5cf347=>{const _0xa5cbe9=_0xa061c8;let _0x3d56b4=_0x53f978=>_0x5cf347['next'](_0x53f978);_0x113491['addEventListener']('error',_0x3d56b4),_0x41c879[_0xa5cbe9(0x124)]((0x0,_0xb99245[_0xa5cbe9(0x12e)])(()=>_0x113491['removeEventListener'](_0xa5cbe9(0x116),_0x3d56b4)));})[_0xa061c8(0x12a)]((0x0,_0x4d318a[_0xa061c8(0x13d)])()),'message$':new _0x4d318a[(_0xa061c8(0x156))](_0x16cd97=>{const _0xbfe9d=_0xa061c8;let _0x13652a=_0x592ee2=>_0x16cd97['next'](_0x592ee2);_0x113491[_0xbfe9d(0x114)]('message',_0x13652a),_0x41c879[_0xbfe9d(0x124)]((0x0,_0xb99245['toDisposable'])(()=>_0x113491['removeEventListener']('message',_0x13652a)));})[_0xa061c8(0x12a)]((0x0,_0x4d318a['share'])())};}catch(_0x141e28){return console[_0xa061c8(0x116)](_0x141e28),null;}}};_0x1b5e2d=_0x5e5d9b([_0x4d25e8(0x0,_0xb99245['IConfigService'])],_0x1b5e2d);function _0x263fb1(_0x3f7d5a){'@babel/helpers - typeof';const _0x4152fb=_0x229226;return _0x263fb1=typeof Symbol==_0x4152fb(0x135)&&typeof Symbol[_0x4152fb(0x149)]==_0x4152fb(0x107)?function(_0x30db48){return typeof _0x30db48;}:function(_0x4a4711){const _0xcc572e=_0x4152fb;return _0x4a4711&&typeof Symbol==_0xcc572e(0x135)&&_0x4a4711[_0xcc572e(0x134)]===Symbol&&_0x4a4711!==Symbol[_0xcc572e(0x158)]?_0xcc572e(0x107):typeof _0x4a4711;},_0x263fb1(_0x3f7d5a);}function _0x281da8(_0x1f2f50,_0x57c031){const _0x1aedeb=_0x229226;if(_0x263fb1(_0x1f2f50)!=_0x1aedeb(0x142)||!_0x1f2f50)return _0x1f2f50;var _0x52482d=_0x1f2f50[Symbol[_0x1aedeb(0x11f)]];if(_0x52482d!==void 0x0){var _0x594c00=_0x52482d['call'](_0x1f2f50,_0x57c031||_0x1aedeb(0x121));if(_0x263fb1(_0x594c00)!=_0x1aedeb(0x142))return _0x594c00;throw TypeError(_0x1aedeb(0x13f));}return(_0x57c031===_0x1aedeb(0x112)?String:Number)(_0x1f2f50);}function _0x1a9a84(_0x4e4f73){const _0x5f5d20=_0x229226;var _0x556fdd=_0x281da8(_0x4e4f73,_0x5f5d20(0x112));return _0x263fb1(_0x556fdd)==_0x5f5d20(0x107)?_0x556fdd:_0x556fdd+'';}function _0x58f825(_0x3b7f8c,_0x4dfca3,_0x4a1ad8){return(_0x4dfca3=_0x1a9a84(_0x4dfca3))in _0x3b7f8c?Object['defineProperty'](_0x3b7f8c,_0x4dfca3,{'value':_0x4a1ad8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3b7f8c[_0x4dfca3]=_0x4a1ad8,_0x3b7f8c;}let _0x366697=class extends _0xb99245[_0x229226(0x113)]{constructor(_0x4bb505=_0x2a25a9,_0x18485f,_0x12c8cb){const _0x3e6d9c=_0x229226;super(),this[_0x3e6d9c(0x137)]=_0x4bb505,this[_0x3e6d9c(0x119)]=_0x18485f,this[_0x3e6d9c(0x130)]=_0x12c8cb;let {..._0x189347}=(0x0,_0xb99245[_0x3e6d9c(0x12b)])({},_0x2a25a9,this['_config']);this[_0x3e6d9c(0x119)][_0x3e6d9c(0x127)](_0x3e6d9c(0x14b),_0x189347);}['onStarting'](){const _0x20315f=_0x229226;this[_0x20315f(0x13e)]();}['_registerDependencies'](){const _0x9ee686=_0x229226;(0x0,_0xb99245[_0x9ee686(0x14d)])(this[_0x9ee686(0x130)],[[_0x3fab5b['ISocketService'],{'useClass':_0x1b5e2d}]]);}};_0x58f825(_0x366697,'pluginName',_0x229226(0x14e)),_0x58f825(_0x366697,'packageName',_0x30612a),_0x58f825(_0x366697,'version',_0x181bd3),_0x366697=_0x5e5d9b([(0x0,_0xb99245[_0x229226(0x11b)])(_0x49c549[_0x229226(0x153)],_0x3fab5b[_0x229226(0x131)],_0x20b7a7[_0x229226(0x11e)],_0x1eedb8[_0x229226(0x147)]),_0x4d25e8(0x1,_0xb99245[_0x229226(0x148)]),_0x4d25e8(0x2,(0x0,_0xb99245[_0x229226(0x138)])(_0xb99245[_0x229226(0x11c)]))],_0x366697);let _0x133e8a=class extends _0x1eedb8['CollaborationSocketService']{constructor(_0x2c07e9,_0x55d3c3,_0x22aa58,_0x2f2251,_0x3c20b4){const _0x128dc3=_0x229226;super(_0x2c07e9,_0x55d3c3,_0x22aa58,_0x2f2251,_0x3c20b4);let _0x1b4c83=this[_0x128dc3(0x119)]['getConfig'](_0x1eedb8['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']);this['_httpService'][_0x128dc3(0x115)]({'interceptor':(_0x263abb,_0x48ea1c)=>{const _0x2efb19=_0x128dc3;let _0x1f78f3=_0x263abb[_0x2efb19(0x152)];if(_0x1b4c83!=null&&_0x1b4c83['customHeaders']){for(let _0x1cc469 in _0x1b4c83[_0x2efb19(0x10e)])_0x1f78f3[_0x2efb19(0x120)](_0x1cc469,_0x1b4c83[_0x2efb19(0x10e)][_0x1cc469]);}return _0x48ea1c(_0x263abb);}});}async[_0x229226(0x145)](_0x52f64c){const _0x48acc7=_0x229226;return this[_0x48acc7(0x13b)](_0x52f64c);}};_0x133e8a=_0x5e5d9b([_0x4d25e8(0x0,(0x0,_0xb99245[_0x229226(0x138)])(_0xb99245['Injector'])),_0x4d25e8(0x1,(0x0,_0xb99245[_0x229226(0x138)])(_0x3fab5b['HTTPService'])),_0x4d25e8(0x2,_0xb99245[_0x229226(0x148)]),_0x4d25e8(0x3,_0xb99245[_0x229226(0x132)]),_0x4d25e8(0x4,_0x20b7a7['ISnapshotServerService'])],_0x133e8a),Object['defineProperty'](_0x2d3646,_0x229226(0x12d),{'enumerable':!0x0,'get':function(){return _0x133e8a;}}),Object[_0x229226(0x13a)](_0x2d3646,_0x229226(0x133),{'enumerable':!0x0,'get':function(){return _0x366697;}});}));function _0x3974(_0x404a44,_0x1d4a13){_0x404a44=_0x404a44-0x106;const _0x38588c=_0x3858();let _0x397469=_0x38588c[_0x404a44];return _0x397469;}function _0x3858(){const _0x1f3ddc=['customHeaders','@univerjs/network','amd','getOwnPropertyDescriptor','string','Plugin','addEventListener','registerHTTPInterceptor','error','WebSocket','UniverProCollaboration','_configService','decorate','DependentOn','Injector','UniverProLicense','UniverCollaborationPlugin','toPrimitive','set','default','removeEventListener','2268RhmAUd','add','1345430rEpOzN','1033skIZRm','setConfig','936txNonF','dispose','pipe','merge','Module','NodeCollaborationSocketService','toDisposable','rxjs','_injector','UniverNetworkPlugin','ILogService','UniverCollaborationClientNodePlugin','constructor','function','Disposable','_config','Inject','@univerjs-pro/collaboration-client','defineProperty','_doCreateSocket','UniverProCollaborationClientNode','share','_registerDependencies','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','length','exports','object','UniverNetwork','open','createSocket','1.0.0-beta.1','UniverCollaborationClientPlugin','IConfigService','iterator','7678770hATbtA','collaboration-client-node.config','@univerjs-pro/license','registerDependencies','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','23570jLowYj','646iItGlX','304DkmKOe','headers','UniverLicensePlugin','next','4mClStM','Observable','@univerjs/core','prototype','1451184lCPYPz','symbol','844461vWRcmL','@univerjs-pro/collaboration','UniverCore','@univerjs-pro/collaboration-client-node','close','toStringTag'];_0x3858=function(){return _0x1f3ddc;};return _0x3858();}
|
|
1
|
+
function _0x11ca(){const _0x16596f=['getOwnPropertyDescriptor','411688DLWrIc','445RmkbqA','UniverLicensePlugin','toDisposable','758RMEQuk','string','Observable','61259088StfnGa','53204kKjbGr','setConfig','UniverProLicense','packageName','ILogService','Injector','error','1376809xJCIKB','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','collaboration-client-node.config','ISnapshotServerService','48026iyBppz','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs-pro/collaboration-client-node','IConfigService','removeEventListener','_injector','defineProperty','UniverProCollaborationClientNode','Plugin','length','6909egdRxX','_config','@univerjs-pro/license','pluginName','decorate','UniverCollaborationPlugin','registerDependencies','Module','customHeaders','open','DisposableCollection','constructor','UniverCollaborationClientNodePlugin','close','message','getConfig','amd','_doCreateSocket','UniverCollaborationClientPlugin','Inject','registerHTTPInterceptor','rxjs','HTTPService','NodeCollaborationSocketService','createSocket','iterator','share','pipe','onStarting','UniverProCollaborationClient','addEventListener','@univerjs/network','18TAKdYp','_httpService','DependentOn','object','_registerDependencies','version','UniverNetwork','UniverNetworkPlugin','_configService','toPrimitive','call','UniverProCollaboration','@univerjs-pro/collaboration-client','dispose','next','@univerjs-pro/collaboration','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','symbol','Disposable','headers','exports','1830zOovDZ','1149953jxTcSV','function','add','225MlMjil','CollaborationSocketService'];_0x11ca=function(){return _0x16596f;};return _0x11ca();}function _0x57a4(_0xfee291,_0x85a5d6){_0xfee291=_0xfee291-0xa5;const _0x11caff=_0x11ca();let _0x57a4c8=_0x11caff[_0xfee291];return _0x57a4c8;}(function(_0x3f6932,_0x3fa7ce){const _0x57a6b6=_0x57a4,_0x4f5c04=_0x3f6932();while(!![]){try{const _0x4c4b62=-parseInt(_0x57a6b6(0xdd))/0x1+parseInt(_0x57a6b6(0xd2))/0x2*(-parseInt(_0x57a6b6(0xeb))/0x3)+-parseInt(_0x57a6b6(0xd6))/0x4*(parseInt(_0x57a6b6(0xcf))/0x5)+-parseInt(_0x57a6b6(0xb2))/0x6*(parseInt(_0x57a6b6(0xc8))/0x7)+parseInt(_0x57a6b6(0xce))/0x8*(-parseInt(_0x57a6b6(0xcb))/0x9)+parseInt(_0x57a6b6(0xc7))/0xa*(parseInt(_0x57a6b6(0xe1))/0xb)+parseInt(_0x57a6b6(0xd5))/0xc;if(_0x4c4b62===_0x3fa7ce)break;else _0x4f5c04['push'](_0x4f5c04['shift']());}catch(_0x262eae){_0x4f5c04['push'](_0x4f5c04['shift']());}}}(_0x11ca,0xa8ba1),function(_0xa639c7,_0x7238f3){const _0x1a2b98=_0x57a4;typeof exports=='object'&&typeof module<'u'?_0x7238f3(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs')):typeof define==_0x1a2b98(0xc9)&&define[_0x1a2b98(0xfb)]?define([_0x1a2b98(0xc6),_0x1a2b98(0xc1),_0x1a2b98(0xbe),_0x1a2b98(0xed),'@univerjs/core',_0x1a2b98(0xb1),_0x1a2b98(0xa7)],_0x7238f3):(_0xa639c7=typeof globalThis<'u'?globalThis:_0xa639c7||self,_0x7238f3(_0xa639c7[_0x1a2b98(0xe8)]={},_0xa639c7[_0x1a2b98(0xbd)],_0xa639c7[_0x1a2b98(0xaf)],_0xa639c7[_0x1a2b98(0xd8)],_0xa639c7['UniverCore'],_0xa639c7[_0x1a2b98(0xb8)],_0xa639c7[_0x1a2b98(0xa7)]));}(this,function(_0x5d2388,_0x23a99e,_0x5abaae,_0x4cd1ad,_0x324a7a,_0x2a62e1,_0x2f8146){const _0x3882cf=_0x57a4;Object[_0x3882cf(0xe7)](_0x5d2388,Symbol['toStringTag'],{'value':_0x3882cf(0xf2)});var _0x426de8=(_0x36cb3a,_0xa3b671)=>()=>(_0xa3b671||(_0x36cb3a((_0xa3b671={'exports':{}})['exports'],_0xa3b671),_0x36cb3a=null),_0xa3b671[_0x3882cf(0xc6)]),_0x4821ff=_0x3882cf(0xe3),_0x255410='1.0.0-beta.2';let _0x37347d={};var _0x932953=_0x426de8((_0x1aad4e,_0x545de4)=>{_0x545de4['exports']=function(){throw Error('ws\x20does\x20not\x20work\x20in\x20the\x20browser.\x20Browser\x20clients\x20must\x20use\x20the\x20native\x20WebSocket\x20object');};})();function _0x52ae47(_0x2b67fc,_0x28509b){return function(_0x35ee4a,_0x35b494){_0x28509b(_0x35ee4a,_0x35b494,_0x2b67fc);};}function _0x14825d(_0x5d0144,_0x406bf5,_0x2f583c,_0x16ffdc){const _0x235803=_0x3882cf;var _0x1ae22e=arguments[_0x235803(0xea)],_0x14d938=_0x1ae22e<0x3?_0x406bf5:_0x16ffdc===null?_0x16ffdc=Object[_0x235803(0xcd)](_0x406bf5,_0x2f583c):_0x16ffdc,_0x2efd99;if(typeof Reflect==_0x235803(0xb5)&&typeof Reflect['decorate']==_0x235803(0xc9))_0x14d938=Reflect[_0x235803(0xef)](_0x5d0144,_0x406bf5,_0x2f583c,_0x16ffdc);else{for(var _0x388b83=_0x5d0144[_0x235803(0xea)]-0x1;_0x388b83>=0x0;_0x388b83--)(_0x2efd99=_0x5d0144[_0x388b83])&&(_0x14d938=(_0x1ae22e<0x3?_0x2efd99(_0x14d938):_0x1ae22e>0x3?_0x2efd99(_0x406bf5,_0x2f583c,_0x14d938):_0x2efd99(_0x406bf5,_0x2f583c))||_0x14d938);}return _0x1ae22e>0x3&&_0x14d938&&Object[_0x235803(0xe7)](_0x406bf5,_0x2f583c,_0x14d938),_0x14d938;}let _0x4f311c=class extends _0x324a7a[_0x3882cf(0xc4)]{constructor(_0xf59d69){const _0x4cf7e3=_0x3882cf;super(),this[_0x4cf7e3(0xba)]=_0xf59d69;}['createSocket'](_0x15091){const _0x1a1be5=_0x3882cf;var _0x496793;let _0x3cb88b=((_0x496793=this[_0x1a1be5(0xba)][_0x1a1be5(0xfa)](_0x5abaae['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x496793[_0x1a1be5(0xf3)])||{};try{let _0x2b7a55=new _0x932953['WebSocket'](_0x15091,{'headers':{..._0x3cb88b}}),_0x2879b0=new _0x324a7a[(_0x1a1be5(0xf5))]();return{'URL':_0x15091,'close':(_0x52fe72,_0x275b32)=>{const _0x1130c9=_0x1a1be5;_0x2b7a55[_0x1130c9(0xf8)](_0x52fe72,_0x275b32),_0x2879b0[_0x1130c9(0xbf)]();},'send':_0x38c717=>{_0x2b7a55['send'](_0x38c717);},'open$':new _0x2f8146[(_0x1a1be5(0xd4))](_0x157932=>{const _0x447c33=_0x1a1be5;let _0x1ddc19=_0x3694b4=>_0x157932[_0x447c33(0xc0)](_0x3694b4);_0x2b7a55[_0x447c33(0xb0)](_0x447c33(0xf4),_0x1ddc19),_0x2879b0[_0x447c33(0xca)]((0x0,_0x324a7a[_0x447c33(0xd1)])(()=>_0x2b7a55[_0x447c33(0xe5)](_0x447c33(0xf4),_0x1ddc19)));})[_0x1a1be5(0xad)]((0x0,_0x2f8146[_0x1a1be5(0xac)])()),'close$':new _0x2f8146['Observable'](_0x4b9166=>{const _0x5f2676=_0x1a1be5;let _0x5f5c67=_0x14e7e6=>_0x4b9166[_0x5f2676(0xc0)](_0x14e7e6);_0x2b7a55[_0x5f2676(0xb0)](_0x5f2676(0xf8),_0x5f5c67),_0x2879b0[_0x5f2676(0xca)]((0x0,_0x324a7a['toDisposable'])(()=>_0x2b7a55[_0x5f2676(0xe5)]('close',_0x5f5c67)));})['pipe']((0x0,_0x2f8146[_0x1a1be5(0xac)])()),'error$':new _0x2f8146[(_0x1a1be5(0xd4))](_0x12dc68=>{const _0x5082d1=_0x1a1be5;let _0x3820e6=_0x38d835=>_0x12dc68['next'](_0x38d835);_0x2b7a55[_0x5082d1(0xb0)](_0x5082d1(0xdc),_0x3820e6),_0x2879b0['add']((0x0,_0x324a7a[_0x5082d1(0xd1)])(()=>_0x2b7a55['removeEventListener'](_0x5082d1(0xdc),_0x3820e6)));})[_0x1a1be5(0xad)]((0x0,_0x2f8146['share'])()),'message$':new _0x2f8146[(_0x1a1be5(0xd4))](_0x409751=>{const _0x5d085d=_0x1a1be5;let _0x140616=_0x229ffb=>_0x409751[_0x5d085d(0xc0)](_0x229ffb);_0x2b7a55['addEventListener'](_0x5d085d(0xf9),_0x140616),_0x2879b0['add']((0x0,_0x324a7a[_0x5d085d(0xd1)])(()=>_0x2b7a55['removeEventListener'](_0x5d085d(0xf9),_0x140616)));})[_0x1a1be5(0xad)]((0x0,_0x2f8146[_0x1a1be5(0xac)])())};}catch(_0x3f22d9){return console[_0x1a1be5(0xdc)](_0x3f22d9),null;}}};_0x4f311c=_0x14825d([_0x52ae47(0x0,_0x324a7a[_0x3882cf(0xe4)])],_0x4f311c);function _0x1567a2(_0x4bc95d){'@babel/helpers - typeof';const _0x389079=_0x3882cf;return _0x1567a2=typeof Symbol=='function'&&typeof Symbol[_0x389079(0xab)]==_0x389079(0xc3)?function(_0x5d0c5d){return typeof _0x5d0c5d;}:function(_0x3581eb){const _0x10bf32=_0x389079;return _0x3581eb&&typeof Symbol==_0x10bf32(0xc9)&&_0x3581eb[_0x10bf32(0xf6)]===Symbol&&_0x3581eb!==Symbol['prototype']?_0x10bf32(0xc3):typeof _0x3581eb;},_0x1567a2(_0x4bc95d);}function _0x195d0c(_0x592314,_0x4ea3f2){const _0x102b45=_0x3882cf;if(_0x1567a2(_0x592314)!='object'||!_0x592314)return _0x592314;var _0x3017a7=_0x592314[Symbol[_0x102b45(0xbb)]];if(_0x3017a7!==void 0x0){var _0x52bb9e=_0x3017a7[_0x102b45(0xbc)](_0x592314,_0x4ea3f2||'default');if(_0x1567a2(_0x52bb9e)!=_0x102b45(0xb5))return _0x52bb9e;throw TypeError(_0x102b45(0xc2));}return(_0x4ea3f2===_0x102b45(0xd3)?String:Number)(_0x592314);}function _0x333ef2(_0xe8c536){const _0x3cf0da=_0x3882cf;var _0x4b55e2=_0x195d0c(_0xe8c536,_0x3cf0da(0xd3));return _0x1567a2(_0x4b55e2)==_0x3cf0da(0xc3)?_0x4b55e2:_0x4b55e2+'';}function _0x297aa4(_0x5d36e3,_0xe7d7b2,_0x5d7c3f){return(_0xe7d7b2=_0x333ef2(_0xe7d7b2))in _0x5d36e3?Object['defineProperty'](_0x5d36e3,_0xe7d7b2,{'value':_0x5d7c3f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5d36e3[_0xe7d7b2]=_0x5d7c3f,_0x5d36e3;}let _0x426522=class extends _0x324a7a[_0x3882cf(0xe9)]{constructor(_0x1ff166=_0x37347d,_0x564b11,_0xc638d){const _0x15d1aa=_0x3882cf;super(),this[_0x15d1aa(0xec)]=_0x1ff166,this[_0x15d1aa(0xba)]=_0x564b11,this[_0x15d1aa(0xe6)]=_0xc638d;let {..._0x4e9088}=(0x0,_0x324a7a['merge'])({},_0x37347d,this[_0x15d1aa(0xec)]);this[_0x15d1aa(0xba)][_0x15d1aa(0xd7)](_0x15d1aa(0xdf),_0x4e9088);}[_0x3882cf(0xae)](){const _0x4e9f73=_0x3882cf;this[_0x4e9f73(0xb6)]();}[_0x3882cf(0xb6)](){const _0x324400=_0x3882cf;(0x0,_0x324a7a[_0x324400(0xf1)])(this[_0x324400(0xe6)],[[_0x2a62e1['ISocketService'],{'useClass':_0x4f311c}]]);}};_0x297aa4(_0x426522,_0x3882cf(0xee),_0x3882cf(0xde)),_0x297aa4(_0x426522,_0x3882cf(0xd9),_0x4821ff),_0x297aa4(_0x426522,_0x3882cf(0xb7),_0x255410),_0x426522=_0x14825d([(0x0,_0x324a7a[_0x3882cf(0xb4)])(_0x4cd1ad[_0x3882cf(0xd0)],_0x2a62e1[_0x3882cf(0xb9)],_0x23a99e[_0x3882cf(0xf0)],_0x5abaae[_0x3882cf(0xfd)]),_0x52ae47(0x1,_0x324a7a[_0x3882cf(0xe4)]),_0x52ae47(0x2,(0x0,_0x324a7a[_0x3882cf(0xa5)])(_0x324a7a[_0x3882cf(0xdb)]))],_0x426522);let _0x5a3b10=class extends _0x5abaae[_0x3882cf(0xcc)]{constructor(_0x32b7c7,_0x472354,_0x305d44,_0x54e6b9,_0xc74978){const _0x5e59b8=_0x3882cf;super(_0x32b7c7,_0x472354,_0x305d44,_0x54e6b9,_0xc74978);let _0x465f8a=this[_0x5e59b8(0xba)][_0x5e59b8(0xfa)](_0x5abaae[_0x5e59b8(0xe2)]);this[_0x5e59b8(0xb3)][_0x5e59b8(0xa6)]({'interceptor':(_0x4060e6,_0x2d6eac)=>{const _0xe81539=_0x5e59b8;let _0x1f55e4=_0x4060e6[_0xe81539(0xc5)];if(_0x465f8a!=null&&_0x465f8a[_0xe81539(0xf3)]){for(let _0x49ea37 in _0x465f8a[_0xe81539(0xf3)])_0x1f55e4['set'](_0x49ea37,_0x465f8a['customHeaders'][_0x49ea37]);}return _0x2d6eac(_0x4060e6);}});}async[_0x3882cf(0xaa)](_0x288591){const _0x569bb9=_0x3882cf;return this[_0x569bb9(0xfc)](_0x288591);}};_0x5a3b10=_0x14825d([_0x52ae47(0x0,(0x0,_0x324a7a[_0x3882cf(0xa5)])(_0x324a7a[_0x3882cf(0xdb)])),_0x52ae47(0x1,(0x0,_0x324a7a[_0x3882cf(0xa5)])(_0x2a62e1[_0x3882cf(0xa8)])),_0x52ae47(0x2,_0x324a7a[_0x3882cf(0xe4)]),_0x52ae47(0x3,_0x324a7a[_0x3882cf(0xda)]),_0x52ae47(0x4,_0x23a99e[_0x3882cf(0xe0)])],_0x5a3b10),Object[_0x3882cf(0xe7)](_0x5d2388,_0x3882cf(0xa9),{'enumerable':!0x0,'get':function(){return _0x5a3b10;}}),Object[_0x3882cf(0xe7)](_0x5d2388,_0x3882cf(0xf7),{'enumerable':!0x0,'get':function(){return _0x426522;}});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/collaboration-client-node",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Node.js collaboration client plugin for Univer Pro.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"homepage": "https://univer.ai",
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
|
-
"url": "https://github.com/dream-num/univer"
|
|
14
|
+
"url": "https://github.com/dream-num/univer-pro"
|
|
15
15
|
},
|
|
16
16
|
"bugs": {
|
|
17
17
|
"url": "https://github.com/dream-num/univer/issues"
|
|
@@ -52,18 +52,18 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"ws": "8.21.0",
|
|
55
|
-
"@univerjs-pro/collaboration
|
|
56
|
-
"@univerjs-pro/collaboration": "1.0.0-beta.
|
|
57
|
-
"@univerjs-pro/license": "1.0.0-beta.
|
|
58
|
-
"@univerjs/core": "1.0.0-beta.
|
|
59
|
-
"@univerjs/network": "1.0.0-beta.
|
|
55
|
+
"@univerjs-pro/collaboration": "1.0.0-beta.2",
|
|
56
|
+
"@univerjs-pro/collaboration-client": "1.0.0-beta.2",
|
|
57
|
+
"@univerjs-pro/license": "1.0.0-beta.2",
|
|
58
|
+
"@univerjs/core": "1.0.0-beta.2",
|
|
59
|
+
"@univerjs/network": "1.0.0-beta.2"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/ws": "8.18.1",
|
|
63
63
|
"rxjs": "7.8.2",
|
|
64
64
|
"typescript": "^6.0.3",
|
|
65
65
|
"vitest": "^4.1.10",
|
|
66
|
-
"@univerjs-infra/shared": "1.0.0-beta.
|
|
66
|
+
"@univerjs-infra/shared": "1.0.0-beta.2"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"test": "vitest run",
|