@univerjs-pro/collaboration-cluster-redis 1.6.0 → 1.6.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/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});let e=require('node:crypto');function t(_0x4a677b){return typeof _0x4a677b['pSubscribe']=='function';}function n(_0x35c413,_0x2a3411,..._0x317505){return _0x35c413[_0x2a3411]['apply'](_0x35c413,_0x317505);}function r(_0x1cd700,_0x3bedcf,_0x24861d){let _0x43179d=_0x3bedcf['filter'](_0x1f3797=>typeof _0x1cd700[_0x1f3797]!='function');if(_0x43179d['length']>0x0)throw TypeError(_0x24861d+'\x20is\x20missing\x20Redis\x20methods:\x20'+_0x43179d['join'](',\x20'));}var i=class{['_client'];['_nodeRedis'];constructor(_0x542b62,_0x29e611,_0x3afe23){if(this['_client']=_0x542b62,!_0x542b62||typeof _0x542b62!='object')throw TypeError(_0x29e611+'\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x542b62);let _0x39a579=[];_0x3afe23['publish']&&_0x39a579['push'](_0x3afe23['sharded']?this['_nodeRedis']?'sPublish':'spublish':'publish'),_0x3afe23['tickets']&&_0x39a579['push']('set',this['_nodeRedis']?'getDel':'getdel'),r(_0x542b62,_0x39a579,_0x29e611);}['publish'](_0xea1426,_0x18fd5a,_0x128491){let _0x3d87a8=_0x128491?this['_nodeRedis']?'sPublish':'spublish':'publish';return n(this['_client'],_0x3d87a8,_0xea1426,_0x18fd5a);}async['setIfAbsent'](_0x3b1b33,_0xff6eae,_0xd1bf46){return(this['_nodeRedis']?await n(this['_client'],'set',_0x3b1b33,_0xff6eae,{'PX':_0xd1bf46,'NX':!0x0}):await n(this['_client'],'set',_0x3b1b33,_0xff6eae,'PX',_0xd1bf46,'NX'))==='OK';}['getDel'](_0x51f32a){return n(this['_client'],this['_nodeRedis']?'getDel':'getdel',_0x51f32a);}},a=class{['_client'];['_sharded'];['_onMessage'];['_nodeRedis'];['_event'];['_listeners']=new Map();['_onIoRedisMessage'];constructor(_0x715152,_0x1fbaa1,_0x194c51){if(this['_client']=_0x715152,this['_sharded']=_0x1fbaa1,this['_onMessage']=_0x194c51,!_0x715152||typeof _0x715152!='object')throw TypeError('subClient\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x715152),this['_event']=_0x1fbaa1?'smessage':'message',r(_0x715152,this['_nodeRedis']?_0x1fbaa1?['sSubscribe','sUnsubscribe']:['subscribe','unsubscribe']:_0x1fbaa1?['ssubscribe','sunsubscribe','on','off']:['subscribe','unsubscribe','on','off'],'subClient');let _0xae0b7e=_0x715152;if(!this['_nodeRedis']&&_0x1fbaa1&&_0xae0b7e['isCluster']===!0x0&&_0xae0b7e['options']?.['shardedSubscribers']!==!0x0)throw TypeError('subClient\x20is\x20an\x20ioredis\x20Cluster\x20without\x20{\x20shardedSubscribers:\x20true\x20},\x20required\x20for\x20sharded\x20pub/sub');this['_onIoRedisMessage']=(_0x78950a,_0x5bf79a)=>this['_onMessage'](_0x78950a,_0x5bf79a),this['_nodeRedis']||this['_client']['on'](this['_event'],this['_onIoRedisMessage']);}async['subscribe'](_0xf9efd0){if(!this['_nodeRedis']){await n(this['_client'],this['_sharded']?'ssubscribe':'subscribe',_0xf9efd0);return;}let _0x53d311=(_0x1f727f,_0xe01883)=>this['_onMessage'](_0xe01883,_0x1f727f);this['_listeners']['set'](_0xf9efd0,_0x53d311);try{await n(this['_client'],this['_sharded']?'sSubscribe':'subscribe',_0xf9efd0,_0x53d311);}catch(_0x4cae4a){throw this['_listeners']['get'](_0xf9efd0)===_0x53d311&&this['_listeners']['delete'](_0xf9efd0),_0x4cae4a;}}async['unsubscribe'](_0x41191c){if(!this['_nodeRedis']){if(this['_sharded']){let _0x25dc9f=(await Promise['allSettled'](_0x41191c['map'](_0x3a440c=>n(this['_client'],'sunsubscribe',_0x3a440c))))['find'](_0x28cddd=>_0x28cddd['status']==='rejected');if(_0x25dc9f)throw _0x25dc9f['reason'];}else await n(this['_client'],'unsubscribe',..._0x41191c);return;}let _0x279139=(await Promise['allSettled'](_0x41191c['map'](_0x19e0c3=>{let _0x586026=this['_listeners']['get'](_0x19e0c3);return this['_listeners']['delete'](_0x19e0c3),n(this['_client'],this['_sharded']?'sUnsubscribe':'unsubscribe',_0x19e0c3,_0x586026);})))['find'](_0x462fd4=>_0x462fd4['status']==='rejected');if(_0x279139)throw _0x279139['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']=(_0x49968a,_0x1b6520)=>{for(let _0x50eae2 of[...this['_handlers']['get'](_0x49968a)??[]])try{_0x50eae2(_0x1b6520);}catch{}};['_disposed']=!0x1;constructor(_0x50947b){if(!_0x50947b?.['pubClient']||!_0x50947b['subClient'])throw TypeError('RedisPubSubAdapter\x20requires\x20pubClient\x20and\x20subClient');this['_prefix']=_0x50947b['keyPrefix']??o,this['_sharded']=_0x50947b['sharded']??!0x1,this['_commands']=new i(_0x50947b['pubClient'],'pubClient',{'publish':!0x0,'sharded':this['_sharded']}),this['_subscription']=new a(_0x50947b['subClient'],this['_sharded'],this['_onMessage']);}async['publish'](_0x460a38,_0x29e350){this['_assertRunning']();let _0x1c23ee=this['_channel'](_0x460a38);await this['_commands']['publish'](_0x1c23ee,_0x29e350,this['_sharded']);}async['subscribe'](_0x2d58f2,_0x59c602){this['_assertRunning']();let _0x4953bf=this['_channel'](_0x2d58f2),_0x21f215=_0x136f30=>_0x59c602(_0x136f30),_0x1b4d2e=this['_handlers']['get'](_0x4953bf);if(!_0x1b4d2e){_0x1b4d2e=new Set(),this['_handlers']['set'](_0x4953bf,_0x1b4d2e);let _0x20056e=this['_subscribeChannel'](_0x4953bf);this['_subscribing']['set'](_0x4953bf,_0x20056e),_0x20056e['finally'](()=>{this['_subscribing']['get'](_0x4953bf)===_0x20056e&&this['_subscribing']['delete'](_0x4953bf);})['catch'](()=>void 0x0);}_0x1b4d2e['add'](_0x21f215);try{await this['_subscribing']['get'](_0x4953bf);}catch(_0x36f77a){throw this['_removeHandler'](_0x4953bf,_0x1b4d2e,_0x21f215,!0x1),_0x36f77a;}let _0x1cb327=!0x1;return{'dispose':()=>{_0x1cb327||(_0x1cb327=!0x0,this['_removeHandler'](_0x4953bf,_0x1b4d2e,_0x21f215,!0x0));}};}async['dispose'](){if(this['_disposed'])return;this['_disposed']=!0x0,this['_subscription']['detach']();let _0x1a6b6c=[...this['_handlers']['keys']()];this['_handlers']['clear'](),_0x1a6b6c['length']>0x0&&await this['_subscription']['unsubscribe'](_0x1a6b6c);}['_channel'](_0x4cddfb){return''+this['_prefix']+_0x4cddfb;}['_subscribeChannel'](_0x3f5ca2){return this['_subscription']['subscribe'](_0x3f5ca2);}['_removeHandler'](_0xa4a897,_0x5528a6,_0x17786e,_0x39c0d8){_0x5528a6['delete'](_0x17786e),_0x5528a6['size']>0x0||this['_handlers']['get'](_0xa4a897)!==_0x5528a6||(this['_handlers']['delete'](_0xa4a897),_0x39c0d8&&!this['_disposed']&&this['_subscription']['unsubscribe']([_0xa4a897])['catch'](()=>void 0x0));}['_assertRunning'](){if(this['_disposed'])throw Error('RedisPubSubAdapter\x20is\x20disposed');}},c='univer-collab:',l=class{['_commands'];['_prefix'];['_disposed']=!0x1;constructor(_0x5ec9cd){this['_commands']=new i(_0x5ec9cd?.['client'],'client',{'tickets':!0x0}),this['_prefix']=_0x5ec9cd['keyPrefix']??c;}async['issue'](_0x3da512,_0xc7aed2){if(this['_assertRunning'](),!Number['isSafeInteger'](_0xc7aed2)||_0xc7aed2<=0x0)throw TypeError('Session\x20ticket\x20TTL\x20must\x20be\x20a\x20positive\x20safe\x20integer');if(typeof _0x3da512?.['userID']!='string'||!_0x3da512['userID'])throw TypeError('Session\x20ticket\x20userID\x20must\x20be\x20a\x20non-empty\x20string');let _0x33c35c=JSON['stringify']({'userID':_0x3da512['userID'],'customData':_0x3da512['customData']}),_0x2170b1=(0x0,e['randomBytes'])(0x20)['toString']('base64url');if(!await this['_commands']['setIfAbsent'](this['_key'](_0x2170b1),_0x33c35c,_0xc7aed2))throw Error('Session\x20ticket\x20collision');return _0x2170b1;}async['consume'](_0xf2c21){if(this['_disposed']||typeof _0xf2c21!='string'||!_0xf2c21)return null;let _0x274ecd=await this['_commands']['getDel'](this['_key'](_0xf2c21));if(_0x274ecd===null)return null;let _0x28e856=JSON['parse'](_0x274ecd),_0x5ddb68=Object['assign'](Object['create'](null),_0x28e856['customData']);return{'userID':_0x28e856['userID'],'customData':_0x5ddb68};}async['dispose'](){this['_disposed']=!0x0;}['_key'](_0x4343b0){return this['_prefix']+'session-ticket:'+_0x4343b0;}['_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(_0x41e0f8){return typeof _0x41e0f8['pSubscribe']=='function';}function n(_0x1f0030,_0x17b62b,..._0x515591){return _0x1f0030[_0x17b62b]['apply'](_0x1f0030,_0x515591);}function r(_0x2d9901,_0x1b77d7,_0x202d58){let _0x2ebe6a=_0x1b77d7['filter'](_0xed1244=>typeof _0x2d9901[_0xed1244]!='function');if(_0x2ebe6a['length']>0x0)throw TypeError(_0x202d58+'\x20is\x20missing\x20Redis\x20methods:\x20'+_0x2ebe6a['join'](',\x20'));}var i=class{['_client'];['_nodeRedis'];constructor(_0x2de2fb,_0x283a98,_0x5bfa19){if(this['_client']=_0x2de2fb,!_0x2de2fb||typeof _0x2de2fb!='object')throw TypeError(_0x283a98+'\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x2de2fb);let _0x499d13=[];_0x5bfa19['publish']&&_0x499d13['push'](_0x5bfa19['sharded']?this['_nodeRedis']?'sPublish':'spublish':'publish'),_0x5bfa19['tickets']&&_0x499d13['push']('set',this['_nodeRedis']?'getDel':'getdel'),r(_0x2de2fb,_0x499d13,_0x283a98);}['publish'](_0x10e4ef,_0x25e40c,_0xcaa4b1){let _0x32f214=_0xcaa4b1?this['_nodeRedis']?'sPublish':'spublish':'publish';return n(this['_client'],_0x32f214,_0x10e4ef,_0x25e40c);}async['setIfAbsent'](_0x32f799,_0x3d1e3b,_0x171203){return(this['_nodeRedis']?await n(this['_client'],'set',_0x32f799,_0x3d1e3b,{'PX':_0x171203,'NX':!0x0}):await n(this['_client'],'set',_0x32f799,_0x3d1e3b,'PX',_0x171203,'NX'))==='OK';}['getDel'](_0x3ba306){return n(this['_client'],this['_nodeRedis']?'getDel':'getdel',_0x3ba306);}},a=class{['_client'];['_sharded'];['_onMessage'];['_nodeRedis'];['_event'];['_listeners']=new Map();['_onIoRedisMessage'];constructor(_0x2950c3,_0x25689b,_0x382c18){if(this['_client']=_0x2950c3,this['_sharded']=_0x25689b,this['_onMessage']=_0x382c18,!_0x2950c3||typeof _0x2950c3!='object')throw TypeError('subClient\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x2950c3),this['_event']=_0x25689b?'smessage':'message',r(_0x2950c3,this['_nodeRedis']?_0x25689b?['sSubscribe','sUnsubscribe']:['subscribe','unsubscribe']:_0x25689b?['ssubscribe','sunsubscribe','on','off']:['subscribe','unsubscribe','on','off'],'subClient');let _0x14e71e=_0x2950c3;if(!this['_nodeRedis']&&_0x25689b&&_0x14e71e['isCluster']===!0x0&&_0x14e71e['options']?.['shardedSubscribers']!==!0x0)throw TypeError('subClient\x20is\x20an\x20ioredis\x20Cluster\x20without\x20{\x20shardedSubscribers:\x20true\x20},\x20required\x20for\x20sharded\x20pub/sub');this['_onIoRedisMessage']=(_0x429274,_0x57e071)=>this['_onMessage'](_0x429274,_0x57e071),this['_nodeRedis']||this['_client']['on'](this['_event'],this['_onIoRedisMessage']);}async['subscribe'](_0x5af321){if(!this['_nodeRedis']){await n(this['_client'],this['_sharded']?'ssubscribe':'subscribe',_0x5af321);return;}let _0x351142=(_0x8f7f4d,_0x5e437f)=>this['_onMessage'](_0x5e437f,_0x8f7f4d);this['_listeners']['set'](_0x5af321,_0x351142);try{await n(this['_client'],this['_sharded']?'sSubscribe':'subscribe',_0x5af321,_0x351142);}catch(_0x577c0c){throw this['_listeners']['get'](_0x5af321)===_0x351142&&this['_listeners']['delete'](_0x5af321),_0x577c0c;}}async['unsubscribe'](_0x410a44){if(!this['_nodeRedis']){if(this['_sharded']){let _0x5684d3=(await Promise['allSettled'](_0x410a44['map'](_0x13d62b=>n(this['_client'],'sunsubscribe',_0x13d62b))))['find'](_0x3c3a1b=>_0x3c3a1b['status']==='rejected');if(_0x5684d3)throw _0x5684d3['reason'];}else await n(this['_client'],'unsubscribe',..._0x410a44);return;}let _0x5103e2=(await Promise['allSettled'](_0x410a44['map'](_0x382bae=>{let _0x67794f=this['_listeners']['get'](_0x382bae);return this['_listeners']['delete'](_0x382bae),n(this['_client'],this['_sharded']?'sUnsubscribe':'unsubscribe',_0x382bae,_0x67794f);})))['find'](_0x639ce7=>_0x639ce7['status']==='rejected');if(_0x5103e2)throw _0x5103e2['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']=(_0x2f9bd1,_0x77c137)=>{for(let _0x3b53f9 of[...this['_handlers']['get'](_0x2f9bd1)??[]])try{_0x3b53f9(_0x77c137);}catch{}};['_disposed']=!0x1;constructor(_0x26c1c3){if(!_0x26c1c3?.['pubClient']||!_0x26c1c3['subClient'])throw TypeError('RedisPubSubAdapter\x20requires\x20pubClient\x20and\x20subClient');this['_prefix']=_0x26c1c3['keyPrefix']??o,this['_sharded']=_0x26c1c3['sharded']??!0x1,this['_commands']=new i(_0x26c1c3['pubClient'],'pubClient',{'publish':!0x0,'sharded':this['_sharded']}),this['_subscription']=new a(_0x26c1c3['subClient'],this['_sharded'],this['_onMessage']);}async['publish'](_0x368dbd,_0x1a248e){this['_assertRunning']();let _0x4962d3=this['_channel'](_0x368dbd);await this['_commands']['publish'](_0x4962d3,_0x1a248e,this['_sharded']);}async['subscribe'](_0x168f76,_0x43a6ab){this['_assertRunning']();let _0x2484aa=this['_channel'](_0x168f76),_0x2f9710=_0x5e4be9=>_0x43a6ab(_0x5e4be9),_0x4a12f5=this['_handlers']['get'](_0x2484aa);if(!_0x4a12f5){_0x4a12f5=new Set(),this['_handlers']['set'](_0x2484aa,_0x4a12f5);let _0x44c1bb=this['_subscribeChannel'](_0x2484aa);this['_subscribing']['set'](_0x2484aa,_0x44c1bb),_0x44c1bb['finally'](()=>{this['_subscribing']['get'](_0x2484aa)===_0x44c1bb&&this['_subscribing']['delete'](_0x2484aa);})['catch'](()=>void 0x0);}_0x4a12f5['add'](_0x2f9710);try{await this['_subscribing']['get'](_0x2484aa);}catch(_0x24182f){throw this['_removeHandler'](_0x2484aa,_0x4a12f5,_0x2f9710,!0x1),_0x24182f;}let _0x25e5dc=!0x1;return{'dispose':()=>{_0x25e5dc||(_0x25e5dc=!0x0,this['_removeHandler'](_0x2484aa,_0x4a12f5,_0x2f9710,!0x0));}};}async['dispose'](){if(this['_disposed'])return;this['_disposed']=!0x0,this['_subscription']['detach']();let _0x5e1b63=[...this['_handlers']['keys']()];this['_handlers']['clear'](),_0x5e1b63['length']>0x0&&await this['_subscription']['unsubscribe'](_0x5e1b63);}['_channel'](_0x50fa0b){return''+this['_prefix']+_0x50fa0b;}['_subscribeChannel'](_0x4fc9fb){return this['_subscription']['subscribe'](_0x4fc9fb);}['_removeHandler'](_0x74ed89,_0x1125d9,_0x7977a,_0x34f811){_0x1125d9['delete'](_0x7977a),_0x1125d9['size']>0x0||this['_handlers']['get'](_0x74ed89)!==_0x1125d9||(this['_handlers']['delete'](_0x74ed89),_0x34f811&&!this['_disposed']&&this['_subscription']['unsubscribe']([_0x74ed89])['catch'](()=>void 0x0));}['_assertRunning'](){if(this['_disposed'])throw Error('RedisPubSubAdapter\x20is\x20disposed');}},c='univer-collab:',l=class{['_commands'];['_prefix'];['_disposed']=!0x1;constructor(_0x4ca579){this['_commands']=new i(_0x4ca579?.['client'],'client',{'tickets':!0x0}),this['_prefix']=_0x4ca579['keyPrefix']??c;}async['issue'](_0x179a8d,_0x212050){if(this['_assertRunning'](),!Number['isSafeInteger'](_0x212050)||_0x212050<=0x0)throw TypeError('Session\x20ticket\x20TTL\x20must\x20be\x20a\x20positive\x20safe\x20integer');if(typeof _0x179a8d?.['userID']!='string'||!_0x179a8d['userID'])throw TypeError('Session\x20ticket\x20userID\x20must\x20be\x20a\x20non-empty\x20string');let _0x46f53e=JSON['stringify']({'userID':_0x179a8d['userID'],'customData':_0x179a8d['customData']}),_0x45eec4=(0x0,e['randomBytes'])(0x20)['toString']('base64url');if(!await this['_commands']['setIfAbsent'](this['_key'](_0x45eec4),_0x46f53e,_0x212050))throw Error('Session\x20ticket\x20collision');return _0x45eec4;}async['consume'](_0x4f752d){if(this['_disposed']||typeof _0x4f752d!='string'||!_0x4f752d)return null;let _0x1156a7=await this['_commands']['getDel'](this['_key'](_0x4f752d));if(_0x1156a7===null)return null;let _0x1330fa=JSON['parse'](_0x1156a7),_0x1371f9=Object['assign'](Object['create'](null),_0x1330fa['customData']);return{'userID':_0x1330fa['userID'],'customData':_0x1371f9};}async['dispose'](){this['_disposed']=!0x0;}['_key'](_0x27bf60){return this['_prefix']+'session-ticket:'+_0x27bf60;}['_assertRunning'](){if(this['_disposed'])throw Error('RedisSessionTicketStore\x20is\x20disposed');}};exports['RedisPubSubAdapter']=s,exports['RedisSessionTicketStore']=l;
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- const _0x41898d=_0x5382;(function(_0x7316a6,_0x3b9bbf){const _0x41b520=_0x5382,_0x4c7aa9=_0x7316a6();while(!![]){try{const _0x195627=-parseInt(_0x41b520(0xc4))/0x1*(-parseInt(_0x41b520(0xc7))/0x2)+parseInt(_0x41b520(0xcb))/0x3+parseInt(_0x41b520(0xc9))/0x4+-parseInt(_0x41b520(0xc8))/0x5*(parseInt(_0x41b520(0xc3))/0x6)+parseInt(_0x41b520(0xc6))/0x7*(-parseInt(_0x41b520(0xc2))/0x8)+-parseInt(_0x41b520(0xc5))/0x9+parseInt(_0x41b520(0xcc))/0xa;if(_0x195627===_0x3b9bbf)break;else _0x4c7aa9['push'](_0x4c7aa9['shift']());}catch(_0x392f29){_0x4c7aa9['push'](_0x4c7aa9['shift']());}}}(_0x5119,0x89e5b));import _0x4684ce from'./index.cjs';function _0x5382(_0x3ad870,_0xa9a14){_0x3ad870=_0x3ad870-0xc2;const _0x51196f=_0x5119();let _0x538260=_0x51196f[_0x3ad870];return _0x538260;}const facadeExport0=_0x4684ce['RedisPubSubAdapter'],facadeExport1=_0x4684ce[_0x41898d(0xca)];function _0x5119(){const _0x467c16=['8585620pjwXwV','80744NEUPkM','20874jdqcdF','983WcxpQQ','2319354GhqcXT','238HxVwYK','164rIzCvE','1335LWORUd','407600pcfUeD','RedisSessionTicketStore','3160560KtWzZa'];_0x5119=function(){return _0x467c16;};return _0x5119();}export{facadeExport0 as RedisPubSubAdapter,facadeExport1 as RedisSessionTicketStore};
1
+ function _0x14d8(_0xd28952,_0x33d63d){_0xd28952=_0xd28952-0x196;const _0x28dc2e=_0x28dc();let _0x14d8aa=_0x28dc2e[_0xd28952];return _0x14d8aa;}const _0x3d3b5f=_0x14d8;function _0x28dc(){const _0x262b93=['972GKBDMO','1914288ksiHIq','126qwZAiI','1cETOFB','156dRVkPf','RedisPubSubAdapter','729459vPZmGy','28430JIbYKP','3755873QJeEGq','459890aNVlNP','4985vUCMVL','RedisSessionTicketStore','22106IdoRaH'];_0x28dc=function(){return _0x262b93;};return _0x28dc();}(function(_0x5a7a02,_0x5d21e1){const _0x33c371=_0x14d8,_0xd01cb=_0x5a7a02();while(!![]){try{const _0x5796d5=-parseInt(_0x33c371(0x198))/0x1*(-parseInt(_0x33c371(0x19e))/0x2)+parseInt(_0x33c371(0x19b))/0x3+-parseInt(_0x33c371(0x1a2))/0x4*(parseInt(_0x33c371(0x19f))/0x5)+-parseInt(_0x33c371(0x199))/0x6*(-parseInt(_0x33c371(0x1a1))/0x7)+parseInt(_0x33c371(0x196))/0x8+parseInt(_0x33c371(0x197))/0x9*(-parseInt(_0x33c371(0x19c))/0xa)+-parseInt(_0x33c371(0x19d))/0xb;if(_0x5796d5===_0x5d21e1)break;else _0xd01cb['push'](_0xd01cb['shift']());}catch(_0x2dbc92){_0xd01cb['push'](_0xd01cb['shift']());}}}(_0x28dc,0x29be0));import _0x5ed896 from'./index.cjs';const facadeExport0=_0x5ed896[_0x3d3b5f(0x19a)],facadeExport1=_0x5ed896[_0x3d3b5f(0x1a0)];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.6.0",
7
+ "version": "1.6.1",
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.6.0",
23
- "@univerjs-pro/collaboration-service": "1.6.0"
22
+ "@univerjs-pro/collaboration-endpoint": "1.6.1",
23
+ "@univerjs-pro/collaboration-service": "1.6.1"
24
24
  }
25
25
  }