Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: slower authorize command #996

Merged
merged 2 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
## [v1.12.8](https://github.com/prey/prey-node-client/tree/v1.12.8) (2024-04-22)
[Full Changelog](https://github.com/prey/prey-node-client/compare/v1.12.7..v1.12.8)

- Fix: Removes the double device key request on PDC when installed through MSI. [\#996](https://github.com/prey/prey-node-client/pull/996) ([SoraKenji](https://github.com/SoraKenji))([Beregcamlost](https://github.com/beregcamlost))

- Fix: Removes some code from updater.js. This piece of code had an error when the variable 'err' is falsy. [\#993](https://github.com/prey/prey-node-client/pull/993) ([SoraKenji](https://github.com/SoraKenji))([Beregcamlost](https://github.com/beregcamlost))

- Fix: Added name of event in payload to backend API in push list of location permissions (native and wifi) in MacOS. [\#991](https://github.com/prey/prey-node-client/pull/991) ([SoraKenji](https://github.com/SoraKenji))([Beregcamlost](https://github.com/beregcamlost))
Expand Down
4 changes: 3 additions & 1 deletion lib/conf/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ var start = function(cb) {
cmd.parameters(['-a', '--api-key'], 'API Key')
cmd.parameters(['-e', '--email'], 'Email')
cmd.parameters(['-p', '--password'], 'Password')
run_if_writable(cmd, account.authorize);
setTimeout(() => {
run_if_writable(cmd, account.authorize);
}, 10000);
});

sub.command('verify', 'Verifies API & Device keys, optionally saving them to config.', function(cmd) {
Expand Down