@nexgen-os/homewizard 0.5.0 → 0.6.0
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.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CollectedSeries, type SourceRow } from '@nexgen-os/
|
|
1
|
+
import { type CollectedSeries, type SourceRow } from '@nexgen-os/connector';
|
|
2
2
|
/** The subset of `fetch` the connector uses, so a test or a proxy can stand in. */
|
|
3
3
|
export type HttpFetch = (url: string, init?: {
|
|
4
4
|
method?: string;
|
package/dist/index.js
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
// Nothing here reads the environment or the database: the address of the
|
|
36
36
|
// dongle comes from the organisation's `connectors` row.
|
|
37
37
|
import { readFileSync } from 'node:fs';
|
|
38
|
-
import { GestureError } from '@nexgen-os/
|
|
38
|
+
import { GestureError } from '@nexgen-os/connector';
|
|
39
39
|
import { instantsOf } from '@nexgen-os/enedis-r6x';
|
|
40
40
|
/** The product the connector reads: the P1 meter. HomeWizard's kWh meters and sockets measure a device, not a connection. */
|
|
41
41
|
export const P1_METER = 'HWE-P1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexgen-os/homewizard",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "The HomeWizard P1 meter's local API (v1) as a Nexgen OS connector: the offtake and injection registers, the power and the voltage of the connection, and the meters of its bus, read on the participant's own network.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"build": "tsc -p tsconfig.build.json"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@nexgen-os/
|
|
37
|
-
"@nexgen-os/enedis-r6x": "^0.
|
|
36
|
+
"@nexgen-os/connector": "^0.6.0",
|
|
37
|
+
"@nexgen-os/enedis-r6x": "^0.6.0"
|
|
38
38
|
}
|
|
39
39
|
}
|