@univerjs-pro/collaboration-cluster-redis 1.2.0 → 1.3.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(_0x4b23c6){return typeof _0x4b23c6['pSubscribe']=='function';}function n(_0x59d45d,_0x46b32e,..._0x13c238){return _0x59d45d[_0x46b32e]['apply'](_0x59d45d,_0x13c238);}function r(_0x1bdba2,_0x9de1cc,_0x17078a){let _0x2040b4=_0x9de1cc['filter'](_0x51db24=>typeof _0x1bdba2[_0x51db24]!='function');if(_0x2040b4['length']>0x0)throw TypeError(_0x17078a+'\x20is\x20missing\x20Redis\x20methods:\x20'+_0x2040b4['join'](',\x20'));}var i=class{['_client'];['_nodeRedis'];constructor(_0x4d226a,_0x57dfc0,_0x295b07){if(this['_client']=_0x4d226a,!_0x4d226a||typeof _0x4d226a!='object')throw TypeError(_0x57dfc0+'\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x4d226a);let _0x28e91d=[];_0x295b07['publish']&&_0x28e91d['push'](_0x295b07['sharded']?this['_nodeRedis']?'sPublish':'spublish':'publish'),_0x295b07['tickets']&&_0x28e91d['push']('set',this['_nodeRedis']?'getDel':'getdel'),r(_0x4d226a,_0x28e91d,_0x57dfc0);}['publish'](_0x5b3fa9,_0x903a83,_0x147917){let _0x89a729=_0x147917?this['_nodeRedis']?'sPublish':'spublish':'publish';return n(this['_client'],_0x89a729,_0x5b3fa9,_0x903a83);}async['setIfAbsent'](_0x1daa6a,_0x3552f6,_0xee6c0a){return(this['_nodeRedis']?await n(this['_client'],'set',_0x1daa6a,_0x3552f6,{'PX':_0xee6c0a,'NX':!0x0}):await n(this['_client'],'set',_0x1daa6a,_0x3552f6,'PX',_0xee6c0a,'NX'))==='OK';}['getDel'](_0x4a2346){return n(this['_client'],this['_nodeRedis']?'getDel':'getdel',_0x4a2346);}},a=class{['_client'];['_sharded'];['_onMessage'];['_nodeRedis'];['_event'];['_listeners']=new Map();['_onIoRedisMessage'];constructor(_0x55d669,_0x436ade,_0x22c837){if(this['_client']=_0x55d669,this['_sharded']=_0x436ade,this['_onMessage']=_0x22c837,!_0x55d669||typeof _0x55d669!='object')throw TypeError('subClient\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x55d669),this['_event']=_0x436ade?'smessage':'message',r(_0x55d669,this['_nodeRedis']?_0x436ade?['sSubscribe','sUnsubscribe']:['subscribe','unsubscribe']:_0x436ade?['ssubscribe','sunsubscribe','on','off']:['subscribe','unsubscribe','on','off'],'subClient');let _0x4fd077=_0x55d669;if(!this['_nodeRedis']&&_0x436ade&&_0x4fd077['isCluster']===!0x0&&_0x4fd077['options']?.['shardedSubscribers']!==!0x0)throw TypeError('subClient\x20is\x20an\x20ioredis\x20Cluster\x20without\x20{\x20shardedSubscribers:\x20true\x20},\x20required\x20for\x20sharded\x20pub/sub');this['_onIoRedisMessage']=(_0x3a0d4b,_0x260d6f)=>this['_onMessage'](_0x3a0d4b,_0x260d6f),this['_nodeRedis']||this['_client']['on'](this['_event'],this['_onIoRedisMessage']);}async['subscribe'](_0xe0f541){if(!this['_nodeRedis']){await n(this['_client'],this['_sharded']?'ssubscribe':'subscribe',_0xe0f541);return;}let _0x9fbda9=(_0x79c00d,_0x4e3f6e)=>this['_onMessage'](_0x4e3f6e,_0x79c00d);this['_listeners']['set'](_0xe0f541,_0x9fbda9);try{await n(this['_client'],this['_sharded']?'sSubscribe':'subscribe',_0xe0f541,_0x9fbda9);}catch(_0x26eef9){throw this['_listeners']['get'](_0xe0f541)===_0x9fbda9&&this['_listeners']['delete'](_0xe0f541),_0x26eef9;}}async['unsubscribe'](_0x43f178){if(!this['_nodeRedis']){if(this['_sharded']){let _0x5095a2=(await Promise['allSettled'](_0x43f178['map'](_0xc78e48=>n(this['_client'],'sunsubscribe',_0xc78e48))))['find'](_0x3b8244=>_0x3b8244['status']==='rejected');if(_0x5095a2)throw _0x5095a2['reason'];}else await n(this['_client'],'unsubscribe',..._0x43f178);return;}let _0x17f8d4=(await Promise['allSettled'](_0x43f178['map'](_0x75d015=>{let _0xa4efce=this['_listeners']['get'](_0x75d015);return this['_listeners']['delete'](_0x75d015),n(this['_client'],this['_sharded']?'sUnsubscribe':'unsubscribe',_0x75d015,_0xa4efce);})))['find'](_0x137338=>_0x137338['status']==='rejected');if(_0x17f8d4)throw _0x17f8d4['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']=(_0x414ef6,_0x3b0892)=>{for(let _0x1de81c of[...this['_handlers']['get'](_0x414ef6)??[]])try{_0x1de81c(_0x3b0892);}catch{}};['_disposed']=!0x1;constructor(_0x594612){if(!_0x594612?.['pubClient']||!_0x594612['subClient'])throw TypeError('RedisPubSubAdapter\x20requires\x20pubClient\x20and\x20subClient');this['_prefix']=_0x594612['keyPrefix']??o,this['_sharded']=_0x594612['sharded']??!0x1,this['_commands']=new i(_0x594612['pubClient'],'pubClient',{'publish':!0x0,'sharded':this['_sharded']}),this['_subscription']=new a(_0x594612['subClient'],this['_sharded'],this['_onMessage']);}async['publish'](_0x1d9d6b,_0x18e890){this['_assertRunning']();let _0xa70dfb=this['_channel'](_0x1d9d6b);await this['_commands']['publish'](_0xa70dfb,_0x18e890,this['_sharded']);}async['subscribe'](_0x436668,_0x507b92){this['_assertRunning']();let _0x20f4cc=this['_channel'](_0x436668),_0x50524a=_0x355caf=>_0x507b92(_0x355caf),_0x16e138=this['_handlers']['get'](_0x20f4cc);if(!_0x16e138){_0x16e138=new Set(),this['_handlers']['set'](_0x20f4cc,_0x16e138);let _0x475bdb=this['_subscribeChannel'](_0x20f4cc);this['_subscribing']['set'](_0x20f4cc,_0x475bdb),_0x475bdb['finally'](()=>{this['_subscribing']['get'](_0x20f4cc)===_0x475bdb&&this['_subscribing']['delete'](_0x20f4cc);})['catch'](()=>void 0x0);}_0x16e138['add'](_0x50524a);try{await this['_subscribing']['get'](_0x20f4cc);}catch(_0x25990b){throw this['_removeHandler'](_0x20f4cc,_0x16e138,_0x50524a,!0x1),_0x25990b;}let _0x1f4306=!0x1;return{'dispose':()=>{_0x1f4306||(_0x1f4306=!0x0,this['_removeHandler'](_0x20f4cc,_0x16e138,_0x50524a,!0x0));}};}async['dispose'](){if(this['_disposed'])return;this['_disposed']=!0x0,this['_subscription']['detach']();let _0x33feb3=[...this['_handlers']['keys']()];this['_handlers']['clear'](),_0x33feb3['length']>0x0&&await this['_subscription']['unsubscribe'](_0x33feb3);}['_channel'](_0x219828){return''+this['_prefix']+_0x219828;}['_subscribeChannel'](_0x5e6ec5){return this['_subscription']['subscribe'](_0x5e6ec5);}['_removeHandler'](_0x5d75d1,_0x2c3bbf,_0x5d2b79,_0x545d1b){_0x2c3bbf['delete'](_0x5d2b79),!(_0x2c3bbf['size']>0x0||this['_handlers']['get'](_0x5d75d1)!==_0x2c3bbf)&&(this['_handlers']['delete'](_0x5d75d1),_0x545d1b&&!this['_disposed']&&this['_subscription']['unsubscribe']([_0x5d75d1])['catch'](()=>void 0x0));}['_assertRunning'](){if(this['_disposed'])throw Error('RedisPubSubAdapter\x20is\x20disposed');}},c='univer-collab:',l=class{['_commands'];['_prefix'];['_disposed']=!0x1;constructor(_0x566840){this['_commands']=new i(_0x566840?.['client'],'client',{'tickets':!0x0}),this['_prefix']=_0x566840['keyPrefix']??c;}async['issue'](_0x31b38f,_0x8f9bd7){if(this['_assertRunning'](),!Number['isSafeInteger'](_0x8f9bd7)||_0x8f9bd7<=0x0)throw TypeError('Session\x20ticket\x20TTL\x20must\x20be\x20a\x20positive\x20safe\x20integer');if(typeof _0x31b38f?.['userID']!='string'||!_0x31b38f['userID'])throw TypeError('Session\x20ticket\x20userID\x20must\x20be\x20a\x20non-empty\x20string');let _0x4316f0=JSON['stringify']({'userID':_0x31b38f['userID'],'customData':_0x31b38f['customData']}),_0x482f05=(0x0,e['randomBytes'])(0x20)['toString']('base64url');if(!await this['_commands']['setIfAbsent'](this['_key'](_0x482f05),_0x4316f0,_0x8f9bd7))throw Error('Session\x20ticket\x20collision');return _0x482f05;}async['consume'](_0x1c3b91){if(this['_disposed']||typeof _0x1c3b91!='string'||!_0x1c3b91)return null;let _0x4821df=await this['_commands']['getDel'](this['_key'](_0x1c3b91));if(_0x4821df===null)return null;let _0x1b5944=JSON['parse'](_0x4821df),_0x64f19e=Object['assign'](Object['create'](null),_0x1b5944['customData']);return{'userID':_0x1b5944['userID'],'customData':_0x64f19e};}async['dispose'](){this['_disposed']=!0x0;}['_key'](_0x1ba05e){return this['_prefix']+'session-ticket:'+_0x1ba05e;}['_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(_0x120e15){return typeof _0x120e15['pSubscribe']=='function';}function n(_0x3bf0eb,_0x14402c,..._0x1a4dd4){return _0x3bf0eb[_0x14402c]['apply'](_0x3bf0eb,_0x1a4dd4);}function r(_0x442d23,_0x2219a4,_0x592d68){let _0x363e4d=_0x2219a4['filter'](_0xec22fb=>typeof _0x442d23[_0xec22fb]!='function');if(_0x363e4d['length']>0x0)throw TypeError(_0x592d68+'\x20is\x20missing\x20Redis\x20methods:\x20'+_0x363e4d['join'](',\x20'));}var i=class{['_client'];['_nodeRedis'];constructor(_0x4dfc77,_0x5cf574,_0x59ab68){if(this['_client']=_0x4dfc77,!_0x4dfc77||typeof _0x4dfc77!='object')throw TypeError(_0x5cf574+'\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x4dfc77);let _0x4cd8c6=[];_0x59ab68['publish']&&_0x4cd8c6['push'](_0x59ab68['sharded']?this['_nodeRedis']?'sPublish':'spublish':'publish'),_0x59ab68['tickets']&&_0x4cd8c6['push']('set',this['_nodeRedis']?'getDel':'getdel'),r(_0x4dfc77,_0x4cd8c6,_0x5cf574);}['publish'](_0x2cef25,_0x1809f9,_0x4fc8a4){let _0x1d6368=_0x4fc8a4?this['_nodeRedis']?'sPublish':'spublish':'publish';return n(this['_client'],_0x1d6368,_0x2cef25,_0x1809f9);}async['setIfAbsent'](_0x201a9d,_0x1f1238,_0x41df29){return(this['_nodeRedis']?await n(this['_client'],'set',_0x201a9d,_0x1f1238,{'PX':_0x41df29,'NX':!0x0}):await n(this['_client'],'set',_0x201a9d,_0x1f1238,'PX',_0x41df29,'NX'))==='OK';}['getDel'](_0x59e597){return n(this['_client'],this['_nodeRedis']?'getDel':'getdel',_0x59e597);}},a=class{['_client'];['_sharded'];['_onMessage'];['_nodeRedis'];['_event'];['_listeners']=new Map();['_onIoRedisMessage'];constructor(_0x5e6d06,_0x434d50,_0x2e2d98){if(this['_client']=_0x5e6d06,this['_sharded']=_0x434d50,this['_onMessage']=_0x2e2d98,!_0x5e6d06||typeof _0x5e6d06!='object')throw TypeError('subClient\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x5e6d06),this['_event']=_0x434d50?'smessage':'message',r(_0x5e6d06,this['_nodeRedis']?_0x434d50?['sSubscribe','sUnsubscribe']:['subscribe','unsubscribe']:_0x434d50?['ssubscribe','sunsubscribe','on','off']:['subscribe','unsubscribe','on','off'],'subClient');let _0x27067d=_0x5e6d06;if(!this['_nodeRedis']&&_0x434d50&&_0x27067d['isCluster']===!0x0&&_0x27067d['options']?.['shardedSubscribers']!==!0x0)throw TypeError('subClient\x20is\x20an\x20ioredis\x20Cluster\x20without\x20{\x20shardedSubscribers:\x20true\x20},\x20required\x20for\x20sharded\x20pub/sub');this['_onIoRedisMessage']=(_0x104d5d,_0x91de4b)=>this['_onMessage'](_0x104d5d,_0x91de4b),this['_nodeRedis']||this['_client']['on'](this['_event'],this['_onIoRedisMessage']);}async['subscribe'](_0x1eb59b){if(!this['_nodeRedis']){await n(this['_client'],this['_sharded']?'ssubscribe':'subscribe',_0x1eb59b);return;}let _0x472aa2=(_0x2ea998,_0x3892c7)=>this['_onMessage'](_0x3892c7,_0x2ea998);this['_listeners']['set'](_0x1eb59b,_0x472aa2);try{await n(this['_client'],this['_sharded']?'sSubscribe':'subscribe',_0x1eb59b,_0x472aa2);}catch(_0x198638){throw this['_listeners']['get'](_0x1eb59b)===_0x472aa2&&this['_listeners']['delete'](_0x1eb59b),_0x198638;}}async['unsubscribe'](_0x1de220){if(!this['_nodeRedis']){if(this['_sharded']){let _0x1669c4=(await Promise['allSettled'](_0x1de220['map'](_0x19768d=>n(this['_client'],'sunsubscribe',_0x19768d))))['find'](_0x4e042a=>_0x4e042a['status']==='rejected');if(_0x1669c4)throw _0x1669c4['reason'];}else await n(this['_client'],'unsubscribe',..._0x1de220);return;}let _0x535275=(await Promise['allSettled'](_0x1de220['map'](_0x17311f=>{let _0x5d04eb=this['_listeners']['get'](_0x17311f);return this['_listeners']['delete'](_0x17311f),n(this['_client'],this['_sharded']?'sUnsubscribe':'unsubscribe',_0x17311f,_0x5d04eb);})))['find'](_0x14f6b0=>_0x14f6b0['status']==='rejected');if(_0x535275)throw _0x535275['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']=(_0x458885,_0x2f3d33)=>{for(let _0x35ea65 of[...this['_handlers']['get'](_0x458885)??[]])try{_0x35ea65(_0x2f3d33);}catch{}};['_disposed']=!0x1;constructor(_0x3a71bb){if(!_0x3a71bb?.['pubClient']||!_0x3a71bb['subClient'])throw TypeError('RedisPubSubAdapter\x20requires\x20pubClient\x20and\x20subClient');this['_prefix']=_0x3a71bb['keyPrefix']??o,this['_sharded']=_0x3a71bb['sharded']??!0x1,this['_commands']=new i(_0x3a71bb['pubClient'],'pubClient',{'publish':!0x0,'sharded':this['_sharded']}),this['_subscription']=new a(_0x3a71bb['subClient'],this['_sharded'],this['_onMessage']);}async['publish'](_0x5b571b,_0x31cfb7){this['_assertRunning']();let _0x385c38=this['_channel'](_0x5b571b);await this['_commands']['publish'](_0x385c38,_0x31cfb7,this['_sharded']);}async['subscribe'](_0x329f1b,_0x14c089){this['_assertRunning']();let _0x25d6d4=this['_channel'](_0x329f1b),_0x8d3745=_0x3abf48=>_0x14c089(_0x3abf48),_0x3a180d=this['_handlers']['get'](_0x25d6d4);if(!_0x3a180d){_0x3a180d=new Set(),this['_handlers']['set'](_0x25d6d4,_0x3a180d);let _0x32f093=this['_subscribeChannel'](_0x25d6d4);this['_subscribing']['set'](_0x25d6d4,_0x32f093),_0x32f093['finally'](()=>{this['_subscribing']['get'](_0x25d6d4)===_0x32f093&&this['_subscribing']['delete'](_0x25d6d4);})['catch'](()=>void 0x0);}_0x3a180d['add'](_0x8d3745);try{await this['_subscribing']['get'](_0x25d6d4);}catch(_0x3ffb9){throw this['_removeHandler'](_0x25d6d4,_0x3a180d,_0x8d3745,!0x1),_0x3ffb9;}let _0x26a579=!0x1;return{'dispose':()=>{_0x26a579||(_0x26a579=!0x0,this['_removeHandler'](_0x25d6d4,_0x3a180d,_0x8d3745,!0x0));}};}async['dispose'](){if(this['_disposed'])return;this['_disposed']=!0x0,this['_subscription']['detach']();let _0x13e4a5=[...this['_handlers']['keys']()];this['_handlers']['clear'](),_0x13e4a5['length']>0x0&&await this['_subscription']['unsubscribe'](_0x13e4a5);}['_channel'](_0x5d9ae7){return''+this['_prefix']+_0x5d9ae7;}['_subscribeChannel'](_0x66def7){return this['_subscription']['subscribe'](_0x66def7);}['_removeHandler'](_0x4814d5,_0x23dd0d,_0x33efed,_0x9d45ed){_0x23dd0d['delete'](_0x33efed),!(_0x23dd0d['size']>0x0||this['_handlers']['get'](_0x4814d5)!==_0x23dd0d)&&(this['_handlers']['delete'](_0x4814d5),_0x9d45ed&&!this['_disposed']&&this['_subscription']['unsubscribe']([_0x4814d5])['catch'](()=>void 0x0));}['_assertRunning'](){if(this['_disposed'])throw Error('RedisPubSubAdapter\x20is\x20disposed');}},c='univer-collab:',l=class{['_commands'];['_prefix'];['_disposed']=!0x1;constructor(_0x49220f){this['_commands']=new i(_0x49220f?.['client'],'client',{'tickets':!0x0}),this['_prefix']=_0x49220f['keyPrefix']??c;}async['issue'](_0xb5a1e5,_0x26e135){if(this['_assertRunning'](),!Number['isSafeInteger'](_0x26e135)||_0x26e135<=0x0)throw TypeError('Session\x20ticket\x20TTL\x20must\x20be\x20a\x20positive\x20safe\x20integer');if(typeof _0xb5a1e5?.['userID']!='string'||!_0xb5a1e5['userID'])throw TypeError('Session\x20ticket\x20userID\x20must\x20be\x20a\x20non-empty\x20string');let _0x22c27f=JSON['stringify']({'userID':_0xb5a1e5['userID'],'customData':_0xb5a1e5['customData']}),_0xdfe00e=(0x0,e['randomBytes'])(0x20)['toString']('base64url');if(!await this['_commands']['setIfAbsent'](this['_key'](_0xdfe00e),_0x22c27f,_0x26e135))throw Error('Session\x20ticket\x20collision');return _0xdfe00e;}async['consume'](_0xa9738f){if(this['_disposed']||typeof _0xa9738f!='string'||!_0xa9738f)return null;let _0x2133fd=await this['_commands']['getDel'](this['_key'](_0xa9738f));if(_0x2133fd===null)return null;let _0x226f8d=JSON['parse'](_0x2133fd),_0x128860=Object['assign'](Object['create'](null),_0x226f8d['customData']);return{'userID':_0x226f8d['userID'],'customData':_0x128860};}async['dispose'](){this['_disposed']=!0x0;}['_key'](_0x166a6e){return this['_prefix']+'session-ticket:'+_0x166a6e;}['_assertRunning'](){if(this['_disposed'])throw Error('RedisSessionTicketStore\x20is\x20disposed');}};exports['RedisPubSubAdapter']=s,exports['RedisSessionTicketStore']=l;
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- function _0x12d7(_0x337ed6,_0x5b5fb2){_0x337ed6=_0x337ed6-0xc6;const _0x5ca394=_0x5ca3();let _0x12d7fc=_0x5ca394[_0x337ed6];return _0x12d7fc;}function _0x5ca3(){const _0x519542=['10834713PQsxEY','2jKDTsd','3161529ABtFZH','RedisPubSubAdapter','10UhtBSP','181797VYzWTM','145510fFrOCS','1555936AWTcDv','1155954saqRBt','5bvKPNI','161328dqdhAp','RedisSessionTicketStore'];_0x5ca3=function(){return _0x519542;};return _0x5ca3();}const _0x56fbe8=_0x12d7;(function(_0x553592,_0x4fe05b){const _0x4fc738=_0x12d7,_0x296d4b=_0x553592();while(!![]){try{const _0xbe0b1b=-parseInt(_0x4fc738(0xca))/0x1*(parseInt(_0x4fc738(0xd1))/0x2)+parseInt(_0x4fc738(0xc9))/0x3+-parseInt(_0x4fc738(0xce))/0x4+parseInt(_0x4fc738(0xcd))/0x5*(-parseInt(_0x4fc738(0xcc))/0x6)+-parseInt(_0x4fc738(0xc6))/0x7+-parseInt(_0x4fc738(0xcb))/0x8+parseInt(_0x4fc738(0xd0))/0x9*(parseInt(_0x4fc738(0xc8))/0xa);if(_0xbe0b1b===_0x4fe05b)break;else _0x296d4b['push'](_0x296d4b['shift']());}catch(_0x32db7e){_0x296d4b['push'](_0x296d4b['shift']());}}}(_0x5ca3,0x3a8c8));import _0x3f52e0 from'./index.cjs';const facadeExport0=_0x3f52e0[_0x56fbe8(0xc7)],facadeExport1=_0x3f52e0[_0x56fbe8(0xcf)];export{facadeExport0 as RedisPubSubAdapter,facadeExport1 as RedisSessionTicketStore};
1
+ const _0x304e00=_0x2ff9;function _0x3748(){const _0x4d8c48=['139QKMsYd','17990jfgCBA','4MeviNQ','7234TgWvUJ','9rDhmhl','RedisPubSubAdapter','4411MOCbLi','9019656IoLxjj','6622696eJncmU','2954049PCxBIo','6DTMBzB','3906055QjQiwK','1643091RsCOvl'];_0x3748=function(){return _0x4d8c48;};return _0x3748();}(function(_0x35df78,_0x5afb65){const _0x2572d9=_0x2ff9,_0x164457=_0x35df78();while(!![]){try{const _0x5bb4bb=parseInt(_0x2572d9(0x1b9))/0x1*(parseInt(_0x2572d9(0x1bc))/0x2)+-parseInt(_0x2572d9(0x1b8))/0x3*(-parseInt(_0x2572d9(0x1bb))/0x4)+parseInt(_0x2572d9(0x1b7))/0x5*(parseInt(_0x2572d9(0x1b6))/0x6)+-parseInt(_0x2572d9(0x1b5))/0x7+parseInt(_0x2572d9(0x1c1))/0x8*(-parseInt(_0x2572d9(0x1bd))/0x9)+-parseInt(_0x2572d9(0x1ba))/0xa*(-parseInt(_0x2572d9(0x1bf))/0xb)+-parseInt(_0x2572d9(0x1c0))/0xc;if(_0x5bb4bb===_0x5afb65)break;else _0x164457['push'](_0x164457['shift']());}catch(_0x20e082){_0x164457['push'](_0x164457['shift']());}}}(_0x3748,0x86aa4));import _0x207288 from'./index.cjs';function _0x2ff9(_0x536d26,_0x4acbd2){_0x536d26=_0x536d26-0x1b5;const _0x374816=_0x3748();let _0x2ff919=_0x374816[_0x536d26];return _0x2ff919;}const facadeExport0=_0x207288[_0x304e00(0x1be)],facadeExport1=_0x207288['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.2.0",
7
+ "version": "1.3.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.2.0",
23
- "@univerjs-pro/collaboration-service": "1.2.0"
22
+ "@univerjs-pro/collaboration-endpoint": "1.3.0",
23
+ "@univerjs-pro/collaboration-service": "1.3.0"
24
24
  }
25
25
  }