Skip to content

Commit

Permalink
add host-app-version command, bump version to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Dec 20, 2017
1 parent e8e7fe3 commit 513bad4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const nativeMessage = require('chrome-native-messaging');
const spawn = require('cross-spawn');
const package = require('./package.json');

/*
(async function test() {
Expand Down Expand Up @@ -55,6 +56,8 @@ async function handleMessage({command, args}) {
return await executePassCommand('show', args);
case 'version':
return await executePassCommand('version', args);
case 'host-app-version':
return buildReply({stdout: [ package.version ], stderr: [], returnCode: 0});
case 'list-entries':
return await listEntries();
default:
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"name": "passb-hostapp",
"version": "0.1.0",
"version": "1.0.1",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "MIT",
Expand Down

0 comments on commit 513bad4

Please sign in to comment.