Skip to content

Commit

Permalink
v. 1.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
balmli committed Dec 30, 2022
1 parent 1506961 commit 6ee0be9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions lib/PricesFetchClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ export class PricesFetchClient {
}
}
return allPrices
.map((p: any) => {
return {
startsAt: moment(p.time * 1000),
time: p.time,
price: p.price,
}
})
.sort((a, b) => a.time - b.time);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@balmli/homey-utility-prices",
"version": "1.2.7",
"version": "1.2.8",
"description": "Price utility for Homey apps",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 6ee0be9

Please sign in to comment.