@univerjs-pro/collaboration-client-node 1.4.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -10
- 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 +9 -9
package/README.md
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
## Package Overview
|
|
10
10
|
|
|
11
|
-
| Package | UMD global | CSS | Locales | Facade entry |
|
|
12
|
-
| --- | --- | :---: | :---: | :---: |
|
|
13
|
-
| `@univerjs-pro/collaboration-client-node` | `UniverProCollaborationClientNode` | No | No | No |
|
|
11
|
+
| Package | UMD global | CSS | Locales | Facade entry | Worker entry |
|
|
12
|
+
| --- | --- | :---: | :---: | :---: | :---: |
|
|
13
|
+
| `@univerjs-pro/collaboration-client-node` | `UniverProCollaborationClientNode` | No | No | No | No |
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
@@ -20,21 +20,18 @@ pnpm add @univerjs-pro/collaboration-client-node
|
|
|
20
20
|
npm install @univerjs-pro/collaboration-client-node
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
Keep all `@univerjs/*` and `@univerjs-pro/*` packages on the same version.
|
|
24
|
-
|
|
25
23
|
## Usage
|
|
26
24
|
|
|
25
|
+
Start with the [integration setup](https://docs.univer.ai/) for your document type, including its required plugins, styles, and locale resources. The snippet below assumes that setup is complete.
|
|
26
|
+
|
|
27
27
|
```ts
|
|
28
28
|
import { UniverCollaborationClientNodePlugin } from '@univerjs-pro/collaboration-client-node';
|
|
29
29
|
|
|
30
30
|
univer.registerPlugin(UniverCollaborationClientNodePlugin);
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
## Integration Notes
|
|
34
|
-
|
|
35
|
-
- Keep this package on the same version as the other `@univerjs/*` and `@univerjs-pro/*` packages in your application.
|
|
36
|
-
|
|
37
33
|
## Resources
|
|
38
34
|
|
|
39
|
-
- [Documentation](https://docs.univer.ai
|
|
35
|
+
- [Documentation](https://docs.univer.ai)
|
|
40
36
|
- [NPM package](https://npmjs.com/package/@univerjs-pro/collaboration-client-node)
|
|
37
|
+
- [GitHub repository](https://github.com/dream-num/univer-pro)
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1964b5=_0x43df;(function(_0x1126e5,_0x4f5ae3){const _0x574c22=_0x43df,_0xca75b=_0x1126e5();while(!![]){try{const _0x196cea=-parseInt(_0x574c22(0xf1))/0x1*(-parseInt(_0x574c22(0xcb))/0x2)+-parseInt(_0x574c22(0x10e))/0x3+-parseInt(_0x574c22(0xe7))/0x4+parseInt(_0x574c22(0xf5))/0x5+parseInt(_0x574c22(0xcf))/0x6*(-parseInt(_0x574c22(0xf4))/0x7)+parseInt(_0x574c22(0xcd))/0x8+-parseInt(_0x574c22(0xda))/0x9*(-parseInt(_0x574c22(0xf2))/0xa);if(_0x196cea===_0x4f5ae3)break;else _0xca75b['push'](_0xca75b['shift']());}catch(_0x44b35e){_0xca75b['push'](_0xca75b['shift']());}}}(_0x37f6,0xaf80f),Object['defineProperty'](exports,Symbol[_0x1964b5(0xf7)],{'value':_0x1964b5(0xea)}));let e=require('@univerjs-pro/collaboration'),t=require('@univerjs-pro/collaboration-client'),n=require('@univerjs-pro/license'),r=require('@univerjs/core'),i=require('@univerjs/network'),a=require('rxjs'),o=require('ws');var s='@univerjs-pro/collaboration-client-node',c=_0x1964b5(0xeb);const l={};function u(_0x208aff,_0x42de50){return function(_0x305a46,_0xbfd7ed){_0x42de50(_0x305a46,_0xbfd7ed,_0x208aff);};}function d(_0x45e7fb,_0x55a465,_0x47cca0,_0x37e768){const _0x42e995=_0x1964b5;var _0xe7ca11=arguments[_0x42e995(0xe6)],_0x41f767=_0xe7ca11<0x3?_0x55a465:_0x37e768===null?_0x37e768=Object[_0x42e995(0xfd)](_0x55a465,_0x47cca0):_0x37e768,_0x2dce66;if(typeof Reflect==_0x42e995(0xe0)&&typeof Reflect[_0x42e995(0xd8)]==_0x42e995(0xd7))_0x41f767=Reflect[_0x42e995(0xd8)](_0x45e7fb,_0x55a465,_0x47cca0,_0x37e768);else{for(var _0x37c3e9=_0x45e7fb['length']-0x1;_0x37c3e9>=0x0;_0x37c3e9--)(_0x2dce66=_0x45e7fb[_0x37c3e9])&&(_0x41f767=(_0xe7ca11<0x3?_0x2dce66(_0x41f767):_0xe7ca11>0x3?_0x2dce66(_0x55a465,_0x47cca0,_0x41f767):_0x2dce66(_0x55a465,_0x47cca0))||_0x41f767);}return _0xe7ca11>0x3&&_0x41f767&&Object[_0x42e995(0xef)](_0x55a465,_0x47cca0,_0x41f767),_0x41f767;}function _0x37f6(){const _0x43c17f=['pluginName','UniverCollaborationClientPlugin','_injector','defineProperty','UniverCollaborationClientNodePlugin','5dFKpFH','10iiqmwz','prototype','8606703ZWVTpg','7158710zeOojC','Inject','toStringTag','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','add','getConfig','open','close','getOwnPropertyDescriptor','version','collaboration-client-node.config','_config','set','DependentOn','error','customHeaders','setConfig','UniverLicensePlugin','_configService','removeEventListener','registerHTTPInterceptor','symbol','headers','DisposableCollection','createSocket','3484596RbFQig','dispose','toPrimitive','_httpService','registerDependencies','180318xuIOqx','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','7218712uOkHNa','Observable','6estmfz','_registerDependencies','UniverNetworkPlugin','pipe','string','addEventListener','CollaborationSocketService','default','function','decorate','NodeCollaborationSocketService','13432572lfiExC','IConfigService','WebSocket','toDisposable','merge','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','object','next','onStarting','Disposable','ILogService','_doCreateSocket','length','4669840koMfhK','message','share','Module','1.5.1'];_0x37f6=function(){return _0x43c17f;};return _0x37f6();}let f=class extends r[_0x1964b5(0xe3)]{constructor(_0x4288a0){const _0x30bcef=_0x1964b5;super(),this[_0x30bcef(0x107)]=_0x4288a0;}[_0x1964b5(0x10d)](_0x58b704){const _0x27cf58=_0x1964b5;var _0xdc0b8a;let _0x1bc8ca=((_0xdc0b8a=this['_configService'][_0x27cf58(0xfa)](t[_0x27cf58(0xdf)]))==null?void 0x0:_0xdc0b8a[_0x27cf58(0x104)])||{};try{let _0x4e6fc4=new o[(_0x27cf58(0xdc))](_0x58b704,{'headers':{..._0x1bc8ca}}),_0x5cd19d=new r[(_0x27cf58(0x10c))]();return{'URL':_0x58b704,'close':(_0x1e14bd,_0x498de5)=>{const _0x899c0a=_0x27cf58;_0x4e6fc4[_0x899c0a(0xfc)](_0x1e14bd,_0x498de5),_0x5cd19d[_0x899c0a(0x10f)]();},'send':_0x3e70b7=>{_0x4e6fc4['send'](_0x3e70b7);},'open$':new a[(_0x27cf58(0xce))](_0x38cc91=>{const _0x3093bd=_0x27cf58;let _0x48290f=_0x4d994a=>_0x38cc91[_0x3093bd(0xe1)](_0x4d994a);_0x4e6fc4[_0x3093bd(0xd4)](_0x3093bd(0xfb),_0x48290f),_0x5cd19d[_0x3093bd(0xf9)]((0x0,r[_0x3093bd(0xdd)])(()=>_0x4e6fc4[_0x3093bd(0x108)](_0x3093bd(0xfb),_0x48290f)));})['pipe']((0x0,a['share'])()),'close$':new a[(_0x27cf58(0xce))](_0x115862=>{const _0x3ffbeb=_0x27cf58;let _0x57c6b4=_0x29257d=>_0x115862[_0x3ffbeb(0xe1)](_0x29257d);_0x4e6fc4[_0x3ffbeb(0xd4)](_0x3ffbeb(0xfc),_0x57c6b4),_0x5cd19d['add']((0x0,r[_0x3ffbeb(0xdd)])(()=>_0x4e6fc4[_0x3ffbeb(0x108)](_0x3ffbeb(0xfc),_0x57c6b4)));})[_0x27cf58(0xd2)]((0x0,a['share'])()),'error$':new a[(_0x27cf58(0xce))](_0x30b1b5=>{const _0x249ce6=_0x27cf58;let _0x303f96=_0x1a8a62=>_0x30b1b5['next'](_0x1a8a62);_0x4e6fc4[_0x249ce6(0xd4)](_0x249ce6(0x103),_0x303f96),_0x5cd19d[_0x249ce6(0xf9)]((0x0,r[_0x249ce6(0xdd)])(()=>_0x4e6fc4[_0x249ce6(0x108)](_0x249ce6(0x103),_0x303f96)));})['pipe']((0x0,a['share'])()),'message$':new a[(_0x27cf58(0xce))](_0x52feb5=>{const _0x50db5f=_0x27cf58;let _0xacbe78=_0x52bd4f=>_0x52feb5[_0x50db5f(0xe1)](_0x52bd4f);_0x4e6fc4['addEventListener']('message',_0xacbe78),_0x5cd19d[_0x50db5f(0xf9)]((0x0,r[_0x50db5f(0xdd)])(()=>_0x4e6fc4[_0x50db5f(0x108)](_0x50db5f(0xe8),_0xacbe78)));})['pipe']((0x0,a[_0x27cf58(0xe9)])())};}catch(_0x229543){return console['error'](_0x229543),null;}}};f=d([u(0x0,r[_0x1964b5(0xdb)])],f);function _0x43df(_0x4eb887,_0x5d6272){_0x4eb887=_0x4eb887-0xc8;const _0x37f626=_0x37f6();let _0x43df88=_0x37f626[_0x4eb887];return _0x43df88;}function p(_0x2f30ff){'@babel/helpers - typeof';const _0x15d6b5=_0x1964b5;return p=typeof Symbol==_0x15d6b5(0xd7)&&typeof Symbol['iterator']==_0x15d6b5(0x10a)?function(_0xa31c5b){return typeof _0xa31c5b;}:function(_0x277c23){const _0x1e6fe4=_0x15d6b5;return _0x277c23&&typeof Symbol==_0x1e6fe4(0xd7)&&_0x277c23['constructor']===Symbol&&_0x277c23!==Symbol[_0x1e6fe4(0xf3)]?_0x1e6fe4(0x10a):typeof _0x277c23;},p(_0x2f30ff);}function m(_0x23124e,_0x9b02e3){const _0x1b48fa=_0x1964b5;if(p(_0x23124e)!=_0x1b48fa(0xe0)||!_0x23124e)return _0x23124e;var _0x39880e;if(typeof Symbol<'u'&&(_0x39880e=_0x23124e[Symbol[_0x1b48fa(0xc8)]])!==void 0x0){var _0x4930a8=_0x39880e['call'](_0x23124e,_0x9b02e3||_0x1b48fa(0xd6));if(p(_0x4930a8)!=_0x1b48fa(0xe0))return _0x4930a8;throw TypeError(_0x1b48fa(0xf8));}return(_0x9b02e3===_0x1b48fa(0xd3)?String:Number)(_0x23124e);}function h(_0x4bf0f3){const _0x4138c2=_0x1964b5;var _0x1a7a27=m(_0x4bf0f3,_0x4138c2(0xd3));return p(_0x1a7a27)==_0x4138c2(0x10a)?_0x1a7a27:_0x1a7a27+'';}function g(_0x40658b,_0x90951f,_0xdf3119){return(_0x90951f=h(_0x90951f))in _0x40658b?Object['defineProperty'](_0x40658b,_0x90951f,{'value':_0xdf3119,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x40658b[_0x90951f]=_0xdf3119,_0x40658b;}let _=class extends r['Plugin']{constructor(_0xbdd87=l,_0x1bb250,_0x2adb90){const _0x559410=_0x1964b5;super(),this[_0x559410(0x100)]=_0xbdd87,this[_0x559410(0x107)]=_0x1bb250,this[_0x559410(0xee)]=_0x2adb90;let {..._0x1cf2f0}=(0x0,r[_0x559410(0xde)])({},l,this[_0x559410(0x100)]);this[_0x559410(0x107)][_0x559410(0x105)](_0x559410(0xff),_0x1cf2f0);}[_0x1964b5(0xe2)](){const _0xd3eff4=_0x1964b5;this[_0xd3eff4(0xd0)]();}[_0x1964b5(0xd0)](){const _0x5f1ffc=_0x1964b5;(0x0,r[_0x5f1ffc(0xca)])(this['_injector'],[[i['ISocketService'],{'useClass':f}]]);}};g(_,_0x1964b5(0xec),_0x1964b5(0xcc)),g(_,'packageName',s),g(_,_0x1964b5(0xfe),c),_=d([(0x0,r[_0x1964b5(0x102)])(n[_0x1964b5(0x106)],i[_0x1964b5(0xd1)],e['UniverCollaborationPlugin'],t[_0x1964b5(0xed)]),u(0x1,r[_0x1964b5(0xdb)]),u(0x2,(0x0,r[_0x1964b5(0xf6)])(r['Injector']))],_);let v=class extends t[_0x1964b5(0xd5)]{constructor(_0x4ff054,_0x4ab89f,_0x327e9f,_0x50d1c9,_0x396dba){const _0x5d76d0=_0x1964b5;super(_0x4ff054,_0x4ab89f,_0x327e9f,_0x50d1c9,_0x396dba);let _0x225179=this['_configService'][_0x5d76d0(0xfa)](t[_0x5d76d0(0xdf)]);this[_0x5d76d0(0xc9)][_0x5d76d0(0x109)]({'interceptor':(_0x4d4d7e,_0x4519e8)=>{const _0x7a8625=_0x5d76d0;let _0x121bac=_0x4d4d7e[_0x7a8625(0x10b)];if(_0x225179!=null&&_0x225179['customHeaders']){for(let _0x40a968 in _0x225179[_0x7a8625(0x104)])_0x121bac[_0x7a8625(0x101)](_0x40a968,_0x225179[_0x7a8625(0x104)][_0x40a968]);}return _0x4519e8(_0x4d4d7e);}});}async['createSocket'](_0x5c72d3){const _0x51ae32=_0x1964b5;return this[_0x51ae32(0xe5)](_0x5c72d3);}};v=d([u(0x0,(0x0,r[_0x1964b5(0xf6)])(r['Injector'])),u(0x1,(0x0,r['Inject'])(i['HTTPService'])),u(0x2,r['IConfigService']),u(0x3,r[_0x1964b5(0xe4)]),u(0x4,e['ISnapshotServerService'])],v),Object[_0x1964b5(0xef)](exports,_0x1964b5(0xd9),{'enumerable':!0x0,'get':function(){return v;}}),Object[_0x1964b5(0xef)](exports,_0x1964b5(0xf0),{'enumerable':!0x0,'get':function(){return _;}});
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4e5ede=_0x552d;(function(_0x3ee7c4,_0x433baf){const _0x10ba5b=_0x552d,_0x37f7c4=_0x3ee7c4();while(!![]){try{const _0x5be1a6=-parseInt(_0x10ba5b(0x10c))/0x1*(-parseInt(_0x10ba5b(0x104))/0x2)+parseInt(_0x10ba5b(0x110))/0x3*(parseInt(_0x10ba5b(0x130))/0x4)+parseInt(_0x10ba5b(0x11a))/0x5+-parseInt(_0x10ba5b(0x12c))/0x6+parseInt(_0x10ba5b(0x12d))/0x7*(-parseInt(_0x10ba5b(0x12b))/0x8)+parseInt(_0x10ba5b(0x11f))/0x9*(parseInt(_0x10ba5b(0x109))/0xa)+parseInt(_0x10ba5b(0x108))/0xb;if(_0x5be1a6===_0x433baf)break;else _0x37f7c4['push'](_0x37f7c4['shift']());}catch(_0x4499d6){_0x37f7c4['push'](_0x37f7c4['shift']());}}}(_0x2c5b,0xe8e53));function _0x552d(_0x29107d,_0x2e1f5f){_0x29107d=_0x29107d-0x104;const _0x2c5b99=_0x2c5b();let _0x552d46=_0x2c5b99[_0x29107d];return _0x552d46;}import{ISnapshotServerService as _0x326cbd,UniverCollaborationPlugin as _0x3e5c6e}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2b6ab3,CollaborationSocketService as _0x2786a9,UniverCollaborationClientPlugin as _0x535c1b}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x19c837}from'@univerjs-pro/license';function _0x2c5b(){const _0x125238=['1010PdzPvq','object','prototype','3607hPKBFy','_config','call','iterator','1188gzJMkT','function','_registerDependencies','createSocket','pipe','getConfig','send','_httpService','removeEventListener','constructor','1472475FWhCYC','next','length','headers','_injector','72918VwrxfR','registerHTTPInterceptor','customHeaders','defineProperty','symbol','close','dispose','getOwnPropertyDescriptor','onStarting','string','error','set','8NaoogK','9190512kWdqrP','4059349OoEomG','add','collaboration-client-node.config','1092WKLqdM','decorate','message','setConfig','addEventListener','open','packageName','226EsXEJZ','toPrimitive','pluginName','_configService','15808122ZeechC'];_0x2c5b=function(){return _0x125238;};return _0x2c5b();}import{DependentOn as _0x354757,Disposable as _0x3eb992,DisposableCollection as _0x421a87,IConfigService as _0x14ebb6,ILogService as _0x438094,Inject as _0x2230a9,Injector as _0x47ab99,Plugin as _0x2b7407,merge as _0x26d366,registerDependencies as _0x10eca6,toDisposable as _0x11414c}from'@univerjs/core';import{HTTPService as _0x5b9e3f,ISocketService as _0x2d4145,UniverNetworkPlugin as _0x5e7747}from'@univerjs/network';import{Observable as _0x56148f,share as _0x30a152}from'rxjs';import{WebSocket as _0x63fb79}from'ws';var C='@univerjs-pro/collaboration-client-node',w='1.5.1';const T={};function E(_0x1e4a83,_0xea7fd3){return function(_0x4866a4,_0x351f22){_0xea7fd3(_0x4866a4,_0x351f22,_0x1e4a83);};}function D(_0x1ced99,_0xa4acba,_0x2765fa,_0x1413e3){const _0xa146dd=_0x552d;var _0x4329ca=arguments[_0xa146dd(0x11c)],_0xab9118=_0x4329ca<0x3?_0xa4acba:_0x1413e3===null?_0x1413e3=Object[_0xa146dd(0x126)](_0xa4acba,_0x2765fa):_0x1413e3,_0x2a8886;if(typeof Reflect==_0xa146dd(0x10a)&&typeof Reflect['decorate']==_0xa146dd(0x111))_0xab9118=Reflect[_0xa146dd(0x131)](_0x1ced99,_0xa4acba,_0x2765fa,_0x1413e3);else{for(var _0xe77767=_0x1ced99[_0xa146dd(0x11c)]-0x1;_0xe77767>=0x0;_0xe77767--)(_0x2a8886=_0x1ced99[_0xe77767])&&(_0xab9118=(_0x4329ca<0x3?_0x2a8886(_0xab9118):_0x4329ca>0x3?_0x2a8886(_0xa4acba,_0x2765fa,_0xab9118):_0x2a8886(_0xa4acba,_0x2765fa))||_0xab9118);}return _0x4329ca>0x3&&_0xab9118&&Object[_0xa146dd(0x122)](_0xa4acba,_0x2765fa,_0xab9118),_0xab9118;}let O=class extends _0x3eb992{constructor(_0x15fa4d){const _0x366f6c=_0x552d;super(),this[_0x366f6c(0x107)]=_0x15fa4d;}[_0x4e5ede(0x113)](_0x1ac2a0){const _0x2d4cbc=_0x4e5ede;var _0x2d61b8;let _0x311408=((_0x2d61b8=this[_0x2d4cbc(0x107)][_0x2d4cbc(0x115)](_0x2b6ab3))==null?void 0x0:_0x2d61b8[_0x2d4cbc(0x121)])||{};try{let _0x3e2a4a=new _0x63fb79(_0x1ac2a0,{'headers':{..._0x311408}}),_0x270485=new _0x421a87();return{'URL':_0x1ac2a0,'close':(_0x26ea07,_0x1ea03f)=>{const _0x3fc34e=_0x2d4cbc;_0x3e2a4a[_0x3fc34e(0x124)](_0x26ea07,_0x1ea03f),_0x270485[_0x3fc34e(0x125)]();},'send':_0x2e0a58=>{const _0x1bb720=_0x2d4cbc;_0x3e2a4a[_0x1bb720(0x116)](_0x2e0a58);},'open$':new _0x56148f(_0x159f88=>{const _0x136750=_0x2d4cbc;let _0x20f89c=_0x4a3cef=>_0x159f88[_0x136750(0x11b)](_0x4a3cef);_0x3e2a4a['addEventListener']('open',_0x20f89c),_0x270485[_0x136750(0x12e)](_0x11414c(()=>_0x3e2a4a[_0x136750(0x118)](_0x136750(0x135),_0x20f89c)));})['pipe'](_0x30a152()),'close$':new _0x56148f(_0x510e38=>{const _0x51be4e=_0x2d4cbc;let _0x2e1505=_0x4cf132=>_0x510e38[_0x51be4e(0x11b)](_0x4cf132);_0x3e2a4a['addEventListener'](_0x51be4e(0x124),_0x2e1505),_0x270485[_0x51be4e(0x12e)](_0x11414c(()=>_0x3e2a4a[_0x51be4e(0x118)](_0x51be4e(0x124),_0x2e1505)));})[_0x2d4cbc(0x114)](_0x30a152()),'error$':new _0x56148f(_0x18ec05=>{const _0x98126d=_0x2d4cbc;let _0x4d7f00=_0x21b930=>_0x18ec05[_0x98126d(0x11b)](_0x21b930);_0x3e2a4a[_0x98126d(0x134)](_0x98126d(0x129),_0x4d7f00),_0x270485[_0x98126d(0x12e)](_0x11414c(()=>_0x3e2a4a['removeEventListener'](_0x98126d(0x129),_0x4d7f00)));})[_0x2d4cbc(0x114)](_0x30a152()),'message$':new _0x56148f(_0x1ee8d5=>{const _0x5f4d22=_0x2d4cbc;let _0x2d1217=_0x56cd20=>_0x1ee8d5[_0x5f4d22(0x11b)](_0x56cd20);_0x3e2a4a[_0x5f4d22(0x134)]('message',_0x2d1217),_0x270485[_0x5f4d22(0x12e)](_0x11414c(()=>_0x3e2a4a[_0x5f4d22(0x118)](_0x5f4d22(0x132),_0x2d1217)));})['pipe'](_0x30a152())};}catch(_0x987be8){return console[_0x2d4cbc(0x129)](_0x987be8),null;}}};O=D([E(0x0,_0x14ebb6)],O);function k(_0x57ebc5){'@babel/helpers - typeof';const _0x5c4121=_0x4e5ede;return k=typeof Symbol==_0x5c4121(0x111)&&typeof Symbol[_0x5c4121(0x10f)]==_0x5c4121(0x123)?function(_0x1fa2c5){return typeof _0x1fa2c5;}:function(_0x374e5e){const _0x2cfce4=_0x5c4121;return _0x374e5e&&typeof Symbol=='function'&&_0x374e5e[_0x2cfce4(0x119)]===Symbol&&_0x374e5e!==Symbol[_0x2cfce4(0x10b)]?'symbol':typeof _0x374e5e;},k(_0x57ebc5);}function A(_0x4781d2,_0x1aacf6){const _0x4a714f=_0x4e5ede;if(k(_0x4781d2)!=_0x4a714f(0x10a)||!_0x4781d2)return _0x4781d2;var _0x58526d;if(typeof Symbol<'u'&&(_0x58526d=_0x4781d2[Symbol[_0x4a714f(0x105)]])!==void 0x0){var _0x25f054=_0x58526d[_0x4a714f(0x10e)](_0x4781d2,_0x1aacf6||'default');if(k(_0x25f054)!='object')return _0x25f054;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1aacf6===_0x4a714f(0x128)?String:Number)(_0x4781d2);}function j(_0x454662){const _0x550f1d=_0x4e5ede;var _0x3f3bd4=A(_0x454662,_0x550f1d(0x128));return k(_0x3f3bd4)=='symbol'?_0x3f3bd4:_0x3f3bd4+'';}function M(_0x2cca8b,_0x3dccd8,_0x4acee8){return(_0x3dccd8=j(_0x3dccd8))in _0x2cca8b?Object['defineProperty'](_0x2cca8b,_0x3dccd8,{'value':_0x4acee8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2cca8b[_0x3dccd8]=_0x4acee8,_0x2cca8b;}let N=class extends _0x2b7407{constructor(_0x459d0b=T,_0x244bf4,_0x2a43fc){const _0xf52eb8=_0x4e5ede;super(),this[_0xf52eb8(0x10d)]=_0x459d0b,this[_0xf52eb8(0x107)]=_0x244bf4,this[_0xf52eb8(0x11e)]=_0x2a43fc;let {..._0x2e3d5a}=_0x26d366({},T,this[_0xf52eb8(0x10d)]);this[_0xf52eb8(0x107)][_0xf52eb8(0x133)](_0xf52eb8(0x12f),_0x2e3d5a);}[_0x4e5ede(0x127)](){const _0x3d5379=_0x4e5ede;this[_0x3d5379(0x112)]();}[_0x4e5ede(0x112)](){const _0x47d1dd=_0x4e5ede;_0x10eca6(this[_0x47d1dd(0x11e)],[[_0x2d4145,{'useClass':O}]]);}};M(N,_0x4e5ede(0x106),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),M(N,_0x4e5ede(0x136),C),M(N,'version',w),N=D([_0x354757(_0x19c837,_0x5e7747,_0x3e5c6e,_0x535c1b),E(0x1,_0x14ebb6),E(0x2,_0x2230a9(_0x47ab99))],N);let P=class extends _0x2786a9{constructor(_0x416048,_0x188e2d,_0x52e635,_0x2e88c8,_0x5ad41c){const _0x103f79=_0x4e5ede;super(_0x416048,_0x188e2d,_0x52e635,_0x2e88c8,_0x5ad41c);let _0x32ad77=this[_0x103f79(0x107)][_0x103f79(0x115)](_0x2b6ab3);this[_0x103f79(0x117)][_0x103f79(0x120)]({'interceptor':(_0x54d7d8,_0x322182)=>{const _0x17df32=_0x103f79;let _0x10110e=_0x54d7d8[_0x17df32(0x11d)];if(_0x32ad77!=null&&_0x32ad77[_0x17df32(0x121)]){for(let _0x25d8a5 in _0x32ad77[_0x17df32(0x121)])_0x10110e[_0x17df32(0x12a)](_0x25d8a5,_0x32ad77[_0x17df32(0x121)][_0x25d8a5]);}return _0x322182(_0x54d7d8);}});}async['createSocket'](_0x4b439d){return this['_doCreateSocket'](_0x4b439d);}};P=D([E(0x0,_0x2230a9(_0x47ab99)),E(0x1,_0x2230a9(_0x5b9e3f)),E(0x2,_0x14ebb6),E(0x3,_0x438094),E(0x4,_0x326cbd)],P);export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4e5ede=_0x552d;(function(_0x3ee7c4,_0x433baf){const _0x10ba5b=_0x552d,_0x37f7c4=_0x3ee7c4();while(!![]){try{const _0x5be1a6=-parseInt(_0x10ba5b(0x10c))/0x1*(-parseInt(_0x10ba5b(0x104))/0x2)+parseInt(_0x10ba5b(0x110))/0x3*(parseInt(_0x10ba5b(0x130))/0x4)+parseInt(_0x10ba5b(0x11a))/0x5+-parseInt(_0x10ba5b(0x12c))/0x6+parseInt(_0x10ba5b(0x12d))/0x7*(-parseInt(_0x10ba5b(0x12b))/0x8)+parseInt(_0x10ba5b(0x11f))/0x9*(parseInt(_0x10ba5b(0x109))/0xa)+parseInt(_0x10ba5b(0x108))/0xb;if(_0x5be1a6===_0x433baf)break;else _0x37f7c4['push'](_0x37f7c4['shift']());}catch(_0x4499d6){_0x37f7c4['push'](_0x37f7c4['shift']());}}}(_0x2c5b,0xe8e53));function _0x552d(_0x29107d,_0x2e1f5f){_0x29107d=_0x29107d-0x104;const _0x2c5b99=_0x2c5b();let _0x552d46=_0x2c5b99[_0x29107d];return _0x552d46;}import{ISnapshotServerService as _0x326cbd,UniverCollaborationPlugin as _0x3e5c6e}from'@univerjs-pro/collaboration';import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2b6ab3,CollaborationSocketService as _0x2786a9,UniverCollaborationClientPlugin as _0x535c1b}from'@univerjs-pro/collaboration-client';import{UniverLicensePlugin as _0x19c837}from'@univerjs-pro/license';function _0x2c5b(){const _0x125238=['1010PdzPvq','object','prototype','3607hPKBFy','_config','call','iterator','1188gzJMkT','function','_registerDependencies','createSocket','pipe','getConfig','send','_httpService','removeEventListener','constructor','1472475FWhCYC','next','length','headers','_injector','72918VwrxfR','registerHTTPInterceptor','customHeaders','defineProperty','symbol','close','dispose','getOwnPropertyDescriptor','onStarting','string','error','set','8NaoogK','9190512kWdqrP','4059349OoEomG','add','collaboration-client-node.config','1092WKLqdM','decorate','message','setConfig','addEventListener','open','packageName','226EsXEJZ','toPrimitive','pluginName','_configService','15808122ZeechC'];_0x2c5b=function(){return _0x125238;};return _0x2c5b();}import{DependentOn as _0x354757,Disposable as _0x3eb992,DisposableCollection as _0x421a87,IConfigService as _0x14ebb6,ILogService as _0x438094,Inject as _0x2230a9,Injector as _0x47ab99,Plugin as _0x2b7407,merge as _0x26d366,registerDependencies as _0x10eca6,toDisposable as _0x11414c}from'@univerjs/core';import{HTTPService as _0x5b9e3f,ISocketService as _0x2d4145,UniverNetworkPlugin as _0x5e7747}from'@univerjs/network';import{Observable as _0x56148f,share as _0x30a152}from'rxjs';import{WebSocket as _0x63fb79}from'ws';var C='@univerjs-pro/collaboration-client-node',w='1.5.1';const T={};function E(_0x1e4a83,_0xea7fd3){return function(_0x4866a4,_0x351f22){_0xea7fd3(_0x4866a4,_0x351f22,_0x1e4a83);};}function D(_0x1ced99,_0xa4acba,_0x2765fa,_0x1413e3){const _0xa146dd=_0x552d;var _0x4329ca=arguments[_0xa146dd(0x11c)],_0xab9118=_0x4329ca<0x3?_0xa4acba:_0x1413e3===null?_0x1413e3=Object[_0xa146dd(0x126)](_0xa4acba,_0x2765fa):_0x1413e3,_0x2a8886;if(typeof Reflect==_0xa146dd(0x10a)&&typeof Reflect['decorate']==_0xa146dd(0x111))_0xab9118=Reflect[_0xa146dd(0x131)](_0x1ced99,_0xa4acba,_0x2765fa,_0x1413e3);else{for(var _0xe77767=_0x1ced99[_0xa146dd(0x11c)]-0x1;_0xe77767>=0x0;_0xe77767--)(_0x2a8886=_0x1ced99[_0xe77767])&&(_0xab9118=(_0x4329ca<0x3?_0x2a8886(_0xab9118):_0x4329ca>0x3?_0x2a8886(_0xa4acba,_0x2765fa,_0xab9118):_0x2a8886(_0xa4acba,_0x2765fa))||_0xab9118);}return _0x4329ca>0x3&&_0xab9118&&Object[_0xa146dd(0x122)](_0xa4acba,_0x2765fa,_0xab9118),_0xab9118;}let O=class extends _0x3eb992{constructor(_0x15fa4d){const _0x366f6c=_0x552d;super(),this[_0x366f6c(0x107)]=_0x15fa4d;}[_0x4e5ede(0x113)](_0x1ac2a0){const _0x2d4cbc=_0x4e5ede;var _0x2d61b8;let _0x311408=((_0x2d61b8=this[_0x2d4cbc(0x107)][_0x2d4cbc(0x115)](_0x2b6ab3))==null?void 0x0:_0x2d61b8[_0x2d4cbc(0x121)])||{};try{let _0x3e2a4a=new _0x63fb79(_0x1ac2a0,{'headers':{..._0x311408}}),_0x270485=new _0x421a87();return{'URL':_0x1ac2a0,'close':(_0x26ea07,_0x1ea03f)=>{const _0x3fc34e=_0x2d4cbc;_0x3e2a4a[_0x3fc34e(0x124)](_0x26ea07,_0x1ea03f),_0x270485[_0x3fc34e(0x125)]();},'send':_0x2e0a58=>{const _0x1bb720=_0x2d4cbc;_0x3e2a4a[_0x1bb720(0x116)](_0x2e0a58);},'open$':new _0x56148f(_0x159f88=>{const _0x136750=_0x2d4cbc;let _0x20f89c=_0x4a3cef=>_0x159f88[_0x136750(0x11b)](_0x4a3cef);_0x3e2a4a['addEventListener']('open',_0x20f89c),_0x270485[_0x136750(0x12e)](_0x11414c(()=>_0x3e2a4a[_0x136750(0x118)](_0x136750(0x135),_0x20f89c)));})['pipe'](_0x30a152()),'close$':new _0x56148f(_0x510e38=>{const _0x51be4e=_0x2d4cbc;let _0x2e1505=_0x4cf132=>_0x510e38[_0x51be4e(0x11b)](_0x4cf132);_0x3e2a4a['addEventListener'](_0x51be4e(0x124),_0x2e1505),_0x270485[_0x51be4e(0x12e)](_0x11414c(()=>_0x3e2a4a[_0x51be4e(0x118)](_0x51be4e(0x124),_0x2e1505)));})[_0x2d4cbc(0x114)](_0x30a152()),'error$':new _0x56148f(_0x18ec05=>{const _0x98126d=_0x2d4cbc;let _0x4d7f00=_0x21b930=>_0x18ec05[_0x98126d(0x11b)](_0x21b930);_0x3e2a4a[_0x98126d(0x134)](_0x98126d(0x129),_0x4d7f00),_0x270485[_0x98126d(0x12e)](_0x11414c(()=>_0x3e2a4a['removeEventListener'](_0x98126d(0x129),_0x4d7f00)));})[_0x2d4cbc(0x114)](_0x30a152()),'message$':new _0x56148f(_0x1ee8d5=>{const _0x5f4d22=_0x2d4cbc;let _0x2d1217=_0x56cd20=>_0x1ee8d5[_0x5f4d22(0x11b)](_0x56cd20);_0x3e2a4a[_0x5f4d22(0x134)]('message',_0x2d1217),_0x270485[_0x5f4d22(0x12e)](_0x11414c(()=>_0x3e2a4a[_0x5f4d22(0x118)](_0x5f4d22(0x132),_0x2d1217)));})['pipe'](_0x30a152())};}catch(_0x987be8){return console[_0x2d4cbc(0x129)](_0x987be8),null;}}};O=D([E(0x0,_0x14ebb6)],O);function k(_0x57ebc5){'@babel/helpers - typeof';const _0x5c4121=_0x4e5ede;return k=typeof Symbol==_0x5c4121(0x111)&&typeof Symbol[_0x5c4121(0x10f)]==_0x5c4121(0x123)?function(_0x1fa2c5){return typeof _0x1fa2c5;}:function(_0x374e5e){const _0x2cfce4=_0x5c4121;return _0x374e5e&&typeof Symbol=='function'&&_0x374e5e[_0x2cfce4(0x119)]===Symbol&&_0x374e5e!==Symbol[_0x2cfce4(0x10b)]?'symbol':typeof _0x374e5e;},k(_0x57ebc5);}function A(_0x4781d2,_0x1aacf6){const _0x4a714f=_0x4e5ede;if(k(_0x4781d2)!=_0x4a714f(0x10a)||!_0x4781d2)return _0x4781d2;var _0x58526d;if(typeof Symbol<'u'&&(_0x58526d=_0x4781d2[Symbol[_0x4a714f(0x105)]])!==void 0x0){var _0x25f054=_0x58526d[_0x4a714f(0x10e)](_0x4781d2,_0x1aacf6||'default');if(k(_0x25f054)!='object')return _0x25f054;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1aacf6===_0x4a714f(0x128)?String:Number)(_0x4781d2);}function j(_0x454662){const _0x550f1d=_0x4e5ede;var _0x3f3bd4=A(_0x454662,_0x550f1d(0x128));return k(_0x3f3bd4)=='symbol'?_0x3f3bd4:_0x3f3bd4+'';}function M(_0x2cca8b,_0x3dccd8,_0x4acee8){return(_0x3dccd8=j(_0x3dccd8))in _0x2cca8b?Object['defineProperty'](_0x2cca8b,_0x3dccd8,{'value':_0x4acee8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2cca8b[_0x3dccd8]=_0x4acee8,_0x2cca8b;}let N=class extends _0x2b7407{constructor(_0x459d0b=T,_0x244bf4,_0x2a43fc){const _0xf52eb8=_0x4e5ede;super(),this[_0xf52eb8(0x10d)]=_0x459d0b,this[_0xf52eb8(0x107)]=_0x244bf4,this[_0xf52eb8(0x11e)]=_0x2a43fc;let {..._0x2e3d5a}=_0x26d366({},T,this[_0xf52eb8(0x10d)]);this[_0xf52eb8(0x107)][_0xf52eb8(0x133)](_0xf52eb8(0x12f),_0x2e3d5a);}[_0x4e5ede(0x127)](){const _0x3d5379=_0x4e5ede;this[_0x3d5379(0x112)]();}[_0x4e5ede(0x112)](){const _0x47d1dd=_0x4e5ede;_0x10eca6(this[_0x47d1dd(0x11e)],[[_0x2d4145,{'useClass':O}]]);}};M(N,_0x4e5ede(0x106),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),M(N,_0x4e5ede(0x136),C),M(N,'version',w),N=D([_0x354757(_0x19c837,_0x5e7747,_0x3e5c6e,_0x535c1b),E(0x1,_0x14ebb6),E(0x2,_0x2230a9(_0x47ab99))],N);let P=class extends _0x2786a9{constructor(_0x416048,_0x188e2d,_0x52e635,_0x2e88c8,_0x5ad41c){const _0x103f79=_0x4e5ede;super(_0x416048,_0x188e2d,_0x52e635,_0x2e88c8,_0x5ad41c);let _0x32ad77=this[_0x103f79(0x107)][_0x103f79(0x115)](_0x2b6ab3);this[_0x103f79(0x117)][_0x103f79(0x120)]({'interceptor':(_0x54d7d8,_0x322182)=>{const _0x17df32=_0x103f79;let _0x10110e=_0x54d7d8[_0x17df32(0x11d)];if(_0x32ad77!=null&&_0x32ad77[_0x17df32(0x121)]){for(let _0x25d8a5 in _0x32ad77[_0x17df32(0x121)])_0x10110e[_0x17df32(0x12a)](_0x25d8a5,_0x32ad77[_0x17df32(0x121)][_0x25d8a5]);}return _0x322182(_0x54d7d8);}});}async['createSocket'](_0x4b439d){return this['_doCreateSocket'](_0x4b439d);}};P=D([E(0x0,_0x2230a9(_0x47ab99)),E(0x1,_0x2230a9(_0x5b9e3f)),E(0x2,_0x14ebb6),E(0x3,_0x438094),E(0x4,_0x326cbd)],P);export{P as NodeCollaborationSocketService,N as UniverCollaborationClientNodePlugin};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x986c76,_0x3986e4){const _0x346b38=_0x38fa,_0x2c50b1=_0x986c76();while(!![]){try{const _0x4d734d=parseInt(_0x346b38(0x18c))/0x1*(parseInt(_0x346b38(0x159))/0x2)+-parseInt(_0x346b38(0x149))/0x3+parseInt(_0x346b38(0x16c))/0x4+parseInt(_0x346b38(0x13d))/0x5+parseInt(_0x346b38(0x14a))/0x6+parseInt(_0x346b38(0x15e))/0x7*(parseInt(_0x346b38(0x15c))/0x8)+-parseInt(_0x346b38(0x18f))/0x9;if(_0x4d734d===_0x3986e4)break;else _0x2c50b1['push'](_0x2c50b1['shift']());}catch(_0x126e8f){_0x2c50b1['push'](_0x2c50b1['shift']());}}}(_0xc473,0x35af7),function(_0x442a13,_0x30334f){const _0x330f0c=_0x38fa;typeof exports==_0x330f0c(0x164)&&typeof module<'u'?_0x30334f(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs')):typeof define==_0x330f0c(0x178)&&define[_0x330f0c(0x150)]?define(['exports',_0x330f0c(0x16d),_0x330f0c(0x145),'@univerjs-pro/license',_0x330f0c(0x17f),_0x330f0c(0x16e),_0x330f0c(0x17a)],_0x30334f):(_0x442a13=typeof globalThis<'u'?globalThis:_0x442a13||self,_0x30334f(_0x442a13[_0x330f0c(0x175)]={},_0x442a13[_0x330f0c(0x141)],_0x442a13[_0x330f0c(0x17c)],_0x442a13[_0x330f0c(0x154)],_0x442a13['UniverCore'],_0x442a13[_0x330f0c(0x176)],_0x442a13[_0x330f0c(0x17a)]));}(this,function(_0xb1a2cc,_0x476004,_0x1cc665,_0x252b7a,_0x321c9a,_0x14a989,_0xe5f44b){const _0xaabc27=_0x38fa;Object[_0xaabc27(0x18a)](_0xb1a2cc,Symbol['toStringTag'],{'value':'Module'});var _0x2af3d3=(_0x28982f,_0x1baad1)=>()=>(_0x1baad1||(_0x28982f((_0x1baad1={'exports':{}})['exports'],_0x1baad1,_0x1baad1[_0xaabc27(0x155)]),_0x28982f=null),_0x1baad1['exports']),_0x40b601='@univerjs-pro/collaboration-client-node',_0x5bfe21=_0xaabc27(0x181);let _0x349717={};var _0x36e9ed=_0x2af3d3((_0x7ea15,_0x4f076a)=>{const _0x2aa323=_0xaabc27;_0x4f076a[_0x2aa323(0x155)]=function(){throw Error('ws\x20does\x20not\x20work\x20in\x20the\x20browser.\x20Browser\x20clients\x20must\x20use\x20the\x20native\x20WebSocket\x20object');};})();function _0x325b11(_0x4b2f6c,_0x30a294){return function(_0x24051b,_0x5e40bf){_0x30a294(_0x24051b,_0x5e40bf,_0x4b2f6c);};}function _0x2f708b(_0x407502,_0x18fa64,_0x9412d7,_0x14d30f){const _0x1ef451=_0xaabc27;var _0x2b725f=arguments[_0x1ef451(0x13e)],_0x1f79c8=_0x2b725f<0x3?_0x18fa64:_0x14d30f===null?_0x14d30f=Object[_0x1ef451(0x142)](_0x18fa64,_0x9412d7):_0x14d30f,_0x46d913;if(typeof Reflect==_0x1ef451(0x164)&&typeof Reflect[_0x1ef451(0x15f)]==_0x1ef451(0x178))_0x1f79c8=Reflect[_0x1ef451(0x15f)](_0x407502,_0x18fa64,_0x9412d7,_0x14d30f);else{for(var _0x1eb7e4=_0x407502[_0x1ef451(0x13e)]-0x1;_0x1eb7e4>=0x0;_0x1eb7e4--)(_0x46d913=_0x407502[_0x1eb7e4])&&(_0x1f79c8=(_0x2b725f<0x3?_0x46d913(_0x1f79c8):_0x2b725f>0x3?_0x46d913(_0x18fa64,_0x9412d7,_0x1f79c8):_0x46d913(_0x18fa64,_0x9412d7))||_0x1f79c8);}return _0x2b725f>0x3&&_0x1f79c8&&Object[_0x1ef451(0x18a)](_0x18fa64,_0x9412d7,_0x1f79c8),_0x1f79c8;}let _0x452dea=class extends _0x321c9a[_0xaabc27(0x186)]{constructor(_0x5b1697){super(),this['_configService']=_0x5b1697;}[_0xaabc27(0x182)](_0x3ed940){const _0x4644d2=_0xaabc27;var _0x5a83b9;let _0x33924f=((_0x5a83b9=this['_configService'][_0x4644d2(0x172)](_0x1cc665[_0x4644d2(0x166)]))==null?void 0x0:_0x5a83b9[_0x4644d2(0x14f)])||{};try{let _0x1c5a7d=new _0x36e9ed[(_0x4644d2(0x14e))](_0x3ed940,{'headers':{..._0x33924f}}),_0x34530c=new _0x321c9a['DisposableCollection']();return{'URL':_0x3ed940,'close':(_0x27396a,_0xcbbd59)=>{_0x1c5a7d['close'](_0x27396a,_0xcbbd59),_0x34530c['dispose']();},'send':_0xf0a94b=>{const _0x53fed6=_0x4644d2;_0x1c5a7d[_0x53fed6(0x156)](_0xf0a94b);},'open$':new _0xe5f44b['Observable'](_0x4fb692=>{const _0x505774=_0x4644d2;let _0x2bfaf8=_0x29cf2e=>_0x4fb692['next'](_0x29cf2e);_0x1c5a7d['addEventListener']('open',_0x2bfaf8),_0x34530c[_0x505774(0x15b)]((0x0,_0x321c9a[_0x505774(0x162)])(()=>_0x1c5a7d[_0x505774(0x171)](_0x505774(0x16b),_0x2bfaf8)));})[_0x4644d2(0x179)]((0x0,_0xe5f44b[_0x4644d2(0x184)])()),'close$':new _0xe5f44b[(_0x4644d2(0x174))](_0x2fa58a=>{const _0x2fc63c=_0x4644d2;let _0x1d6186=_0x58ca66=>_0x2fa58a[_0x2fc63c(0x190)](_0x58ca66);_0x1c5a7d[_0x2fc63c(0x14c)](_0x2fc63c(0x18b),_0x1d6186),_0x34530c[_0x2fc63c(0x15b)]((0x0,_0x321c9a[_0x2fc63c(0x162)])(()=>_0x1c5a7d[_0x2fc63c(0x171)](_0x2fc63c(0x18b),_0x1d6186)));})[_0x4644d2(0x179)]((0x0,_0xe5f44b[_0x4644d2(0x184)])()),'error$':new _0xe5f44b[(_0x4644d2(0x174))](_0x2ccec0=>{const _0x112e36=_0x4644d2;let _0x51c17d=_0xbf6c6b=>_0x2ccec0[_0x112e36(0x190)](_0xbf6c6b);_0x1c5a7d[_0x112e36(0x14c)](_0x112e36(0x173),_0x51c17d),_0x34530c['add']((0x0,_0x321c9a[_0x112e36(0x162)])(()=>_0x1c5a7d[_0x112e36(0x171)](_0x112e36(0x173),_0x51c17d)));})['pipe']((0x0,_0xe5f44b[_0x4644d2(0x184)])()),'message$':new _0xe5f44b[(_0x4644d2(0x174))](_0x5c14fb=>{const _0x4541df=_0x4644d2;let _0x93d2c9=_0x4b20e8=>_0x5c14fb[_0x4541df(0x190)](_0x4b20e8);_0x1c5a7d[_0x4541df(0x14c)](_0x4541df(0x168),_0x93d2c9),_0x34530c[_0x4541df(0x15b)]((0x0,_0x321c9a[_0x4541df(0x162)])(()=>_0x1c5a7d[_0x4541df(0x171)](_0x4541df(0x168),_0x93d2c9)));})[_0x4644d2(0x179)]((0x0,_0xe5f44b[_0x4644d2(0x184)])())};}catch(_0x55d18c){return console['error'](_0x55d18c),null;}}};_0x452dea=_0x2f708b([_0x325b11(0x0,_0x321c9a[_0xaabc27(0x15d)])],_0x452dea);function _0x5ab28e(_0x1b0c75){'@babel/helpers - typeof';const _0x11adb1=_0xaabc27;return _0x5ab28e=typeof Symbol==_0x11adb1(0x178)&&typeof Symbol[_0x11adb1(0x158)]==_0x11adb1(0x169)?function(_0x326109){return typeof _0x326109;}:function(_0x15474e){const _0x49d2ee=_0x11adb1;return _0x15474e&&typeof Symbol=='function'&&_0x15474e[_0x49d2ee(0x148)]===Symbol&&_0x15474e!==Symbol[_0x49d2ee(0x14d)]?_0x49d2ee(0x169):typeof _0x15474e;},_0x5ab28e(_0x1b0c75);}function _0x463c35(_0x105a7c,_0x4f63bc){const _0x22b6ae=_0xaabc27;if(_0x5ab28e(_0x105a7c)!=_0x22b6ae(0x164)||!_0x105a7c)return _0x105a7c;var _0x142101=_0x105a7c[Symbol[_0x22b6ae(0x143)]];if(_0x142101!==void 0x0){var _0x4cc8af=_0x142101[_0x22b6ae(0x160)](_0x105a7c,_0x4f63bc||_0x22b6ae(0x18e));if(_0x5ab28e(_0x4cc8af)!=_0x22b6ae(0x164))return _0x4cc8af;throw TypeError(_0x22b6ae(0x17b));}return(_0x4f63bc===_0x22b6ae(0x161)?String:Number)(_0x105a7c);}function _0x353f85(_0x4a2f7d){const _0x296ec9=_0xaabc27;var _0x148f12=_0x463c35(_0x4a2f7d,_0x296ec9(0x161));return _0x5ab28e(_0x148f12)==_0x296ec9(0x169)?_0x148f12:_0x148f12+'';}function _0x4357ec(_0x40c193,_0x5a825e,_0x39fd7d){const _0x20a206=_0xaabc27;return(_0x5a825e=_0x353f85(_0x5a825e))in _0x40c193?Object[_0x20a206(0x18a)](_0x40c193,_0x5a825e,{'value':_0x39fd7d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x40c193[_0x5a825e]=_0x39fd7d,_0x40c193;}let _0x4f8a1f=class extends _0x321c9a['Plugin']{constructor(_0x3f428e=_0x349717,_0x57fdbf,_0x44da79){const _0x159fa9=_0xaabc27;super(),this[_0x159fa9(0x17d)]=_0x3f428e,this[_0x159fa9(0x153)]=_0x57fdbf,this[_0x159fa9(0x16f)]=_0x44da79;let {..._0x23e06b}=(0x0,_0x321c9a[_0x159fa9(0x180)])({},_0x349717,this[_0x159fa9(0x17d)]);this['_configService'][_0x159fa9(0x165)](_0x159fa9(0x15a),_0x23e06b);}['onStarting'](){const _0xd8eaa7=_0xaabc27;this[_0xd8eaa7(0x167)]();}[_0xaabc27(0x167)](){const _0x59c1f1=_0xaabc27;(0x0,_0x321c9a[_0x59c1f1(0x187)])(this[_0x59c1f1(0x16f)],[[_0x14a989[_0x59c1f1(0x183)],{'useClass':_0x452dea}]]);}};_0x4357ec(_0x4f8a1f,'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),_0x4357ec(_0x4f8a1f,_0xaabc27(0x152),_0x40b601),_0x4357ec(_0x4f8a1f,_0xaabc27(0x17e),_0x5bfe21),_0x4f8a1f=_0x2f708b([(0x0,_0x321c9a[_0xaabc27(0x14b)])(_0x252b7a[_0xaabc27(0x177)],_0x14a989[_0xaabc27(0x144)],_0x476004[_0xaabc27(0x157)],_0x1cc665['UniverCollaborationClientPlugin']),_0x325b11(0x1,_0x321c9a[_0xaabc27(0x15d)]),_0x325b11(0x2,(0x0,_0x321c9a[_0xaabc27(0x188)])(_0x321c9a[_0xaabc27(0x170)]))],_0x4f8a1f);let _0x2c1f50=class extends _0x1cc665[_0xaabc27(0x189)]{constructor(_0x277d76,_0x422bc3,_0x27c5d7,_0x2ed71f,_0x1bf08e){const _0x4a121a=_0xaabc27;super(_0x277d76,_0x422bc3,_0x27c5d7,_0x2ed71f,_0x1bf08e);let _0x270c07=this[_0x4a121a(0x153)]['getConfig'](_0x1cc665[_0x4a121a(0x166)]);this['_httpService'][_0x4a121a(0x146)]({'interceptor':(_0x4322e4,_0x9a8448)=>{const _0x45d5b6=_0x4a121a;let _0x1ba830=_0x4322e4[_0x45d5b6(0x185)];if(_0x270c07!=null&&_0x270c07['customHeaders']){for(let _0x33a0b5 in _0x270c07[_0x45d5b6(0x14f)])_0x1ba830[_0x45d5b6(0x151)](_0x33a0b5,_0x270c07[_0x45d5b6(0x14f)][_0x33a0b5]);}return _0x9a8448(_0x4322e4);}});}async['createSocket'](_0x1d46c8){const _0x492db4=_0xaabc27;return this[_0x492db4(0x18d)](_0x1d46c8);}};_0x2c1f50=_0x2f708b([_0x325b11(0x0,(0x0,_0x321c9a[_0xaabc27(0x188)])(_0x321c9a[_0xaabc27(0x170)])),_0x325b11(0x1,(0x0,_0x321c9a['Inject'])(_0x14a989[_0xaabc27(0x163)])),_0x325b11(0x2,_0x321c9a[_0xaabc27(0x15d)]),_0x325b11(0x3,_0x321c9a[_0xaabc27(0x13f)]),_0x325b11(0x4,_0x476004[_0xaabc27(0x147)])],_0x2c1f50),Object[_0xaabc27(0x18a)](_0xb1a2cc,_0xaabc27(0x140),{'enumerable':!0x0,'get':function(){return _0x2c1f50;}}),Object[_0xaabc27(0x18a)](_0xb1a2cc,_0xaabc27(0x16a),{'enumerable':!0x0,'get':function(){return _0x4f8a1f;}});}));function _0x38fa(_0xc55ff0,_0x744c7){_0xc55ff0=_0xc55ff0-0x13d;const _0xc47335=_0xc473();let _0x38fa7f=_0xc47335[_0xc55ff0];return _0x38fa7f;}function _0xc473(){const _0x403db0=['Inject','CollaborationSocketService','defineProperty','close','156830ujbtJT','_doCreateSocket','default','7914564DCfnvm','next','1251580NQSrGf','length','ILogService','NodeCollaborationSocketService','UniverProCollaboration','getOwnPropertyDescriptor','toPrimitive','UniverNetworkPlugin','@univerjs-pro/collaboration-client','registerHTTPInterceptor','ISnapshotServerService','constructor','1080237TJNCiQ','2396958YSXUtw','DependentOn','addEventListener','prototype','WebSocket','customHeaders','amd','set','packageName','_configService','UniverProLicense','exports','send','UniverCollaborationPlugin','iterator','2Dusozh','collaboration-client-node.config','add','128904QtOcny','IConfigService','133CxwIty','decorate','call','string','toDisposable','HTTPService','object','setConfig','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_registerDependencies','message','symbol','UniverCollaborationClientNodePlugin','open','1386336RTfDNn','@univerjs-pro/collaboration','@univerjs/network','_injector','Injector','removeEventListener','getConfig','error','Observable','UniverProCollaborationClientNode','UniverNetwork','UniverLicensePlugin','function','pipe','rxjs','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','UniverProCollaborationClient','_config','version','@univerjs/core','merge','1.4.0','createSocket','ISocketService','share','headers','Disposable','registerDependencies'];_0xc473=function(){return _0x403db0;};return _0xc473();}
|
|
1
|
+
function _0x80d9(_0x2e3aa,_0x542233){_0x2e3aa=_0x2e3aa-0x10b;const _0x24a3fc=_0x24a3();let _0x80d97=_0x24a3fc[_0x2e3aa];return _0x80d97;}(function(_0x4f827c,_0x495dcc){const _0x345811=_0x80d9,_0x5f5a00=_0x4f827c();while(!![]){try{const _0x3d104e=parseInt(_0x345811(0x123))/0x1*(parseInt(_0x345811(0x150))/0x2)+parseInt(_0x345811(0x157))/0x3*(-parseInt(_0x345811(0x149))/0x4)+parseInt(_0x345811(0x139))/0x5+-parseInt(_0x345811(0x13c))/0x6+-parseInt(_0x345811(0x141))/0x7*(parseInt(_0x345811(0x11b))/0x8)+-parseInt(_0x345811(0x14f))/0x9*(-parseInt(_0x345811(0x112))/0xa)+parseInt(_0x345811(0x12e))/0xb*(-parseInt(_0x345811(0x15f))/0xc);if(_0x3d104e===_0x495dcc)break;else _0x5f5a00['push'](_0x5f5a00['shift']());}catch(_0x4aafb3){_0x5f5a00['push'](_0x5f5a00['shift']());}}}(_0x24a3,0x4fb94),function(_0x1750bc,_0x54e3cf){const _0x2ae5c3=_0x80d9;typeof exports==_0x2ae5c3(0x13b)&&typeof module<'u'?_0x54e3cf(exports,require('@univerjs-pro/collaboration'),require('@univerjs-pro/collaboration-client'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/network'),require('rxjs')):typeof define=='function'&&define[_0x2ae5c3(0x138)]?define([_0x2ae5c3(0x126),_0x2ae5c3(0x110),_0x2ae5c3(0x162),_0x2ae5c3(0x125),_0x2ae5c3(0x10d),_0x2ae5c3(0x131),'rxjs'],_0x54e3cf):(_0x1750bc=typeof globalThis<'u'?globalThis:_0x1750bc||self,_0x54e3cf(_0x1750bc[_0x2ae5c3(0x135)]={},_0x1750bc[_0x2ae5c3(0x14c)],_0x1750bc[_0x2ae5c3(0x130)],_0x1750bc[_0x2ae5c3(0x153)],_0x1750bc[_0x2ae5c3(0x147)],_0x1750bc[_0x2ae5c3(0x12d)],_0x1750bc[_0x2ae5c3(0x133)]));}(this,function(_0xe08eb,_0x26b81e,_0x399a18,_0x521bf9,_0x51ba76,_0x14dd9c,_0x146c64){const _0x3709ce=_0x80d9;Object[_0x3709ce(0x142)](_0xe08eb,Symbol[_0x3709ce(0x154)],{'value':_0x3709ce(0x140)});var _0xa06070=(_0x25bb82,_0xa1daa0)=>()=>(_0xa1daa0||(_0x25bb82((_0xa1daa0={'exports':{}})[_0x3709ce(0x126)],_0xa1daa0,_0xa1daa0[_0x3709ce(0x126)]),_0x25bb82=null),_0xa1daa0[_0x3709ce(0x126)]),_0x47df93=_0x3709ce(0x15c),_0x18159c=_0x3709ce(0x155);let _0x3e1b8b={};var _0x5f1e16=_0xa06070((_0x4855cb,_0x5e1efa)=>{_0x5e1efa['exports']=function(){const _0x409134=_0x80d9;throw Error(_0x409134(0x144));};})();function _0x55e838(_0x3c19ac,_0x57240c){return function(_0x4aff3a,_0x427342){_0x57240c(_0x4aff3a,_0x427342,_0x3c19ac);};}function _0x166fcd(_0x42ebe7,_0x46a6e9,_0x558b2a,_0x4ec728){const _0x257a39=_0x3709ce;var _0x117c69=arguments[_0x257a39(0x11f)],_0x106aef=_0x117c69<0x3?_0x46a6e9:_0x4ec728===null?_0x4ec728=Object[_0x257a39(0x163)](_0x46a6e9,_0x558b2a):_0x4ec728,_0x589c5b;if(typeof Reflect==_0x257a39(0x13b)&&typeof Reflect[_0x257a39(0x152)]=='function')_0x106aef=Reflect[_0x257a39(0x152)](_0x42ebe7,_0x46a6e9,_0x558b2a,_0x4ec728);else{for(var _0x15a8b7=_0x42ebe7[_0x257a39(0x11f)]-0x1;_0x15a8b7>=0x0;_0x15a8b7--)(_0x589c5b=_0x42ebe7[_0x15a8b7])&&(_0x106aef=(_0x117c69<0x3?_0x589c5b(_0x106aef):_0x117c69>0x3?_0x589c5b(_0x46a6e9,_0x558b2a,_0x106aef):_0x589c5b(_0x46a6e9,_0x558b2a))||_0x106aef);}return _0x117c69>0x3&&_0x106aef&&Object[_0x257a39(0x142)](_0x46a6e9,_0x558b2a,_0x106aef),_0x106aef;}let _0x57495d=class extends _0x51ba76['Disposable']{constructor(_0x53026c){super(),this['_configService']=_0x53026c;}[_0x3709ce(0x15e)](_0x39677d){const _0x196dc2=_0x3709ce;var _0x1994e1;let _0x2e9af2=((_0x1994e1=this[_0x196dc2(0x11d)][_0x196dc2(0x11c)](_0x399a18[_0x196dc2(0x124)]))==null?void 0x0:_0x1994e1['customHeaders'])||{};try{let _0x5c0bfe=new _0x5f1e16[(_0x196dc2(0x118))](_0x39677d,{'headers':{..._0x2e9af2}}),_0x4b3b85=new _0x51ba76[(_0x196dc2(0x10e))]();return{'URL':_0x39677d,'close':(_0x5d0995,_0xdde263)=>{const _0x4a38fc=_0x196dc2;_0x5c0bfe[_0x4a38fc(0x14d)](_0x5d0995,_0xdde263),_0x4b3b85[_0x4a38fc(0x146)]();},'send':_0x1abb42=>{_0x5c0bfe['send'](_0x1abb42);},'open$':new _0x146c64[(_0x196dc2(0x116))](_0x40baec=>{const _0x37a3d8=_0x196dc2;let _0x44b6f3=_0x2e6f64=>_0x40baec['next'](_0x2e6f64);_0x5c0bfe[_0x37a3d8(0x15b)]('open',_0x44b6f3),_0x4b3b85[_0x37a3d8(0x132)]((0x0,_0x51ba76[_0x37a3d8(0x111)])(()=>_0x5c0bfe['removeEventListener'](_0x37a3d8(0x13d),_0x44b6f3)));})[_0x196dc2(0x159)]((0x0,_0x146c64[_0x196dc2(0x13f)])()),'close$':new _0x146c64[(_0x196dc2(0x116))](_0x586cb4=>{const _0x3725b0=_0x196dc2;let _0x535baf=_0x57681d=>_0x586cb4['next'](_0x57681d);_0x5c0bfe[_0x3725b0(0x15b)](_0x3725b0(0x14d),_0x535baf),_0x4b3b85['add']((0x0,_0x51ba76[_0x3725b0(0x111)])(()=>_0x5c0bfe[_0x3725b0(0x128)](_0x3725b0(0x14d),_0x535baf)));})[_0x196dc2(0x159)]((0x0,_0x146c64[_0x196dc2(0x13f)])()),'error$':new _0x146c64[(_0x196dc2(0x116))](_0x55ea88=>{const _0x277995=_0x196dc2;let _0x26bc19=_0x43d48b=>_0x55ea88['next'](_0x43d48b);_0x5c0bfe[_0x277995(0x15b)](_0x277995(0x115),_0x26bc19),_0x4b3b85[_0x277995(0x132)]((0x0,_0x51ba76[_0x277995(0x111)])(()=>_0x5c0bfe[_0x277995(0x128)](_0x277995(0x115),_0x26bc19)));})[_0x196dc2(0x159)]((0x0,_0x146c64[_0x196dc2(0x13f)])()),'message$':new _0x146c64[(_0x196dc2(0x116))](_0x4d3557=>{const _0x41f9cf=_0x196dc2;let _0xe11b2c=_0x563953=>_0x4d3557[_0x41f9cf(0x122)](_0x563953);_0x5c0bfe[_0x41f9cf(0x15b)](_0x41f9cf(0x15a),_0xe11b2c),_0x4b3b85[_0x41f9cf(0x132)]((0x0,_0x51ba76[_0x41f9cf(0x111)])(()=>_0x5c0bfe[_0x41f9cf(0x128)](_0x41f9cf(0x15a),_0xe11b2c)));})['pipe']((0x0,_0x146c64['share'])())};}catch(_0x5c1cc1){return console['error'](_0x5c1cc1),null;}}};_0x57495d=_0x166fcd([_0x55e838(0x0,_0x51ba76[_0x3709ce(0x156)])],_0x57495d);function _0x3ba571(_0x59e21e){'@babel/helpers - typeof';const _0x2782de=_0x3709ce;return _0x3ba571=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x2782de(0x120)?function(_0x1e4dd3){return typeof _0x1e4dd3;}:function(_0x311f00){const _0x31c047=_0x2782de;return _0x311f00&&typeof Symbol=='function'&&_0x311f00[_0x31c047(0x160)]===Symbol&&_0x311f00!==Symbol[_0x31c047(0x11e)]?_0x31c047(0x120):typeof _0x311f00;},_0x3ba571(_0x59e21e);}function _0x224a78(_0x4aabf7,_0x16aec7){const _0x437e00=_0x3709ce;if(_0x3ba571(_0x4aabf7)!=_0x437e00(0x13b)||!_0x4aabf7)return _0x4aabf7;var _0x3e74c8;if(typeof Symbol<'u'&&(_0x3e74c8=_0x4aabf7[Symbol[_0x437e00(0x12f)]])!==void 0x0){var _0x439a70=_0x3e74c8['call'](_0x4aabf7,_0x16aec7||_0x437e00(0x137));if(_0x3ba571(_0x439a70)!=_0x437e00(0x13b))return _0x439a70;throw TypeError(_0x437e00(0x129));}return(_0x16aec7===_0x437e00(0x148)?String:Number)(_0x4aabf7);}function _0x6cf7d(_0xf25e59){const _0x4053a1=_0x3709ce;var _0x2c16e3=_0x224a78(_0xf25e59,_0x4053a1(0x148));return _0x3ba571(_0x2c16e3)==_0x4053a1(0x120)?_0x2c16e3:_0x2c16e3+'';}function _0xf7399(_0x1a71b7,_0x18127e,_0x138150){const _0x29a793=_0x3709ce;return(_0x18127e=_0x6cf7d(_0x18127e))in _0x1a71b7?Object[_0x29a793(0x142)](_0x1a71b7,_0x18127e,{'value':_0x138150,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1a71b7[_0x18127e]=_0x138150,_0x1a71b7;}let _0x2b2ac3=class extends _0x51ba76[_0x3709ce(0x12a)]{constructor(_0x52ffef=_0x3e1b8b,_0x367c82,_0xca4c8e){const _0x3d0454=_0x3709ce;super(),this[_0x3d0454(0x143)]=_0x52ffef,this['_configService']=_0x367c82,this['_injector']=_0xca4c8e;let {..._0x5b1d8a}=(0x0,_0x51ba76['merge'])({},_0x3e1b8b,this[_0x3d0454(0x143)]);this[_0x3d0454(0x11d)]['setConfig'](_0x3d0454(0x12b),_0x5b1d8a);}[_0x3709ce(0x11a)](){this['_registerDependencies']();}[_0x3709ce(0x14e)](){const _0x4f300a=_0x3709ce;(0x0,_0x51ba76['registerDependencies'])(this['_injector'],[[_0x14dd9c[_0x4f300a(0x145)],{'useClass':_0x57495d}]]);}};_0xf7399(_0x2b2ac3,_0x3709ce(0x151),_0x3709ce(0x127)),_0xf7399(_0x2b2ac3,_0x3709ce(0x14b),_0x47df93),_0xf7399(_0x2b2ac3,_0x3709ce(0x119),_0x18159c),_0x2b2ac3=_0x166fcd([(0x0,_0x51ba76[_0x3709ce(0x134)])(_0x521bf9[_0x3709ce(0x114)],_0x14dd9c[_0x3709ce(0x113)],_0x26b81e[_0x3709ce(0x161)],_0x399a18[_0x3709ce(0x117)]),_0x55e838(0x1,_0x51ba76[_0x3709ce(0x156)]),_0x55e838(0x2,(0x0,_0x51ba76['Inject'])(_0x51ba76['Injector']))],_0x2b2ac3);let _0x5c759b=class extends _0x399a18[_0x3709ce(0x10c)]{constructor(_0x3b83af,_0x3f994a,_0x1c602c,_0x5e3855,_0x350d77){const _0x4d4608=_0x3709ce;super(_0x3b83af,_0x3f994a,_0x1c602c,_0x5e3855,_0x350d77);let _0x132a78=this[_0x4d4608(0x11d)]['getConfig'](_0x399a18[_0x4d4608(0x124)]);this[_0x4d4608(0x136)][_0x4d4608(0x158)]({'interceptor':(_0xf68ed3,_0x1719a5)=>{const _0x150ed9=_0x4d4608;let _0x19d924=_0xf68ed3[_0x150ed9(0x10f)];if(_0x132a78!=null&&_0x132a78[_0x150ed9(0x13a)]){for(let _0x4006d0 in _0x132a78[_0x150ed9(0x13a)])_0x19d924['set'](_0x4006d0,_0x132a78['customHeaders'][_0x4006d0]);}return _0x1719a5(_0xf68ed3);}});}async[_0x3709ce(0x15e)](_0x4cce65){return this['_doCreateSocket'](_0x4cce65);}};_0x5c759b=_0x166fcd([_0x55e838(0x0,(0x0,_0x51ba76[_0x3709ce(0x10b)])(_0x51ba76[_0x3709ce(0x13e)])),_0x55e838(0x1,(0x0,_0x51ba76['Inject'])(_0x14dd9c[_0x3709ce(0x15d)])),_0x55e838(0x2,_0x51ba76[_0x3709ce(0x156)]),_0x55e838(0x3,_0x51ba76[_0x3709ce(0x12c)]),_0x55e838(0x4,_0x26b81e[_0x3709ce(0x164)])],_0x5c759b),Object[_0x3709ce(0x142)](_0xe08eb,_0x3709ce(0x121),{'enumerable':!0x0,'get':function(){return _0x5c759b;}}),Object['defineProperty'](_0xe08eb,_0x3709ce(0x14a),{'enumerable':!0x0,'get':function(){return _0x2b2ac3;}});}));function _0x24a3(){const _0x1945a7=['decorate','UniverProLicense','toStringTag','1.5.1','IConfigService','387867zJBXBb','registerHTTPInterceptor','pipe','message','addEventListener','@univerjs-pro/collaboration-client-node','HTTPService','createSocket','21456GOGULX','constructor','UniverCollaborationPlugin','@univerjs-pro/collaboration-client','getOwnPropertyDescriptor','ISnapshotServerService','Inject','CollaborationSocketService','@univerjs/core','DisposableCollection','headers','@univerjs-pro/collaboration','toDisposable','800ghMIAu','UniverNetworkPlugin','UniverLicensePlugin','error','Observable','UniverCollaborationClientPlugin','WebSocket','version','onStarting','24AYKPLh','getConfig','_configService','prototype','length','symbol','NodeCollaborationSocketService','next','1uYoucX','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs-pro/license','exports','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','removeEventListener','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Plugin','collaboration-client-node.config','ILogService','UniverNetwork','2640YkmCLH','toPrimitive','UniverProCollaborationClient','@univerjs/network','add','rxjs','DependentOn','UniverProCollaborationClientNode','_httpService','default','amd','227105WgmVsg','customHeaders','object','1412562dClhEA','open','Injector','share','Module','205730BJfcVh','defineProperty','_config','ws\x20does\x20not\x20work\x20in\x20the\x20browser.\x20Browser\x20clients\x20must\x20use\x20the\x20native\x20WebSocket\x20object','ISocketService','dispose','UniverCore','string','8AxBEwN','UniverCollaborationClientNodePlugin','packageName','UniverProCollaboration','close','_registerDependencies','72396ndmdNK','1297804LFVvnB','pluginName'];_0x24a3=function(){return _0x1945a7;};return _0x24a3();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/collaboration-client-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Node.js collaboration client plugin for Univer Pro.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -51,19 +51,19 @@
|
|
|
51
51
|
"rxjs": ">=7.0.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@univerjs-pro/collaboration": "1.
|
|
55
|
-
"@univerjs-pro/collaboration-client": "1.
|
|
56
|
-
"@univerjs-pro/license": "1.
|
|
57
|
-
"@univerjs/core": "1.
|
|
58
|
-
"@univerjs/network": "1.
|
|
54
|
+
"@univerjs-pro/collaboration": "1.5.1",
|
|
55
|
+
"@univerjs-pro/collaboration-client": "1.5.1",
|
|
56
|
+
"@univerjs-pro/license": "1.5.1",
|
|
57
|
+
"@univerjs/core": "1.5.1",
|
|
58
|
+
"@univerjs/network": "1.5.1",
|
|
59
59
|
"ws": "8.21.0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/ws": "8.18.1",
|
|
63
|
-
"@univerjs-infra/shared": "1.
|
|
63
|
+
"@univerjs-infra/shared": "1.5.1",
|
|
64
64
|
"rxjs": "7.8.2",
|
|
65
|
-
"tsrs": "0.
|
|
66
|
-
"vitest": "^5.0
|
|
65
|
+
"tsrs": "0.23.0-ts7.1.0-beta",
|
|
66
|
+
"vitest": "^5.1.0"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"test": "vitest run",
|