send plugin with heartbeat data to fix #41

This commit is contained in:
Alan Hamlett
2016-06-29 10:42:51 -07:00
parent 8a6a5ad440
commit 79f664861f
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,8 @@
var config = { var config = {
// Extension name // Extension name
name: 'WakaTime', name: 'WakaTime',
// Extension version
version: '1.0.0',
// Time for idle state of the browser // Time for idle state of the browser
// The user is considered idle if there was // The user is considered idle if there was
// no activity in the browser for x seconds // no activity in the browser for x seconds

View File

@@ -151,7 +151,8 @@ class WakaTime {
type: type, type: type,
time: moment().format('X'), time: moment().format('X'),
project: '<<LAST_PROJECT>>', project: '<<LAST_PROJECT>>',
is_debugging: debug is_debugging: debug,
plugin: 'chrome-wakatime/' + config.version
}); });
} }