@univerjs-pro/collaboration-database-memory 1.0.4 → 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'](_0x39e5e4,_0x31426f){this['_assertOpen']();let _0x4fb1b7=this['_activeUnit'](_0x31426f);return _0x4fb1b7?c(_0x4fb1b7['record']):null;}async['getSnapshot'](_0x149c69,_0x12fd7d,_0x4c8234){let _0x190b35=this['_getSnapshot'](_0x12fd7d,_0x4c8234);return _0x190b35?c(_0x190b35):null;}async['getSnapshotInfo'](_0x4a3c13,_0x531ff5,_0x4eb52d){let _0x27c4ad=this['_getSnapshot'](_0x531ff5,_0x4eb52d);return _0x27c4ad?{'unitID':_0x27c4ad['unitID'],'type':_0x27c4ad['type'],'rev':_0x27c4ad['rev']}:null;}['_getSnapshot'](_0x2851cf,_0x54a74b){this['_assertOpen']();let _0x51b0f9=this['_activeUnit'](_0x2851cf);if(!_0x51b0f9)return null;let _0x144c2f=_0x54a74b?.['revision'],_0x2455e5=_0x144c2f===void 0x0?_0x51b0f9['record']['headRevision']:Math['min'](_0x144c2f,_0x51b0f9['record']['headRevision']),_0x22f16d=-0x1;for(let _0x1738c3 of _0x51b0f9['snapshots']['keys']())_0x1738c3<=_0x2455e5&&_0x1738c3>_0x22f16d&&(_0x22f16d=_0x1738c3);return _0x51b0f9['snapshots']['get'](_0x22f16d)??null;}async['getChangesets'](_0x25483d,_0x309e93,_0x280617){if(this['_assertOpen'](),_0x280617['from']<0x0||_0x280617['to']!==void 0x0&&_0x280617['to']<0x0)throw a('Changeset\x20range\x20revisions\x20cannot\x20be\x20negative');let _0x4c977b=this['_activeUnit'](_0x309e93);return _0x4c977b?[..._0x4c977b['changesets']['entries']()]['filter'](([_0x3d769f])=>_0x3d769f>_0x280617['from']&&(_0x280617['to']===void 0x0||_0x3d769f<=_0x280617['to']))['sort'](([_0x4bfb63],[_0x1fa51b])=>_0x4bfb63-_0x1fa51b)['map'](([,_0x116432])=>c(_0x116432)):null;}async['createUnit'](_0x555da3,_0x324a8){this['_assertOpen'](),n(_0x324a8);let _0x414d94=this['_units']['get'](_0x324a8['record']['unitID']);if(_0x414d94){if(_0x414d94['lifecycle']==='soft-deleted')throw a('A\x20soft-deleted\x20unit\x20ID\x20cannot\x20be\x20reused');return{'status':'already-exists','record':c(_0x414d94['record'])};}if(this['_tombstones']['has'](_0x324a8['record']['unitID']))throw a('A\x20purged\x20unit\x20ID\x20cannot\x20be\x20reused');let _0x501051=r(_0x324a8['sheetBlocks']),_0x4ce658={'record':c(_0x324a8['record']),'lifecycle':'active','snapshots':new Map([[0x1,c(_0x324a8['snapshot'])]]),'changesets':new Map(),'sheetBlocks':_0x501051};return this['_units']['set'](_0x324a8['record']['unitID'],_0x4ce658),{'status':'created','record':c(_0x4ce658['record'])};}async['deleteUnits'](_0x320a17,_0x2961c5){this['_assertOpen']();let _0x5e8ef6=s(_0x2961c5['unitIDs'])['map'](_0x26d6f5=>{let _0x102711=this['_units']['get'](_0x26d6f5);if(_0x2961c5['hardDelete']){if(_0x102711)return{'unitID':_0x26d6f5,'stored':_0x102711,'status':'hard-deleted'};if(this['_tombstones']['has'](_0x26d6f5))return{'unitID':_0x26d6f5,'status':'already-hard-deleted'};throw o('Cannot\x20hard-delete\x20a\x20missing\x20unit');}if(!_0x102711||this['_tombstones']['has'](_0x26d6f5))throw o('Cannot\x20soft-delete\x20a\x20missing\x20unit');return{'unitID':_0x26d6f5,'stored':_0x102711,'status':_0x102711['lifecycle']==='active'?'soft-deleted':'already-soft-deleted'};});for(let _0xa7cc96 of _0x5e8ef6)_0x2961c5['hardDelete']&&_0xa7cc96['status']==='hard-deleted'?(this['_units']['delete'](_0xa7cc96['unitID']),this['_tombstones']['add'](_0xa7cc96['unitID'])):!_0x2961c5['hardDelete']&&_0xa7cc96['stored']&&(_0xa7cc96['stored']['lifecycle']='soft-deleted');return{'units':_0x5e8ef6['map'](({unitID:_0x2a2cbd,status:_0x580f99})=>({'unitID':_0x2a2cbd,'status':_0x580f99}))};}async['recoverUnits'](_0x3155ad,_0x250444){this['_assertOpen']();let _0x1d3bca=s(_0x250444['unitIDs'])['map'](_0xf15f32=>{if(this['_tombstones']['has'](_0xf15f32))throw a('A\x20purged\x20unit\x20cannot\x20be\x20recovered');let _0x2a859f=this['_units']['get'](_0xf15f32);if(!_0x2a859f)throw o('Cannot\x20recover\x20a\x20missing\x20unit');return{'unitID':_0xf15f32,'stored':_0x2a859f,'status':_0x2a859f['lifecycle']==='active'?'already-active':'recovered'};});for(let _0x3ad9d8 of _0x1d3bca)_0x3ad9d8['stored']['lifecycle']='active';return{'units':_0x1d3bca['map'](({unitID:_0x3c1bc0,status:_0x2df3b5})=>({'unitID':_0x3c1bc0,'status':_0x2df3b5}))};}async['commitChangeset'](_0x459eba,_0x13c3fb){this['_assertOpen']();let {changeset:_0x4ad6c3}=_0x13c3fb,_0x4e2593=this['_activeUnit'](_0x4ad6c3['unitID']);if(!_0x4e2593)throw o('Cannot\x20commit\x20to\x20a\x20missing\x20unit');if(_0x4e2593['record']['headRevision']!==_0x4ad6c3['revision']-0x1)return{'status':'revision-mismatch','actualHeadRevision':_0x4e2593['record']['headRevision']};let _0x198076=c(_0x4ad6c3);return _0x198076['createTime']=Math['floor'](Date['now']()/0x3e8),_0x4e2593['changesets']['set'](_0x198076['revision'],_0x198076),_0x4e2593['record']={..._0x4e2593['record'],'headRevision':_0x198076['revision']},{'status':'committed','changeset':c(_0x198076),'headRevision':_0x4e2593['record']['headRevision']};}async['saveSnapshot'](_0x3e337c,_0x20e26c){this['_assertOpen']();let _0x291f27=this['_activeUnit'](_0x20e26c['snapshot']['unitID']);if(!_0x291f27)throw o('Cannot\x20snapshot\x20a\x20missing\x20unit');if(_0x20e26c['snapshot']['type']!==_0x291f27['record']['type']||_0x20e26c['snapshot']['rev']<0x1||_0x20e26c['snapshot']['rev']>_0x291f27['record']['headRevision'])throw a('Snapshot\x20does\x20not\x20match\x20the\x20stored\x20unit\x20head');let _0x23d960=c(_0x20e26c['snapshot']);i(_0x291f27,r(_0x20e26c['sheetBlocks'])),_0x291f27['snapshots']['set'](_0x23d960['rev'],_0x23d960);}async['getSheetBlock'](_0x2e7841,_0x2d7d12,_0x177f19){this['_assertOpen']();let _0x27b5b4=this['_activeUnit'](_0x2d7d12)?.['sheetBlocks']['get'](_0x177f19);return _0x27b5b4?c(_0x27b5b4):null;}async['dispose'](){this['_disposed']||(this['_disposed']=!0x0,this['_units']['clear'](),this['_tombstones']['clear']());}['_activeUnit'](_0x2da7d9){let _0x3b18c1=this['_units']['get'](_0x2da7d9);return _0x3b18c1?.['lifecycle']==='active'?_0x3b18c1:void 0x0;}['_assertOpen'](){if(this['_disposed'])throw new e['CollabError']('INTERNAL_ERROR','Memory\x20Database\x20Adapter\x20is\x20disposed');}};function n(_0x2b33a5){let {record:_0x22a50c,snapshot:_0x43f3de}=_0x2b33a5;if(_0x22a50c['headRevision']!==0x1||_0x43f3de['rev']!==0x1||_0x43f3de['unitID']!==_0x22a50c['unitID']||_0x43f3de['type']!==_0x22a50c['type'])throw a('Initial\x20unit\x20record\x20and\x20snapshot\x20must\x20match\x20at\x20revision\x201');if(typeof _0x22a50c['creatorID']!='string'||_0x22a50c['creatorID']['length']===0x0||!Number['isSafeInteger'](_0x22a50c['createdAt'])||_0x22a50c['createdAt']<0x0)throw a('Unit\x20creation\x20requires\x20creatorID\x20and\x20createdAt\x20in\x20Unix\x20milliseconds');}function r(_0x555535){let _0x4e9ee9=new Map();for(let _0x53e675 of _0x555535??[])_0x4e9ee9['set'](_0x53e675['id'],c(_0x53e675));return _0x4e9ee9;}function i(_0x2f8483,_0x3e9b57){for(let [_0x82b77f,_0x4e4592]of _0x3e9b57)_0x2f8483['sheetBlocks']['set'](_0x82b77f,_0x4e4592);}function a(_0x3bc0cf){return new e['CollabError']('INVALID_REQUEST',_0x3bc0cf);}function o(_0x419bc0){return new e['CollabError']('UNIT_NOT_FOUND',_0x419bc0);}function s(_0x2682d1){return[...new Set(_0x2682d1)];}function c(_0x270303){return structuredClone(_0x270303);}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
- (function(_0x2c32ae,_0x3e877a){const _0x78e03d=_0x2d61,_0x10f00d=_0x2c32ae();while(!![]){try{const _0x4aef6e=parseInt(_0x78e03d(0x143))/0x1+parseInt(_0x78e03d(0x13d))/0x2+-parseInt(_0x78e03d(0x145))/0x3*(parseInt(_0x78e03d(0x13f))/0x4)+-parseInt(_0x78e03d(0x141))/0x5+-parseInt(_0x78e03d(0x142))/0x6*(-parseInt(_0x78e03d(0x13e))/0x7)+parseInt(_0x78e03d(0x146))/0x8*(parseInt(_0x78e03d(0x140))/0x9)+parseInt(_0x78e03d(0x144))/0xa*(-parseInt(_0x78e03d(0x147))/0xb);if(_0x4aef6e===_0x3e877a)break;else _0x10f00d['push'](_0x10f00d['shift']());}catch(_0xbdc2f6){_0x10f00d['push'](_0x10f00d['shift']());}}}(_0x1566,0x3c5bf));function _0x2d61(_0xf75f45,_0x6af6d3){_0xf75f45=_0xf75f45-0x13d;const _0x156637=_0x1566();let _0x2d61e1=_0x156637[_0xf75f45];return _0x2d61e1;}function _0x1566(){const _0x16c5df=['306242kHgIaW','123753dgWRIR','659624kpCUYN','711ZsNDlQ','2073840JMuXze','132jLApmw','245982ijBypB','670PKlmEC','3ctqSbE','15904JxoLEp','19404yUsoxB'];_0x1566=function(){return _0x16c5df;};return _0x1566();}import _0x36b2b6 from'./index.cjs';const facadeExport0=_0x36b2b6['MemoryDatabaseAdapter'];export{facadeExport0 as MemoryDatabaseAdapter};
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.0.4",
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.0.4",
20
- "@univerjs/protocol": "1.0.4"
19
+ "@univerjs-pro/collaboration-service": "1.2.0",
20
+ "@univerjs/protocol": "1.2.0"
21
21
  }
22
22
  }