diff --git a/package.json b/package.json index 6bf02fd4..a5015877 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dashlane/cli", - "version": "1.6.0", + "version": "1.7.0", "description": "Manage your Dashlane vault through a CLI tool", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/cliVersion.ts b/src/cliVersion.ts index 66a4d25d..5921a0f6 100644 --- a/src/cliVersion.ts +++ b/src/cliVersion.ts @@ -1,6 +1,6 @@ import { CliVersion } from './types'; -export const CLI_VERSION: CliVersion = { major: 1, minor: 6, patch: 0 }; +export const CLI_VERSION: CliVersion = { major: 1, minor: 7, patch: 0 }; export const breakingChangesVersions: CliVersion[] = []; export const cliVersionToString = (version: CliVersion): string => { diff --git a/src/index.ts b/src/index.ts index d06ee1ed..02411942 100644 --- a/src/index.ts +++ b/src/index.ts @@ -144,7 +144,7 @@ teamGroup .argument('[limit]', 'Limit of members per page', '0') .action(async (page: string, limit: string) => { if (!teamDeviceCredentials) { - throw new Error('Could not find team crendentials'); + throw new Error('Could not find team credentials'); } await getTeamMembers({ teamDeviceCredentials, page: parseInt(page), limit: parseInt(limit) }); }); @@ -181,7 +181,7 @@ teamGroup .option('--end ', 'end timestamp', 'now') .option('--type ', 'log type') .option('--category ', 'log category') - .action(async (options: { start: string, end: string, type: string, category: string }) => { + .action(async (options: { start: string; end: string; type: string; category: string }) => { const { start, type, category } = options; const end = options.end === 'now' ? Math.floor(Date.now() / 1000).toString() : options.end;