avo 3.0.0 → 3.1.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.
Files changed (3) hide show
  1. package/Avo.js +20 -14
  2. package/cli.js +64 -10
  3. package/package.json +1 -1
package/Avo.js CHANGED
@@ -1,4 +1,4 @@
1
- // Generated by Avo VERSION 107.29.0. You should never have to make changes to this file.
1
+ // Generated by Avo VERSION 108.28.0. You should never have to make changes to this file.
2
2
  // If you find yourself in the situation where you have to edit the file please contact us at hi@avo.app.
3
3
  // If you encounter a git conflict in this file run `avo pull` and it will be resolved automatically.
4
4
  /* tslint:disable */
@@ -275,8 +275,8 @@ function _avo_invoke_payload(body) {
275
275
  _avo_invoke = function _avo_invoke(env, eventId, hash, messages, origin) {
276
276
  try {
277
277
  _avo_invoke_payload({
278
- "ac": "DL73ZlCScWgNkQwC3eRv",
279
- "br": "master",
278
+ "ac": "7Lk2c1ODN76gJr4AFEIk",
279
+ "br": "qsHHWtDYF",
280
280
  "en": env,
281
281
  "ev": eventId,
282
282
  "ha": hash,
@@ -300,8 +300,8 @@ _avo_invoke = function _avo_invoke(env, eventId, hash, messages, origin) {
300
300
  _avo_invoke_meta = function _avo_invoke_meta(env, type, messages, origin) {
301
301
  try {
302
302
  _avo_invoke_payload({
303
- "ac": "DL73ZlCScWgNkQwC3eRv",
304
- "br": "master",
303
+ "ac": "7Lk2c1ODN76gJr4AFEIk",
304
+ "br": "qsHHWtDYF",
305
305
  "en": env,
306
306
  "ty": type,
307
307
  "sc": "fwtXqAc0fCLy7b7oGW40",
@@ -447,7 +447,7 @@ export function setAvoLogger(avoLogger) {
447
447
  * @param properties.email: The user's email
448
448
  * @param properties.authenticationMethod: Type of authentication method used by user logging in or signing up
449
449
  *
450
- * @see {@link https://www.avo.app/schemas/fwtXqAc0fCLy7b7oGW40/events/54e92613-090c-4f0b-afeb-ed720eff3422}
450
+ * @see {@link https://www.avo.app/schemas/fwtXqAc0fCLy7b7oGW40/branches/qsHHWtDYF/events/54e92613-090c-4f0b-afeb-ed720eff3422}
451
451
  */
452
452
  export function signedIn(properties) {
453
453
  // assert properties
@@ -502,7 +502,7 @@ export function signedIn(properties) {
502
502
  * @param properties.signInError: no description
503
503
  * @param properties.emailInput: The email address that is put into the email input on the landing page
504
504
  *
505
- * @see {@link https://www.avo.app/schemas/fwtXqAc0fCLy7b7oGW40/events/7aa64217-bb89-44f5-9a68-f3bc0255a864}
505
+ * @see {@link https://www.avo.app/schemas/fwtXqAc0fCLy7b7oGW40/branches/qsHHWtDYF/events/7aa64217-bb89-44f5-9a68-f3bc0255a864}
506
506
  */
507
507
  export function signInFailed(properties) {
508
508
  // assert properties
@@ -562,8 +562,9 @@ export function signInFailed(properties) {
562
562
  * @param properties.branchName: The name of the branch that this event is related to.
563
563
  * @param properties.schemaName: Name of the schema that this event is related to.
564
564
  * @param properties.force: Whether the command was called with --force parameter
565
+ * @param properties.forceFeatures: The features overrides provided to the cli pull
565
566
  *
566
- * @see {@link https://www.avo.app/schemas/fwtXqAc0fCLy7b7oGW40/events/qqpIQEK11}
567
+ * @see {@link https://www.avo.app/schemas/fwtXqAc0fCLy7b7oGW40/branches/qsHHWtDYF/events/qqpIQEK11}
567
568
  */
568
569
  export function cliInvoked(properties) {
569
570
  // assert properties
@@ -571,7 +572,7 @@ export function cliInvoked(properties) {
571
572
  let messages = [];
572
573
  // debug console in Avo
573
574
  if (!__AVO_NOOP__) {
574
- _avo_invoke(__AVO_ENV__, "qqpIQEK11", "33cb14472604cc190f9a5added26d5adb763245b0dc9a2138dc2a4b2cc5a48ef", messages.map(m => Object.assign({}, { tag: m.tag, propertyId: m.propertyId, additionalProperties: m.additionalProperties, actualType: m.actualType })), 'event');
575
+ _avo_invoke(__AVO_ENV__, "qqpIQEK11", "f424cee5a989c90c69502a11d76705f3b6bc0d3311322c59f5f42ef13269ab2e", messages.map(m => Object.assign({}, { tag: m.tag, propertyId: m.propertyId, additionalProperties: m.additionalProperties, actualType: m.actualType })), 'event');
575
576
  }
576
577
  InternalAvoLogger.logEventSent("Cli Invoked", {
577
578
  "Cli Action": properties.cliAction,
@@ -581,6 +582,7 @@ export function cliInvoked(properties) {
581
582
  "Branch Name": properties.branchName,
582
583
  "Schema Name": properties.schemaName,
583
584
  "Force": properties.force,
585
+ "Force Features": properties.forceFeatures,
584
586
  "Client": sysClient,
585
587
  "Version": sysVersion,
586
588
  }, {});
@@ -598,6 +600,9 @@ export function cliInvoked(properties) {
598
600
  if (properties.force !== undefined && properties.force !== null) {
599
601
  eventProperties["Force"] = properties.force;
600
602
  }
603
+ if (properties.forceFeatures !== undefined && properties.forceFeatures !== null) {
604
+ eventProperties["Force Features"] = properties.forceFeatures;
605
+ }
601
606
  eventProperties["Client"] = sysClient;
602
607
  eventProperties["Version"] = sysVersion;
603
608
  // @ts-ignore
@@ -615,9 +620,10 @@ export function cliInvoked(properties) {
615
620
  "Branch Name": properties.branchName,
616
621
  "Schema Name": properties.schemaName,
617
622
  "Force": properties.force,
623
+ "Force Features": properties.forceFeatures,
618
624
  "Client": sysClient,
619
625
  "Version": sysVersion,
620
- }, "qqpIQEK11", "33cb14472604cc190f9a5added26d5adb763245b0dc9a2138dc2a4b2cc5a48ef")
626
+ }, "qqpIQEK11", "f424cee5a989c90c69502a11d76705f3b6bc0d3311322c59f5f42ef13269ab2e")
621
627
  : Promise.resolve(),
622
628
  // destination CustomNodeJS
623
629
  CustomNodeJS.logEvent(properties.userId_, "Cli Invoked", Object.assign({}, eventProperties)),
@@ -635,7 +641,7 @@ export function cliInvoked(properties) {
635
641
  * @param properties.userId_: User Id is required for server sources.
636
642
  * @param properties.cliInvokedByCi: True iff process.env.CI is set.
637
643
  *
638
- * @see {@link https://www.avo.app/schemas/fwtXqAc0fCLy7b7oGW40/events/JCwfVYXTS}
644
+ * @see {@link https://www.avo.app/schemas/fwtXqAc0fCLy7b7oGW40/branches/qsHHWtDYF/events/JCwfVYXTS}
639
645
  */
640
646
  export function cliInstalled(properties) {
641
647
  // assert properties
@@ -689,7 +695,7 @@ export function cliInstalled(properties) {
689
695
  * @param properties.branchName: The name of the branch that this event is related to.
690
696
  * @param properties.schemaName: Name of the schema that this event is related to.
691
697
  *
692
- * @see {@link https://www.avo.app/schemas/fwtXqAc0fCLy7b7oGW40/events/Un5dTEMQYy}
698
+ * @see {@link https://www.avo.app/schemas/fwtXqAc0fCLy7b7oGW40/branches/qsHHWtDYF/events/Un5dTEMQYy}
693
699
  */
694
700
  export function cliConflictResolveAttempted(properties) {
695
701
  // assert properties
@@ -757,7 +763,7 @@ export function cliConflictResolveAttempted(properties) {
757
763
  * @param properties.branchId: The ID of the branch that this event is related to.
758
764
  * @param properties.branchName: The name of the branch that this event is related to.
759
765
  *
760
- * @see {@link https://www.avo.app/schemas/fwtXqAc0fCLy7b7oGW40/events/4ZhoijIA2U}
766
+ * @see {@link https://www.avo.app/schemas/fwtXqAc0fCLy7b7oGW40/branches/qsHHWtDYF/events/4ZhoijIA2U}
761
767
  */
762
768
  export function cliConflictResolveFailed(properties) {
763
769
  // assert properties
@@ -825,7 +831,7 @@ export function cliConflictResolveFailed(properties) {
825
831
  * @param properties.branchId: The ID of the branch that this event is related to.
826
832
  * @param properties.branchName: The name of the branch that this event is related to.
827
833
  *
828
- * @see {@link https://www.avo.app/schemas/fwtXqAc0fCLy7b7oGW40/events/yj_554q43i}
834
+ * @see {@link https://www.avo.app/schemas/fwtXqAc0fCLy7b7oGW40/branches/qsHHWtDYF/events/yj_554q43i}
829
835
  */
830
836
  export function cliConflictResolveSucceeded(properties) {
831
837
  // assert properties
package/cli.js CHANGED
@@ -740,7 +740,11 @@ function loadAvoJsonOrInit({ argv, skipPullMaster, skipInit }) {
740
740
  }
741
741
  return Promise.resolve(JSON.parse(avoFile));
742
742
  })
743
- .then((json) => Promise.resolve({ ...json, force: argv.f === true }))
743
+ .then((json) => Promise.resolve({
744
+ ...json,
745
+ force: argv.f === true,
746
+ forceFeatures: argv.forceFeatures,
747
+ }))
744
748
  .then(validateAvoJson)
745
749
  .catch((error) => {
746
750
  if (error.code === 'ENOENT' && skipInit) {
@@ -758,7 +762,7 @@ function writeAvoJson(json) {
758
762
  indent: 2,
759
763
  }).then(() => json);
760
764
  }
761
- function codegen(json, { schema, sources: targets, warnings, errors }) {
765
+ function codegen(json, { schema, sources: targets, warnings, success, errors }) {
762
766
  const newJson = { ...JSON.parse(JSON.stringify(json)), schema };
763
767
  newJson.sources = newJson.sources.map((source) => {
764
768
  const target = targets.find(({ id }) => id === source.id);
@@ -788,6 +792,11 @@ function codegen(json, { schema, sources: targets, warnings, errors }) {
788
792
  report.warn(warning);
789
793
  });
790
794
  }
795
+ if (success !== undefined && success !== null && Array.isArray(success)) {
796
+ success.forEach((success) => {
797
+ report.success(success);
798
+ });
799
+ }
791
800
  report.success(`Analytics ${targets.length > 1 ? 'wrappers' : 'wrapper'} successfully updated`);
792
801
  targets.forEach((target) => {
793
802
  const source = newJson.sources.find(({ id }) => id === target.id);
@@ -924,6 +933,7 @@ function pull(sourceFilter, json) {
924
933
  path: source.path,
925
934
  })),
926
935
  force: json.force ?? false,
936
+ forceFeatures: json.forceFeatures,
927
937
  },
928
938
  }))
929
939
  .then((result) => {
@@ -1254,6 +1264,9 @@ function logout(refreshToken) {
1254
1264
  conf.delete('tokens');
1255
1265
  }
1256
1266
  }
1267
+ function parseForceFeaturesParam(forceFeatures) {
1268
+ return forceFeatures?.split(',').map((it) => it.trim());
1269
+ }
1257
1270
  yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1258
1271
  .usage('$0 command')
1259
1272
  .scriptName('avo')
@@ -1263,12 +1276,6 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1263
1276
  default: false,
1264
1277
  describe: 'make output more verbose',
1265
1278
  type: 'boolean',
1266
- })
1267
- .option('f', {
1268
- alias: 'force',
1269
- describe: 'Proceed with merge when incoming branch is open',
1270
- default: false,
1271
- type: 'boolean',
1272
1279
  })
1273
1280
  .command({
1274
1281
  command: 'track-install',
@@ -1296,6 +1303,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1296
1303
  cliAction: Avo.CliAction.INIT,
1297
1304
  cliInvokedByCi: invokedByCi(),
1298
1305
  force: undefined,
1306
+ forceFeatures: undefined,
1299
1307
  });
1300
1308
  report.info(`Avo is already initialized for workspace ${cyan(json.schema.name)} (${file('avo.json')} exists)`);
1301
1309
  return Promise.resolve();
@@ -1309,6 +1317,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1309
1317
  cliAction: Avo.CliAction.INIT,
1310
1318
  cliInvokedByCi: invokedByCi(),
1311
1319
  force: undefined,
1320
+ forceFeatures: undefined,
1312
1321
  });
1313
1322
  return requireAuth(argv, () => init()
1314
1323
  .then(writeAvoJson)
@@ -1326,6 +1335,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1326
1335
  cliAction: Avo.CliAction.INIT,
1327
1336
  cliInvokedByCi: invokedByCi(),
1328
1337
  force: undefined,
1338
+ forceFeatures: undefined,
1329
1339
  });
1330
1340
  });
1331
1341
  },
@@ -1333,8 +1343,21 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1333
1343
  .command({
1334
1344
  command: 'pull [source]',
1335
1345
  desc: 'Pull analytics wrappers from Avo workspace',
1336
- builder: (yargs) => yargs.option('branch', {
1346
+ builder: (yargs) => yargs
1347
+ .option('branch', {
1337
1348
  describe: 'Name of Avo branch to pull from',
1349
+ default: 'main',
1350
+ type: 'string',
1351
+ })
1352
+ .option('f', {
1353
+ alias: 'force',
1354
+ describe: 'Proceed ignoring the unsupported features for given source',
1355
+ default: false,
1356
+ type: 'boolean',
1357
+ })
1358
+ .option('forceFeatures', {
1359
+ describe: 'Optional comma separated list of features to force enable',
1360
+ default: undefined,
1338
1361
  type: 'string',
1339
1362
  }),
1340
1363
  handler: (argv) => {
@@ -1348,7 +1371,8 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1348
1371
  userId_: installIdOrUserId(),
1349
1372
  cliAction: Avo.CliAction.PULL,
1350
1373
  cliInvokedByCi: invokedByCi(),
1351
- force: undefined,
1374
+ force: argv.f === true,
1375
+ forceFeatures: parseForceFeaturesParam(argv.forceFeatures),
1352
1376
  });
1353
1377
  requireAuth(argv, () => {
1354
1378
  if (argv.branch && json.branch.name !== argv.branch) {
@@ -1370,6 +1394,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1370
1394
  cliAction: Avo.CliAction.PULL,
1371
1395
  cliInvokedByCi: invokedByCi(),
1372
1396
  force: undefined,
1397
+ forceFeatures: undefined,
1373
1398
  });
1374
1399
  throw error;
1375
1400
  });
@@ -1390,6 +1415,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1390
1415
  cliAction: Avo.CliAction.CHECKOUT,
1391
1416
  cliInvokedByCi: invokedByCi(),
1392
1417
  force: undefined,
1418
+ forceFeatures: undefined,
1393
1419
  });
1394
1420
  report.info(`Currently on branch '${json.branch.name}'`);
1395
1421
  requireAuth(argv, () => checkout(argv.branch, json).then(writeAvoJson));
@@ -1404,6 +1430,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1404
1430
  cliAction: Avo.CliAction.CHECKOUT,
1405
1431
  cliInvokedByCi: invokedByCi(),
1406
1432
  force: undefined,
1433
+ forceFeatures: undefined,
1407
1434
  });
1408
1435
  throw error;
1409
1436
  }),
@@ -1428,6 +1455,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1428
1455
  cliAction: Avo.CliAction.SOURCE,
1429
1456
  cliInvokedByCi: invokedByCi(),
1430
1457
  force: undefined,
1458
+ forceFeatures: undefined,
1431
1459
  });
1432
1460
  if (!json.sources || !json.sources.length) {
1433
1461
  report.info(`No sources defined in ${file('avo.json')}. Run ${cmd('avo source add')} to add sources`);
@@ -1449,6 +1477,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1449
1477
  cliAction: Avo.CliAction.SOURCE,
1450
1478
  cliInvokedByCi: invokedByCi(),
1451
1479
  force: undefined,
1480
+ forceFeatures: undefined,
1452
1481
  });
1453
1482
  throw error;
1454
1483
  });
@@ -1469,6 +1498,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1469
1498
  cliAction: Avo.CliAction.SOURCE_ADD,
1470
1499
  cliInvokedByCi: invokedByCi(),
1471
1500
  force: undefined,
1501
+ forceFeatures: undefined,
1472
1502
  });
1473
1503
  requireAuth(argv, () => {
1474
1504
  selectSource(argv.source, json).then(writeAvoJson);
@@ -1484,6 +1514,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1484
1514
  cliAction: Avo.CliAction.SOURCE_ADD,
1485
1515
  cliInvokedByCi: invokedByCi(),
1486
1516
  force: undefined,
1517
+ forceFeatures: undefined,
1487
1518
  });
1488
1519
  throw error;
1489
1520
  });
@@ -1505,6 +1536,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1505
1536
  cliAction: Avo.CliAction.SOURCE_REMOVE,
1506
1537
  cliInvokedByCi: invokedByCi(),
1507
1538
  force: undefined,
1539
+ forceFeatures: undefined,
1508
1540
  });
1509
1541
  if (!json.sources || !json.sources.length) {
1510
1542
  report.warn(`No sources defined in ${file('avo.json')}. Run ${cmd('avo source add')} to add sources`);
@@ -1566,6 +1598,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1566
1598
  cliAction: Avo.CliAction.SOURCE_REMOVE,
1567
1599
  cliInvokedByCi: invokedByCi(),
1568
1600
  force: undefined,
1601
+ forceFeatures: undefined,
1569
1602
  });
1570
1603
  throw error;
1571
1604
  });
@@ -1588,6 +1621,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1588
1621
  cliAction: Avo.CliAction.STATUS,
1589
1622
  cliInvokedByCi: invokedByCi(),
1590
1623
  force: undefined,
1624
+ forceFeatures: undefined,
1591
1625
  });
1592
1626
  report.info(`Currently on branch '${json.branch.name}'`);
1593
1627
  return getSource(argv, json);
@@ -1603,6 +1637,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1603
1637
  cliAction: Avo.CliAction.STATUS,
1604
1638
  cliInvokedByCi: invokedByCi(),
1605
1639
  force: undefined,
1640
+ forceFeatures: undefined,
1606
1641
  });
1607
1642
  throw error;
1608
1643
  });
@@ -1612,6 +1647,12 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1612
1647
  command: 'merge main',
1613
1648
  aliases: ['merge master'],
1614
1649
  desc: 'Pull the Avo main branch into your current branch',
1650
+ builder: (yargs) => yargs.option('f', {
1651
+ alias: 'force',
1652
+ describe: 'Proceed with merge when incoming branch is open',
1653
+ default: false,
1654
+ type: 'boolean',
1655
+ }),
1615
1656
  handler: (argv) => {
1616
1657
  loadAvoJsonOrInit({ argv, skipPullMaster: true, skipInit: false })
1617
1658
  .then((json) => {
@@ -1624,6 +1665,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1624
1665
  cliAction: Avo.CliAction.MERGE,
1625
1666
  cliInvokedByCi: invokedByCi(),
1626
1667
  force: json.force,
1668
+ forceFeatures: undefined,
1627
1669
  });
1628
1670
  return requireAuth(argv, () => pullMaster(json).then(writeAvoJson));
1629
1671
  })
@@ -1637,6 +1679,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1637
1679
  cliAction: Avo.CliAction.MERGE,
1638
1680
  cliInvokedByCi: invokedByCi(),
1639
1681
  force: undefined,
1682
+ forceFeatures: undefined,
1640
1683
  });
1641
1684
  throw error;
1642
1685
  });
