Skip to content

Commit c765384

Browse files
authored
Garmin FIT SDK 21.100.00
1 parent ef5cad6 commit c765384

File tree

13 files changed

+27
-27
lines changed

13 files changed

+27
-27
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The Read method accepts an optional options object that can be used to customize
6767

6868
````js
6969
const { messages, errors } = decoder.read({
70-
mesgListener = (messageNumber, message) => {},
70+
mesgListener: (messageNumber, message) => {},
7171
applyScaleAndOffset: true,
7272
expandSubFields: true,
7373
expandComponents: true,
@@ -208,10 +208,10 @@ const FIT_EPOCH_MS = 631065600000;
208208
````
209209
The FIT_EPOCH_MS value can be used to convert FIT Epoch values to JavaScript Date objects.
210210
````js
211-
const jsDate = new Date(fitDateTime * 1000 + FIT_EPOCH_MS);
211+
const jsDate = new Date(fitDateTime * 1000 + Utils.FIT_EPOCH_MS);
212212
````
213213
### convertDateTimeToDate Method
214214
A convince method for converting FIT Epoch values to JavaScript Date objects.
215215
````js
216-
const jsDate = convertDateTimeToDate(fitDateTime);
216+
const jsDate = Utils.convertDateTimeToDate(fitDateTime);
217217
````

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@garmin-fit/sdk",
3-
"version": "0.99.0",
3+
"version": "0.100.0",
44
"description": "FIT JavaScript SDK",
55
"main": "src/index.js",
66
"type": "module",

src/accumulator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// Transfer (FIT) Protocol License.
66
/////////////////////////////////////////////////////////////////////////////////////////////
77
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.99Release
9-
// Tag = production/release/21.99.00-0-gb5b0e7a
8+
// Profile Version = 21.100Release
9+
// Tag = production/release/21.100.00-0-ga3950f6
1010
/////////////////////////////////////////////////////////////////////////////////////////////
1111

1212

src/bit-stream.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// Transfer (FIT) Protocol License.
66
/////////////////////////////////////////////////////////////////////////////////////////////
77
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.99Release
9-
// Tag = production/release/21.99.00-0-gb5b0e7a
8+
// Profile Version = 21.100Release
9+
// Tag = production/release/21.100.00-0-ga3950f6
1010
/////////////////////////////////////////////////////////////////////////////////////////////
1111

1212

src/crc-calculator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// Transfer (FIT) Protocol License.
66
/////////////////////////////////////////////////////////////////////////////////////////////
77
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.99Release
9-
// Tag = production/release/21.99.00-0-gb5b0e7a
8+
// Profile Version = 21.100Release
9+
// Tag = production/release/21.100.00-0-ga3950f6
1010
/////////////////////////////////////////////////////////////////////////////////////////////
1111

1212

src/decoder.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// Transfer (FIT) Protocol License.
66
/////////////////////////////////////////////////////////////////////////////////////////////
77
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.99Release
9-
// Tag = production/release/21.99.00-0-gb5b0e7a
8+
// Profile Version = 21.100Release
9+
// Tag = production/release/21.100.00-0-ga3950f6
1010
/////////////////////////////////////////////////////////////////////////////////////////////
1111

1212

src/fit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// Transfer (FIT) Protocol License.
66
/////////////////////////////////////////////////////////////////////////////////////////////
77
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.99Release
9-
// Tag = production/release/21.99.00-0-gb5b0e7a
8+
// Profile Version = 21.100Release
9+
// Tag = production/release/21.100.00-0-ga3950f6
1010
/////////////////////////////////////////////////////////////////////////////////////////////
1111

1212

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// Transfer (FIT) Protocol License.
66
/////////////////////////////////////////////////////////////////////////////////////////////
77
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.99Release
9-
// Tag = production/release/21.99.00-0-gb5b0e7a
8+
// Profile Version = 21.100Release
9+
// Tag = production/release/21.100.00-0-ga3950f6
1010
/////////////////////////////////////////////////////////////////////////////////////////////
1111

1212

src/profile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
// Transfer (FIT) Protocol License.
66
/////////////////////////////////////////////////////////////////////////////////////////////
77
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.99Release
9-
// Tag = production/release/21.99.00-0-gb5b0e7a
8+
// Profile Version = 21.100Release
9+
// Tag = production/release/21.100.00-0-ga3950f6
1010
/////////////////////////////////////////////////////////////////////////////////////////////
1111

1212

1313
const Profile = {
1414
version: {
1515
major: 21,
16-
minor: 99,
16+
minor: 100,
1717
patch: 0,
1818
type: "Release"
1919
},

src/stream.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// Transfer (FIT) Protocol License.
66
/////////////////////////////////////////////////////////////////////////////////////////////
77
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
8-
// Profile Version = 21.99Release
9-
// Tag = production/release/21.99.00-0-gb5b0e7a
8+
// Profile Version = 21.100Release
9+
// Tag = production/release/21.100.00-0-ga3950f6
1010
/////////////////////////////////////////////////////////////////////////////////////////////
1111

1212

0 commit comments

Comments
 (0)