@sports-alliance/sports-lib 7.0.2 → 7.0.3
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.
- package/lib/cjs/activities/devices/device.d.ts +1 -0
- package/lib/cjs/activities/devices/device.interface.d.ts +1 -0
- package/lib/cjs/activities/devices/device.js +1 -0
- package/lib/cjs/activities/devices/device.json.interface.d.ts +1 -0
- package/lib/esm/activities/devices/device.d.ts +1 -0
- package/lib/esm/activities/devices/device.interface.d.ts +1 -0
- package/lib/esm/activities/devices/device.js +1 -0
- package/lib/esm/activities/devices/device.json.interface.d.ts +1 -0
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ class Device {
|
|
|
11
11
|
type: this.type,
|
|
12
12
|
index: (0, helpers_1.isNumber)(this.index) ? this.index || null : null,
|
|
13
13
|
batteryStatus: this.batteryStatus || null,
|
|
14
|
+
batteryLevel: this.batteryLevel || null,
|
|
14
15
|
name: this.name || null,
|
|
15
16
|
batteryVoltage: this.batteryVoltage || null,
|
|
16
17
|
manufacturer: this.manufacturer || null,
|
|
@@ -8,6 +8,7 @@ export class Device {
|
|
|
8
8
|
type: this.type,
|
|
9
9
|
index: isNumber(this.index) ? this.index || null : null,
|
|
10
10
|
batteryStatus: this.batteryStatus || null,
|
|
11
|
+
batteryLevel: this.batteryLevel || null,
|
|
11
12
|
name: this.name || null,
|
|
12
13
|
batteryVoltage: this.batteryVoltage || null,
|
|
13
14
|
manufacturer: this.manufacturer || null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sports-alliance/sports-lib",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.3",
|
|
4
4
|
"description": "A Library to for importing / exporting and processing GPX, TCX, FIT and JSON files from services such as Strava, Movescount, Garmin, Polar etc",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gpx",
|