@univerjs-pro/collaboration-cluster-redis 1.3.1 → 1.5.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/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});let e=require('node:crypto');function t(_0x163173){return typeof _0x163173['pSubscribe']=='function';}function n(_0x341928,_0x23a987,..._0x4402ae){return _0x341928[_0x23a987]['apply'](_0x341928,_0x4402ae);}function r(_0x507dd6,_0x366676,_0x38a32c){let _0x3d0cf3=_0x366676['filter'](_0x4e980e=>typeof _0x507dd6[_0x4e980e]!='function');if(_0x3d0cf3['length']>0x0)throw TypeError(_0x38a32c+'\x20is\x20missing\x20Redis\x20methods:\x20'+_0x3d0cf3['join'](',\x20'));}var i=class{['_client'];['_nodeRedis'];constructor(_0x5bb09d,_0x4b59e4,_0x47c9a2){if(this['_client']=_0x5bb09d,!_0x5bb09d||typeof _0x5bb09d!='object')throw TypeError(_0x4b59e4+'\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x5bb09d);let _0x1d0837=[];_0x47c9a2['publish']&&_0x1d0837['push'](_0x47c9a2['sharded']?this['_nodeRedis']?'sPublish':'spublish':'publish'),_0x47c9a2['tickets']&&_0x1d0837['push']('set',this['_nodeRedis']?'getDel':'getdel'),r(_0x5bb09d,_0x1d0837,_0x4b59e4);}['publish'](_0x385b7a,_0x2c7e2a,_0x46a777){let _0x31f16d=_0x46a777?this['_nodeRedis']?'sPublish':'spublish':'publish';return n(this['_client'],_0x31f16d,_0x385b7a,_0x2c7e2a);}async['setIfAbsent'](_0x40e6a8,_0x24c752,_0x2f3572){return(this['_nodeRedis']?await n(this['_client'],'set',_0x40e6a8,_0x24c752,{'PX':_0x2f3572,'NX':!0x0}):await n(this['_client'],'set',_0x40e6a8,_0x24c752,'PX',_0x2f3572,'NX'))==='OK';}['getDel'](_0x5735af){return n(this['_client'],this['_nodeRedis']?'getDel':'getdel',_0x5735af);}},a=class{['_client'];['_sharded'];['_onMessage'];['_nodeRedis'];['_event'];['_listeners']=new Map();['_onIoRedisMessage'];constructor(_0x617a10,_0xa817a3,_0x235ac1){if(this['_client']=_0x617a10,this['_sharded']=_0xa817a3,this['_onMessage']=_0x235ac1,!_0x617a10||typeof _0x617a10!='object')throw TypeError('subClient\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x617a10),this['_event']=_0xa817a3?'smessage':'message',r(_0x617a10,this['_nodeRedis']?_0xa817a3?['sSubscribe','sUnsubscribe']:['subscribe','unsubscribe']:_0xa817a3?['ssubscribe','sunsubscribe','on','off']:['subscribe','unsubscribe','on','off'],'subClient');let _0x369cea=_0x617a10;if(!this['_nodeRedis']&&_0xa817a3&&_0x369cea['isCluster']===!0x0&&_0x369cea['options']?.['shardedSubscribers']!==!0x0)throw TypeError('subClient\x20is\x20an\x20ioredis\x20Cluster\x20without\x20{\x20shardedSubscribers:\x20true\x20},\x20required\x20for\x20sharded\x20pub/sub');this['_onIoRedisMessage']=(_0x2cad4a,_0x2a4166)=>this['_onMessage'](_0x2cad4a,_0x2a4166),this['_nodeRedis']||this['_client']['on'](this['_event'],this['_onIoRedisMessage']);}async['subscribe'](_0x343875){if(!this['_nodeRedis']){await n(this['_client'],this['_sharded']?'ssubscribe':'subscribe',_0x343875);return;}let _0x3368a2=(_0x409dc7,_0x1b676c)=>this['_onMessage'](_0x1b676c,_0x409dc7);this['_listeners']['set'](_0x343875,_0x3368a2);try{await n(this['_client'],this['_sharded']?'sSubscribe':'subscribe',_0x343875,_0x3368a2);}catch(_0x19bd7a){throw this['_listeners']['get'](_0x343875)===_0x3368a2&&this['_listeners']['delete'](_0x343875),_0x19bd7a;}}async['unsubscribe'](_0x56e8ac){if(!this['_nodeRedis']){if(this['_sharded']){let _0x189956=(await Promise['allSettled'](_0x56e8ac['map'](_0x9d43a6=>n(this['_client'],'sunsubscribe',_0x9d43a6))))['find'](_0x3c3640=>_0x3c3640['status']==='rejected');if(_0x189956)throw _0x189956['reason'];}else await n(this['_client'],'unsubscribe',..._0x56e8ac);return;}let _0x22c157=(await Promise['allSettled'](_0x56e8ac['map'](_0x2832c7=>{let _0x290a3b=this['_listeners']['get'](_0x2832c7);return this['_listeners']['delete'](_0x2832c7),n(this['_client'],this['_sharded']?'sUnsubscribe':'unsubscribe',_0x2832c7,_0x290a3b);})))['find'](_0x378a26=>_0x378a26['status']==='rejected');if(_0x22c157)throw _0x22c157['reason'];}['detach'](){this['_nodeRedis']||this['_client']['off'](this['_event'],this['_onIoRedisMessage']);}},o='univer-collab:',s=class{['_commands'];['_subscription'];['_prefix'];['_sharded'];['_handlers']=new Map();['_subscribing']=new Map();['_onMessage']=(_0x4eefd0,_0x45c411)=>{for(let _0x2abaac of[...this['_handlers']['get'](_0x4eefd0)??[]])try{_0x2abaac(_0x45c411);}catch{}};['_disposed']=!0x1;constructor(_0x554f8b){if(!_0x554f8b?.['pubClient']||!_0x554f8b['subClient'])throw TypeError('RedisPubSubAdapter\x20requires\x20pubClient\x20and\x20subClient');this['_prefix']=_0x554f8b['keyPrefix']??o,this['_sharded']=_0x554f8b['sharded']??!0x1,this['_commands']=new i(_0x554f8b['pubClient'],'pubClient',{'publish':!0x0,'sharded':this['_sharded']}),this['_subscription']=new a(_0x554f8b['subClient'],this['_sharded'],this['_onMessage']);}async['publish'](_0x4da93a,_0x58790d){this['_assertRunning']();let _0x2360f8=this['_channel'](_0x4da93a);await this['_commands']['publish'](_0x2360f8,_0x58790d,this['_sharded']);}async['subscribe'](_0x14c9ac,_0x533a21){this['_assertRunning']();let _0x3ef362=this['_channel'](_0x14c9ac),_0x1e7192=_0x610f39=>_0x533a21(_0x610f39),_0x15c213=this['_handlers']['get'](_0x3ef362);if(!_0x15c213){_0x15c213=new Set(),this['_handlers']['set'](_0x3ef362,_0x15c213);let _0x3511a1=this['_subscribeChannel'](_0x3ef362);this['_subscribing']['set'](_0x3ef362,_0x3511a1),_0x3511a1['finally'](()=>{this['_subscribing']['get'](_0x3ef362)===_0x3511a1&&this['_subscribing']['delete'](_0x3ef362);})['catch'](()=>void 0x0);}_0x15c213['add'](_0x1e7192);try{await this['_subscribing']['get'](_0x3ef362);}catch(_0xbac82f){throw this['_removeHandler'](_0x3ef362,_0x15c213,_0x1e7192,!0x1),_0xbac82f;}let _0x3edc81=!0x1;return{'dispose':()=>{_0x3edc81||(_0x3edc81=!0x0,this['_removeHandler'](_0x3ef362,_0x15c213,_0x1e7192,!0x0));}};}async['dispose'](){if(this['_disposed'])return;this['_disposed']=!0x0,this['_subscription']['detach']();let _0x4af5b6=[...this['_handlers']['keys']()];this['_handlers']['clear'](),_0x4af5b6['length']>0x0&&await this['_subscription']['unsubscribe'](_0x4af5b6);}['_channel'](_0x1453c2){return''+this['_prefix']+_0x1453c2;}['_subscribeChannel'](_0x55d94b){return this['_subscription']['subscribe'](_0x55d94b);}['_removeHandler'](_0x387619,_0x5746a3,_0x28c5f8,_0x539459){_0x5746a3['delete'](_0x28c5f8),!(_0x5746a3['size']>0x0||this['_handlers']['get'](_0x387619)!==_0x5746a3)&&(this['_handlers']['delete'](_0x387619),_0x539459&&!this['_disposed']&&this['_subscription']['unsubscribe']([_0x387619])['catch'](()=>void 0x0));}['_assertRunning'](){if(this['_disposed'])throw Error('RedisPubSubAdapter\x20is\x20disposed');}},c='univer-collab:',l=class{['_commands'];['_prefix'];['_disposed']=!0x1;constructor(_0x5aea26){this['_commands']=new i(_0x5aea26?.['client'],'client',{'tickets':!0x0}),this['_prefix']=_0x5aea26['keyPrefix']??c;}async['issue'](_0x366f08,_0x2e941d){if(this['_assertRunning'](),!Number['isSafeInteger'](_0x2e941d)||_0x2e941d<=0x0)throw TypeError('Session\x20ticket\x20TTL\x20must\x20be\x20a\x20positive\x20safe\x20integer');if(typeof _0x366f08?.['userID']!='string'||!_0x366f08['userID'])throw TypeError('Session\x20ticket\x20userID\x20must\x20be\x20a\x20non-empty\x20string');let _0x598cb4=JSON['stringify']({'userID':_0x366f08['userID'],'customData':_0x366f08['customData']}),_0x455544=(0x0,e['randomBytes'])(0x20)['toString']('base64url');if(!await this['_commands']['setIfAbsent'](this['_key'](_0x455544),_0x598cb4,_0x2e941d))throw Error('Session\x20ticket\x20collision');return _0x455544;}async['consume'](_0xe60f6e){if(this['_disposed']||typeof _0xe60f6e!='string'||!_0xe60f6e)return null;let _0x1a3f6a=await this['_commands']['getDel'](this['_key'](_0xe60f6e));if(_0x1a3f6a===null)return null;let _0x2e7982=JSON['parse'](_0x1a3f6a),_0x4524c4=Object['assign'](Object['create'](null),_0x2e7982['customData']);return{'userID':_0x2e7982['userID'],'customData':_0x4524c4};}async['dispose'](){this['_disposed']=!0x0;}['_key'](_0x5069e0){return this['_prefix']+'session-ticket:'+_0x5069e0;}['_assertRunning'](){if(this['_disposed'])throw Error('RedisSessionTicketStore\x20is\x20disposed');}};exports['RedisPubSubAdapter']=s,exports['RedisSessionTicketStore']=l;
1
+ Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});let e=require('node:crypto');function t(_0xf29396){return typeof _0xf29396['pSubscribe']=='function';}function n(_0x489c3e,_0xd7fd71,..._0x3912f0){return _0x489c3e[_0xd7fd71]['apply'](_0x489c3e,_0x3912f0);}function r(_0x39af3c,_0xdae8bf,_0x210d63){let _0x384dbe=_0xdae8bf['filter'](_0xa94bd2=>typeof _0x39af3c[_0xa94bd2]!='function');if(_0x384dbe['length']>0x0)throw TypeError(_0x210d63+'\x20is\x20missing\x20Redis\x20methods:\x20'+_0x384dbe['join'](',\x20'));}var i=class{['_client'];['_nodeRedis'];constructor(_0x158efc,_0x348d6a,_0x2e6f4f){if(this['_client']=_0x158efc,!_0x158efc||typeof _0x158efc!='object')throw TypeError(_0x348d6a+'\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x158efc);let _0x203635=[];_0x2e6f4f['publish']&&_0x203635['push'](_0x2e6f4f['sharded']?this['_nodeRedis']?'sPublish':'spublish':'publish'),_0x2e6f4f['tickets']&&_0x203635['push']('set',this['_nodeRedis']?'getDel':'getdel'),r(_0x158efc,_0x203635,_0x348d6a);}['publish'](_0x50b199,_0x2f39c3,_0x33d98d){let _0x3680e0=_0x33d98d?this['_nodeRedis']?'sPublish':'spublish':'publish';return n(this['_client'],_0x3680e0,_0x50b199,_0x2f39c3);}async['setIfAbsent'](_0x195219,_0x1a214a,_0x51ca6b){return(this['_nodeRedis']?await n(this['_client'],'set',_0x195219,_0x1a214a,{'PX':_0x51ca6b,'NX':!0x0}):await n(this['_client'],'set',_0x195219,_0x1a214a,'PX',_0x51ca6b,'NX'))==='OK';}['getDel'](_0x1e3ecd){return n(this['_client'],this['_nodeRedis']?'getDel':'getdel',_0x1e3ecd);}},a=class{['_client'];['_sharded'];['_onMessage'];['_nodeRedis'];['_event'];['_listeners']=new Map();['_onIoRedisMessage'];constructor(_0x4b7518,_0x2e02bc,_0x18af34){if(this['_client']=_0x4b7518,this['_sharded']=_0x2e02bc,this['_onMessage']=_0x18af34,!_0x4b7518||typeof _0x4b7518!='object')throw TypeError('subClient\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x4b7518),this['_event']=_0x2e02bc?'smessage':'message',r(_0x4b7518,this['_nodeRedis']?_0x2e02bc?['sSubscribe','sUnsubscribe']:['subscribe','unsubscribe']:_0x2e02bc?['ssubscribe','sunsubscribe','on','off']:['subscribe','unsubscribe','on','off'],'subClient');let _0x368972=_0x4b7518;if(!this['_nodeRedis']&&_0x2e02bc&&_0x368972['isCluster']===!0x0&&_0x368972['options']?.['shardedSubscribers']!==!0x0)throw TypeError('subClient\x20is\x20an\x20ioredis\x20Cluster\x20without\x20{\x20shardedSubscribers:\x20true\x20},\x20required\x20for\x20sharded\x20pub/sub');this['_onIoRedisMessage']=(_0x2458f4,_0x5982fd)=>this['_onMessage'](_0x2458f4,_0x5982fd),this['_nodeRedis']||this['_client']['on'](this['_event'],this['_onIoRedisMessage']);}async['subscribe'](_0x3b0494){if(!this['_nodeRedis']){await n(this['_client'],this['_sharded']?'ssubscribe':'subscribe',_0x3b0494);return;}let _0x1416dd=(_0x3a09ef,_0x3bb59f)=>this['_onMessage'](_0x3bb59f,_0x3a09ef);this['_listeners']['set'](_0x3b0494,_0x1416dd);try{await n(this['_client'],this['_sharded']?'sSubscribe':'subscribe',_0x3b0494,_0x1416dd);}catch(_0x48e019){throw this['_listeners']['get'](_0x3b0494)===_0x1416dd&&this['_listeners']['delete'](_0x3b0494),_0x48e019;}}async['unsubscribe'](_0x255496){if(!this['_nodeRedis']){if(this['_sharded']){let _0x21bf9d=(await Promise['allSettled'](_0x255496['map'](_0x44f3f4=>n(this['_client'],'sunsubscribe',_0x44f3f4))))['find'](_0x274b18=>_0x274b18['status']==='rejected');if(_0x21bf9d)throw _0x21bf9d['reason'];}else await n(this['_client'],'unsubscribe',..._0x255496);return;}let _0x2527ce=(await Promise['allSettled'](_0x255496['map'](_0x1a5177=>{let _0x386087=this['_listeners']['get'](_0x1a5177);return this['_listeners']['delete'](_0x1a5177),n(this['_client'],this['_sharded']?'sUnsubscribe':'unsubscribe',_0x1a5177,_0x386087);})))['find'](_0x3ebee5=>_0x3ebee5['status']==='rejected');if(_0x2527ce)throw _0x2527ce['reason'];}['detach'](){this['_nodeRedis']||this['_client']['off'](this['_event'],this['_onIoRedisMessage']);}},o='univer-collab:',s=class{['_commands'];['_subscription'];['_prefix'];['_sharded'];['_handlers']=new Map();['_subscribing']=new Map();['_onMessage']=(_0x4749d0,_0x522ba7)=>{for(let _0xe6cb87 of[...this['_handlers']['get'](_0x4749d0)??[]])try{_0xe6cb87(_0x522ba7);}catch{}};['_disposed']=!0x1;constructor(_0x818264){if(!_0x818264?.['pubClient']||!_0x818264['subClient'])throw TypeError('RedisPubSubAdapter\x20requires\x20pubClient\x20and\x20subClient');this['_prefix']=_0x818264['keyPrefix']??o,this['_sharded']=_0x818264['sharded']??!0x1,this['_commands']=new i(_0x818264['pubClient'],'pubClient',{'publish':!0x0,'sharded':this['_sharded']}),this['_subscription']=new a(_0x818264['subClient'],this['_sharded'],this['_onMessage']);}async['publish'](_0x4bee08,_0x158ddc){this['_assertRunning']();let _0x512815=this['_channel'](_0x4bee08);await this['_commands']['publish'](_0x512815,_0x158ddc,this['_sharded']);}async['subscribe'](_0x442ada,_0x54ffe7){this['_assertRunning']();let _0xbb8c86=this['_channel'](_0x442ada),_0x2512db=_0x492a7a=>_0x54ffe7(_0x492a7a),_0x1758cd=this['_handlers']['get'](_0xbb8c86);if(!_0x1758cd){_0x1758cd=new Set(),this['_handlers']['set'](_0xbb8c86,_0x1758cd);let _0x201794=this['_subscribeChannel'](_0xbb8c86);this['_subscribing']['set'](_0xbb8c86,_0x201794),_0x201794['finally'](()=>{this['_subscribing']['get'](_0xbb8c86)===_0x201794&&this['_subscribing']['delete'](_0xbb8c86);})['catch'](()=>void 0x0);}_0x1758cd['add'](_0x2512db);try{await this['_subscribing']['get'](_0xbb8c86);}catch(_0x38e965){throw this['_removeHandler'](_0xbb8c86,_0x1758cd,_0x2512db,!0x1),_0x38e965;}let _0x2bc5ff=!0x1;return{'dispose':()=>{_0x2bc5ff||(_0x2bc5ff=!0x0,this['_removeHandler'](_0xbb8c86,_0x1758cd,_0x2512db,!0x0));}};}async['dispose'](){if(this['_disposed'])return;this['_disposed']=!0x0,this['_subscription']['detach']();let _0x158fb4=[...this['_handlers']['keys']()];this['_handlers']['clear'](),_0x158fb4['length']>0x0&&await this['_subscription']['unsubscribe'](_0x158fb4);}['_channel'](_0x56d1c2){return''+this['_prefix']+_0x56d1c2;}['_subscribeChannel'](_0x461479){return this['_subscription']['subscribe'](_0x461479);}['_removeHandler'](_0x1d1256,_0x26110a,_0x10269e,_0x52a10b){_0x26110a['delete'](_0x10269e),_0x26110a['size']>0x0||this['_handlers']['get'](_0x1d1256)!==_0x26110a||(this['_handlers']['delete'](_0x1d1256),_0x52a10b&&!this['_disposed']&&this['_subscription']['unsubscribe']([_0x1d1256])['catch'](()=>void 0x0));}['_assertRunning'](){if(this['_disposed'])throw Error('RedisPubSubAdapter\x20is\x20disposed');}},c='univer-collab:',l=class{['_commands'];['_prefix'];['_disposed']=!0x1;constructor(_0x1ba8e6){this['_commands']=new i(_0x1ba8e6?.['client'],'client',{'tickets':!0x0}),this['_prefix']=_0x1ba8e6['keyPrefix']??c;}async['issue'](_0x5ce3f4,_0x184600){if(this['_assertRunning'](),!Number['isSafeInteger'](_0x184600)||_0x184600<=0x0)throw TypeError('Session\x20ticket\x20TTL\x20must\x20be\x20a\x20positive\x20safe\x20integer');if(typeof _0x5ce3f4?.['userID']!='string'||!_0x5ce3f4['userID'])throw TypeError('Session\x20ticket\x20userID\x20must\x20be\x20a\x20non-empty\x20string');let _0xc0459b=JSON['stringify']({'userID':_0x5ce3f4['userID'],'customData':_0x5ce3f4['customData']}),_0x274a46=(0x0,e['randomBytes'])(0x20)['toString']('base64url');if(!await this['_commands']['setIfAbsent'](this['_key'](_0x274a46),_0xc0459b,_0x184600))throw Error('Session\x20ticket\x20collision');return _0x274a46;}async['consume'](_0xb2ebc){if(this['_disposed']||typeof _0xb2ebc!='string'||!_0xb2ebc)return null;let _0x406283=await this['_commands']['getDel'](this['_key'](_0xb2ebc));if(_0x406283===null)return null;let _0x5826de=JSON['parse'](_0x406283),_0x1e4188=Object['assign'](Object['create'](null),_0x5826de['customData']);return{'userID':_0x5826de['userID'],'customData':_0x1e4188};}async['dispose'](){this['_disposed']=!0x0;}['_key'](_0xb7ac2d){return this['_prefix']+'session-ticket:'+_0xb7ac2d;}['_assertRunning'](){if(this['_disposed'])throw Error('RedisSessionTicketStore\x20is\x20disposed');}};exports['RedisPubSubAdapter']=s,exports['RedisSessionTicketStore']=l;
package/dist/index.d.ts CHANGED
@@ -1,10 +1,8 @@
1
1
  import { IPubSubAdapter, ISessionTicketStore, SessionTicketRecord } from "@univerjs-pro/collaboration-endpoint";