@@ -1662,6 +1705,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1662
1705
  cliAction: Avo.CliAction.CONFLICT,
1663
1706
  cliInvokedByCi: invokedByCi(),
1664
1707
  force: undefined,
1708
+ forceFeatures: undefined,
1665
1709
  });
1666
1710
  pull(null, json);
1667
1711
  }));
@@ -1677,6 +1721,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1677
1721
  cliAction: Avo.CliAction.CONFLICT,
1678
1722
  cliInvokedByCi: invokedByCi(),
1679
1723
  force: undefined,
1724
+ forceFeatures: undefined,
1680
1725
  });
1681
1726
  return Promise.resolve(json);
1682
1727
  })
@@ -1690,6 +1735,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1690
1735
  cliAction: Avo.CliAction.CONFLICT,
1691
1736
  cliInvokedByCi: invokedByCi(),
1692
1737
  force: undefined,
1738
+ forceFeatures: undefined,
1693
1739
  });
1694
1740
  throw error;
1695
1741
  }),
@@ -1709,6 +1755,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1709
1755
  cliAction: Avo.CliAction.EDIT,
1710
1756
  cliInvokedByCi: invokedByCi(),
1711
1757
  force: undefined,
1758
+ forceFeatures: undefined,
1712
1759
  });
1713
1760
  const { schema } = json;
