fit-file-parser 1.10.0 → 1.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/fit.js +9 -2
  2. package/package.json +1 -1
package/dist/fit.js CHANGED
@@ -135,6 +135,8 @@ var FIT = exports.FIT = {
135
135
  21: { field: 'temperature_setting', type: 'display_measure', scale: null, offset: 0, units: '' },
136
136
  22: { field: 'local_id', type: 'user_local_id', scale: null, offset: 0, units: '' },
137
137
  23: { field: 'global_id', type: 'byte', scale: null, offset: 0, units: '' },
138
+ 28: { field: 'wake_time', type: 'localtime_into_day', scale: null, offset: 0, units: '' },
139
+ 29: { field: 'sleep_time', type: 'localtime_into_day', scale: null, offset: 0, units: '' },
138
140
  30: { field: 'height_setting', type: 'display_measure', scale: null, offset: 0, units: '' }
139
141
  },
140
142
  4: {
@@ -359,7 +361,9 @@ var FIT = exports.FIT = {
359
361
  133: { field: 'avg_stance_time_balance', type: 'uint16', scale: 100, offset: 0, units: 'percent' },
360
362
  134: { field: 'avg_step_length', type: 'uint16', scale: 10, offset: 0, units: 'mm' },
361
363
  137: { field: 'total_anaerobic_effect', type: 'uint8', scale: 10, offset: 0, units: '' },
362
- 139: { field: 'avg_vam', type: 'uint16', scale: 1000, offset: 0, units: 'm/s' }
364
+ 139: { field: 'avg_vam', type: 'uint16', scale: 1000, offset: 0, units: 'm/s' },
365
+ 192: { field: 'workout_feel', type: 'uint8', scale: null, offset: 0, units: '' },
366
+ 193: { field: 'workout_rpe', type: 'uint8', scale: 10, offset: 0, units: '' }
363
367
  },
364
368
  19: {
365
369
  name: 'lap',
@@ -1498,7 +1502,10 @@ var FIT = exports.FIT = {
1498
1502
  0: 'active',
1499
1503
  1: 'rest',
1500
1504
  2: 'warmup',
1501
- 3: 'cooldown'
1505
+ 3: 'cooldown',
1506
+ 4: 'recovery',
1507
+ 5: 'interval',
1508
+ 6: 'other'
1502
1509
  },
1503
1510
  session_trigger: {
1504
1511
  0: 'activity_end',
package/package.json CHANGED
@@ -72,7 +72,7 @@
72
72
  "test": "node_modules/gulp/bin/gulp.js;",
73
73
  "build": "node_modules/gulp/bin/gulp.js babel"
74
74
  },
75
- "version": "1.10.0",
75
+ "version": "1.21.0",
76
76
  "dependencies": {
77
77
  "buffer": "^5.1.0"
78
78
  }