@univerjs-pro/collaboration-comment-endpoint 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('@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(_0x56770e){if(!_0x56770e?.['service'])throw TypeError('UniverCommentEndpoint\x20requires\x20a\x20service');if(!_0x56770e?.['roomHost'])throw TypeError('UniverCommentEndpoint\x20requires\x20a\x20roomHost');this['_service']=_0x56770e['service'],this['_roomHost']=_0x56770e['roomHost'],this['_protocolBasePath']=f(_0x56770e['protocolBasePath']??'/universer-api'),this['_subscription']=this['_service']['on']('commentCommitted',_0x452107=>this['_track'](this['_publish'](_0x452107)));}['register'](_0x1e2154){if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Comment\x20Endpoint\x20is\x20disposed');let _0xa2f85c=_0x4b2fed=>_0x567b88=>this['_track'](this['_handleHttp'](_0x567b88,{'action':_0x4b2fed,'unitID':_0x567b88['params']['unitID']}));for(let _0x2704e4 of['add','list','reply','solved','edit','delete'])_0x1e2154['post'](this['_protocolBasePath']+'/comment/unit/:unitID/'+_0x2704e4,_0xa2f85c(_0x2704e4));_0x1e2154['get'](this['_protocolBasePath']+'/comment/unit/:unitID/list',_0xa2f85c('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'](_0x430d95){return this['_calls']['add'](_0x430d95),_0x430d95['finally'](()=>this['_calls']['delete'](_0x430d95))['catch'](()=>void 0x0),_0x430d95;}async['_handleHttp'](_0x17cca0,_0x361655){try{if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Comment\x20Endpoint\x20is\x20disposed');let _0x56c1b7=new URL(_0x17cca0['incomingMessage']['url']??'/','http://localhost');if(!_0x361655['unitID']||_0x361655['unitID']['includes']('/'))throw d('Invalid\x20route\x20unitId');if(!_0x17cca0['userID'])throw new e['CollabError']('UNAUTHENTICATED','HTTP\x20user\x20is\x20not\x20authenticated');if(_0x361655['action']==='list'){let _0x42cb4d=a(_0x17cca0['incomingMessage']['method']==='GET'?{'unitId':_0x361655['unitID'],'threadId':_0x56c1b7['searchParams']['getAll']('threadId')}:await _0x17cca0['readJson'](),_0x361655['unitID']),_0x2c9a00=await this['_service']['listComments']({'unitID':_0x361655['unitID'],'threadIDs':_0x42cb4d['threadId']},{'userID':_0x17cca0['userID'],'customData':_0x17cca0['customData']});h(_0x17cca0['response'],0xc8,{'error':r,..._0x2c9a00});return;}let _0x373d39=o(await _0x17cca0['readJson']());if(s(_0x373d39['unitId'],'unitId')!==_0x361655['unitID'])throw d('Route\x20and\x20body\x20unitId\x20must\x20match');let _0x25f9ba=s(_0x373d39['memberId'],'memberId'),_0xf4f87e={'userID':_0x17cca0['userID'],'memberID':_0x25f9ba,'customData':_0x17cca0['customData']};switch(_0x361655['action']){case'add':{let _0x4623e2=await this['_service']['addComment']({'unitID':_0x361655['unitID'],'content':s(_0x373d39['content'],'content'),'mentions':l(_0x373d39['mention'],'mention')},_0xf4f87e);h(_0x17cca0['response'],0xc8,{'error':r,'comment':_0x4623e2});return;}case'reply':{let _0x50a5a5=await this['_service']['replyComment']({'unitID':_0x361655['unitID'],'threadID':s(_0x373d39['threadId'],'threadId'),'content':s(_0x373d39['content'],'content'),'mentions':l(_0x373d39['mention'],'mention')},_0xf4f87e);h(_0x17cca0['response'],0xc8,{'error':r,'reply':_0x50a5a5});return;}case'solved':{let _0x2350d3=u(_0x373d39['solved']);await this['_service']['setThreadSolved']({'unitID':_0x361655['unitID'],'threadID':s(_0x373d39['threadId'],'threadId'),'solved':_0x2350d3},_0xf4f87e),h(_0x17cca0['response'],0xc8,{'error':r});return;}case'edit':await this['_service']['editComment']({'unitID':_0x361655['unitID'],'threadID':s(_0x373d39['threadId'],'threadId'),'replyID':s(_0x373d39['replyId'],'replyId'),'content':s(_0x373d39['content'],'content'),'mentions':l(_0x373d39['mention'],'mention')},_0xf4f87e),h(_0x17cca0['response'],0xc8,{'error':r});return;case'delete':await this['_service']['deleteComment']({'unitID':_0x361655['unitID'],'threadID':s(_0x373d39['threadId'],'threadId'),...c(_0x373d39['replyId'],'replyId')},_0xf4f87e),h(_0x17cca0['response'],0xc8,{'error':r});return;}}catch(_0x5dcb57){p(_0x17cca0['response'],_0x5dcb57,_0x361655['action']);}}async['_publish'](_0x1137a1){try{await this['_roomHost']['publishTrustedUnitEvent']({'unitID':_0x1137a1['update']['unitId'],'memberID':_0x1137a1['memberID'],'userID':_0x1137a1['userID'],'eventID':'comment_update','data':{'commentUpdateEvent':_0x1137a1['update']}});}catch{}}};function a(_0x1b8539,_0x768665){let _0x467972=o(_0x1b8539),_0x212847=s(_0x467972['unitId'],'unitId');if(_0x212847!==_0x768665)throw d('Route\x20and\x20body\x20unitId\x20must\x20match');return{'unitId':_0x212847,'threadId':l(_0x467972['threadId'],'threadId')};}function o(_0x555260){if(!_0x555260||typeof _0x555260!='object'||Array['isArray'](_0x555260))throw d('Request\x20body\x20must\x20be\x20an\x20object');return _0x555260;}function s(_0x2ca1c0,_0xe4535e){if(typeof _0x2ca1c0!='string'||_0x2ca1c0['length']===0x0)throw d(_0xe4535e+'\x20must\x20be\x20a\x20non-empty\x20string');return _0x2ca1c0;}function c(_0x2ee561,_0x52663a){return _0x2ee561==null||_0x2ee561===''?{}:{'replyID':s(_0x2ee561,_0x52663a)};}function l(_0x39234c,_0x8880a1){if(!Array['isArray'](_0x39234c)||_0x39234c['some'](_0x2492db=>typeof _0x2492db!='string'||_0x2492db['length']===0x0))throw d(_0x8880a1+'\x20must\x20be\x20an\x20array\x20of\x20non-empty\x20strings');return[..._0x39234c];}function u(_0x10c21b){if(_0x10c21b!==n['CommentSolvedStatus']['OpenOrReOpen']&&_0x10c21b!==n['CommentSolvedStatus']['Solved'])throw d('solved\x20must\x20be\x20OpenOrReOpen\x20or\x20Solved');return _0x10c21b;}function d(_0x38a9ab){return new e['CollabError']('INVALID_REQUEST',_0x38a9ab);}function f(_0x546675){if(!_0x546675['startsWith']('/')||_0x546675==='/'||_0x546675['endsWith']('/')||_0x546675['includes']('//'))throw TypeError('protocolBasePath\x20must\x20be\x20an\x20absolute\x20path\x20without\x20a\x20trailing\x20slash');return _0x546675;}function p(_0x5379ee,_0x61d42a,_0x257657){let _0x15dede=m(_0x61d42a),_0x977c3d=_0x257657==='list'?{'comments':{},'users':{}}:_0x257657==='add'?{'comment':void 0x0}:_0x257657==='reply'?{'reply':void 0x0}:{};h(_0x5379ee,_0x15dede['status'],{'error':_0x15dede['error'],..._0x977c3d});}function m(_0x44f570){if(_0x44f570 instanceof t['NodeTransportError'])return _0x44f570['code']==='REQUEST_BODY_TOO_LARGE'?{'status':0x19d,'error':{'code':n['ErrorCode']['INVALID_ARGUMENT'],'message':_0x44f570['message']}}:_0x44f570['code']==='INVALID_JSON'||_0x44f570['code']==='REQUEST_ABORTED'?{'status':0x190,'error':{'code':n['ErrorCode']['INVALID_ARGUMENT'],'message':_0x44f570['message']}}:{'status':0x1f7,'error':{'code':n['ErrorCode']['INTERNAL_ERROR'],'message':_0x44f570['message']}};if(!(_0x44f570 instanceof e['CollabError']))return{'status':0x1f4,'error':{'code':n['ErrorCode']['INTERNAL_ERROR'],'message':'Internal\x20error'}};let [_0x4d0a3a,_0x114fc5]=((()=>{switch(_0x44f570['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':_0x4d0a3a,'error':{'code':_0x114fc5,'message':_0x44f570['message']}};}function h(_0xe84a56,_0x377962,_0x41b1ed){_0xe84a56['writableEnded']||(_0xe84a56['statusCode']=_0x377962,_0xe84a56['setHeader']('content-type','application/json;\x20charset=utf-8'),_0xe84a56['end'](JSON['stringify'](_0x41b1ed)));}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(_0x2072ed){if(!_0x2072ed?.['service'])throw TypeError('UniverCommentEndpoint\x20requires\x20a\x20service');if(!_0x2072ed?.['roomHost'])throw TypeError('UniverCommentEndpoint\x20requires\x20a\x20roomHost');this['_service']=_0x2072ed['service'],this['_roomHost']=_0x2072ed['roomHost'],this['_protocolBasePath']=f(_0x2072ed['protocolBasePath']??'/universer-api'),this['_subscription']=this['_service']['on']('commentCommitted',_0x5aec99=>this['_track'](this['_publish'](_0x5aec99)));}['register'](_0x35485b){if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Comment\x20Endpoint\x20is\x20disposed');let _0x469b1f=_0x1ea307=>_0x12bfc5=>this['_track'](this['_handleHttp'](_0x12bfc5,{'action':_0x1ea307,'unitID':_0x12bfc5['params']['unitID']}));for(let _0x26326a of['add','list','reply','solved','edit','delete'])_0x35485b['post'](this['_protocolBasePath']+'/comment/unit/:unitID/'+_0x26326a,_0x469b1f(_0x26326a));_0x35485b['get'](this['_protocolBasePath']+'/comment/unit/:unitID/list',_0x469b1f('list'));}['dispose'](){return this['_disposePromise']||=(this['_disposed']=!0x0,this['_subscription']['dispose'](),Promise['allSettled']([...this['_calls']])['then'](()=>void 0x0)),this['_disposePromise'];}['_track'](_0x5d83c1){return this['_calls']['add'](_0x5d83c1),_0x5d83c1['finally'](()=>this['_calls']['delete'](_0x5d83c1))['catch'](()=>void 0x0),_0x5d83c1;}async['_handleHttp'](_0xf4fcf9,_0x90d1ba){try{if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Comment\x20Endpoint\x20is\x20disposed');let _0x1946b3=new URL(_0xf4fcf9['incomingMessage']['url']??'/','http://localhost');if(!_0x90d1ba['unitID']||_0x90d1ba['unitID']['includes']('/'))throw d('Invalid\x20route\x20unitId');if(!_0xf4fcf9['userID'])throw new e['CollabError']('UNAUTHENTICATED','HTTP\x20user\x20is\x20not\x20authenticated');if(_0x90d1ba['action']==='list'){let _0x5ade6e=a(_0xf4fcf9['incomingMessage']['method']==='GET'?{'unitId':_0x90d1ba['unitID'],'threadId':_0x1946b3['searchParams']['getAll']('threadId')}:await _0xf4fcf9['readJson'](),_0x90d1ba['unitID']),_0x239c79=await this['_service']['listComments']({'unitID':_0x90d1ba['unitID'],'threadIDs':_0x5ade6e['threadId']},{'userID':_0xf4fcf9['userID'],'customData':_0xf4fcf9['customData']});h(_0xf4fcf9['response'],0xc8,{'error':r,..._0x239c79});return;}let _0x284a0d=o(await _0xf4fcf9['readJson']());if(s(_0x284a0d['unitId'],'unitId')!==_0x90d1ba['unitID'])throw d('Route\x20and\x20body\x20unitId\x20must\x20match');let _0x326dac=s(_0x284a0d['memberId'],'memberId'),_0x18d8d1={'userID':_0xf4fcf9['userID'],'memberID':_0x326dac,'customData':_0xf4fcf9['customData']};switch(_0x90d1ba['action']){case'add':{let _0x4ef6c9=await this['_service']['addComment']({'unitID':_0x90d1ba['unitID'],'content':s(_0x284a0d['content'],'content'),'mentions':l(_0x284a0d['mention'],'mention')},_0x18d8d1);h(_0xf4fcf9['response'],0xc8,{'error':r,'comment':_0x4ef6c9});return;}case'reply':{let _0x225c60=await this['_service']['replyComment']({'unitID':_0x90d1ba['unitID'],'threadID':s(_0x284a0d['threadId'],'threadId'),'content':s(_0x284a0d['content'],'content'),'mentions':l(_0x284a0d['mention'],'mention')},_0x18d8d1);h(_0xf4fcf9['response'],0xc8,{'error':r,'reply':_0x225c60});return;}case'solved':{let _0x5e6c1c=u(_0x284a0d['solved']);await this['_service']['setThreadSolved']({'unitID':_0x90d1ba['unitID'],'threadID':s(_0x284a0d['threadId'],'threadId'),'solved':_0x5e6c1c},_0x18d8d1),h(_0xf4fcf9['response'],0xc8,{'error':r});return;}case'edit':await this['_service']['editComment']({'unitID':_0x90d1ba['unitID'],'threadID':s(_0x284a0d['threadId'],'threadId'),'replyID':s(_0x284a0d['replyId'],'replyId'),'content':s(_0x284a0d['content'],'content'),'mentions':l(_0x284a0d['mention'],'mention')},_0x18d8d1),h(_0xf4fcf9['response'],0xc8,{'error':r});return;case'delete':await this['_service']['deleteComment']({'unitID':_0x90d1ba['unitID'],'threadID':s(_0x284a0d['threadId'],'threadId'),...c(_0x284a0d['replyId'],'replyId')},_0x18d8d1),h(_0xf4fcf9['response'],0xc8,{'error':r});return;}}catch(_0x20c8c1){p(_0xf4fcf9['response'],_0x20c8c1,_0x90d1ba['action']);}}async['_publish'](_0x2f81e5){try{await this['_roomHost']['publishTrustedUnitEvent']({'unitID':_0x2f81e5['update']['unitId'],'memberID':_0x2f81e5['memberID'],'userID':_0x2f81e5['userID'],'eventID':'comment_update','data':{'commentUpdateEvent':_0x2f81e5['update']}});}catch{}}};function a(_0x1b98c4,_0xb3ba44){let _0x23d843=o(_0x1b98c4),_0x178ce0=s(_0x23d843['unitId'],'unitId');if(_0x178ce0!==_0xb3ba44)throw d('Route\x20and\x20body\x20unitId\x20must\x20match');return{'unitId':_0x178ce0,'threadId':l(_0x23d843['threadId'],'threadId')};}function o(_0x4f656c){if(!_0x4f656c||typeof _0x4f656c!='object'||Array['isArray'](_0x4f656c))throw d('Request\x20body\x20must\x20be\x20an\x20object');return _0x4f656c;}function s(_0x408f37,_0x5ea954){if(typeof _0x408f37!='string'||_0x408f37['length']===0x0)throw d(_0x5ea954+'\x20must\x20be\x20a\x20non-empty\x20string');return _0x408f37;}function c(_0x39e39c,_0x47aba2){return _0x39e39c==null||_0x39e39c===''?{}:{'replyID':s(_0x39e39c,_0x47aba2)};}function l(_0x4c77d5,_0x555c4c){if(!Array['isArray'](_0x4c77d5)||_0x4c77d5['some'](_0x48532c=>typeof _0x48532c!='string'||_0x48532c['length']===0x0))throw d(_0x555c4c+'\x20must\x20be\x20an\x20array\x20of\x20non-empty\x20strings');return[..._0x4c77d5];}function u(_0x2d0776){if(_0x2d0776!==n['CommentSolvedStatus']['OpenOrReOpen']&&_0x2d0776!==n['CommentSolvedStatus']['Solved'])throw d('solved\x20must\x20be\x20OpenOrReOpen\x20or\x20Solved');return _0x2d0776;}function d(_0x2660e0){return new e['CollabError']('INVALID_REQUEST',_0x2660e0);}function f(_0x2b10c6){if(!_0x2b10c6['startsWith']('/')||_0x2b10c6==='/'||_0x2b10c6['endsWith']('/')||_0x2b10c6['includes']('//'))throw TypeError('protocolBasePath\x20must\x20be\x20an\x20absolute\x20path\x20without\x20a\x20trailing\x20slash');return _0x2b10c6;}function p(_0x26744d,_0x2a0b1e,_0x3fe1fd){let _0x1b7167=m(_0x2a0b1e),_0x303f60=_0x3fe1fd==='list'?{'comments':{},'users':{}}:_0x3fe1fd==='add'?{'comment':void 0x0}:_0x3fe1fd==='reply'?{'reply':void 0x0}:{};h(_0x26744d,_0x1b7167['status'],{'error':_0x1b7167['error'],..._0x303f60});}function m(_0x3e80d0){if(_0x3e80d0 instanceof t['NodeTransportError'])return _0x3e80d0['code']==='REQUEST_BODY_TOO_LARGE'?{'status':0x19d,'error':{'code':n['ErrorCode']['INVALID_ARGUMENT'],'message':_0x3e80d0['message']}}:_0x3e80d0['code']==='INVALID_JSON'||_0x3e80d0['code']==='REQUEST_ABORTED'?{'status':0x190,'error':{'code':n['ErrorCode']['INVALID_ARGUMENT'],'message':_0x3e80d0['message']}}:{'status':0x1f7,'error':{'code':n['ErrorCode']['INTERNAL_ERROR'],'message':_0x3e80d0['message']}};if(!(_0x3e80d0 instanceof e['CollabError']))return{'status':0x1f4,'error':{'code':n['ErrorCode']['INTERNAL_ERROR'],'message':'Internal\x20error'}};let [_0x105dce,_0x2e0d5b]=((()=>{switch(_0x3e80d0['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':_0x105dce,'error':{'code':_0x2e0d5b,'message':_0x3e80d0['message']}};}function h(_0x29bd08,_0x2936e0,_0x434eed){_0x29bd08['writableEnded']||(_0x29bd08['statusCode']=_0x2936e0,_0x29bd08['setHeader']('content-type','application/json;\x20charset=utf-8'),_0x29bd08['end'](JSON['stringify'](_0x434eed)));}exports['UniverCommentEndpoint']=i;
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { IUniverCommentService } from "@univerjs-pro/collaboration-comment-servi
2
2
  import { ITrustedUnitRoomHost } from "@univerjs-pro/collaboration-endpoint";
3
3
  import { NodeRouter, NodeTransportEndpoint } from "@univerjs-pro/collaboration-transport-node";
4
4
 
5
- //#region src/endpoint.d.ts
5
+ // src/endpoint.d.ts
6
6
  interface UniverCommentEndpointOptions {
7
7
  readonly service: IUniverCommentService;
8
8
  readonly roomHost: ITrustedUnitRoomHost;
@@ -23,5 +23,4 @@ declare class UniverCommentEndpoint implements NodeTransportEndpoint {
23
23
  private _handleHttp;
24
24
  private _publish;
25
25
  }
26
- //#endregion
27
26
  export { UniverCommentEndpoint, type UniverCommentEndpointOptions };
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- const _0x445c63=_0x3bda;(function(_0x400bed,_0x4dee47){const _0x385b3c=_0x3bda,_0x86bc1c=_0x400bed();while(!![]){try{const _0x35143d=-parseInt(_0x385b3c(0x1a2))/0x1+-parseInt(_0x385b3c(0x1a9))/0x2*(-parseInt(_0x385b3c(0x1a8))/0x3)+parseInt(_0x385b3c(0x19f))/0x4*(parseInt(_0x385b3c(0x1a3))/0x5)+parseInt(_0x385b3c(0x1a7))/0x6+parseInt(_0x385b3c(0x1a6))/0x7+-parseInt(_0x385b3c(0x1a5))/0x8*(parseInt(_0x385b3c(0x1a0))/0x9)+-parseInt(_0x385b3c(0x1a1))/0xa;if(_0x35143d===_0x4dee47)break;else _0x86bc1c['push'](_0x86bc1c['shift']());}catch(_0x14f37d){_0x86bc1c['push'](_0x86bc1c['shift']());}}}(_0x3962,0xf3d3c));function _0x3bda(_0x46b3c7,_0x31cde7){_0x46b3c7=_0x46b3c7-0x19f;const _0x39624a=_0x3962();let _0x3bda95=_0x39624a[_0x46b3c7];return _0x3bda95;}import _0x569345 from'./index.cjs';const facadeExport0=_0x569345[_0x445c63(0x1a4)];function _0x3962(){const _0x4c51bf=['9211600IxbYfb','UniverCommentEndpoint','1016OySDru','13336995LLxdjB','8069130ddQEAa','9uyslDJ','542786LusZry','4zmjTMs','74673btIfbU','30630130HqASUr','791191ddGgqY'];_0x3962=function(){return _0x4c51bf;};return _0x3962();}export{facadeExport0 as UniverCommentEndpoint};
1
+ const _0x27691b=_0x1a34;function _0xd832(){const _0x23eb1f=['528732ZHdXZm','UniverCommentEndpoint','128776QgbMRU','1131515NNArTJ','48lQtujS','184373ftRpcz','2bPHKIM','61296fGgYST','16630bhufXr','630CqMJeG','25oZWdrB','95972YlLyDS'];_0xd832=function(){return _0x23eb1f;};return _0xd832();}(function(_0xaf8a44,_0x178786){const _0x437be8=_0x1a34,_0x3376a7=_0xaf8a44();while(!![]){try{const _0x7d035=-parseInt(_0x437be8(0x1cc))/0x1*(-parseInt(_0x437be8(0x1cd))/0x2)+parseInt(_0x437be8(0x1d2))/0x3+parseInt(_0x437be8(0x1d1))/0x4*(parseInt(_0x437be8(0x1d0))/0x5)+-parseInt(_0x437be8(0x1ca))/0x6*(parseInt(_0x437be8(0x1cb))/0x7)+-parseInt(_0x437be8(0x1c8))/0x8+-parseInt(_0x437be8(0x1cf))/0x9*(parseInt(_0x437be8(0x1ce))/0xa)+parseInt(_0x437be8(0x1c9))/0xb;if(_0x7d035===_0x178786)break;else _0x3376a7['push'](_0x3376a7['shift']());}catch(_0x1b1159){_0x3376a7['push'](_0x3376a7['shift']());}}}(_0xd832,0x1c99f));function _0x1a34(_0x115522,_0x16e087){_0x115522=_0x115522-0x1c7;const _0xd83212=_0xd832();let _0x1a349c=_0xd83212[_0x115522];return _0x1a349c;}import _0x496454 from'./index.cjs';const facadeExport0=_0x496454[_0x27691b(0x1c7)];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.4.0",
4
+ "version": "1.6.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.4.0",
20
- "@univerjs-pro/collaboration-endpoint": "1.4.0",
21
- "@univerjs-pro/collaboration-service": "1.4.0",
22
- "@univerjs-pro/collaboration-transport-node": "1.4.0",
23
- "@univerjs/protocol": "1.4.0"
19
+ "@univerjs-pro/collaboration-comment-service": "1.6.0",
20
+ "@univerjs-pro/collaboration-endpoint": "1.6.0",
21
+ "@univerjs-pro/collaboration-service": "1.6.0",
22
+ "@univerjs-pro/collaboration-transport-node": "1.6.0",
23
+ "@univerjs/protocol": "1.6.0"
24
24
  }
25
25
  }