@univerjs-pro/collaboration-database-memory 1.0.2 → 1.0.3

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'](_0x53fb01,_0x523766){this['_assertOpen']();let _0xe71498=this['_activeUnit'](_0x523766);return _0xe71498?c(_0xe71498['record']):null;}async['getSnapshot'](_0x36947b,_0x177727,_0x57b2d0){let _0x166b79=this['_getSnapshot'](_0x177727,_0x57b2d0);return _0x166b79?c(_0x166b79):null;}async['getSnapshotInfo'](_0x5b14b2,_0x47cbba,_0x57db25){let _0x2eb0e2=this['_getSnapshot'](_0x47cbba,_0x57db25);return _0x2eb0e2?{'unitID':_0x2eb0e2['unitID'],'type':_0x2eb0e2['type'],'rev':_0x2eb0e2['rev']}:null;}['_getSnapshot'](_0x11f2a1,_0x1eae95){this['_assertOpen']();let _0x4372bd=this['_activeUnit'](_0x11f2a1);if(!_0x4372bd)return null;let _0x2fcbfb=_0x1eae95?.['revision'],_0x3f4928=_0x2fcbfb===void 0x0?_0x4372bd['record']['headRevision']:Math['min'](_0x2fcbfb,_0x4372bd['record']['headRevision']),_0x2ef55c=-0x1;for(let _0x135a90 of _0x4372bd['snapshots']['keys']())_0x135a90<=_0x3f4928&&_0x135a90>_0x2ef55c&&(_0x2ef55c=_0x135a90);return _0x4372bd['snapshots']['get'](_0x2ef55c)??null;}async['getChangesets'](_0x484d52,_0x3688af,_0x282331){if(this['_assertOpen'](),_0x282331['from']<0x0||_0x282331['to']!==void 0x0&&_0x282331['to']<0x0)throw a('Changeset\x20range\x20revisions\x20cannot\x20be\x20negative');let _0x8231c7=this['_activeUnit'](_0x3688af);return _0x8231c7?[..._0x8231c7['changesets']['entries']()]['filter'](([_0x43ed76])=>_0x43ed76>_0x282331['from']&&(_0x282331['to']===void 0x0||_0x43ed76<=_0x282331['to']))['sort'](([_0x41821b],[_0x5ad48a])=>_0x41821b-_0x5ad48a)['map'](([,_0x329b42])=>c(_0x329b42)):null;}async['createUnit'](_0x2cb670,_0x114769){this['_assertOpen'](),n(_0x114769);let _0xb0fa03=this['_units']['get'](_0x114769['record']['unitID']);if(_0xb0fa03){if(_0xb0fa03['lifecycle']==='soft-deleted')throw a('A\x20soft-deleted\x20unit\x20ID\x20cannot\x20be\x20reused');return{'status':'already-exists','record':c(_0xb0fa03['record'])};}if(this['_tombstones']['has'](_0x114769['record']['unitID']))throw a('A\x20purged\x20unit\x20ID\x20cannot\x20be\x20reused');let _0x585c1a=r(_0x114769['sheetBlocks']),_0x4d33fd={'record':c(_0x114769['record']),'lifecycle':'active','snapshots':new Map([[0x1,c(_0x114769['snapshot'])]]),'changesets':new Map(),'sheetBlocks':_0x585c1a};return this['_units']['set'](_0x114769['record']['unitID'],_0x4d33fd),{'status':'created','record':c(_0x4d33fd['record'])};}async['deleteUnits'](_0x24ef4d,_0x2afd62){this['_assertOpen']();let _0x139349=s(_0x2afd62['unitIDs'])['map'](_0x4e0bb5=>{let _0xbb3269=this['_units']['get'](_0x4e0bb5);if(_0x2afd62['hardDelete']){if(_0xbb3269)return{'unitID':_0x4e0bb5,'stored':_0xbb3269,'status':'hard-deleted'};if(this['_tombstones']['has'](_0x4e0bb5))return{'unitID':_0x4e0bb5,'status':'already-hard-deleted'};throw o('Cannot\x20hard-delete\x20a\x20missing\x20unit');}if(!_0xbb3269||this['_tombstones']['has'](_0x4e0bb5))throw o('Cannot\x20soft-delete\x20a\x20missing\x20unit');return{'unitID':_0x4e0bb5,'stored':_0xbb3269,'status':_0xbb3269['lifecycle']==='active'?'soft-deleted':'already-soft-deleted'};});for(let _0x4a22b4 of _0x139349)_0x2afd62['hardDelete']&&_0x4a22b4['status']==='hard-deleted'?(this['_units']['delete'](_0x4a22b4['unitID']),this['_tombstones']['add'](_0x4a22b4['unitID'])):!_0x2afd62['hardDelete']&&_0x4a22b4['stored']&&(_0x4a22b4['stored']['lifecycle']='soft-deleted');return{'units':_0x139349['map'](({unitID:_0x4597e4,status:_0x136a26})=>({'unitID':_0x4597e4,'status':_0x136a26}))};}async['recoverUnits'](_0x6e1b4c,_0x44b160){this['_assertOpen']();let _0x4166b4=s(_0x44b160['unitIDs'])['map'](_0x461867=>{if(this['_tombstones']['has'](_0x461867))throw a('A\x20purged\x20unit\x20cannot\x20be\x20recovered');let _0x456120=this['_units']['get'](_0x461867);if(!_0x456120)throw o('Cannot\x20recover\x20a\x20missing\x20unit');return{'unitID':_0x461867,'stored':_0x456120,'status':_0x456120['lifecycle']==='active'?'already-active':'recovered'};});for(let _0x2f902d of _0x4166b4)_0x2f902d['stored']['lifecycle']='active';return{'units':_0x4166b4['map'](({unitID:_0x243160,status:_0x18015a})=>({'unitID':_0x243160,'status':_0x18015a}))};}async['commitChangeset'](_0x543491,_0x1b8b2a){this['_assertOpen']();let {changeset:_0x51ec92}=_0x1b8b2a,_0x580608=this['_activeUnit'](_0x51ec92['unitID']);if(!_0x580608)throw o('Cannot\x20commit\x20to\x20a\x20missing\x20unit');if(_0x580608['record']['headRevision']!==_0x51ec92['revision']-0x1)return{'status':'revision-mismatch','actualHeadRevision':_0x580608['record']['headRevision']};let _0x179c04=c(_0x51ec92);return _0x179c04['createTime']=Math['floor'](Date['now']()/0x3e8),_0x580608['changesets']['set'](_0x179c04['revision'],_0x179c04),_0x580608['record']={..._0x580608['record'],'headRevision':_0x179c04['revision']},{'status':'committed','changeset':c(_0x179c04),'headRevision':_0x580608['record']['headRevision']};}async['saveSnapshot'](_0x23d75f,_0x34fafb){this['_assertOpen']();let _0x4a8519=this['_activeUnit'](_0x34fafb['snapshot']['unitID']);if(!_0x4a8519)throw o('Cannot\x20snapshot\x20a\x20missing\x20unit');if(_0x34fafb['snapshot']['type']!==_0x4a8519['record']['type']||_0x34fafb['snapshot']['rev']<0x1||_0x34fafb['snapshot']['rev']>_0x4a8519['record']['headRevision'])throw a('Snapshot\x20does\x20not\x20match\x20the\x20stored\x20unit\x20head');let _0x394401=c(_0x34fafb['snapshot']);i(_0x4a8519,r(_0x34fafb['sheetBlocks'])),_0x4a8519['snapshots']['set'](_0x394401['rev'],_0x394401);}async['getSheetBlock'](_0x589d8c,_0x2073e9,_0x2532b6){this['_assertOpen']();let _0x4f8d9d=this['_activeUnit'](_0x2073e9)?.['sheetBlocks']['get'](_0x2532b6);return _0x4f8d9d?c(_0x4f8d9d):null;}async['dispose'](){this['_disposed']||(this['_disposed']=!0x0,this['_units']['clear'](),this['_tombstones']['clear']());}['_activeUnit'](_0x1c0cef){let _0x85509=this['_units']['get'](_0x1c0cef);return _0x85509?.['lifecycle']==='active'?_0x85509:void 0x0;}['_assertOpen'](){if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Memory\x20Database\x20Adapter\x20is\x20disposed');}};function n(_0xbcdc8c){let {record:_0x9a5899,snapshot:_0x4ae7c}=_0xbcdc8c;if(_0x9a5899['headRevision']!==0x1||_0x4ae7c['rev']!==0x1||_0x4ae7c['unitID']!==_0x9a5899['unitID']||_0x4ae7c['type']!==_0x9a5899['type'])throw a('Initial\x20unit\x20record\x20and\x20snapshot\x20must\x20match\x20at\x20revision\x201');if(typeof _0x9a5899['creatorID']!='string'||_0x9a5899['creatorID']['length']===0x0||!Number['isSafeInteger'](_0x9a5899['createdAt'])||_0x9a5899['createdAt']<0x0)throw a('Unit\x20creation\x20requires\x20creatorID\x20and\x20createdAt\x20in\x20Unix\x20milliseconds');}function r(_0x20aba6){let _0x54d2c8=new Map();for(let _0x238c3f of _0x20aba6??[])_0x54d2c8['set'](_0x238c3f['id'],c(_0x238c3f));return _0x54d2c8;}function i(_0x5b184d,_0x12804e){for(let [_0x57fd41,_0x36abfd]of _0x12804e)_0x5b184d['sheetBlocks']['set'](_0x57fd41,_0x36abfd);}function a(_0x17ba0d){return new e['CollabError']('INVALID_REQUEST',_0x17ba0d);}function o(_0x15d43d){return new e['CollabError']('UNIT_NOT_FOUND',_0x15d43d);}function s(_0x287c2d){return[...new Set(_0x287c2d)];}function c(_0x595e6c){return structuredClone(_0x595e6c);}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'](_0x5b8337,_0x5dec3d){this['_assertOpen']();let _0x3f3a97=this['_activeUnit'](_0x5dec3d);return _0x3f3a97?c(_0x3f3a97['record']):null;}async['getSnapshot'](_0x4605b9,_0x3c5e0a,_0x221dc1){let _0x29a59d=this['_getSnapshot'](_0x3c5e0a,_0x221dc1);return _0x29a59d?c(_0x29a59d):null;}async['getSnapshotInfo'](_0x231af7,_0x1c0e0e,_0x1db7a4){let _0x44905d=this['_getSnapshot'](_0x1c0e0e,_0x1db7a4);return _0x44905d?{'unitID':_0x44905d['unitID'],'type':_0x44905d['type'],'rev':_0x44905d['rev']}:null;}['_getSnapshot'](_0x11dc24,_0x30094d){this['_assertOpen']();let _0x58342a=this['_activeUnit'](_0x11dc24);if(!_0x58342a)return null;let _0x230330=_0x30094d?.['revision'],_0x3db86d=_0x230330===void 0x0?_0x58342a['record']['headRevision']:Math['min'](_0x230330,_0x58342a['record']['headRevision']),_0x5a084a=-0x1;for(let _0x40d574 of _0x58342a['snapshots']['keys']())_0x40d574<=_0x3db86d&&_0x40d574>_0x5a084a&&(_0x5a084a=_0x40d574);return _0x58342a['snapshots']['get'](_0x5a084a)??null;}async['getChangesets'](_0x249654,_0x507bdd,_0x2f8fed){if(this['_assertOpen'](),_0x2f8fed['from']<0x0||_0x2f8fed['to']!==void 0x0&&_0x2f8fed['to']<0x0)throw a('Changeset\x20range\x20revisions\x20cannot\x20be\x20negative');let _0xfc793b=this['_activeUnit'](_0x507bdd);return _0xfc793b?[..._0xfc793b['changesets']['entries']()]['filter'](([_0x1dfcfc])=>_0x1dfcfc>_0x2f8fed['from']&&(_0x2f8fed['to']===void 0x0||_0x1dfcfc<=_0x2f8fed['to']))['sort'](([_0x1e445c],[_0x4995ef])=>_0x1e445c-_0x4995ef)['map'](([,_0x111137])=>c(_0x111137)):null;}async['createUnit'](_0x2ca949,_0x599daf){this['_assertOpen'](),n(_0x599daf);let _0x4e3106=this['_units']['get'](_0x599daf['record']['unitID']);if(_0x4e3106){if(_0x4e3106['lifecycle']==='soft-deleted')throw a('A\x20soft-deleted\x20unit\x20ID\x20cannot\x20be\x20reused');return{'status':'already-exists','record':c(_0x4e3106['record'])};}if(this['_tombstones']['has'](_0x599daf['record']['unitID']))throw a('A\x20purged\x20unit\x20ID\x20cannot\x20be\x20reused');let _0x3c6576=r(_0x599daf['sheetBlocks']),_0x50699b={'record':c(_0x599daf['record']),'lifecycle':'active','snapshots':new Map([[0x1,c(_0x599daf['snapshot'])]]),'changesets':new Map(),'sheetBlocks':_0x3c6576};return this['_units']['set'](_0x599daf['record']['unitID'],_0x50699b),{'status':'created','record':c(_0x50699b['record'])};}async['deleteUnits'](_0x149446,_0x142514){this['_assertOpen']();let _0x46c9cc=s(_0x142514['unitIDs'])['map'](_0x12fbff=>{let _0x3e51b2=this['_units']['get'](_0x12fbff);if(_0x142514['hardDelete']){if(_0x3e51b2)return{'unitID':_0x12fbff,'stored':_0x3e51b2,'status':'hard-deleted'};if(this['_tombstones']['has'](_0x12fbff))return{'unitID':_0x12fbff,'status':'already-hard-deleted'};throw o('Cannot\x20hard-delete\x20a\x20missing\x20unit');}if(!_0x3e51b2||this['_tombstones']['has'](_0x12fbff))throw o('Cannot\x20soft-delete\x20a\x20missing\x20unit');return{'unitID':_0x12fbff,'stored':_0x3e51b2,'status':_0x3e51b2['lifecycle']==='active'?'soft-deleted':'already-soft-deleted'};});for(let _0x3eef8a of _0x46c9cc)_0x142514['hardDelete']&&_0x3eef8a['status']==='hard-deleted'?(this['_units']['delete'](_0x3eef8a['unitID']),this['_tombstones']['add'](_0x3eef8a['unitID'])):!_0x142514['hardDelete']&&_0x3eef8a['stored']&&(_0x3eef8a['stored']['lifecycle']='soft-deleted');return{'units':_0x46c9cc['map'](({unitID:_0x495b00,status:_0x3b328c})=>({'unitID':_0x495b00,'status':_0x3b328c}))};}async['recoverUnits'](_0x1448f3,_0x4f4b29){this['_assertOpen']();let _0x196ede=s(_0x4f4b29['unitIDs'])['map'](_0x59f973=>{if(this['_tombstones']['has'](_0x59f973))throw a('A\x20purged\x20unit\x20cannot\x20be\x20recovered');let _0x320c78=this['_units']['get'](_0x59f973);if(!_0x320c78)throw o('Cannot\x20recover\x20a\x20missing\x20unit');return{'unitID':_0x59f973,'stored':_0x320c78,'status':_0x320c78['lifecycle']==='active'?'already-active':'recovered'};});for(let _0x2f0def of _0x196ede)_0x2f0def['stored']['lifecycle']='active';return{'units':_0x196ede['map'](({unitID:_0x395674,status:_0x2ff430})=>({'unitID':_0x395674,'status':_0x2ff430}))};}async['commitChangeset'](_0x3d3464,_0x381653){this['_assertOpen']();let {changeset:_0x1a2ff1}=_0x381653,_0xd33c=this['_activeUnit'](_0x1a2ff1['unitID']);if(!_0xd33c)throw o('Cannot\x20commit\x20to\x20a\x20missing\x20unit');if(_0xd33c['record']['headRevision']!==_0x1a2ff1['revision']-0x1)return{'status':'revision-mismatch','actualHeadRevision':_0xd33c['record']['headRevision']};let _0x115037=c(_0x1a2ff1);return _0x115037['createTime']=Math['floor'](Date['now']()/0x3e8),_0xd33c['changesets']['set'](_0x115037['revision'],_0x115037),_0xd33c['record']={..._0xd33c['record'],'headRevision':_0x115037['revision']},{'status':'committed','changeset':c(_0x115037),'headRevision':_0xd33c['record']['headRevision']};}async['saveSnapshot'](_0x506ebc,_0x3ed03f){this['_assertOpen']();let _0x374f8c=this['_activeUnit'](_0x3ed03f['snapshot']['unitID']);if(!_0x374f8c)throw o('Cannot\x20snapshot\x20a\x20missing\x20unit');if(_0x3ed03f['snapshot']['type']!==_0x374f8c['record']['type']||_0x3ed03f['snapshot']['rev']<0x1||_0x3ed03f['snapshot']['rev']>_0x374f8c['record']['headRevision'])throw a('Snapshot\x20does\x20not\x20match\x20the\x20stored\x20unit\x20head');let _0x90ae28=c(_0x3ed03f['snapshot']);i(_0x374f8c,r(_0x3ed03f['sheetBlocks'])),_0x374f8c['snapshots']['set'](_0x90ae28['rev'],_0x90ae28);}async['getSheetBlock'](_0x17b394,_0x15af1a,_0xc08ae3){this['_assertOpen']();let _0xbaa0f0=this['_activeUnit'](_0x15af1a)?.['sheetBlocks']['get'](_0xc08ae3);return _0xbaa0f0?c(_0xbaa0f0):null;}async['dispose'](){this['_disposed']||(this['_disposed']=!0x0,this['_units']['clear'](),this['_tombstones']['clear']());}['_activeUnit'](_0x253004){let _0x41073f=this['_units']['get'](_0x253004);return _0x41073f?.['lifecycle']==='active'?_0x41073f:void 0x0;}['_assertOpen'](){if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Memory\x20Database\x20Adapter\x20is\x20disposed');}};function n(_0x400568){let {record:_0xf305a6,snapshot:_0x183b3b}=_0x400568;if(_0xf305a6['headRevision']!==0x1||_0x183b3b['rev']!==0x1||_0x183b3b['unitID']!==_0xf305a6['unitID']||_0x183b3b['type']!==_0xf305a6['type'])throw a('Initial\x20unit\x20record\x20and\x20snapshot\x20must\x20match\x20at\x20revision\x201');if(typeof _0xf305a6['creatorID']!='string'||_0xf305a6['creatorID']['length']===0x0||!Number['isSafeInteger'](_0xf305a6['createdAt'])||_0xf305a6['createdAt']<0x0)throw a('Unit\x20creation\x20requires\x20creatorID\x20and\x20createdAt\x20in\x20Unix\x20milliseconds');}function r(_0xe8ec45){let _0x56b3a9=new Map();for(let _0x57618d of _0xe8ec45??[])_0x56b3a9['set'](_0x57618d['id'],c(_0x57618d));return _0x56b3a9;}function i(_0x2db553,_0x5658c1){for(let [_0x1ac017,_0x1d9671]of _0x5658c1)_0x2db553['sheetBlocks']['set'](_0x1ac017,_0x1d9671);}function a(_0x543073){return new e['CollabError']('INVALID_REQUEST',_0x543073);}function o(_0x4b969e){return new e['CollabError']('UNIT_NOT_FOUND',_0x4b969e);}function s(_0x32473a){return[...new Set(_0x32473a)];}function c(_0x85898f){return structuredClone(_0x85898f);}exports['MemoryDatabaseAdapter']=t;
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- function _0x57dd(){const _0x42a0ae=['MemoryDatabaseAdapter','139700zHmuQj','18UHbSew','796809QeJJQf','21drFubd','235WUlEsL','1389800Ndhyhc','3491961kpqrbP','20VvMCSW','23556MpeNPH','451540JNctWe','624198xNnCcF'];_0x57dd=function(){return _0x42a0ae;};return _0x57dd();}const _0x1c221e=_0x5d9c;function _0x5d9c(_0x39500b,_0x317985){_0x39500b=_0x39500b-0xaa;const _0x57ddc1=_0x57dd();let _0x5d9c6c=_0x57ddc1[_0x39500b];return _0x5d9c6c;}(function(_0x48854d,_0x4b0309){const _0x3eb9f7=_0x5d9c,_0x1efee6=_0x48854d();while(!![]){try{const _0x3004e7=-parseInt(_0x3eb9f7(0xb1))/0x1+-parseInt(_0x3eb9f7(0xae))/0x2+-parseInt(_0x3eb9f7(0xb3))/0x3+parseInt(_0x3eb9f7(0xad))/0x4*(parseInt(_0x3eb9f7(0xb5))/0x5)+-parseInt(_0x3eb9f7(0xaf))/0x6*(-parseInt(_0x3eb9f7(0xb4))/0x7)+parseInt(_0x3eb9f7(0xaa))/0x8*(-parseInt(_0x3eb9f7(0xb2))/0x9)+-parseInt(_0x3eb9f7(0xac))/0xa*(-parseInt(_0x3eb9f7(0xab))/0xb);if(_0x3004e7===_0x4b0309)break;else _0x1efee6['push'](_0x1efee6['shift']());}catch(_0x358320){_0x1efee6['push'](_0x1efee6['shift']());}}}(_0x57dd,0x3be0d));import _0xedcef2 from'./index.cjs';const facadeExport0=_0xedcef2[_0x1c221e(0xb0)];export{facadeExport0 as MemoryDatabaseAdapter};
1
+ const _0x1d54fa=_0x4c6a;(function(_0x45d0d3,_0x5e727b){const _0x5ecf29=_0x4c6a,_0x4b28a3=_0x45d0d3();while(!![]){try{const _0x40bf15=parseInt(_0x5ecf29(0x1b4))/0x1*(parseInt(_0x5ecf29(0x1ae))/0x2)+-parseInt(_0x5ecf29(0x1af))/0x3*(parseInt(_0x5ecf29(0x1ab))/0x4)+parseInt(_0x5ecf29(0x1ac))/0x5*(-parseInt(_0x5ecf29(0x1b5))/0x6)+parseInt(_0x5ecf29(0x1b0))/0x7+parseInt(_0x5ecf29(0x1b1))/0x8+-parseInt(_0x5ecf29(0x1b3))/0x9+parseInt(_0x5ecf29(0x1b2))/0xa;if(_0x40bf15===_0x5e727b)break;else _0x4b28a3['push'](_0x4b28a3['shift']());}catch(_0x19791c){_0x4b28a3['push'](_0x4b28a3['shift']());}}}(_0x4c22,0x46094));import _0x2b3b1d from'./index.cjs';function _0x4c22(){const _0x4ad0be=['125CCTspj','MemoryDatabaseAdapter','1006372bBaVjO','5223hQMyjw','2754955foxTCa','764480bnwutU','1108450rFHCur','4048830WZbWdP','1xyEXbO','15654umXLBa','692upkhhO'];_0x4c22=function(){return _0x4ad0be;};return _0x4c22();}const facadeExport0=_0x2b3b1d[_0x1d54fa(0x1ad)];function _0x4c6a(_0xa1bbb5,_0x311b20){_0xa1bbb5=_0xa1bbb5-0x1ab;const _0x4c224b=_0x4c22();let _0x4c6a4e=_0x4c224b[_0xa1bbb5];return _0x4c6a4e;}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.0.2",
4
+ "version": "1.0.3",
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.0.2",
20
- "@univerjs/protocol": "1.0.2"
19
+ "@univerjs-pro/collaboration-service": "1.0.3",
20
+ "@univerjs/protocol": "1.0.3"
21
21
  }
22
22
  }