@univerjs-pro/collaboration-comment-endpoint 1.0.0-rc.0 → 1.0.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('@univerjs-pro/collaboration-service'),t=require('@univerjs-pro/collaboration-transport-node'),n=require('@univerjs/protocol');var r={'code':n['ErrorCode']['OK'],'message':''},i=class{['_service'];['_roomHost'];['_protocolBasePath'];['_subscription'];['_calls']=new Set();['_disposed']=!0x1;['_disposePromise'];constructor(_0x359347){if(!_0x359347?.['service'])throw TypeError('UniverCommentEndpoint\x20requires\x20a\x20service');if(!_0x359347?.['roomHost'])throw TypeError('UniverCommentEndpoint\x20requires\x20a\x20roomHost');this['_service']=_0x359347['service'],this['_roomHost']=_0x359347['roomHost'],this['_protocolBasePath']=f(_0x359347['protocolBasePath']??'/universer-api'),this['_subscription']=this['_service']['on']('commentCommitted',_0x50f5c7=>this['_track'](this['_publish'](_0x50f5c7)));}['register'](_0x1cfeb3){if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Comment\x20Endpoint\x20is\x20disposed');let _0x2c0417=_0x20a63f=>_0x549d55=>this['_track'](this['_handleHttp'](_0x549d55,{'action':_0x20a63f,'unitID':_0x549d55['params']['unitID']}));for(let _0x17a97b of['add','list','reply','solved','edit','delete'])_0x1cfeb3['post'](this['_protocolBasePath']+'/comment/unit/:unitID/'+_0x17a97b,_0x2c0417(_0x17a97b));_0x1cfeb3['get'](this['_protocolBasePath']+'/comment/unit/:unitID/list',_0x2c0417('list'));}['dispose'](){return this['_disposePromise']?this['_disposePromise']:(this['_disposed']=!0x0,this['_subscription']['dispose'](),this['_disposePromise']=Promise['allSettled']([...this['_calls']])['then'](()=>void 0x0),this['_disposePromise']);}['_track'](_0x3490ab){return this['_calls']['add'](_0x3490ab),_0x3490ab['finally'](()=>this['_calls']['delete'](_0x3490ab))['catch'](()=>void 0x0),_0x3490ab;}async['_handleHttp'](_0x54ac93,_0x1e45af){try{if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Comment\x20Endpoint\x20is\x20disposed');let _0x42b4c6=new URL(_0x54ac93['incomingMessage']['url']??'/','http://localhost');if(!_0x1e45af['unitID']||_0x1e45af['unitID']['includes']('/'))throw d('Invalid\x20route\x20unitId');if(!_0x54ac93['userID'])throw new e['CollabError']('UNAUTHENTICATED','HTTP\x20user\x20is\x20not\x20authenticated');if(_0x1e45af['action']==='list'){let _0x41abaf=a(_0x54ac93['incomingMessage']['method']==='GET'?{'unitId':_0x1e45af['unitID'],'threadId':_0x42b4c6['searchParams']['getAll']('threadId')}:await _0x54ac93['readJson'](),_0x1e45af['unitID']),_0x1dfb63=await this['_service']['listComments']({'unitID':_0x1e45af['unitID'],'threadIDs':_0x41abaf['threadId']},{'userID':_0x54ac93['userID'],'customData':_0x54ac93['customData']});h(_0x54ac93['response'],0xc8,{'error':r,..._0x1dfb63});return;}let _0x599a57=o(await _0x54ac93['readJson']());if(s(_0x599a57['unitId'],'unitId')!==_0x1e45af['unitID'])throw d('Route\x20and\x20body\x20unitId\x20must\x20match');let _0x22fbea=s(_0x599a57['memberId'],'memberId'),_0x149897=this['_resolveWriteSession'](_0x1e45af['action'],_0x1e45af['unitID'],_0x22fbea,_0x54ac93['userID']),_0x29e5b3={'userID':_0x54ac93['userID'],'memberID':_0x149897['memberID'],'customData':_0x54ac93['customData']};switch(_0x1e45af['action']){case'add':{let _0x3dfac6=await this['_service']['addComment']({'unitID':_0x1e45af['unitID'],'content':s(_0x599a57['content'],'content'),'mentions':l(_0x599a57['mention'],'mention')},_0x29e5b3);h(_0x54ac93['response'],0xc8,{'error':r,'comment':_0x3dfac6});return;}case'reply':{let _0x27c346=await this['_service']['replyComment']({'unitID':_0x1e45af['unitID'],'threadID':s(_0x599a57['threadId'],'threadId'),'content':s(_0x599a57['content'],'content'),'mentions':l(_0x599a57['mention'],'mention')},_0x29e5b3);h(_0x54ac93['response'],0xc8,{'error':r,'reply':_0x27c346});return;}case'solved':{let _0x24fa27=u(_0x599a57['solved']);await this['_service']['setThreadSolved']({'unitID':_0x1e45af['unitID'],'threadID':s(_0x599a57['threadId'],'threadId'),'solved':_0x24fa27},_0x29e5b3),h(_0x54ac93['response'],0xc8,{'error':r});return;}case'edit':await this['_service']['editComment']({'unitID':_0x1e45af['unitID'],'threadID':s(_0x599a57['threadId'],'threadId'),'replyID':s(_0x599a57['replyId'],'replyId'),'content':s(_0x599a57['content'],'content'),'mentions':l(_0x599a57['mention'],'mention')},_0x29e5b3),h(_0x54ac93['response'],0xc8,{'error':r});return;case'delete':await this['_service']['deleteComment']({'unitID':_0x1e45af['unitID'],'threadID':s(_0x599a57['threadId'],'threadId'),...c(_0x599a57['replyId'],'replyId')},_0x29e5b3),h(_0x54ac93['response'],0xc8,{'error':r});return;}}catch(_0x512ad5){p(_0x54ac93['response'],_0x512ad5,_0x1e45af['action']);}}['_resolveWriteSession'](_0x5f3628,_0x1448df,_0x113cb5,_0x50e4e6){let _0xa6abb1=this['_roomHost']['findJoinedSession']({'unitID':_0x1448df,'memberID':_0x113cb5,'authenticatedUserID':_0x50e4e6});if(_0xa6abb1)return _0xa6abb1;if(_0x5f3628==='solved'&&_0x113cb5===_0x50e4e6){let _0x2a66a4=this['_roomHost']['findJoinedSessionByUser']({'unitID':_0x1448df,'authenticatedUserID':_0x50e4e6});if(_0x2a66a4)return _0x2a66a4;}throw new e['CollabError']('PERMISSION_DENIED','Comment\x20member\x20is\x20not\x20an\x20authenticated\x20joined\x20Session');}async['_publish'](_0x13d4ac){try{await this['_roomHost']['publishTrustedUnitEvent']({'unitID':_0x13d4ac['update']['unitId'],'memberID':_0x13d4ac['memberID'],'eventID':'comment_update','data':{'commentUpdateEvent':_0x13d4ac['update']}});}catch{}}};function a(_0x4252c4,_0x188463){let _0x1576d9=o(_0x4252c4),_0x1122ac=s(_0x1576d9['unitId'],'unitId');if(_0x1122ac!==_0x188463)throw d('Route\x20and\x20body\x20unitId\x20must\x20match');return{'unitId':_0x1122ac,'threadId':l(_0x1576d9['threadId'],'threadId')};}function o(_0x5c4946){if(!_0x5c4946||typeof _0x5c4946!='object'||Array['isArray'](_0x5c4946))throw d('Request\x20body\x20must\x20be\x20an\x20object');return _0x5c4946;}function s(_0x552423,_0x475f93){if(typeof _0x552423!='string'||_0x552423['length']===0x0)throw d(_0x475f93+'\x20must\x20be\x20a\x20non-empty\x20string');return _0x552423;}function c(_0x19fd63,_0x1a7929){return _0x19fd63==null||_0x19fd63===''?{}:{'replyID':s(_0x19fd63,_0x1a7929)};}function l(_0x335e26,_0xb2739a){if(!Array['isArray'](_0x335e26)||_0x335e26['some'](_0x4ba7d9=>typeof _0x4ba7d9!='string'||_0x4ba7d9['length']===0x0))throw d(_0xb2739a+'\x20must\x20be\x20an\x20array\x20of\x20non-empty\x20strings');return[..._0x335e26];}function u(_0x124589){if(_0x124589!==n['CommentSolvedStatus']['OpenOrReOpen']&&_0x124589!==n['CommentSolvedStatus']['Solved'])throw d('solved\x20must\x20be\x20OpenOrReOpen\x20or\x20Solved');return _0x124589;}function d(_0x322fe9){return new e['CollabError']('INVALID_REQUEST',_0x322fe9);}function f(_0x1c3782){if(!_0x1c3782['startsWith']('/')||_0x1c3782==='/'||_0x1c3782['endsWith']('/')||_0x1c3782['includes']('//'))throw TypeError('protocolBasePath\x20must\x20be\x20an\x20absolute\x20path\x20without\x20a\x20trailing\x20slash');return _0x1c3782;}function p(_0x293968,_0x4afbaf,_0x3e05c8){let _0x455703=m(_0x4afbaf),_0x586f=_0x3e05c8==='list'?{'comments':{},'users':{}}:_0x3e05c8==='add'?{'comment':void 0x0}:_0x3e05c8==='reply'?{'reply':void 0x0}:{};h(_0x293968,_0x455703['status'],{'error':_0x455703['error'],..._0x586f});}function m(_0xdc3a53){if(_0xdc3a53 instanceof t['NodeTransportError'])return _0xdc3a53['code']==='REQUEST_BODY_TOO_LARGE'?{'status':0x19d,'error':{'code':n['ErrorCode']['INVALID_ARGUMENT'],'message':_0xdc3a53['message']}}:_0xdc3a53['code']==='INVALID_JSON'||_0xdc3a53['code']==='REQUEST_ABORTED'?{'status':0x190,'error':{'code':n['ErrorCode']['INVALID_ARGUMENT'],'message':_0xdc3a53['message']}}:{'status':0x1f7,'error':{'code':n['ErrorCode']['INTERNAL_ERROR'],'message':_0xdc3a53['message']}};if(!(_0xdc3a53 instanceof e['CollabError']))return{'status':0x1f4,'error':{'code':n['ErrorCode']['INTERNAL_ERROR'],'message':'Internal\x20error'}};let [_0x3eb003,_0x10efe1]=((()=>{switch(_0xdc3a53['code']){case'INVALID_REQUEST':return[0x190,n['ErrorCode']['INVALID_ARGUMENT']];case'UNAUTHENTICATED':return[0x191,n['ErrorCode']['UNAUTHENTICATED']];case'PERMISSION_DENIED':return[0x193,n['ErrorCode']['PERMISSION_DENIED']];case'UNIT_NOT_FOUND':return[0x194,n['ErrorCode']['NOT_FOUND']];case'ADAPTER_FAILURE':return[0x1f7,n['ErrorCode']['INTERNAL_ERROR']];default:return[0x1f4,n['ErrorCode']['INTERNAL_ERROR']];}})());return{'status':_0x3eb003,'error':{'code':_0x10efe1,'message':_0xdc3a53['message']}};}function h(_0x5cbb05,_0x2a938c,_0x165570){_0x5cbb05['writableEnded']||(_0x5cbb05['statusCode']=_0x2a938c,_0x5cbb05['setHeader']('content-type','application/json;\x20charset=utf-8'),_0x5cbb05['end'](JSON['stringify'](_0x165570)));}exports['UniverCommentEndpoint']=i;
1
+ Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});let e=require('@univerjs-pro/collaboration-service'),t=require('@univerjs-pro/collaboration-transport-node'),n=require('@univerjs/protocol');var r={'code':n['ErrorCode']['OK'],'message':''},i=class{['_service'];['_roomHost'];['_protocolBasePath'];['_subscription'];['_calls']=new Set();['_disposed']=!0x1;['_disposePromise'];constructor(_0x2f8212){if(!_0x2f8212?.['service'])throw TypeError('UniverCommentEndpoint\x20requires\x20a\x20service');if(!_0x2f8212?.['roomHost'])throw TypeError('UniverCommentEndpoint\x20requires\x20a\x20roomHost');this['_service']=_0x2f8212['service'],this['_roomHost']=_0x2f8212['roomHost'],this['_protocolBasePath']=f(_0x2f8212['protocolBasePath']??'/universer-api'),this['_subscription']=this['_service']['on']('commentCommitted',_0x118302=>this['_track'](this['_publish'](_0x118302)));}['register'](_0x5d225f){if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Comment\x20Endpoint\x20is\x20disposed');let _0x48464b=_0x56ff51=>_0x50687a=>this['_track'](this['_handleHttp'](_0x50687a,{'action':_0x56ff51,'unitID':_0x50687a['params']['unitID']}));for(let _0x52e9d5 of['add','list','reply','solved','edit','delete'])_0x5d225f['post'](this['_protocolBasePath']+'/comment/unit/:unitID/'+_0x52e9d5,_0x48464b(_0x52e9d5));_0x5d225f['get'](this['_protocolBasePath']+'/comment/unit/:unitID/list',_0x48464b('list'));}['dispose'](){return this['_disposePromise']?this['_disposePromise']:(this['_disposed']=!0x0,this['_subscription']['dispose'](),this['_disposePromise']=Promise['allSettled']([...this['_calls']])['then'](()=>void 0x0),this['_disposePromise']);}['_track'](_0x59b72d){return this['_calls']['add'](_0x59b72d),_0x59b72d['finally'](()=>this['_calls']['delete'](_0x59b72d))['catch'](()=>void 0x0),_0x59b72d;}async['_handleHttp'](_0x22c36a,_0x1abdf8){try{if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Comment\x20Endpoint\x20is\x20disposed');let _0x28ac61=new URL(_0x22c36a['incomingMessage']['url']??'/','http://localhost');if(!_0x1abdf8['unitID']||_0x1abdf8['unitID']['includes']('/'))throw d('Invalid\x20route\x20unitId');if(!_0x22c36a['userID'])throw new e['CollabError']('UNAUTHENTICATED','HTTP\x20user\x20is\x20not\x20authenticated');if(_0x1abdf8['action']==='list'){let _0x502e82=a(_0x22c36a['incomingMessage']['method']==='GET'?{'unitId':_0x1abdf8['unitID'],'threadId':_0x28ac61['searchParams']['getAll']('threadId')}:await _0x22c36a['readJson'](),_0x1abdf8['unitID']),_0x5a39ef=await this['_service']['listComments']({'unitID':_0x1abdf8['unitID'],'threadIDs':_0x502e82['threadId']},{'userID':_0x22c36a['userID'],'customData':_0x22c36a['customData']});h(_0x22c36a['response'],0xc8,{'error':r,..._0x5a39ef});return;}let _0x2bae0a=o(await _0x22c36a['readJson']());if(s(_0x2bae0a['unitId'],'unitId')!==_0x1abdf8['unitID'])throw d('Route\x20and\x20body\x20unitId\x20must\x20match');let _0xb43ec3=s(_0x2bae0a['memberId'],'memberId'),_0x400634=this['_resolveWriteSession'](_0x1abdf8['action'],_0x1abdf8['unitID'],_0xb43ec3,_0x22c36a['userID']),_0xce8b88={'userID':_0x22c36a['userID'],'memberID':_0x400634['memberID'],'customData':_0x22c36a['customData']};switch(_0x1abdf8['action']){case'add':{let _0x448d54=await this['_service']['addComment']({'unitID':_0x1abdf8['unitID'],'content':s(_0x2bae0a['content'],'content'),'mentions':l(_0x2bae0a['mention'],'mention')},_0xce8b88);h(_0x22c36a['response'],0xc8,{'error':r,'comment':_0x448d54});return;}case'reply':{let _0x2b5342=await this['_service']['replyComment']({'unitID':_0x1abdf8['unitID'],'threadID':s(_0x2bae0a['threadId'],'threadId'),'content':s(_0x2bae0a['content'],'content'),'mentions':l(_0x2bae0a['mention'],'mention')},_0xce8b88);h(_0x22c36a['response'],0xc8,{'error':r,'reply':_0x2b5342});return;}case'solved':{let _0x56dd3c=u(_0x2bae0a['solved']);await this['_service']['setThreadSolved']({'unitID':_0x1abdf8['unitID'],'threadID':s(_0x2bae0a['threadId'],'threadId'),'solved':_0x56dd3c},_0xce8b88),h(_0x22c36a['response'],0xc8,{'error':r});return;}case'edit':await this['_service']['editComment']({'unitID':_0x1abdf8['unitID'],'threadID':s(_0x2bae0a['threadId'],'threadId'),'replyID':s(_0x2bae0a['replyId'],'replyId'),'content':s(_0x2bae0a['content'],'content'),'mentions':l(_0x2bae0a['mention'],'mention')},_0xce8b88),h(_0x22c36a['response'],0xc8,{'error':r});return;case'delete':await this['_service']['deleteComment']({'unitID':_0x1abdf8['unitID'],'threadID':s(_0x2bae0a['threadId'],'threadId'),...c(_0x2bae0a['replyId'],'replyId')},_0xce8b88),h(_0x22c36a['response'],0xc8,{'error':r});return;}}catch(_0x56551f){p(_0x22c36a['response'],_0x56551f,_0x1abdf8['action']);}}['_resolveWriteSession'](_0x2ad7c4,_0x1ba319,_0x1dd74d,_0x400ab7){let _0x29d1c0=this['_roomHost']['findJoinedSession']({'unitID':_0x1ba319,'memberID':_0x1dd74d,'authenticatedUserID':_0x400ab7});if(_0x29d1c0)return _0x29d1c0;if(_0x2ad7c4==='solved'&&_0x1dd74d===_0x400ab7){let _0x4c8e29=this['_roomHost']['findJoinedSessionByUser']({'unitID':_0x1ba319,'authenticatedUserID':_0x400ab7});if(_0x4c8e29)return _0x4c8e29;}throw new e['CollabError']('PERMISSION_DENIED','Comment\x20member\x20is\x20not\x20an\x20authenticated\x20joined\x20Session');}async['_publish'](_0x2eb502){try{await this['_roomHost']['publishTrustedUnitEvent']({'unitID':_0x2eb502['update']['unitId'],'memberID':_0x2eb502['memberID'],'eventID':'comment_update','data':{'commentUpdateEvent':_0x2eb502['update']}});}catch{}}};function a(_0x3038bd,_0x4cad43){let _0x257076=o(_0x3038bd),_0x32d162=s(_0x257076['unitId'],'unitId');if(_0x32d162!==_0x4cad43)throw d('Route\x20and\x20body\x20unitId\x20must\x20match');return{'unitId':_0x32d162,'threadId':l(_0x257076['threadId'],'threadId')};}function o(_0x27de56){if(!_0x27de56||typeof _0x27de56!='object'||Array['isArray'](_0x27de56))throw d('Request\x20body\x20must\x20be\x20an\x20object');return _0x27de56;}function s(_0x4872f3,_0x28b3e7){if(typeof _0x4872f3!='string'||_0x4872f3['length']===0x0)throw d(_0x28b3e7+'\x20must\x20be\x20a\x20non-empty\x20string');return _0x4872f3;}function c(_0x3e739d,_0x3e4fed){return _0x3e739d==null||_0x3e739d===''?{}:{'replyID':s(_0x3e739d,_0x3e4fed)};}function l(_0x1c5721,_0x5c8098){if(!Array['isArray'](_0x1c5721)||_0x1c5721['some'](_0x1a3bf5=>typeof _0x1a3bf5!='string'||_0x1a3bf5['length']===0x0))throw d(_0x5c8098+'\x20must\x20be\x20an\x20array\x20of\x20non-empty\x20strings');return[..._0x1c5721];}function u(_0x33efa4){if(_0x33efa4!==n['CommentSolvedStatus']['OpenOrReOpen']&&_0x33efa4!==n['CommentSolvedStatus']['Solved'])throw d('solved\x20must\x20be\x20OpenOrReOpen\x20or\x20Solved');return _0x33efa4;}function d(_0xefe562){return new e['CollabError']('INVALID_REQUEST',_0xefe562);}function f(_0x1f9606){if(!_0x1f9606['startsWith']('/')||_0x1f9606==='/'||_0x1f9606['endsWith']('/')||_0x1f9606['includes']('//'))throw TypeError('protocolBasePath\x20must\x20be\x20an\x20absolute\x20path\x20without\x20a\x20trailing\x20slash');return _0x1f9606;}function p(_0x1cdfc4,_0x2021a6,_0x2a94cb){let _0x5133bf=m(_0x2021a6),_0x4e1032=_0x2a94cb==='list'?{'comments':{},'users':{}}:_0x2a94cb==='add'?{'comment':void 0x0}:_0x2a94cb==='reply'?{'reply':void 0x0}:{};h(_0x1cdfc4,_0x5133bf['status'],{'error':_0x5133bf['error'],..._0x4e1032});}function m(_0x352e5b){if(_0x352e5b instanceof t['NodeTransportError'])return _0x352e5b['code']==='REQUEST_BODY_TOO_LARGE'?{'status':0x19d,'error':{'code':n['ErrorCode']['INVALID_ARGUMENT'],'message':_0x352e5b['message']}}:_0x352e5b['code']==='INVALID_JSON'||_0x352e5b['code']==='REQUEST_ABORTED'?{'status':0x190,'error':{'code':n['ErrorCode']['INVALID_ARGUMENT'],'message':_0x352e5b['message']}}:{'status':0x1f7,'error':{'code':n['ErrorCode']['INTERNAL_ERROR'],'message':_0x352e5b['message']}};if(!(_0x352e5b instanceof e['CollabError']))return{'status':0x1f4,'error':{'code':n['ErrorCode']['INTERNAL_ERROR'],'message':'Internal\x20error'}};let [_0x3dba41,_0x28658d]=((()=>{switch(_0x352e5b['code']){case'INVALID_REQUEST':return[0x190,n['ErrorCode']['INVALID_ARGUMENT']];case'UNAUTHENTICATED':return[0x191,n['ErrorCode']['UNAUTHENTICATED']];case'PERMISSION_DENIED':return[0x193,n['ErrorCode']['PERMISSION_DENIED']];case'UNIT_NOT_FOUND':return[0x194,n['ErrorCode']['NOT_FOUND']];case'ADAPTER_FAILURE':return[0x1f7,n['ErrorCode']['INTERNAL_ERROR']];default:return[0x1f4,n['ErrorCode']['INTERNAL_ERROR']];}})());return{'status':_0x3dba41,'error':{'code':_0x28658d,'message':_0x352e5b['message']}};}function h(_0x11391a,_0x5dec0d,_0x47ce83){_0x11391a['writableEnded']||(_0x11391a['statusCode']=_0x5dec0d,_0x11391a['setHeader']('content-type','application/json;\x20charset=utf-8'),_0x11391a['end'](JSON['stringify'](_0x47ce83)));}exports['UniverCommentEndpoint']=i;
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- function _0x2d73(_0x2990c0,_0x442694){_0x2990c0=_0x2990c0-0x1ac;const _0x461c78=_0x461c();let _0x2d73c6=_0x461c78[_0x2990c0];return _0x2d73c6;}const _0x5c0a4e=_0x2d73;(function(_0x571914,_0x2bdf7a){const _0x2f2a44=_0x2d73,_0x3bf3ff=_0x571914();while(!![]){try{const _0x11aaa1=parseInt(_0x2f2a44(0x1b7))/0x1*(parseInt(_0x2f2a44(0x1b5))/0x2)+-parseInt(_0x2f2a44(0x1b1))/0x3*(-parseInt(_0x2f2a44(0x1ae))/0x4)+parseInt(_0x2f2a44(0x1b3))/0x5*(parseInt(_0x2f2a44(0x1b2))/0x6)+-parseInt(_0x2f2a44(0x1b4))/0x7+parseInt(_0x2f2a44(0x1ad))/0x8+parseInt(_0x2f2a44(0x1b6))/0x9+-parseInt(_0x2f2a44(0x1ac))/0xa*(parseInt(_0x2f2a44(0x1af))/0xb);if(_0x11aaa1===_0x2bdf7a)break;else _0x3bf3ff['push'](_0x3bf3ff['shift']());}catch(_0x5714fb){_0x3bf3ff['push'](_0x3bf3ff['shift']());}}}(_0x461c,0x5904b));function _0x461c(){const _0x2f5ad3=['24069947knBmnY','UniverCommentEndpoint','1970874FaxdzG','682566JaItVH','25iFWrSA','1867747LRPyvT','284038zbmtjY','2777085nLAtEk','5gRORcN','10avMGYW','4601552DDBSMy','4nkklts'];_0x461c=function(){return _0x2f5ad3;};return _0x461c();}import _0x49f739 from'./index.cjs';const facadeExport0=_0x49f739[_0x5c0a4e(0x1b0)];export{facadeExport0 as UniverCommentEndpoint};
1
+ const _0xe9cf81=_0x5ded;(function(_0x5c64dc,_0x10b19d){const _0xc3ed1d=_0x5ded,_0x414062=_0x5c64dc();while(!![]){try{const _0x50a14d=parseInt(_0xc3ed1d(0xd6))/0x1*(parseInt(_0xc3ed1d(0xdd))/0x2)+parseInt(_0xc3ed1d(0xdf))/0x3*(parseInt(_0xc3ed1d(0xdb))/0x4)+-parseInt(_0xc3ed1d(0xda))/0x5*(-parseInt(_0xc3ed1d(0xd5))/0x6)+-parseInt(_0xc3ed1d(0xd9))/0x7*(-parseInt(_0xc3ed1d(0xd8))/0x8)+-parseInt(_0xc3ed1d(0xe0))/0x9+-parseInt(_0xc3ed1d(0xe1))/0xa*(parseInt(_0xc3ed1d(0xdc))/0xb)+-parseInt(_0xc3ed1d(0xd7))/0xc;if(_0x50a14d===_0x10b19d)break;else _0x414062['push'](_0x414062['shift']());}catch(_0x31869e){_0x414062['push'](_0x414062['shift']());}}}(_0x4ca7,0xd15cb));function _0x5ded(_0x46176a,_0x1d528e){_0x46176a=_0x46176a-0xd5;const _0x4ca799=_0x4ca7();let _0x5dedab=_0x4ca799[_0x46176a];return _0x5dedab;}import _0x36975f from'./index.cjs';const facadeExport0=_0x36975f[_0xe9cf81(0xde)];function _0x4ca7(){const _0x3526c2=['9184164rBkTMt','8496RHafXJ','5852JxlhYw','160ongSgW','15532GSxAgN','9027733ajipPW','4244TkrRWP','UniverCommentEndpoint','429pwGfmZ','2878398WqSOXz','10ZpXtBY','29922pXEsYb','547POzVNe'];_0x4ca7=function(){return _0x3526c2;};return _0x4ca7();}export{facadeExport0 as UniverCommentEndpoint};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@univerjs-pro/collaboration-comment-endpoint",
3
3
  "type": "module",
4
- "version": "1.0.0-rc.0",
4
+ "version": "1.0.1",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",
@@ -16,10 +16,10 @@
16
16
  "dist"
17
17
  ],
18
18
  "dependencies": {
19
- "@univerjs-pro/collaboration-comment-service": "1.0.0-rc.0",
20
- "@univerjs-pro/collaboration-endpoint": "1.0.0-rc.0",
21
- "@univerjs-pro/collaboration-service": "1.0.0-rc.0",
22
- "@univerjs-pro/collaboration-transport-node": "1.0.0-rc.0",
23
- "@univerjs/protocol": "1.0.0-rc.0"
19
+ "@univerjs-pro/collaboration-comment-service": "1.0.1",
20
+ "@univerjs-pro/collaboration-endpoint": "1.0.1",
21
+ "@univerjs-pro/collaboration-service": "1.0.1",
22
+ "@univerjs-pro/collaboration-transport-node": "1.0.1",
23
+ "@univerjs/protocol": "1.0.1"
24
24
  }
25
25
  }