Skip to content

Commit

Permalink
Merge pull request #22 from DMBlakeley/main
Browse files Browse the repository at this point in the history
Ensure that config is correct when using either Local or HTTP API
  • Loading branch information
chasenicholl committed Jan 10, 2024
2 parents 83ce28b + 5028d1e commit bcac2b8
Show file tree
Hide file tree
Showing 5 changed files with 207 additions and 107 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
@@ -1,7 +1,7 @@
{
"files.eol": "\n",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"editor.rulers": [ 140 ],
"eslint.enable": true,
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,11 @@

All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/).

## v4.0.2
* When using HTTP API, check that `token` and `station_id` are present and have valid characteristics.
* When Local API is used, `token` and `station_id` are not required and are not validated.
* User is able to switch between HTTP API to Local API and back to HTTP API without the need to re-enter `token` and `station_id` as these are retained in the config.sys file.

## v4.0.1
* Check that `station_id` length is more than one character when initializing plugin in Local API mode.
* Update axios to v1.6.2 to address moderate severity vulnerability.
Expand Down

0 comments on commit bcac2b8

Please sign in to comment.