@@ -25,6 +25,9 @@ const MAX_RETRIES = 3;
2525interface InboxData {
2626 accountAddress : string ;
2727 walletKey : string ;
28+ appVersion : string ;
29+ disableDeviceSync : boolean ;
30+
2831 dbEncryptionKey : string ;
2932 inboxId : string ;
3033 installations : number ;
@@ -318,6 +321,7 @@ async function smartUpdate({
318321 dbEncryptionKey,
319322 dbPath : `${ LOGPATH } /${ env } -${ inbox . accountAddress } -install-0` ,
320323 appVersion : APP_VERSION ,
324+ disableDeviceSync : true ,
321325 env,
322326 } ) ;
323327 const { currentInstallations } = await checkInstallations (
@@ -336,6 +340,7 @@ async function smartUpdate({
336340 dbPath : `${ LOGPATH } /${ env } -${ inbox . accountAddress } -install-${ j } ` ,
337341 env,
338342 appVersion : APP_VERSION ,
343+ disableDeviceSync : true ,
339344 } ) ;
340345 if ( debugMode ) {
341346 process . stdout . write (
@@ -358,6 +363,7 @@ async function smartUpdate({
358363 dbPath : `${ LOGPATH } /${ env } -${ inbox . accountAddress } -install-${ j } ` ,
359364 env,
360365 appVersion : APP_VERSION ,
366+ disableDeviceSync : true ,
361367 } ) ;
362368 if ( debugMode ) {
363369 process . stdout . write (
@@ -404,6 +410,7 @@ async function smartUpdate({
404410 dbPath : `${ LOGPATH } /${ env } -${ accountAddress } -install-${ j } ` ,
405411 env,
406412 appVersion : APP_VERSION ,
413+ disableDeviceSync : true ,
407414 } ) ;
408415 if ( j === 0 && env === envs [ 0 ] ) inboxId = client . inboxId ;
409416 totalCreated ++ ;
@@ -420,6 +427,8 @@ async function smartUpdate({
420427 dbEncryptionKey,
421428 inboxId,
422429 installations : installationCount ,
430+ appVersion : APP_VERSION ,
431+ disableDeviceSync : true ,
423432 } ) ;
424433 consecutiveFailures = 0 ;
425434 writeJson ( targetFilePath , existingInboxes ) ;
0 commit comments