1714
1761
  const schemaUrl = `https://www.avo.app/schemas/${schema.id}`;
@@ -1725,6 +1772,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1725
1772
  cliAction: Avo.CliAction.EDIT,
1726
1773
  cliInvokedByCi: invokedByCi(),
1727
1774
  force: undefined,
1775
+ forceFeatures: undefined,
1728
1776
  });
1729
1777
  throw error;
1730
1778
  });
@@ -1770,6 +1818,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1770
1818
  cliAction: Avo.CliAction.LOGIN,
1771
1819
  cliInvokedByCi: invokedByCi(),
1772
1820
  force: undefined,
1821
+ forceFeatures: undefined,
1773
1822
  });
1774
1823
  command();
1775
1824
  })
@@ -1783,6 +1832,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1783
1832
  cliAction: Avo.CliAction.LOGIN,
1784
1833
  cliInvokedByCi: invokedByCi(),
1785
1834
  force: undefined,
1835
+ forceFeatures: undefined,
1786
1836
  });
1787
1837
  command();
1788
1838
  });
@@ -1828,6 +1878,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1828
1878
  cliAction: Avo.CliAction.LOGOUT,
1829
1879
  cliInvokedByCi: invokedByCi(),
1830
1880
  force: undefined,
1881
+ forceFeatures: undefined,
1831
1882
  });
1832
1883
  command();
1833
1884
  })
@@ -1841,6 +1892,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1841
1892
  cliAction: Avo.CliAction.LOGOUT,
1842
1893
  cliInvokedByCi: invokedByCi(),
1843
1894
  force: undefined,
1895
+ forceFeatures: undefined,
1844
1896
  });
1845
1897
  command();
1846
1898
  });
@@ -1872,6 +1924,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1872
1924
  cliAction: Avo.CliAction.WHOAMI,
1873
1925
  cliInvokedByCi: invokedByCi(),
1874
1926
  force: undefined,
1927
+ forceFeatures: undefined,
1875
1928
  });
1876
1929
  command();
1877
1930
  })
@@ -1885,6 +1938,7 @@ yargs(hideBin(process.argv)) // eslint-disable-line no-unused-expressions
1885
1938
  cliAction: Avo.CliAction.WHOAMI,
1886
1939
  cliInvokedByCi: invokedByCi(),
1887
1940
  force: undefined,
1941
+ forceFeatures: undefined,
1888
1942
  });
1889
1943
  command();
1890
1944
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "avo",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "type": "module",
5
5
  "description": "The command-line interface for Avo",
6
6
  "author": "Avo (https://www.avo.app)",