@univerjs-pro/collaboration-comment-endpoint 1.0.4 → 1.1.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('@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(_0x46adc4){if(!_0x46adc4?.['service'])throw TypeError('UniverCommentEndpoint\x20requires\x20a\x20service');if(!_0x46adc4?.['roomHost'])throw TypeError('UniverCommentEndpoint\x20requires\x20a\x20roomHost');this['_service']=_0x46adc4['service'],this['_roomHost']=_0x46adc4['roomHost'],this['_protocolBasePath']=f(_0x46adc4['protocolBasePath']??'/universer-api'),this['_subscription']=this['_service']['on']('commentCommitted',_0x1dd286=>this['_track'](this['_publish'](_0x1dd286)));}['register'](_0x282fd5){if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Comment\x20Endpoint\x20is\x20disposed');let _0x5f0c12=_0x13d094=>_0x3c704d=>this['_track'](this['_handleHttp'](_0x3c704d,{'action':_0x13d094,'unitID':_0x3c704d['params']['unitID']}));for(let _0x445246 of['add','list','reply','solved','edit','delete'])_0x282fd5['post'](this['_protocolBasePath']+'/comment/unit/:unitID/'+_0x445246,_0x5f0c12(_0x445246));_0x282fd5['get'](this['_protocolBasePath']+'/comment/unit/:unitID/list',_0x5f0c12('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'](_0x27a16f){return this['_calls']['add'](_0x27a16f),_0x27a16f['finally'](()=>this['_calls']['delete'](_0x27a16f))['catch'](()=>void 0x0),_0x27a16f;}async['_handleHttp'](_0x34da0b,_0x349cbb){try{if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Comment\x20Endpoint\x20is\x20disposed');let _0x2598c8=new URL(_0x34da0b['incomingMessage']['url']??'/','http://localhost');if(!_0x349cbb['unitID']||_0x349cbb['unitID']['includes']('/'))throw d('Invalid\x20route\x20unitId');if(!_0x34da0b['userID'])throw new e['CollabError']('UNAUTHENTICATED','HTTP\x20user\x20is\x20not\x20authenticated');if(_0x349cbb['action']==='list'){let _0x16fc46=a(_0x34da0b['incomingMessage']['method']==='GET'?{'unitId':_0x349cbb['unitID'],'threadId':_0x2598c8['searchParams']['getAll']('threadId')}:await _0x34da0b['readJson'](),_0x349cbb['unitID']),_0x46fcf3=await this['_service']['listComments']({'unitID':_0x349cbb['unitID'],'threadIDs':_0x16fc46['threadId']},{'userID':_0x34da0b['userID'],'customData':_0x34da0b['customData']});h(_0x34da0b['response'],0xc8,{'error':r,..._0x46fcf3});return;}let _0x4b4c26=o(await _0x34da0b['readJson']());if(s(_0x4b4c26['unitId'],'unitId')!==_0x349cbb['unitID'])throw d('Route\x20and\x20body\x20unitId\x20must\x20match');let _0x434045=s(_0x4b4c26['memberId'],'memberId'),_0x59b2e8={'userID':_0x34da0b['userID'],'memberID':_0x434045,'customData':_0x34da0b['customData']};switch(_0x349cbb['action']){case'add':{let _0x46b059=await this['_service']['addComment']({'unitID':_0x349cbb['unitID'],'content':s(_0x4b4c26['content'],'content'),'mentions':l(_0x4b4c26['mention'],'mention')},_0x59b2e8);h(_0x34da0b['response'],0xc8,{'error':r,'comment':_0x46b059});return;}case'reply':{let _0x585ea0=await this['_service']['replyComment']({'unitID':_0x349cbb['unitID'],'threadID':s(_0x4b4c26['threadId'],'threadId'),'content':s(_0x4b4c26['content'],'content'),'mentions':l(_0x4b4c26['mention'],'mention')},_0x59b2e8);h(_0x34da0b['response'],0xc8,{'error':r,'reply':_0x585ea0});return;}case'solved':{let _0x655faa=u(_0x4b4c26['solved']);await this['_service']['setThreadSolved']({'unitID':_0x349cbb['unitID'],'threadID':s(_0x4b4c26['threadId'],'threadId'),'solved':_0x655faa},_0x59b2e8),h(_0x34da0b['response'],0xc8,{'error':r});return;}case'edit':await this['_service']['editComment']({'unitID':_0x349cbb['unitID'],'threadID':s(_0x4b4c26['threadId'],'threadId'),'replyID':s(_0x4b4c26['replyId'],'replyId'),'content':s(_0x4b4c26['content'],'content'),'mentions':l(_0x4b4c26['mention'],'mention')},_0x59b2e8),h(_0x34da0b['response'],0xc8,{'error':r});return;case'delete':await this['_service']['deleteComment']({'unitID':_0x349cbb['unitID'],'threadID':s(_0x4b4c26['threadId'],'threadId'),...c(_0x4b4c26['replyId'],'replyId')},_0x59b2e8),h(_0x34da0b['response'],0xc8,{'error':r});return;}}catch(_0x52acf6){p(_0x34da0b['response'],_0x52acf6,_0x349cbb['action']);}}async['_publish'](_0x3645dd){try{await this['_roomHost']['publishTrustedUnitEvent']({'unitID':_0x3645dd['update']['unitId'],'memberID':_0x3645dd['memberID'],'userID':_0x3645dd['userID'],'eventID':'comment_update','data':{'commentUpdateEvent':_0x3645dd['update']}});}catch{}}};function a(_0x378935,_0x28a4e3){let _0x481824=o(_0x378935),_0xc08dfa=s(_0x481824['unitId'],'unitId');if(_0xc08dfa!==_0x28a4e3)throw d('Route\x20and\x20body\x20unitId\x20must\x20match');return{'unitId':_0xc08dfa,'threadId':l(_0x481824['threadId'],'threadId')};}function o(_0x5922c1){if(!_0x5922c1||typeof _0x5922c1!='object'||Array['isArray'](_0x5922c1))throw d('Request\x20body\x20must\x20be\x20an\x20object');return _0x5922c1;}function s(_0x46f504,_0x24d92f){if(typeof _0x46f504!='string'||_0x46f504['length']===0x0)throw d(_0x24d92f+'\x20must\x20be\x20a\x20non-empty\x20string');return _0x46f504;}function c(_0x5e1d3a,_0x12c427){return _0x5e1d3a==null||_0x5e1d3a===''?{}:{'replyID':s(_0x5e1d3a,_0x12c427)};}function l(_0x55d554,_0x5e98b8){if(!Array['isArray'](_0x55d554)||_0x55d554['some'](_0x230d9e=>typeof _0x230d9e!='string'||_0x230d9e['length']===0x0))throw d(_0x5e98b8+'\x20must\x20be\x20an\x20array\x20of\x20non-empty\x20strings');return[..._0x55d554];}function u(_0x38c0a9){if(_0x38c0a9!==n['CommentSolvedStatus']['OpenOrReOpen']&&_0x38c0a9!==n['CommentSolvedStatus']['Solved'])throw d('solved\x20must\x20be\x20OpenOrReOpen\x20or\x20Solved');return _0x38c0a9;}function d(_0x27c285){return new e['CollabError']('INVALID_REQUEST',_0x27c285);}function f(_0x230ed5){if(!_0x230ed5['startsWith']('/')||_0x230ed5==='/'||_0x230ed5['endsWith']('/')||_0x230ed5['includes']('//'))throw TypeError('protocolBasePath\x20must\x20be\x20an\x20absolute\x20path\x20without\x20a\x20trailing\x20slash');return _0x230ed5;}function p(_0x50892e,_0x1afc10,_0x56de66){let _0x497c5a=m(_0x1afc10),_0x5952b4=_0x56de66==='list'?{'comments':{},'users':{}}:_0x56de66==='add'?{'comment':void 0x0}:_0x56de66==='reply'?{'reply':void 0x0}:{};h(_0x50892e,_0x497c5a['status'],{'error':_0x497c5a['error'],..._0x5952b4});}function m(_0x2c4db7){if(_0x2c4db7 instanceof t['NodeTransportError'])return _0x2c4db7['code']==='REQUEST_BODY_TOO_LARGE'?{'status':0x19d,'error':{'code':n['ErrorCode']['INVALID_ARGUMENT'],'message':_0x2c4db7['message']}}:_0x2c4db7['code']==='INVALID_JSON'||_0x2c4db7['code']==='REQUEST_ABORTED'?{'status':0x190,'error':{'code':n['ErrorCode']['INVALID_ARGUMENT'],'message':_0x2c4db7['message']}}:{'status':0x1f7,'error':{'code':n['ErrorCode']['INTERNAL_ERROR'],'message':_0x2c4db7['message']}};if(!(_0x2c4db7 instanceof e['CollabError']))return{'status':0x1f4,'error':{'code':n['ErrorCode']['INTERNAL_ERROR'],'message':'Internal\x20error'}};let [_0x3f49f7,_0x395318]=((()=>{switch(_0x2c4db7['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':_0x3f49f7,'error':{'code':_0x395318,'message':_0x2c4db7['message']}};}function h(_0x25c6a1,_0x35d06f,_0x2e7bb5){_0x25c6a1['writableEnded']||(_0x25c6a1['statusCode']=_0x35d06f,_0x25c6a1['setHeader']('content-type','application/json;\x20charset=utf-8'),_0x25c6a1['end'](JSON['stringify'](_0x2e7bb5)));}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(_0x2329e0){if(!_0x2329e0?.['service'])throw TypeError('UniverCommentEndpoint\x20requires\x20a\x20service');if(!_0x2329e0?.['roomHost'])throw TypeError('UniverCommentEndpoint\x20requires\x20a\x20roomHost');this['_service']=_0x2329e0['service'],this['_roomHost']=_0x2329e0['roomHost'],this['_protocolBasePath']=f(_0x2329e0['protocolBasePath']??'/universer-api'),this['_subscription']=this['_service']['on']('commentCommitted',_0x422eb1=>this['_track'](this['_publish'](_0x422eb1)));}['register'](_0x180868){if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Comment\x20Endpoint\x20is\x20disposed');let _0x4e80f7=_0x26c43e=>_0x4ed5dd=>this['_track'](this['_handleHttp'](_0x4ed5dd,{'action':_0x26c43e,'unitID':_0x4ed5dd['params']['unitID']}));for(let _0x314bc1 of['add','list','reply','solved','edit','delete'])_0x180868['post'](this['_protocolBasePath']+'/comment/unit/:unitID/'+_0x314bc1,_0x4e80f7(_0x314bc1));_0x180868['get'](this['_protocolBasePath']+'/comment/unit/:unitID/list',_0x4e80f7('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'](_0x361c30){return this['_calls']['add'](_0x361c30),_0x361c30['finally'](()=>this['_calls']['delete'](_0x361c30))['catch'](()=>void 0x0),_0x361c30;}async['_handleHttp'](_0x42e13f,_0x20c86f){try{if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Comment\x20Endpoint\x20is\x20disposed');let _0x4ad793=new URL(_0x42e13f['incomingMessage']['url']??'/','http://localhost');if(!_0x20c86f['unitID']||_0x20c86f['unitID']['includes']('/'))throw d('Invalid\x20route\x20unitId');if(!_0x42e13f['userID'])throw new e['CollabError']('UNAUTHENTICATED','HTTP\x20user\x20is\x20not\x20authenticated');if(_0x20c86f['action']==='list'){let _0x3e6748=a(_0x42e13f['incomingMessage']['method']==='GET'?{'unitId':_0x20c86f['unitID'],'threadId':_0x4ad793['searchParams']['getAll']('threadId')}:await _0x42e13f['readJson'](),_0x20c86f['unitID']),_0x1b9fae=await this['_service']['listComments']({'unitID':_0x20c86f['unitID'],'threadIDs':_0x3e6748['threadId']},{'userID':_0x42e13f['userID'],'customData':_0x42e13f['customData']});h(_0x42e13f['response'],0xc8,{'error':r,..._0x1b9fae});return;}let _0x252b78=o(await _0x42e13f['readJson']());if(s(_0x252b78['unitId'],'unitId')!==_0x20c86f['unitID'])throw d('Route\x20and\x20body\x20unitId\x20must\x20match');let _0x139b2c=s(_0x252b78['memberId'],'memberId'),_0x1b65a3={'userID':_0x42e13f['userID'],'memberID':_0x139b2c,'customData':_0x42e13f['customData']};switch(_0x20c86f['action']){case'add':{let _0x1029de=await this['_service']['addComment']({'unitID':_0x20c86f['unitID'],'content':s(_0x252b78['content'],'content'),'mentions':l(_0x252b78['mention'],'mention')},_0x1b65a3);h(_0x42e13f['response'],0xc8,{'error':r,'comment':_0x1029de});return;}case'reply':{let _0x2de435=await this['_service']['replyComment']({'unitID':_0x20c86f['unitID'],'threadID':s(_0x252b78['threadId'],'threadId'),'content':s(_0x252b78['content'],'content'),'mentions':l(_0x252b78['mention'],'mention')},_0x1b65a3);h(_0x42e13f['response'],0xc8,{'error':r,'reply':_0x2de435});return;}case'solved':{let _0x514a03=u(_0x252b78['solved']);await this['_service']['setThreadSolved']({'unitID':_0x20c86f['unitID'],'threadID':s(_0x252b78['threadId'],'threadId'),'solved':_0x514a03},_0x1b65a3),h(_0x42e13f['response'],0xc8,{'error':r});return;}case'edit':await this['_service']['editComment']({'unitID':_0x20c86f['unitID'],'threadID':s(_0x252b78['threadId'],'threadId'),'replyID':s(_0x252b78['replyId'],'replyId'),'content':s(_0x252b78['content'],'content'),'mentions':l(_0x252b78['mention'],'mention')},_0x1b65a3),h(_0x42e13f['response'],0xc8,{'error':r});return;case'delete':await this['_service']['deleteComment']({'unitID':_0x20c86f['unitID'],'threadID':s(_0x252b78['threadId'],'threadId'),...c(_0x252b78['replyId'],'replyId')},_0x1b65a3),h(_0x42e13f['response'],0xc8,{'error':r});return;}}catch(_0x4ca1fa){p(_0x42e13f['response'],_0x4ca1fa,_0x20c86f['action']);}}async['_publish'](_0x5c8b13){try{await this['_roomHost']['publishTrustedUnitEvent']({'unitID':_0x5c8b13['update']['unitId'],'memberID':_0x5c8b13['memberID'],'userID':_0x5c8b13['userID'],'eventID':'comment_update','data':{'commentUpdateEvent':_0x5c8b13['update']}});}catch{}}};function a(_0x5e3b2c,_0x5785b3){let _0x11499c=o(_0x5e3b2c),_0x1b735a=s(_0x11499c['unitId'],'unitId');if(_0x1b735a!==_0x5785b3)throw d('Route\x20and\x20body\x20unitId\x20must\x20match');return{'unitId':_0x1b735a,'threadId':l(_0x11499c['threadId'],'threadId')};}function o(_0x1f38ae){if(!_0x1f38ae||typeof _0x1f38ae!='object'||Array['isArray'](_0x1f38ae))throw d('Request\x20body\x20must\x20be\x20an\x20object');return _0x1f38ae;}function s(_0x534b15,_0x3b7055){if(typeof _0x534b15!='string'||_0x534b15['length']===0x0)throw d(_0x3b7055+'\x20must\x20be\x20a\x20non-empty\x20string');return _0x534b15;}function c(_0x46ba99,_0x5f0f58){return _0x46ba99==null||_0x46ba99===''?{}:{'replyID':s(_0x46ba99,_0x5f0f58)};}function l(_0xa6b4b4,_0x1ad404){if(!Array['isArray'](_0xa6b4b4)||_0xa6b4b4['some'](_0x361ed7=>typeof _0x361ed7!='string'||_0x361ed7['length']===0x0))throw d(_0x1ad404+'\x20must\x20be\x20an\x20array\x20of\x20non-empty\x20strings');return[..._0xa6b4b4];}function u(_0x3aaa7e){if(_0x3aaa7e!==n['CommentSolvedStatus']['OpenOrReOpen']&&_0x3aaa7e!==n['CommentSolvedStatus']['Solved'])throw d('solved\x20must\x20be\x20OpenOrReOpen\x20or\x20Solved');return _0x3aaa7e;}function d(_0x114012){return new e['CollabError']('INVALID_REQUEST',_0x114012);}function f(_0xf04a54){if(!_0xf04a54['startsWith']('/')||_0xf04a54==='/'||_0xf04a54['endsWith']('/')||_0xf04a54['includes']('//'))throw TypeError('protocolBasePath\x20must\x20be\x20an\x20absolute\x20path\x20without\x20a\x20trailing\x20slash');return _0xf04a54;}function p(_0x5c49b1,_0x3f143d,_0x34d3a4){let _0xb582b2=m(_0x3f143d),_0x2a8aad=_0x34d3a4==='list'?{'comments':{},'users':{}}:_0x34d3a4==='add'?{'comment':void 0x0}:_0x34d3a4==='reply'?{'reply':void 0x0}:{};h(_0x5c49b1,_0xb582b2['status'],{'error':_0xb582b2['error'],..._0x2a8aad});}function m(_0x2da93d){if(_0x2da93d instanceof t['NodeTransportError'])return _0x2da93d['code']==='REQUEST_BODY_TOO_LARGE'?{'status':0x19d,'error':{'code':n['ErrorCode']['INVALID_ARGUMENT'],'message':_0x2da93d['message']}}:_0x2da93d['code']==='INVALID_JSON'||_0x2da93d['code']==='REQUEST_ABORTED'?{'status':0x190,'error':{'code':n['ErrorCode']['INVALID_ARGUMENT'],'message':_0x2da93d['message']}}:{'status':0x1f7,'error':{'code':n['ErrorCode']['INTERNAL_ERROR'],'message':_0x2da93d['message']}};if(!(_0x2da93d instanceof e['CollabError']))return{'status':0x1f4,'error':{'code':n['ErrorCode']['INTERNAL_ERROR'],'message':'Internal\x20error'}};let [_0x271fce,_0x53b11e]=((()=>{switch(_0x2da93d['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':_0x271fce,'error':{'code':_0x53b11e,'message':_0x2da93d['message']}};}function h(_0x5c0bc8,_0x48a821,_0x208974){_0x5c0bc8['writableEnded']||(_0x5c0bc8['statusCode']=_0x48a821,_0x5c0bc8['setHeader']('content-type','application/json;\x20charset=utf-8'),_0x5c0bc8['end'](JSON['stringify'](_0x208974)));}exports['UniverCommentEndpoint']=i;
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- function _0x1c37(){const _0x4642d9=['UniverCommentEndpoint','2426352LfgiyR','511573jDyHBU','4737366GEoGiU','1480410eItnkr','5327dlSsfY','9776990pIULdm','18EGVitb','14384wrmoTs','6801kmFqlt','454JUzhqp'];_0x1c37=function(){return _0x4642d9;};return _0x1c37();}const _0x3ce521=_0x449f;(function(_0x28ada5,_0x4d61a2){const _0x142b03=_0x449f,_0x5ecdc5=_0x28ada5();while(!![]){try{const _0x351f2b=parseInt(_0x142b03(0x150))/0x1+-parseInt(_0x142b03(0x158))/0x2*(parseInt(_0x142b03(0x157))/0x3)+parseInt(_0x142b03(0x15a))/0x4+parseInt(_0x142b03(0x152))/0x5+-parseInt(_0x142b03(0x151))/0x6+-parseInt(_0x142b03(0x153))/0x7*(parseInt(_0x142b03(0x156))/0x8)+parseInt(_0x142b03(0x155))/0x9*(parseInt(_0x142b03(0x154))/0xa);if(_0x351f2b===_0x4d61a2)break;else _0x5ecdc5['push'](_0x5ecdc5['shift']());}catch(_0x300f30){_0x5ecdc5['push'](_0x5ecdc5['shift']());}}}(_0x1c37,0xaa369));import _0x47e735 from'./index.cjs';const facadeExport0=_0x47e735[_0x3ce521(0x159)];function _0x449f(_0x2ceda2,_0x54b82a){_0x2ceda2=_0x2ceda2-0x150;const _0x1c3795=_0x1c37();let _0x449f70=_0x1c3795[_0x2ceda2];return _0x449f70;}export{facadeExport0 as UniverCommentEndpoint};
1
+ (function(_0x240304,_0x1429ea){const _0x5c41a0=_0x2835,_0x25441f=_0x240304();while(!![]){try{const _0x5eb0c2=-parseInt(_0x5c41a0(0xcd))/0x1+parseInt(_0x5c41a0(0xcb))/0x2*(-parseInt(_0x5c41a0(0xcf))/0x3)+parseInt(_0x5c41a0(0xd2))/0x4+-parseInt(_0x5c41a0(0xd5))/0x5*(parseInt(_0x5c41a0(0xd1))/0x6)+-parseInt(_0x5c41a0(0xd3))/0x7*(parseInt(_0x5c41a0(0xcc))/0x8)+-parseInt(_0x5c41a0(0xd0))/0x9*(parseInt(_0x5c41a0(0xd4))/0xa)+parseInt(_0x5c41a0(0xce))/0xb;if(_0x5eb0c2===_0x1429ea)break;else _0x25441f['push'](_0x25441f['shift']());}catch(_0x4bb2e6){_0x25441f['push'](_0x25441f['shift']());}}}(_0x4771,0xf1acc));import _0x2bf92d from'./index.cjs';const facadeExport0=_0x2bf92d['UniverCommentEndpoint'];function _0x2835(_0x455ba6,_0xdc5543){_0x455ba6=_0x455ba6-0xcb;const _0x477120=_0x4771();let _0x283519=_0x477120[_0x455ba6];return _0x283519;}export{facadeExport0 as UniverCommentEndpoint};function _0x4771(){const _0xba5f4a=['716965pDRrkU','51509381uMmIwL','1248807pmsvmc','279954vFInha','78cONEyV','2135128XQPoBb','249291KjOlvz','30EKQfWJ','322575aIrqgK','4OYlIsf','392WnvPnR'];_0x4771=function(){return _0xba5f4a;};return _0x4771();}
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.4",
4
+ "version": "1.1.0",
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.4",
20
- "@univerjs-pro/collaboration-endpoint": "1.0.4",
21
- "@univerjs-pro/collaboration-service": "1.0.4",
22
- "@univerjs-pro/collaboration-transport-node": "1.0.4",
23
- "@univerjs/protocol": "1.0.4"
19
+ "@univerjs-pro/collaboration-comment-service": "1.1.0",
20
+ "@univerjs-pro/collaboration-endpoint": "1.1.0",
21
+ "@univerjs-pro/collaboration-service": "1.1.0",
22
+ "@univerjs-pro/collaboration-transport-node": "1.1.0",
23
+ "@univerjs/protocol": "1.1.0"
24
24
  }
25
25
  }