@univerjs-pro/collaboration-database-memory 1.1.0 → 1.2.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');var t=class{['_units']=new Map();['_tombstones']=new Set();['_disposed']=!0x1;async['getUnit'](_0x46a6a6,_0x385347){this['_assertOpen']();let _0x512f96=this['_activeUnit'](_0x385347);return _0x512f96?c(_0x512f96['record']):null;}async['getSnapshot'](_0x1da8ad,_0x2bb639,_0x2187e1){let _0x5c0d99=this['_getSnapshot'](_0x2bb639,_0x2187e1);return _0x5c0d99?c(_0x5c0d99):null;}async['getSnapshotInfo'](_0xc3fc51,_0x18dd31,_0x58ae3c){let _0x2283f1=this['_getSnapshot'](_0x18dd31,_0x58ae3c);return _0x2283f1?{'unitID':_0x2283f1['unitID'],'type':_0x2283f1['type'],'rev':_0x2283f1['rev']}:null;}['_getSnapshot'](_0x58f1e3,_0x503fd1){this['_assertOpen']();let _0x17dce6=this['_activeUnit'](_0x58f1e3);if(!_0x17dce6)return null;let _0x57bc5a=_0x503fd1?.['revision'],_0xf9a4c3=_0x57bc5a===void 0x0?_0x17dce6['record']['headRevision']:Math['min'](_0x57bc5a,_0x17dce6['record']['headRevision']),_0x11a919=-0x1;for(let _0x352a12 of _0x17dce6['snapshots']['keys']())_0x352a12<=_0xf9a4c3&&_0x352a12>_0x11a919&&(_0x11a919=_0x352a12);return _0x17dce6['snapshots']['get'](_0x11a919)??null;}async['getChangesets'](_0x506bc6,_0x728b07,_0x2bde10){if(this['_assertOpen'](),_0x2bde10['from']<0x0||_0x2bde10['to']!==void 0x0&&_0x2bde10['to']<0x0)throw a('Changeset\x20range\x20revisions\x20cannot\x20be\x20negative');let _0xa4b7ee=this['_activeUnit'](_0x728b07);return _0xa4b7ee?[..._0xa4b7ee['changesets']['entries']()]['filter'](([_0x2d8c75])=>_0x2d8c75>_0x2bde10['from']&&(_0x2bde10['to']===void 0x0||_0x2d8c75<=_0x2bde10['to']))['sort'](([_0x44222b],[_0xc96854])=>_0x44222b-_0xc96854)['map'](([,_0x16ed83])=>c(_0x16ed83)):null;}async['createUnit'](_0xdb1a4a,_0x7c17c2){this['_assertOpen'](),n(_0x7c17c2);let _0x2f1cec=this['_units']['get'](_0x7c17c2['record']['unitID']);if(_0x2f1cec){if(_0x2f1cec['lifecycle']==='soft-deleted')throw a('A\x20soft-deleted\x20unit\x20ID\x20cannot\x20be\x20reused');return{'status':'already-exists','record':c(_0x2f1cec['record'])};}if(this['_tombstones']['has'](_0x7c17c2['record']['unitID']))throw a('A\x20purged\x20unit\x20ID\x20cannot\x20be\x20reused');let _0x37e70d=r(_0x7c17c2['sheetBlocks']),_0x13284e={'record':c(_0x7c17c2['record']),'lifecycle':'active','snapshots':new Map([[0x1,c(_0x7c17c2['snapshot'])]]),'changesets':new Map(),'sheetBlocks':_0x37e70d};return this['_units']['set'](_0x7c17c2['record']['unitID'],_0x13284e),{'status':'created','record':c(_0x13284e['record'])};}async['deleteUnits'](_0x3a0bd6,_0x2659a6){this['_assertOpen']();let _0x1db169=s(_0x2659a6['unitIDs'])['map'](_0x4de8ac=>{let _0x3bc695=this['_units']['get'](_0x4de8ac);if(_0x2659a6['hardDelete']){if(_0x3bc695)return{'unitID':_0x4de8ac,'stored':_0x3bc695,'status':'hard-deleted'};if(this['_tombstones']['has'](_0x4de8ac))return{'unitID':_0x4de8ac,'status':'already-hard-deleted'};throw o('Cannot\x20hard-delete\x20a\x20missing\x20unit');}if(!_0x3bc695||this['_tombstones']['has'](_0x4de8ac))throw o('Cannot\x20soft-delete\x20a\x20missing\x20unit');return{'unitID':_0x4de8ac,'stored':_0x3bc695,'status':_0x3bc695['lifecycle']==='active'?'soft-deleted':'already-soft-deleted'};});for(let _0x5d1fe3 of _0x1db169)_0x2659a6['hardDelete']&&_0x5d1fe3['status']==='hard-deleted'?(this['_units']['delete'](_0x5d1fe3['unitID']),this['_tombstones']['add'](_0x5d1fe3['unitID'])):!_0x2659a6['hardDelete']&&_0x5d1fe3['stored']&&(_0x5d1fe3['stored']['lifecycle']='soft-deleted');return{'units':_0x1db169['map'](({unitID:_0x52d553,status:_0x16ac7d})=>({'unitID':_0x52d553,'status':_0x16ac7d}))};}async['recoverUnits'](_0x1d700d,_0x285b26){this['_assertOpen']();let _0x37498f=s(_0x285b26['unitIDs'])['map'](_0x5cae96=>{if(this['_tombstones']['has'](_0x5cae96))throw a('A\x20purged\x20unit\x20cannot\x20be\x20recovered');let _0x3d7e6b=this['_units']['get'](_0x5cae96);if(!_0x3d7e6b)throw o('Cannot\x20recover\x20a\x20missing\x20unit');return{'unitID':_0x5cae96,'stored':_0x3d7e6b,'status':_0x3d7e6b['lifecycle']==='active'?'already-active':'recovered'};});for(let _0x50d6b9 of _0x37498f)_0x50d6b9['stored']['lifecycle']='active';return{'units':_0x37498f['map'](({unitID:_0x24b901,status:_0x3bfbae})=>({'unitID':_0x24b901,'status':_0x3bfbae}))};}async['commitChangeset'](_0x26c2ee,_0x3cca2f){this['_assertOpen']();let {changeset:_0x574988}=_0x3cca2f,_0x335a59=this['_activeUnit'](_0x574988['unitID']);if(!_0x335a59)throw o('Cannot\x20commit\x20to\x20a\x20missing\x20unit');if(_0x335a59['record']['headRevision']!==_0x574988['revision']-0x1)return{'status':'revision-mismatch','actualHeadRevision':_0x335a59['record']['headRevision']};let _0x50528c=c(_0x574988);return _0x50528c['createTime']=Math['floor'](Date['now']()/0x3e8),_0x335a59['changesets']['set'](_0x50528c['revision'],_0x50528c),_0x335a59['record']={..._0x335a59['record'],'headRevision':_0x50528c['revision']},{'status':'committed','changeset':c(_0x50528c),'headRevision':_0x335a59['record']['headRevision']};}async['saveSnapshot'](_0x3f89ac,_0x13fad9){this['_assertOpen']();let _0x1d17e1=this['_activeUnit'](_0x13fad9['snapshot']['unitID']);if(!_0x1d17e1)throw o('Cannot\x20snapshot\x20a\x20missing\x20unit');if(_0x13fad9['snapshot']['type']!==_0x1d17e1['record']['type']||_0x13fad9['snapshot']['rev']<0x1||_0x13fad9['snapshot']['rev']>_0x1d17e1['record']['headRevision'])throw a('Snapshot\x20does\x20not\x20match\x20the\x20stored\x20unit\x20head');let _0x491b87=c(_0x13fad9['snapshot']);i(_0x1d17e1,r(_0x13fad9['sheetBlocks'])),_0x1d17e1['snapshots']['set'](_0x491b87['rev'],_0x491b87);}async['getSheetBlock'](_0x7800af,_0x76ed7f,_0xe24f71){this['_assertOpen']();let _0x526856=this['_activeUnit'](_0x76ed7f)?.['sheetBlocks']['get'](_0xe24f71);return _0x526856?c(_0x526856):null;}async['dispose'](){this['_disposed']||(this['_disposed']=!0x0,this['_units']['clear'](),this['_tombstones']['clear']());}['_activeUnit'](_0x78530){let _0x453373=this['_units']['get'](_0x78530);return _0x453373?.['lifecycle']==='active'?_0x453373:void 0x0;}['_assertOpen'](){if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Memory\x20Database\x20Adapter\x20is\x20disposed');}};function n(_0x50d25b){let {record:_0x4d3887,snapshot:_0x4ed3ee}=_0x50d25b;if(_0x4d3887['headRevision']!==0x1||_0x4ed3ee['rev']!==0x1||_0x4ed3ee['unitID']!==_0x4d3887['unitID']||_0x4ed3ee['type']!==_0x4d3887['type'])throw a('Initial\x20unit\x20record\x20and\x20snapshot\x20must\x20match\x20at\x20revision\x201');if(typeof _0x4d3887['creatorID']!='string'||_0x4d3887['creatorID']['length']===0x0||!Number['isSafeInteger'](_0x4d3887['createdAt'])||_0x4d3887['createdAt']<0x0)throw a('Unit\x20creation\x20requires\x20creatorID\x20and\x20createdAt\x20in\x20Unix\x20milliseconds');}function r(_0x51e562){let _0x4d2ed6=new Map();for(let _0x248b42 of _0x51e562??[])_0x4d2ed6['set'](_0x248b42['id'],c(_0x248b42));return _0x4d2ed6;}function i(_0x33d6bd,_0x305225){for(let [_0x3e5b96,_0x2123a9]of _0x305225)_0x33d6bd['sheetBlocks']['set'](_0x3e5b96,_0x2123a9);}function a(_0x19e8d7){return new e['CollabError']('INVALID_REQUEST',_0x19e8d7);}function o(_0x295944){return new e['CollabError']('UNIT_NOT_FOUND',_0x295944);}function s(_0xbbd278){return[...new Set(_0xbbd278)];}function c(_0x4c7ca4){return structuredClone(_0x4c7ca4);}exports['MemoryDatabaseAdapter']=t;
1
+ Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});let e=require('@univerjs-pro/collaboration-service');var t=class{['_units']=new Map();['_tombstones']=new Set();['_disposed']=!0x1;async['getUnit'](_0x289510,_0x331368){this['_assertOpen']();let _0xb5b04c=this['_activeUnit'](_0x331368);return _0xb5b04c?c(_0xb5b04c['record']):null;}async['getSnapshot'](_0x30d587,_0xcdd530,_0x59412d){let _0x2f643c=this['_getSnapshot'](_0xcdd530,_0x59412d);return _0x2f643c?c(_0x2f643c):null;}async['getSnapshotInfo'](_0x55f13a,_0x5be9eb,_0x48ed8a){let _0x3c83f7=this['_getSnapshot'](_0x5be9eb,_0x48ed8a);return _0x3c83f7?{'unitID':_0x3c83f7['unitID'],'type':_0x3c83f7['type'],'rev':_0x3c83f7['rev']}:null;}['_getSnapshot'](_0x49ff26,_0x9f508b){this['_assertOpen']();let _0x4e74db=this['_activeUnit'](_0x49ff26);if(!_0x4e74db)return null;let _0x50786e=_0x9f508b?.['revision'],_0x743448=_0x50786e===void 0x0?_0x4e74db['record']['headRevision']:Math['min'](_0x50786e,_0x4e74db['record']['headRevision']),_0x6cf439=-0x1;for(let _0x417d27 of _0x4e74db['snapshots']['keys']())_0x417d27<=_0x743448&&_0x417d27>_0x6cf439&&(_0x6cf439=_0x417d27);return _0x4e74db['snapshots']['get'](_0x6cf439)??null;}async['getChangesets'](_0x2d5d3a,_0x2b44a2,_0x2c85d5){if(this['_assertOpen'](),_0x2c85d5['from']<0x0||_0x2c85d5['to']!==void 0x0&&_0x2c85d5['to']<0x0)throw a('Changeset\x20range\x20revisions\x20cannot\x20be\x20negative');let _0x430fa2=this['_activeUnit'](_0x2b44a2);return _0x430fa2?[..._0x430fa2['changesets']['entries']()]['filter'](([_0x589cfb])=>_0x589cfb>_0x2c85d5['from']&&(_0x2c85d5['to']===void 0x0||_0x589cfb<=_0x2c85d5['to']))['sort'](([_0x2dfec2],[_0x83a0a5])=>_0x2dfec2-_0x83a0a5)['map'](([,_0xd7c1f6])=>c(_0xd7c1f6)):null;}async['createUnit'](_0x2f9739,_0x321d5b){this['_assertOpen'](),n(_0x321d5b);let _0x2a032c=this['_units']['get'](_0x321d5b['record']['unitID']);if(_0x2a032c){if(_0x2a032c['lifecycle']==='soft-deleted')throw a('A\x20soft-deleted\x20unit\x20ID\x20cannot\x20be\x20reused');return{'status':'already-exists','record':c(_0x2a032c['record'])};}if(this['_tombstones']['has'](_0x321d5b['record']['unitID']))throw a('A\x20purged\x20unit\x20ID\x20cannot\x20be\x20reused');let _0xb984df=r(_0x321d5b['sheetBlocks']),_0x2b5e05={'record':c(_0x321d5b['record']),'lifecycle':'active','snapshots':new Map([[0x1,c(_0x321d5b['snapshot'])]]),'changesets':new Map(),'sheetBlocks':_0xb984df};return this['_units']['set'](_0x321d5b['record']['unitID'],_0x2b5e05),{'status':'created','record':c(_0x2b5e05['record'])};}async['deleteUnits'](_0xcb4f54,_0x33577d){this['_assertOpen']();let _0x30d30e=s(_0x33577d['unitIDs'])['map'](_0xdef2b5=>{let _0x553411=this['_units']['get'](_0xdef2b5);if(_0x33577d['hardDelete']){if(_0x553411)return{'unitID':_0xdef2b5,'stored':_0x553411,'status':'hard-deleted'};if(this['_tombstones']['has'](_0xdef2b5))return{'unitID':_0xdef2b5,'status':'already-hard-deleted'};throw o('Cannot\x20hard-delete\x20a\x20missing\x20unit');}if(!_0x553411||this['_tombstones']['has'](_0xdef2b5))throw o('Cannot\x20soft-delete\x20a\x20missing\x20unit');return{'unitID':_0xdef2b5,'stored':_0x553411,'status':_0x553411['lifecycle']==='active'?'soft-deleted':'already-soft-deleted'};});for(let _0x33055b of _0x30d30e)_0x33577d['hardDelete']&&_0x33055b['status']==='hard-deleted'?(this['_units']['delete'](_0x33055b['unitID']),this['_tombstones']['add'](_0x33055b['unitID'])):!_0x33577d['hardDelete']&&_0x33055b['stored']&&(_0x33055b['stored']['lifecycle']='soft-deleted');return{'units':_0x30d30e['map'](({unitID:_0x1a7df0,status:_0x28bb16})=>({'unitID':_0x1a7df0,'status':_0x28bb16}))};}async['recoverUnits'](_0x54a7d9,_0x3d62e8){this['_assertOpen']();let _0x23f560=s(_0x3d62e8['unitIDs'])['map'](_0x6a7267=>{if(this['_tombstones']['has'](_0x6a7267))throw a('A\x20purged\x20unit\x20cannot\x20be\x20recovered');let _0x353756=this['_units']['get'](_0x6a7267);if(!_0x353756)throw o('Cannot\x20recover\x20a\x20missing\x20unit');return{'unitID':_0x6a7267,'stored':_0x353756,'status':_0x353756['lifecycle']==='active'?'already-active':'recovered'};});for(let _0x193d17 of _0x23f560)_0x193d17['stored']['lifecycle']='active';return{'units':_0x23f560['map'](({unitID:_0x850c6d,status:_0x1626f9})=>({'unitID':_0x850c6d,'status':_0x1626f9}))};}async['commitChangeset'](_0x23b442,_0x36e9e7){this['_assertOpen']();let {changeset:_0x5804d0}=_0x36e9e7,_0xf923f8=this['_activeUnit'](_0x5804d0['unitID']);if(!_0xf923f8)throw o('Cannot\x20commit\x20to\x20a\x20missing\x20unit');if(_0xf923f8['record']['headRevision']!==_0x5804d0['revision']-0x1)return{'status':'revision-mismatch','actualHeadRevision':_0xf923f8['record']['headRevision']};let _0x2c7362=c(_0x5804d0);return _0x2c7362['createTime']=Math['floor'](Date['now']()/0x3e8),_0xf923f8['changesets']['set'](_0x2c7362['revision'],_0x2c7362),_0xf923f8['record']={..._0xf923f8['record'],'headRevision':_0x2c7362['revision']},{'status':'committed','changeset':c(_0x2c7362),'headRevision':_0xf923f8['record']['headRevision']};}async['saveSnapshot'](_0x568384,_0x34b3a7){this['_assertOpen']();let _0x4f3733=this['_activeUnit'](_0x34b3a7['snapshot']['unitID']);if(!_0x4f3733)throw o('Cannot\x20snapshot\x20a\x20missing\x20unit');if(_0x34b3a7['snapshot']['type']!==_0x4f3733['record']['type']||_0x34b3a7['snapshot']['rev']<0x1||_0x34b3a7['snapshot']['rev']>_0x4f3733['record']['headRevision'])throw a('Snapshot\x20does\x20not\x20match\x20the\x20stored\x20unit\x20head');let _0x172e59=c(_0x34b3a7['snapshot']);i(_0x4f3733,r(_0x34b3a7['sheetBlocks'])),_0x4f3733['snapshots']['set'](_0x172e59['rev'],_0x172e59);}async['getSheetBlock'](_0x1a75c1,_0x595acd,_0x2c0eda){this['_assertOpen']();let _0x362a8d=this['_activeUnit'](_0x595acd)?.['sheetBlocks']['get'](_0x2c0eda);return _0x362a8d?c(_0x362a8d):null;}async['dispose'](){this['_disposed']||(this['_disposed']=!0x0,this['_units']['clear'](),this['_tombstones']['clear']());}['_activeUnit'](_0x3d228d){let _0x325ae3=this['_units']['get'](_0x3d228d);return _0x325ae3?.['lifecycle']==='active'?_0x325ae3:void 0x0;}['_assertOpen'](){if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Memory\x20Database\x20Adapter\x20is\x20disposed');}};function n(_0x2a3cec){let {record:_0x471cda,snapshot:_0x38868e}=_0x2a3cec;if(_0x471cda['headRevision']!==0x1||_0x38868e['rev']!==0x1||_0x38868e['unitID']!==_0x471cda['unitID']||_0x38868e['type']!==_0x471cda['type'])throw a('Initial\x20unit\x20record\x20and\x20snapshot\x20must\x20match\x20at\x20revision\x201');if(typeof _0x471cda['creatorID']!='string'||_0x471cda['creatorID']['length']===0x0||!Number['isSafeInteger'](_0x471cda['createdAt'])||_0x471cda['createdAt']<0x0)throw a('Unit\x20creation\x20requires\x20creatorID\x20and\x20createdAt\x20in\x20Unix\x20milliseconds');}function r(_0x1dd81d){let _0x4d23e0=new Map();for(let _0x3c5cc2 of _0x1dd81d??[])_0x4d23e0['set'](_0x3c5cc2['id'],c(_0x3c5cc2));return _0x4d23e0;}function i(_0x51e84b,_0x157728){for(let [_0x368db2,_0x4278ea]of _0x157728)_0x51e84b['sheetBlocks']['set'](_0x368db2,_0x4278ea);}function a(_0x11e972){return new e['CollabError']('INVALID_REQUEST',_0x11e972);}function o(_0x4dd051){return new e['CollabError']('UNIT_NOT_FOUND',_0x4dd051);}function s(_0x2c224d){return[...new Set(_0x2c224d)];}function c(_0x3984e6){return structuredClone(_0x3984e6);}exports['MemoryDatabaseAdapter']=t;
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- const _0xf11711=_0x35b7;(function(_0x490bf9,_0x38e1b4){const _0x5553a3=_0x35b7,_0x4d8536=_0x490bf9();while(!![]){try{const _0x44f135=-parseInt(_0x5553a3(0xc9))/0x1*(parseInt(_0x5553a3(0xc7))/0x2)+-parseInt(_0x5553a3(0xcd))/0x3+parseInt(_0x5553a3(0xce))/0x4+parseInt(_0x5553a3(0xcf))/0x5*(-parseInt(_0x5553a3(0xc8))/0x6)+-parseInt(_0x5553a3(0xcc))/0x7+-parseInt(_0x5553a3(0xd0))/0x8*(-parseInt(_0x5553a3(0xca))/0x9)+parseInt(_0x5553a3(0xd1))/0xa;if(_0x44f135===_0x38e1b4)break;else _0x4d8536['push'](_0x4d8536['shift']());}catch(_0x57382b){_0x4d8536['push'](_0x4d8536['shift']());}}}(_0x565e,0x2d4cb));import _0x55f4c7 from'./index.cjs';const facadeExport0=_0x55f4c7[_0xf11711(0xcb)];export{facadeExport0 as MemoryDatabaseAdapter};function _0x35b7(_0x2b5753,_0x2a71c4){_0x2b5753=_0x2b5753-0xc7;const _0x565ea5=_0x565e();let _0x35b749=_0x565ea5[_0x2b5753];return _0x35b749;}function _0x565e(){const _0x7598da=['6886320NvgTIB','194HBWrfc','324zOCmQJ','3319ScLogh','3708MuAxpc','MemoryDatabaseAdapter','2013977TguuJr','365043FABRMy','409224KHhBjS','8290WDyRwc','4184hJYFNA'];_0x565e=function(){return _0x7598da;};return _0x565e();}
1
+ function _0x30c2(_0x11db08,_0x5c6c5e){_0x11db08=_0x11db08-0x137;const _0x534d3c=_0x534d();let _0x30c2d4=_0x534d3c[_0x11db08];return _0x30c2d4;}const _0x169337=_0x30c2;(function(_0x5b5f7b,_0x5e3b82){const _0x167a14=_0x30c2,_0x3508b5=_0x5b5f7b();while(!![]){try{const _0x1be969=parseInt(_0x167a14(0x140))/0x1*(-parseInt(_0x167a14(0x13a))/0x2)+-parseInt(_0x167a14(0x139))/0x3+parseInt(_0x167a14(0x138))/0x4*(parseInt(_0x167a14(0x13d))/0x5)+parseInt(_0x167a14(0x137))/0x6*(parseInt(_0x167a14(0x13f))/0x7)+parseInt(_0x167a14(0x13c))/0x8+-parseInt(_0x167a14(0x13b))/0x9*(-parseInt(_0x167a14(0x141))/0xa)+-parseInt(_0x167a14(0x142))/0xb;if(_0x1be969===_0x5e3b82)break;else _0x3508b5['push'](_0x3508b5['shift']());}catch(_0x160d08){_0x3508b5['push'](_0x3508b5['shift']());}}}(_0x534d,0x95d0d));function _0x534d(){const _0x4e60e5=['36gEejJA','4866088BCUBMg','1250845jsQSMV','MemoryDatabaseAdapter','378lGzkcR','936046JhnguT','2280530xfhwfD','13600334wfUFLK','73086SBMarA','16ckvdFJ','1178514QyLrdr','2UxtITq'];_0x534d=function(){return _0x4e60e5;};return _0x534d();}import _0x23244c from'./index.cjs';const facadeExport0=_0x23244c[_0x169337(0x13e)];export{facadeExport0 as MemoryDatabaseAdapter};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@univerjs-pro/collaboration-database-memory",
3
3
  "type": "module",
4
- "version": "1.1.0",
4
+ "version": "1.2.0",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",
@@ -16,7 +16,7 @@
16
16
  "dist"
17
17
  ],
18
18
  "dependencies": {
19
- "@univerjs-pro/collaboration-service": "1.1.0",
20
- "@univerjs/protocol": "1.1.0"
19
+ "@univerjs-pro/collaboration-service": "1.2.0",
20
+ "@univerjs/protocol": "1.2.0"
21
21
  }
22
22
  }