* change to koa to support async/await
* get rid of session header
* error is unlocked for certain commands
* fix lint error
* use "object" routes
* revert change to vs code launch
* Update jslib
* Bumped version to 1.20.0 (#421)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 3e4aa8e476)
* password protected export
* Run Prettier
* Add importer to list of known file types
* Improve launch.json settings
* Turn on import from password protected file
* Run prettier
* Fix webpack source map path change
* Update getPassword helper to use new options class
* Prettier
* Add client type
* Remove master password requirement for export
Alter password optional argument to indicating the file should be password protected rather than account protected
* update jslib
* Handle passwordProtected automagically
* Remove passwordproteted type from import command
* Update src/utils.ts
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
* Update src/vault.program.ts
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
* Use new util method
* remove password protected format
* Update jslib
* Clarify export command
* Run prettier
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Gibson <gibson.matt10@gmail.com>
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
* Create testing framework for CLI
- Need to add tsconfig for specs to convert module format and add spec
dir to output
- Use jasmine-ts to test
expected dev cycle would be to have two watchers, one for jslib
and one for CLI tests. We could add jslib tests to this jasmine config,
but it feels wrong to test a submodule
* Run prettier
* Add tests to build pipeline
* Include required package
* Add placeholder test
* Run prettier
* Add nodemon and fix watch
* Move Key Connector check to subclass
* Move authService.logout call to main program
* Move Key Connector migration check to unlock command
* Use get/setConvertAccountRequired flag
* Move Key Connector convert to own command, set usesKeyConnector after conversion
* Remove KC conversion check from syncCommand, fix callback
* Make class service private
* Fix naming convention
* Update jslib and deps