Skip to content

Commit

Permalink
Add SDK 4.1 target (#152)
Browse files Browse the repository at this point in the history
Signed-off-by: Liam McLoughlin <lmcloughlin@fitbit.com>
  • Loading branch information
Hexxeh committed Oct 14, 2019
1 parent 34f57a8 commit 48121af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fitbit/sdk",
"version": "4.0.0",
"version": "4.1.0-pre.0",
"description": "Toolchain for building Fitbit apps",
"author": "Fitbit, Inc.",
"license": "BSD-3-Clause",
Expand Down
3 changes: 3 additions & 0 deletions src/sdkVersion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ export function apiVersions(
if (major === 4 && minor === 0) {
return { deviceApi: '5.0.0', companionApi: '3.0.0' };
}
if (major === 4 && minor === 1) {
return { deviceApi: '5.1.0', companionApi: '3.0.0' };
}
throw new BuildError(
`No known API versions for SDK package version ${major}.${minor}`,
);
Expand Down

0 comments on commit 48121af

Please sign in to comment.