Skip to content

Commit

Permalink
* (Apollon77) Optimize activity detection to process all relevant ent…
Browse files Browse the repository at this point in the history
…ries and not just the last one
  • Loading branch information
Apollon77 committed Oct 27, 2023
1 parent 9e9476a commit df0a171
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ Then it should work again
* docu docu docu (sorry ... will come)

## Changelog:

### __WORK IN PROGRESS__
* (Apollon77) Optimize activity detection to process all relevant entries and not just the last one

### 6.2.0 (2023-10-27)
* (Apollon77) Adjust Activity detection to work with recent Amazon changes

Expand Down
1 change: 1 addition & 0 deletions alexa-remote.js
Original file line number Diff line number Diff line change
Expand Up @@ -830,6 +830,7 @@ class AlexaRemote extends EventEmitter {
this.getCustomerHistoryRecords({maxRecordSize: this.activityUpdateQueue.length + 2, filter: false, forceRequest: true}, (err, res) => {
this.activityUpdateRunning = false;
if (!err && res) {
res.reverse();
this._options.logger && this._options.logger(`Alexa-Remote: Activity data ${JSON.stringify(res)}`); // TODO REMOVE

let lastFoundQueueIndex = -1;
Expand Down

0 comments on commit df0a171

Please sign in to comment.