2
2
  import { Disposable } from "@univerjs-pro/collaboration-service";
3
3
 
4
- //#region src/redis-client.d.ts
4
+ // src/redis-client.d.ts
5
5
  type RedisClient = object;
6
- //#endregion
7
- //#region src/redis-pubsub-adapter.d.ts
8
6
  type Handler = (payload: string) => void;
9
7
  interface RedisPubSubAdapterOptions {
10
8
  readonly pubClient: RedisClient;
@@ -30,8 +28,6 @@ declare class RedisPubSubAdapter implements IPubSubAdapter {
30
28
  private _removeHandler;
31
29
  private _assertRunning;
32
30
  }
33
- //#endregion
34
- //#region src/redis-session-ticket-store.d.ts
35
31
  interface RedisSessionTicketStoreOptions {
36
32
  readonly client: RedisClient;
37
33
  readonly keyPrefix?: string;
@@ -47,5 +43,4 @@ declare class RedisSessionTicketStore implements ISessionTicketStore {
47
43
  private _key;
48
44
  private _assertRunning;
49
45
  }
50
- //#endregion
51
46
  export { type RedisClient, RedisPubSubAdapter, type RedisPubSubAdapterOptions, RedisSessionTicketStore, type RedisSessionTicketStoreOptions };
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- const _0x599dae=_0x407b;function _0x407b(_0x1537d1,_0x4c1df5){_0x1537d1=_0x1537d1-0x141;const _0x5cbf43=_0x5cbf();let _0x407b6b=_0x5cbf43[_0x1537d1];return _0x407b6b;}(function(_0x95f121,_0x13ab70){const _0x1ddbac=_0x407b,_0x49e32d=_0x95f121();while(!![]){try{const _0x43c6b0=-parseInt(_0x1ddbac(0x147))/0x1+-parseInt(_0x1ddbac(0x144))/0x2*(-parseInt(_0x1ddbac(0x149))/0x3)+parseInt(_0x1ddbac(0x146))/0x4+-parseInt(_0x1ddbac(0x14c))/0x5*(parseInt(_0x1ddbac(0x142))/0x6)+parseInt(_0x1ddbac(0x148))/0x7+parseInt(_0x1ddbac(0x143))/0x8*(parseInt(_0x1ddbac(0x14b))/0x9)+-parseInt(_0x1ddbac(0x141))/0xa;if(_0x43c6b0===_0x13ab70)break;else _0x49e32d['push'](_0x49e32d['shift']());}catch(_0x112637){_0x49e32d['push'](_0x49e32d['shift']());}}}(_0x5cbf,0xd2ac2));import _0x148032 from'./index.cjs';const facadeExport0=_0x148032[_0x599dae(0x145)],facadeExport1=_0x148032[_0x599dae(0x14a)];export{facadeExport0 as RedisPubSubAdapter,facadeExport1 as RedisSessionTicketStore};function _0x5cbf(){const _0x55d9b7=['4713zJelXM','RedisSessionTicketStore','603BiAZLf','60EyxUWW','979610DCUNrk','265782GxhFkN','103720XUilNk','2118FWdsmG','RedisPubSubAdapter','1152908JctsSx','1493571DoLpkN','1158073yQanAx'];_0x5cbf=function(){return _0x55d9b7;};return _0x5cbf();}
1
+ const _0x5819ec=_0x1b0b;(function(_0x2f4b26,_0x4f1c33){const _0xe93b77=_0x1b0b,_0x33c4c0=_0x2f4b26();while(!![]){try{const _0x36d8b3=parseInt(_0xe93b77(0x9a))/0x1+-parseInt(_0xe93b77(0x9d))/0x2*(parseInt(_0xe93b77(0x9f))/0x3)+-parseInt(_0xe93b77(0x99))/0x4*(-parseInt(_0xe93b77(0x98))/0x5)+-parseInt(_0xe93b77(0x96))/0x6*(parseInt(_0xe93b77(0x9b))/0x7)+parseInt(_0xe93b77(0xa1))/0x8+parseInt(_0xe93b77(0x97))/0x9*(-parseInt(_0xe93b77(0xa0))/0xa)+parseInt(_0xe93b77(0x9c))/0xb;if(_0x36d8b3===_0x4f1c33)break;else _0x33c4c0['push'](_0x33c4c0['shift']());}catch(_0x183be7){_0x33c4c0['push'](_0x33c4c0['shift']());}}}(_0x5262,0x8d4ee));import _0x5780a3 from'./index.cjs';const facadeExport0=_0x5780a3[_0x5819ec(0x95)],facadeExport1=_0x5780a3[_0x5819ec(0x9e)];function _0x1b0b(_0x14325b,_0x3e4419){_0x14325b=_0x14325b-0x95;const _0x526296=_0x5262();let _0x1b0ba=_0x526296[_0x14325b];return _0x1b0ba;}function _0x5262(){const _0xdb7235=['30852BFgjfg','11430tbOZvo','35vQRQjl','278796oxDVcc','586876jjevlt','196VdPdTf','736285pFegUJ','1996196sbZsgm','RedisSessionTicketStore','3JkaTVj','30LOdDZW','4663824Tnrecd','RedisPubSubAdapter'];_0x5262=function(){return _0xdb7235;};return _0x5262();}export{facadeExport0 as RedisPubSubAdapter,facadeExport1 as RedisSessionTicketStore};
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "engines": {
5
5
  "node": ">=22"
6
6
  },
7
- "version": "1.3.1",
7
+ "version": "1.5.2",
8
8
  "main": "./dist/index.cjs",
9
9
  "module": "./dist/index.mjs",
10
10
  "types": "./dist/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "dist"
20
20
  ],
21
21
  "dependencies": {
22
- "@univerjs-pro/collaboration-endpoint": "1.3.1",
23
- "@univerjs-pro/collaboration-service": "1.3.1"
22
+ "@univerjs-pro/collaboration-endpoint": "1.5.2",
23
+ "@univerjs-pro/collaboration-service": "1.5.2"
24
24
  }
25
25
  }