-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix CI * Update .npmignore * Update README.md Warnings added * Update README.md * Fix #186 * Lower case vin search #182 * Fix build * fix(veryShortDate): manage new date format * fix(driveHistory): some values from the API can be undefined|null * Possible breaking change if consumers were accessing vehicles via getVehicle(<id>) The proper way to get the vehicle is by VIN passed as an argument * 8.0.0 * fix(stamps): changed the way we read stamps file, using a frequency * test(stamp): changing the stamp format on tests * Rename workflows * feat(cfb): stamp genartion * chore: stamp mode distant * chore: local stamp test * Format * Add ESM support and refactor start config * Added kia support Something like this should work for Kia, I was able to log in but I don't own a Kia to test it on * Update lock file * Update rollup * Update CFB (unsure if this is needed) * Update version --------- Co-authored-by: PierreLevres <[email protected]> Co-authored-by: David Balan <[email protected]> Co-authored-by: mfried40 <[email protected]>
- Loading branch information
1 parent
58f101e
commit 9c7c59f
Showing
36 changed files
with
12,188 additions
and
17,721 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: npm | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: npm | ||
name: CD | ||
|
||
on: | ||
# Allow manual | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
lib/ | ||
config*.json | ||
.env | ||
.DS_Store | ||
.rpt2_cache | ||
src/ | ||
.github/ | ||
__tests__/ | ||
babel.config.js | ||
debug.ts | ||
jest.config.js | ||
rollup.config.js | ||
tsconfig.json | ||
.editorconfig | ||
.eslintrc.js | ||
.prettierrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,11 +94,12 @@ describe('BlueLinky', () => { | |
|
||
it('throws error when you pass invalid region', () => { | ||
expect(() => { | ||
const client = new BlueLinky({ | ||
new BlueLinky({ | ||
username: '[email protected]', | ||
password: 'hunter1', | ||
pin: '1234', | ||
brand: 'hyundai', | ||
// @ts-ignore | ||
region: 'KR', | ||
}); | ||
}).toThrowError('Your region is not supported yet.'); | ||
|
@@ -142,7 +143,7 @@ describe('BlueLinky', () => { | |
region: 'US', | ||
}); | ||
|
||
client.on('ready', vehicles => { | ||
client.on('ready', () => { | ||
const veh1 = client.getVehicle('JEST_TESTING_1'); | ||
const veh2 = client.getVehicle('JEST_TESTING_2'); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.