@univerjs-pro/collaboration-cluster-redis 1.6.2 → 1.7.0-alpha.0

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(_0x1c1754){return typeof _0x1c1754['pSubscribe']=='function';}function n(_0x3b46f3,_0x5d1087,..._0x3274b4){return _0x3b46f3[_0x5d1087]['apply'](_0x3b46f3,_0x3274b4);}function r(_0x2ad340,_0x2c9ee2,_0x14c5b2){let _0x39726b=_0x2c9ee2['filter'](_0x435a31=>typeof _0x2ad340[_0x435a31]!='function');if(_0x39726b['length']>0x0)throw TypeError(_0x14c5b2+'\x20is\x20missing\x20Redis\x20methods:\x20'+_0x39726b['join'](',\x20'));}var i=class{['_client'];['_nodeRedis'];constructor(_0x25fbaa,_0x127698,_0x1a051e){if(this['_client']=_0x25fbaa,!_0x25fbaa||typeof _0x25fbaa!='object')throw TypeError(_0x127698+'\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x25fbaa);let _0x7a8b2f=[];_0x1a051e['publish']&&_0x7a8b2f['push'](_0x1a051e['sharded']?this['_nodeRedis']?'sPublish':'spublish':'publish'),_0x1a051e['tickets']&&_0x7a8b2f['push']('set',this['_nodeRedis']?'getDel':'getdel'),r(_0x25fbaa,_0x7a8b2f,_0x127698);}['publish'](_0x51b699,_0xed2e24,_0x2368d7){let _0x346160=_0x2368d7?this['_nodeRedis']?'sPublish':'spublish':'publish';return n(this['_client'],_0x346160,_0x51b699,_0xed2e24);}async['setIfAbsent'](_0x55394f,_0x55952c,_0x50267c){return(this['_nodeRedis']?await n(this['_client'],'set',_0x55394f,_0x55952c,{'PX':_0x50267c,'NX':!0x0}):await n(this['_client'],'set',_0x55394f,_0x55952c,'PX',_0x50267c,'NX'))==='OK';}['getDel'](_0x550ecb){return n(this['_client'],this['_nodeRedis']?'getDel':'getdel',_0x550ecb);}},a=class{['_client'];['_sharded'];['_onMessage'];['_nodeRedis'];['_event'];['_listeners']=new Map();['_onIoRedisMessage'];constructor(_0x1e84f7,_0x316f93,_0x3c9186){if(this['_client']=_0x1e84f7,this['_sharded']=_0x316f93,this['_onMessage']=_0x3c9186,!_0x1e84f7||typeof _0x1e84f7!='object')throw TypeError('subClient\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x1e84f7),this['_event']=_0x316f93?'smessage':'message',r(_0x1e84f7,this['_nodeRedis']?_0x316f93?['sSubscribe','sUnsubscribe']:['subscribe','unsubscribe']:_0x316f93?['ssubscribe','sunsubscribe','on','off']:['subscribe','unsubscribe','on','off'],'subClient');let _0x22f342=_0x1e84f7;if(!this['_nodeRedis']&&_0x316f93&&_0x22f342['isCluster']===!0x0&&_0x22f342['options']?.['shardedSubscribers']!==!0x0)throw TypeError('subClient\x20is\x20an\x20ioredis\x20Cluster\x20without\x20{\x20shardedSubscribers:\x20true\x20},\x20required\x20for\x20sharded\x20pub/sub');this['_onIoRedisMessage']=(_0x2681a0,_0x47d5f9)=>this['_onMessage'](_0x2681a0,_0x47d5f9),this['_nodeRedis']||this['_client']['on'](this['_event'],this['_onIoRedisMessage']);}async['subscribe'](_0x47681d){if(!this['_nodeRedis']){await n(this['_client'],this['_sharded']?'ssubscribe':'subscribe',_0x47681d);return;}let _0x22432c=(_0x248eea,_0x453892)=>this['_onMessage'](_0x453892,_0x248eea);this['_listeners']['set'](_0x47681d,_0x22432c);try{await n(this['_client'],this['_sharded']?'sSubscribe':'subscribe',_0x47681d,_0x22432c);}catch(_0x4ef80e){throw this['_listeners']['get'](_0x47681d)===_0x22432c&&this['_listeners']['delete'](_0x47681d),_0x4ef80e;}}async['unsubscribe'](_0xad4399){if(!this['_nodeRedis']){if(this['_sharded']){let _0x48bf05=(await Promise['allSettled'](_0xad4399['map'](_0x24ccef=>n(this['_client'],'sunsubscribe',_0x24ccef))))['find'](_0x58d14e=>_0x58d14e['status']==='rejected');if(_0x48bf05)throw _0x48bf05['reason'];}else await n(this['_client'],'unsubscribe',..._0xad4399);return;}let _0x1eb780=(await Promise['allSettled'](_0xad4399['map'](_0x3bc2b4=>{let _0x438fe6=this['_listeners']['get'](_0x3bc2b4);return this['_listeners']['delete'](_0x3bc2b4),n(this['_client'],this['_sharded']?'sUnsubscribe':'unsubscribe',_0x3bc2b4,_0x438fe6);})))['find'](_0x77134f=>_0x77134f['status']==='rejected');if(_0x1eb780)throw _0x1eb780['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']=(_0x18fd4b,_0x6e5de4)=>{for(let _0x2bfcf1 of[...this['_handlers']['get'](_0x18fd4b)??[]])try{_0x2bfcf1(_0x6e5de4);}catch{}};['_disposed']=!0x1;constructor(_0x42e557){if(!_0x42e557?.['pubClient']||!_0x42e557['subClient'])throw TypeError('RedisPubSubAdapter\x20requires\x20pubClient\x20and\x20subClient');this['_prefix']=_0x42e557['keyPrefix']??o,this['_sharded']=_0x42e557['sharded']??!0x1,this['_commands']=new i(_0x42e557['pubClient'],'pubClient',{'publish':!0x0,'sharded':this['_sharded']}),this['_subscription']=new a(_0x42e557['subClient'],this['_sharded'],this['_onMessage']);}async['publish'](_0x3ffc29,_0x2a9901){this['_assertRunning']();let _0x308c0a=this['_channel'](_0x3ffc29);await this['_commands']['publish'](_0x308c0a,_0x2a9901,this['_sharded']);}async['subscribe'](_0x2535ad,_0x2504a1){this['_assertRunning']();let _0xd256a3=this['_channel'](_0x2535ad),_0x30a882=_0x21f9ba=>_0x2504a1(_0x21f9ba),_0x4433ad=this['_handlers']['get'](_0xd256a3);if(!_0x4433ad){_0x4433ad=new Set(),this['_handlers']['set'](_0xd256a3,_0x4433ad);let _0x478c83=this['_subscribeChannel'](_0xd256a3);this['_subscribing']['set'](_0xd256a3,_0x478c83),_0x478c83['finally'](()=>{this['_subscribing']['get'](_0xd256a3)===_0x478c83&&this['_subscribing']['delete'](_0xd256a3);})['catch'](()=>void 0x0);}_0x4433ad['add'](_0x30a882);try{await this['_subscribing']['get'](_0xd256a3);}catch(_0x1e175){throw this['_removeHandler'](_0xd256a3,_0x4433ad,_0x30a882,!0x1),_0x1e175;}let _0x485d9c=!0x1;return{'dispose':()=>{_0x485d9c||(_0x485d9c=!0x0,this['_removeHandler'](_0xd256a3,_0x4433ad,_0x30a882,!0x0));}};}async['dispose'](){if(this['_disposed'])return;this['_disposed']=!0x0,this['_subscription']['detach']();let _0x5d79ba=[...this['_handlers']['keys']()];this['_handlers']['clear'](),_0x5d79ba['length']>0x0&&await this['_subscription']['unsubscribe'](_0x5d79ba);}['_channel'](_0x3dd7e6){return''+this['_prefix']+_0x3dd7e6;}['_subscribeChannel'](_0x311aa9){return this['_subscription']['subscribe'](_0x311aa9);}['_removeHandler'](_0x2ecd19,_0x16edd2,_0x4636fe,_0x43aa14){_0x16edd2['delete'](_0x4636fe),_0x16edd2['size']>0x0||this['_handlers']['get'](_0x2ecd19)!==_0x16edd2||(this['_handlers']['delete'](_0x2ecd19),_0x43aa14&&!this['_disposed']&&this['_subscription']['unsubscribe']([_0x2ecd19])['catch'](()=>void 0x0));}['_assertRunning'](){if(this['_disposed'])throw Error('RedisPubSubAdapter\x20is\x20disposed');}},c='univer-collab:',l=class{['_commands'];['_prefix'];['_disposed']=!0x1;constructor(_0x40f932){this['_commands']=new i(_0x40f932?.['client'],'client',{'tickets':!0x0}),this['_prefix']=_0x40f932['keyPrefix']??c;}async['issue'](_0x587886,_0x1d6b07){if(this['_assertRunning'](),!Number['isSafeInteger'](_0x1d6b07)||_0x1d6b07<=0x0)throw TypeError('Session\x20ticket\x20TTL\x20must\x20be\x20a\x20positive\x20safe\x20integer');if(typeof _0x587886?.['userID']!='string'||!_0x587886['userID'])throw TypeError('Session\x20ticket\x20userID\x20must\x20be\x20a\x20non-empty\x20string');let _0x26ec5b=JSON['stringify']({'userID':_0x587886['userID'],'customData':_0x587886['customData']}),_0x401721=(0x0,e['randomBytes'])(0x20)['toString']('base64url');if(!await this['_commands']['setIfAbsent'](this['_key'](_0x401721),_0x26ec5b,_0x1d6b07))throw Error('Session\x20ticket\x20collision');return _0x401721;}async['consume'](_0x29d230){if(this['_disposed']||typeof _0x29d230!='string'||!_0x29d230)return null;let _0x146fbb=await this['_commands']['getDel'](this['_key'](_0x29d230));if(_0x146fbb===null)return null;let _0x4bfa37=JSON['parse'](_0x146fbb),_0x1982c3=Object['assign'](Object['create'](null),_0x4bfa37['customData']);return{'userID':_0x4bfa37['userID'],'customData':_0x1982c3};}async['dispose'](){this['_disposed']=!0x0;}['_key'](_0x5056f9){return this['_prefix']+'session-ticket:'+_0x5056f9;}['_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(_0x42e659){return typeof _0x42e659['pSubscribe']=='function';}function n(_0xbac8aa,_0xd137ca,..._0x6c1b2f){return _0xbac8aa[_0xd137ca]['apply'](_0xbac8aa,_0x6c1b2f);}function r(_0x348916,_0x4d6171,_0x2a8bb4){let _0x4bd2e1=_0x4d6171['filter'](_0x482402=>typeof _0x348916[_0x482402]!='function');if(_0x4bd2e1['length']>0x0)throw TypeError(_0x2a8bb4+'\x20is\x20missing\x20Redis\x20methods:\x20'+_0x4bd2e1['join'](',\x20'));}var i=class{['_client'];['_nodeRedis'];constructor(_0xa1e9f0,_0x277e34,_0x533165){if(this['_client']=_0xa1e9f0,!_0xa1e9f0||typeof _0xa1e9f0!='object')throw TypeError(_0x277e34+'\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0xa1e9f0);let _0x13c4b1=[];_0x533165['publish']&&_0x13c4b1['push'](_0x533165['sharded']?this['_nodeRedis']?'sPublish':'spublish':'publish'),_0x533165['tickets']&&_0x13c4b1['push']('set',this['_nodeRedis']?'getDel':'getdel'),r(_0xa1e9f0,_0x13c4b1,_0x277e34);}['publish'](_0x3d3056,_0x5f1f40,_0x2ec028){let _0x4524f3=_0x2ec028?this['_nodeRedis']?'sPublish':'spublish':'publish';return n(this['_client'],_0x4524f3,_0x3d3056,_0x5f1f40);}async['setIfAbsent'](_0x4db266,_0x4137fc,_0x5278d7){return(this['_nodeRedis']?await n(this['_client'],'set',_0x4db266,_0x4137fc,{'PX':_0x5278d7,'NX':!0x0}):await n(this['_client'],'set',_0x4db266,_0x4137fc,'PX',_0x5278d7,'NX'))==='OK';}['getDel'](_0x1c5ebe){return n(this['_client'],this['_nodeRedis']?'getDel':'getdel',_0x1c5ebe);}},a=class{['_client'];['_sharded'];['_onMessage'];['_nodeRedis'];['_event'];['_listeners']=new Map();['_onIoRedisMessage'];constructor(_0xe7bf0,_0x7c5711,_0x900ba3){if(this['_client']=_0xe7bf0,this['_sharded']=_0x7c5711,this['_onMessage']=_0x900ba3,!_0xe7bf0||typeof _0xe7bf0!='object')throw TypeError('subClient\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0xe7bf0),this['_event']=_0x7c5711?'smessage':'message',r(_0xe7bf0,this['_nodeRedis']?_0x7c5711?['sSubscribe','sUnsubscribe']:['subscribe','unsubscribe']:_0x7c5711?['ssubscribe','sunsubscribe','on','off']:['subscribe','unsubscribe','on','off'],'subClient');let _0x3fece6=_0xe7bf0;if(!this['_nodeRedis']&&_0x7c5711&&_0x3fece6['isCluster']===!0x0&&_0x3fece6['options']?.['shardedSubscribers']!==!0x0)throw TypeError('subClient\x20is\x20an\x20ioredis\x20Cluster\x20without\x20{\x20shardedSubscribers:\x20true\x20},\x20required\x20for\x20sharded\x20pub/sub');this['_onIoRedisMessage']=(_0x44f086,_0x1ae1fb)=>this['_onMessage'](_0x44f086,_0x1ae1fb),this['_nodeRedis']||this['_client']['on'](this['_event'],this['_onIoRedisMessage']);}async['subscribe'](_0x4bc319){if(!this['_nodeRedis']){await n(this['_client'],this['_sharded']?'ssubscribe':'subscribe',_0x4bc319);return;}let _0x4a5f6c=(_0x58e43f,_0x312a51)=>this['_onMessage'](_0x312a51,_0x58e43f);this['_listeners']['set'](_0x4bc319,_0x4a5f6c);try{await n(this['_client'],this['_sharded']?'sSubscribe':'subscribe',_0x4bc319,_0x4a5f6c);}catch(_0x4f23bb){throw this['_listeners']['get'](_0x4bc319)===_0x4a5f6c&&this['_listeners']['delete'](_0x4bc319),_0x4f23bb;}}async['unsubscribe'](_0x167527){if(!this['_nodeRedis']){if(this['_sharded']){let _0x420315=(await Promise['allSettled'](_0x167527['map'](_0x1fed6d=>n(this['_client'],'sunsubscribe',_0x1fed6d))))['find'](_0x24ce36=>_0x24ce36['status']==='rejected');if(_0x420315)throw _0x420315['reason'];}else await n(this['_client'],'unsubscribe',..._0x167527);return;}let _0x1c79a0=(await Promise['allSettled'](_0x167527['map'](_0x212a1b=>{let _0x15ef9e=this['_listeners']['get'](_0x212a1b);return this['_listeners']['delete'](_0x212a1b),n(this['_client'],this['_sharded']?'sUnsubscribe':'unsubscribe',_0x212a1b,_0x15ef9e);})))['find'](_0x3f382d=>_0x3f382d['status']==='rejected');if(_0x1c79a0)throw _0x1c79a0['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']=(_0x5eb232,_0x57c751)=>{for(let _0x1d13eb of[...this['_handlers']['get'](_0x5eb232)??[]])try{_0x1d13eb(_0x57c751);}catch{}};['_disposed']=!0x1;constructor(_0x15c3e5){if(!_0x15c3e5?.['pubClient']||!_0x15c3e5['subClient'])throw TypeError('RedisPubSubAdapter\x20requires\x20pubClient\x20and\x20subClient');this['_prefix']=_0x15c3e5['keyPrefix']??o,this['_sharded']=_0x15c3e5['sharded']??!0x1,this['_commands']=new i(_0x15c3e5['pubClient'],'pubClient',{'publish':!0x0,'sharded':this['_sharded']}),this['_subscription']=new a(_0x15c3e5['subClient'],this['_sharded'],this['_onMessage']);}async['publish'](_0x18b80c,_0x21f034){this['_assertRunning']();let _0x55cc5d=this['_channel'](_0x18b80c);await this['_commands']['publish'](_0x55cc5d,_0x21f034,this['_sharded']);}async['subscribe'](_0x534f09,_0x556493){this['_assertRunning']();let _0x16f0f1=this['_channel'](_0x534f09),_0x3cd2e2=_0x58711f=>_0x556493(_0x58711f),_0x1e1fea=this['_handlers']['get'](_0x16f0f1);if(!_0x1e1fea){_0x1e1fea=new Set(),this['_handlers']['set'](_0x16f0f1,_0x1e1fea);let _0x349318=this['_subscribeChannel'](_0x16f0f1);this['_subscribing']['set'](_0x16f0f1,_0x349318),_0x349318['finally'](()=>{this['_subscribing']['get'](_0x16f0f1)===_0x349318&&this['_subscribing']['delete'](_0x16f0f1);})['catch'](()=>void 0x0);}_0x1e1fea['add'](_0x3cd2e2);try{await this['_subscribing']['get'](_0x16f0f1);}catch(_0x5d6062){throw this['_removeHandler'](_0x16f0f1,_0x1e1fea,_0x3cd2e2,!0x1),_0x5d6062;}let _0x5bf35a=!0x1;return{'dispose':()=>{_0x5bf35a||(_0x5bf35a=!0x0,this['_removeHandler'](_0x16f0f1,_0x1e1fea,_0x3cd2e2,!0x0));}};}async['dispose'](){if(this['_disposed'])return;this['_disposed']=!0x0,this['_subscription']['detach']();let _0x3f5c3c=[...this['_handlers']['keys']()];this['_handlers']['clear'](),_0x3f5c3c['length']>0x0&&await this['_subscription']['unsubscribe'](_0x3f5c3c);}['_channel'](_0x2ace1c){return''+this['_prefix']+_0x2ace1c;}['_subscribeChannel'](_0x37bed6){return this['_subscription']['subscribe'](_0x37bed6);}['_removeHandler'](_0x1461d7,_0x2da215,_0x445d78,_0x40dac9){_0x2da215['delete'](_0x445d78),_0x2da215['size']>0x0||this['_handlers']['get'](_0x1461d7)!==_0x2da215||(this['_handlers']['delete'](_0x1461d7),_0x40dac9&&!this['_disposed']&&this['_subscription']['unsubscribe']([_0x1461d7])['catch'](()=>void 0x0));}['_assertRunning'](){if(this['_disposed'])throw Error('RedisPubSubAdapter\x20is\x20disposed');}},c='univer-collab:',l=class{['_commands'];['_prefix'];['_disposed']=!0x1;constructor(_0x27d1f0){this['_commands']=new i(_0x27d1f0?.['client'],'client',{'tickets':!0x0}),this['_prefix']=_0x27d1f0['keyPrefix']??c;}async['issue'](_0x2c05e2,_0x2cf761){if(this['_assertRunning'](),!Number['isSafeInteger'](_0x2cf761)||_0x2cf761<=0x0)throw TypeError('Session\x20ticket\x20TTL\x20must\x20be\x20a\x20positive\x20safe\x20integer');if(typeof _0x2c05e2?.['userID']!='string'||!_0x2c05e2['userID'])throw TypeError('Session\x20ticket\x20userID\x20must\x20be\x20a\x20non-empty\x20string');let _0x45e555=JSON['stringify']({'userID':_0x2c05e2['userID'],'customData':_0x2c05e2['customData']}),_0x26c941=(0x0,e['randomBytes'])(0x20)['toString']('base64url');if(!await this['_commands']['setIfAbsent'](this['_key'](_0x26c941),_0x45e555,_0x2cf761))throw Error('Session\x20ticket\x20collision');return _0x26c941;}async['consume'](_0x37108b){if(this['_disposed']||typeof _0x37108b!='string'||!_0x37108b)return null;let _0x3d2eee=await this['_commands']['getDel'](this['_key'](_0x37108b));if(_0x3d2eee===null)return null;let _0x61fa0a=JSON['parse'](_0x3d2eee),_0x2a74d7=Object['assign'](Object['create'](null),_0x61fa0a['customData']);return{'userID':_0x61fa0a['userID'],'customData':_0x2a74d7};}async['dispose'](){this['_disposed']=!0x0;}['_key'](_0x1bf039){return this['_prefix']+'session-ticket:'+_0x1bf039;}['_assertRunning'](){if(this['_disposed'])throw Error('RedisSessionTicketStore\x20is\x20disposed');}};exports['RedisPubSubAdapter']=s,exports['RedisSessionTicketStore']=l;
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- function _0x2ac4(){const _0x1481ae=['6606HKQKru','1600839WJouZq','10AfXqAX','81914844VSjMUZ','16216fBCOOu','6160liTloX','16551601pRIJok','RedisSessionTicketStore','9044dDXOBB','4884pXXbxv','3VGkQTS','7026uHDmvQ','2865424ScMZKN'];_0x2ac4=function(){return _0x1481ae;};return _0x2ac4();}const _0x47f73c=_0x36ee;(function(_0x456107,_0x4f34fa){const _0x4cbd8c=_0x36ee,_0x4d5627=_0x456107();while(!![]){try{const _0x52221d=parseInt(_0x4cbd8c(0x19f))/0x1+-parseInt(_0x4cbd8c(0x19d))/0x2*(parseInt(_0x4cbd8c(0x1a8))/0x3)+parseInt(_0x4cbd8c(0x1a7))/0x4*(-parseInt(_0x4cbd8c(0x1a3))/0x5)+-parseInt(_0x4cbd8c(0x19c))/0x6*(parseInt(_0x4cbd8c(0x1a6))/0x7)+parseInt(_0x4cbd8c(0x1a2))/0x8*(-parseInt(_0x4cbd8c(0x19e))/0x9)+-parseInt(_0x4cbd8c(0x1a0))/0xa*(parseInt(_0x4cbd8c(0x1a4))/0xb)+parseInt(_0x4cbd8c(0x1a1))/0xc;if(_0x52221d===_0x4f34fa)break;else _0x4d5627['push'](_0x4d5627['shift']());}catch(_0x5a74bd){_0x4d5627['push'](_0x4d5627['shift']());}}}(_0x2ac4,0xf064b));import _0x5cd0dc from'./index.cjs';function _0x36ee(_0x3477c8,_0x1abd2c){_0x3477c8=_0x3477c8-0x19c;const _0x2ac493=_0x2ac4();let _0x36ee50=_0x2ac493[_0x3477c8];return _0x36ee50;}const facadeExport0=_0x5cd0dc['RedisPubSubAdapter'],facadeExport1=_0x5cd0dc[_0x47f73c(0x1a5)];export{facadeExport0 as RedisPubSubAdapter,facadeExport1 as RedisSessionTicketStore};
1
+ const _0x54e015=_0x5364;(function(_0x1b94dc,_0x32a9c5){const _0x336751=_0x5364,_0x2a007f=_0x1b94dc();while(!![]){try{const _0x42a1b2=-parseInt(_0x336751(0x1fa))/0x1*(-parseInt(_0x336751(0x1f9))/0x2)+-parseInt(_0x336751(0x1f4))/0x3+-parseInt(_0x336751(0x1fd))/0x4+parseInt(_0x336751(0x1fc))/0x5+-parseInt(_0x336751(0x1f7))/0x6*(-parseInt(_0x336751(0x1f8))/0x7)+parseInt(_0x336751(0x1f5))/0x8+parseInt(_0x336751(0x1f6))/0x9*(-parseInt(_0x336751(0x1f3))/0xa);if(_0x42a1b2===_0x32a9c5)break;else _0x2a007f['push'](_0x2a007f['shift']());}catch(_0x56ae1f){_0x2a007f['push'](_0x2a007f['shift']());}}}(_0xbe84,0xc8d2f));function _0xbe84(){const _0x4a043c=['7gXIezQ','350718Aunvhj','3BaqfUc','RedisPubSubAdapter','3336030jqbyLg','5645324gqjpLS','67750kRdHFd','654852xZKcdh','1147008tbEbcj','558aUJPUP','9213486zOGNhD'];_0xbe84=function(){return _0x4a043c;};return _0xbe84();}function _0x5364(_0x1376b5,_0x32ed9a){_0x1376b5=_0x1376b5-0x1f3;const _0xbe842b=_0xbe84();let _0x5364bb=_0xbe842b[_0x1376b5];return _0x5364bb;}import _0x22a844 from'./index.cjs';const facadeExport0=_0x22a844[_0x54e015(0x1fb)],facadeExport1=_0x22a844['RedisSessionTicketStore'];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.2",
7
+ "version": "1.7.0-alpha.0",
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.2",
23
- "@univerjs-pro/collaboration-service": "1.6.2"
22
+ "@univerjs-pro/collaboration-endpoint": "1.7.0-alpha.0",
23
+ "@univerjs-pro/collaboration-service": "1.7.0-alpha.0"
24
24
  }
25
25
  }