@univerjs-pro/collaboration-cluster-redis 1.4.0 → 1.6.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(_0x4f77f5){return typeof _0x4f77f5['pSubscribe']=='function';}function n(_0x14f3fe,_0x4ef502,..._0x24e68b){return _0x14f3fe[_0x4ef502]['apply'](_0x14f3fe,_0x24e68b);}function r(_0x189f33,_0x40957e,_0x2d118c){let _0x1417b0=_0x40957e['filter'](_0x20fe7b=>typeof _0x189f33[_0x20fe7b]!='function');if(_0x1417b0['length']>0x0)throw TypeError(_0x2d118c+'\x20is\x20missing\x20Redis\x20methods:\x20'+_0x1417b0['join'](',\x20'));}var i=class{['_client'];['_nodeRedis'];constructor(_0x4780b5,_0x1ebdcc,_0x237e1e){if(this['_client']=_0x4780b5,!_0x4780b5||typeof _0x4780b5!='object')throw TypeError(_0x1ebdcc+'\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x4780b5);let _0x688fdd=[];_0x237e1e['publish']&&_0x688fdd['push'](_0x237e1e['sharded']?this['_nodeRedis']?'sPublish':'spublish':'publish'),_0x237e1e['tickets']&&_0x688fdd['push']('set',this['_nodeRedis']?'getDel':'getdel'),r(_0x4780b5,_0x688fdd,_0x1ebdcc);}['publish'](_0x6f419f,_0x25d6fb,_0x124c71){let _0x445e16=_0x124c71?this['_nodeRedis']?'sPublish':'spublish':'publish';return n(this['_client'],_0x445e16,_0x6f419f,_0x25d6fb);}async['setIfAbsent'](_0x523a75,_0x4c1ce9,_0x4dbf43){return(this['_nodeRedis']?await n(this['_client'],'set',_0x523a75,_0x4c1ce9,{'PX':_0x4dbf43,'NX':!0x0}):await n(this['_client'],'set',_0x523a75,_0x4c1ce9,'PX',_0x4dbf43,'NX'))==='OK';}['getDel'](_0xae68fd){return n(this['_client'],this['_nodeRedis']?'getDel':'getdel',_0xae68fd);}},a=class{['_client'];['_sharded'];['_onMessage'];['_nodeRedis'];['_event'];['_listeners']=new Map();['_onIoRedisMessage'];constructor(_0x1d8813,_0x56deb2,_0x5a9f43){if(this['_client']=_0x1d8813,this['_sharded']=_0x56deb2,this['_onMessage']=_0x5a9f43,!_0x1d8813||typeof _0x1d8813!='object')throw TypeError('subClient\x20must\x20be\x20a\x20Redis\x20client');this['_nodeRedis']=t(_0x1d8813),this['_event']=_0x56deb2?'smessage':'message',r(_0x1d8813,this['_nodeRedis']?_0x56deb2?['sSubscribe','sUnsubscribe']:['subscribe','unsubscribe']:_0x56deb2?['ssubscribe','sunsubscribe','on','off']:['subscribe','unsubscribe','on','off'],'subClient');let _0xba2daa=_0x1d8813;if(!this['_nodeRedis']&&_0x56deb2&&_0xba2daa['isCluster']===!0x0&&_0xba2daa['options']?.['shardedSubscribers']!==!0x0)throw TypeError('subClient\x20is\x20an\x20ioredis\x20Cluster\x20without\x20{\x20shardedSubscribers:\x20true\x20},\x20required\x20for\x20sharded\x20pub/sub');this['_onIoRedisMessage']=(_0x133c88,_0x5a0ab0)=>this['_onMessage'](_0x133c88,_0x5a0ab0),this['_nodeRedis']||this['_client']['on'](this['_event'],this['_onIoRedisMessage']);}async['subscribe'](_0x2a7f81){if(!this['_nodeRedis']){await n(this['_client'],this['_sharded']?'ssubscribe':'subscribe',_0x2a7f81);return;}let _0x155eba=(_0x4b2e6a,_0x24cd8c)=>this['_onMessage'](_0x24cd8c,_0x4b2e6a);this['_listeners']['set'](_0x2a7f81,_0x155eba);try{await n(this['_client'],this['_sharded']?'sSubscribe':'subscribe',_0x2a7f81,_0x155eba);}catch(_0x5d43e0){throw this['_listeners']['get'](_0x2a7f81)===_0x155eba&&this['_listeners']['delete'](_0x2a7f81),_0x5d43e0;}}async['unsubscribe'](_0x3f776f){if(!this['_nodeRedis']){if(this['_sharded']){let _0x498968=(await Promise['allSettled'](_0x3f776f['map'](_0x10f476=>n(this['_client'],'sunsubscribe',_0x10f476))))['find'](_0x43847f=>_0x43847f['status']==='rejected');if(_0x498968)throw _0x498968['reason'];}else await n(this['_client'],'unsubscribe',..._0x3f776f);return;}let _0x1173f3=(await Promise['allSettled'](_0x3f776f['map'](_0xe5a037=>{let _0x196ff7=this['_listeners']['get'](_0xe5a037);return this['_listeners']['delete'](_0xe5a037),n(this['_client'],this['_sharded']?'sUnsubscribe':'unsubscribe',_0xe5a037,_0x196ff7);})))['find'](_0x32dda7=>_0x32dda7['status']==='rejected');if(_0x1173f3)throw _0x1173f3['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']=(_0x455045,_0x3c943d)=>{for(let _0xed6c7b of[...this['_handlers']['get'](_0x455045)??[]])try{_0xed6c7b(_0x3c943d);}catch{}};['_disposed']=!0x1;constructor(_0x371f69){if(!_0x371f69?.['pubClient']||!_0x371f69['subClient'])throw TypeError('RedisPubSubAdapter\x20requires\x20pubClient\x20and\x20subClient');this['_prefix']=_0x371f69['keyPrefix']??o,this['_sharded']=_0x371f69['sharded']??!0x1,this['_commands']=new i(_0x371f69['pubClient'],'pubClient',{'publish':!0x0,'sharded':this['_sharded']}),this['_subscription']=new a(_0x371f69['subClient'],this['_sharded'],this['_onMessage']);}async['publish'](_0x19162c,_0x221b94){this['_assertRunning']();let _0x478c46=this['_channel'](_0x19162c);await this['_commands']['publish'](_0x478c46,_0x221b94,this['_sharded']);}async['subscribe'](_0x55bc19,_0x471110){this['_assertRunning']();let _0x2d2659=this['_channel'](_0x55bc19),_0x250a34=_0x6b39db=>_0x471110(_0x6b39db),_0x23a105=this['_handlers']['get'](_0x2d2659);if(!_0x23a105){_0x23a105=new Set(),this['_handlers']['set'](_0x2d2659,_0x23a105);let _0x5aaf03=this['_subscribeChannel'](_0x2d2659);this['_subscribing']['set'](_0x2d2659,_0x5aaf03),_0x5aaf03['finally'](()=>{this['_subscribing']['get'](_0x2d2659)===_0x5aaf03&&this['_subscribing']['delete'](_0x2d2659);})['catch'](()=>void 0x0);}_0x23a105['add'](_0x250a34);try{await this['_subscribing']['get'](_0x2d2659);}catch(_0xe60fe5){throw this['_removeHandler'](_0x2d2659,_0x23a105,_0x250a34,!0x1),_0xe60fe5;}let _0x2f29ac=!0x1;return{'dispose':()=>{_0x2f29ac||(_0x2f29ac=!0x0,this['_removeHandler'](_0x2d2659,_0x23a105,_0x250a34,!0x0));}};}async['dispose'](){if(this['_disposed'])return;this['_disposed']=!0x0,this['_subscription']['detach']();let _0x3c15df=[...this['_handlers']['keys']()];this['_handlers']['clear'](),_0x3c15df['length']>0x0&&await this['_subscription']['unsubscribe'](_0x3c15df);}['_channel'](_0x3fb6d5){return''+this['_prefix']+_0x3fb6d5;}['_subscribeChannel'](_0x3d4a6d){return this['_subscription']['subscribe'](_0x3d4a6d);}['_removeHandler'](_0x587617,_0x5bb934,_0x50500a,_0xc2b51a){_0x5bb934['delete'](_0x50500a),!(_0x5bb934['size']>0x0||this['_handlers']['get'](_0x587617)!==_0x5bb934)&&(this['_handlers']['delete'](_0x587617),_0xc2b51a&&!this['_disposed']&&this['_subscription']['unsubscribe']([_0x587617])['catch'](()=>void 0x0));}['_assertRunning'](){if(this['_disposed'])throw Error('RedisPubSubAdapter\x20is\x20disposed');}},c='univer-collab:',l=class{['_commands'];['_prefix'];['_disposed']=!0x1;constructor(_0x4d3461){this['_commands']=new i(_0x4d3461?.['client'],'client',{'tickets':!0x0}),this['_prefix']=_0x4d3461['keyPrefix']??c;}async['issue'](_0x514338,_0xcc183c){if(this['_assertRunning'](),!Number['isSafeInteger'](_0xcc183c)||_0xcc183c<=0x0)throw TypeError('Session\x20ticket\x20TTL\x20must\x20be\x20a\x20positive\x20safe\x20integer');if(typeof _0x514338?.['userID']!='string'||!_0x514338['userID'])throw TypeError('Session\x20ticket\x20userID\x20must\x20be\x20a\x20non-empty\x20string');let _0x472587=JSON['stringify']({'userID':_0x514338['userID'],'customData':_0x514338['customData']}),_0x2b5fad=(0x0,e['randomBytes'])(0x20)['toString']('base64url');if(!await this['_commands']['setIfAbsent'](this['_key'](_0x2b5fad),_0x472587,_0xcc183c))throw Error('Session\x20ticket\x20collision');return _0x2b5fad;}async['consume'](_0x336369){if(this['_disposed']||typeof _0x336369!='string'||!_0x336369)return null;let _0x512b25=await this['_commands']['getDel'](this['_key'](_0x336369));if(_0x512b25===null)return null;let _0x406c1e=JSON['parse'](_0x512b25),_0x5b2250=Object['assign'](Object['create'](null),_0x406c1e['customData']);return{'userID':_0x406c1e['userID'],'customData':_0x5b2250};}async['dispose'](){this['_disposed']=!0x0;}['_key'](_0x58d855){return this['_prefix']+'session-ticket:'+_0x58d855;}['_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(_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;
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 _0x2c652b=_0x3978;(function(_0x59b841,_0x519821){const _0x4e9a52=_0x3978,_0x16dd75=_0x59b841();while(!![]){try{const _0x5834f2=parseInt(_0x4e9a52(0x1cc))/0x1*(-parseInt(_0x4e9a52(0x1cf))/0x2)+parseInt(_0x4e9a52(0x1c9))/0x3*(-parseInt(_0x4e9a52(0x1c6))/0x4)+parseInt(_0x4e9a52(0x1c8))/0x5+-parseInt(_0x4e9a52(0x1cb))/0x6*(parseInt(_0x4e9a52(0x1ce))/0x7)+parseInt(_0x4e9a52(0x1c7))/0x8+-parseInt(_0x4e9a52(0x1d0))/0x9+parseInt(_0x4e9a52(0x1c5))/0xa*(parseInt(_0x4e9a52(0x1ca))/0xb);if(_0x5834f2===_0x519821)break;else _0x16dd75['push'](_0x16dd75['shift']());}catch(_0x1a7326){_0x16dd75['push'](_0x16dd75['shift']());}}}(_0x3779,0x67dcd));import _0x139c24 from'./index.cjs';const facadeExport0=_0x139c24['RedisPubSubAdapter'],facadeExport1=_0x139c24[_0x2c652b(0x1cd)];export{facadeExport0 as RedisPubSubAdapter,facadeExport1 as RedisSessionTicketStore};function _0x3978(_0x1d144d,_0x11ef72){_0x1d144d=_0x1d144d-0x1c5;const _0x377904=_0x3779();let _0x3978fd=_0x377904[_0x1d144d];return _0x3978fd;}function _0x3779(){const _0x35b70b=['19641PUEVog','RedisSessionTicketStore','7zyzXqP','18CUYjLl','5712750CYTvZy','10310GetqUE','73548mTyomi','5313560HecwhT','3752960WZAUov','12nshqxA','1012IYOoue','1194906lTULGI'];_0x3779=function(){return _0x35b70b;};return _0x3779();}
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};
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "engines": {
5
5
  "node": ">=22"
6
6
  },
7
- "version": "1.4.0",
7
+ "version": "1.6.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.4.0",
23
- "@univerjs-pro/collaboration-service": "1.4.0"
22
+ "@univerjs-pro/collaboration-endpoint": "1.6.0",
23
+ "@univerjs-pro/collaboration-service": "1.6.0"
24
24
  }
25
25
  }