@mxpicture/tesla-superchargers-api 0.1.49 → 0.1.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,7 +26,7 @@ export declare const localDayTime: (at: Date, timeZone: string) => {
26
26
  * `20:00–00:00`); `start == end == 00:00` is a whole-day window. `end` is
27
27
  * exclusive — each instant falls into exactly one window of a partition.
28
28
  *
29
- * Mirrored in SQL by `pic_price_hourly_v` (packages/teslamate/sql/setup.sql),
29
+ * Mirrored in SQL by `pic_price_hourly_v` (packages/teslamate/sql/views.sql),
30
30
  * which resolves the same question per hour. Keep the two in sync.
31
31
  */
32
32
  export declare const pricebookCoversInstant: (row: Pick<PricebookContent, "days" | "start_time" | "end_time">, at: Date, timeZone: string) => boolean;
@@ -50,7 +50,7 @@ export const localDayTime = (at, timeZone) => {
50
50
  * `20:00–00:00`); `start == end == 00:00` is a whole-day window. `end` is
51
51
  * exclusive — each instant falls into exactly one window of a partition.
52
52
  *
53
- * Mirrored in SQL by `pic_price_hourly_v` (packages/teslamate/sql/setup.sql),
53
+ * Mirrored in SQL by `pic_price_hourly_v` (packages/teslamate/sql/views.sql),
54
54
  * which resolves the same question per hour. Keep the two in sync.
55
55
  */
56
56
  export const pricebookCoversInstant = (row, at, timeZone) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mxpicture/tesla-superchargers-api",
3
- "version": "0.1.49",
3
+ "version": "0.1.51",
4
4
  "description": "Fetch + store Tesla Supercharger locations and pricing",
5
5
  "type": "module",
6
6
  "author": "MXPicture",
@@ -44,9 +44,9 @@
44
44
  "access": "public"
45
45
  },
46
46
  "dependencies": {
47
- "@mxpicture/tesla-superchargers-cloud-store": "^0.1.49",
48
- "@mxpicture/tesla-superchargers-generated": "^0.1.49",
49
- "@mxpicture/tesla-superchargers-mate": "^0.1.49",
47
+ "@mxpicture/tesla-superchargers-cloud-store": "^0.1.51",
48
+ "@mxpicture/tesla-superchargers-generated": "^0.1.51",
49
+ "@mxpicture/tesla-superchargers-mate": "^0.1.51",
50
50
  "csv-parse": "^7.0.1",
51
51
  "fflate": "^0.8.3",
52
52
  "json5": "^2.2.3",