Skip to content

Commit

Permalink
Bump to version 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Corentin Mors committed Mar 30, 2023
1 parent 453baa0 commit 35a8464
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/cliVersion.ts
Original file line number Diff line number Diff line change
@@ -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 => {
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) });
});
Expand Down Expand Up @@ -181,7 +181,7 @@ teamGroup
.option('--end <end>', 'end timestamp', 'now')
.option('--type <type>', 'log type')
.option('--category <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;

Expand Down

0 comments on commit 35a8464

Please sign in to comment.