send plugin with heartbeat data to fix #41
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user