evnex-sdk 1.0.6 → 1.0.8

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.js CHANGED
@@ -43904,7 +43904,7 @@ var package_default = {
43904
43904
  author: "Ben Lawrence",
43905
43905
  description: "A TypeScript library for interacting with the Evnex API",
43906
43906
  license: "MIT",
43907
- version: "1.0.6",
43907
+ version: "1.0.7",
43908
43908
  type: "module",
43909
43909
  main: "./dist/index.js",
43910
43910
  types: "./dist/index.d.ts",
@@ -82,7 +82,7 @@ export interface EvnexChargePointConnector {
82
82
  ocppStatus: string;
83
83
  status: string;
84
84
  ocppCode: string;
85
- meter: EvnexChargePointConnectorMeter;
85
+ meter: EvnexChargePointConnectorMeter | null;
86
86
  }
87
87
  export interface EvnexChargePointDetails {
88
88
  model: string;
@@ -45,7 +45,7 @@ export interface EvnexChargePointConnector {
45
45
  connectorId: string;
46
46
  ocppCode: string;
47
47
  updatedDate: Date;
48
- meter: EvnexChargePointConnectorMeter;
48
+ meter: EvnexChargePointConnectorMeter | null;
49
49
  maxVoltage: number;
50
50
  maxAmperage: number;
51
51
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Ben Lawrence",
4
4
  "description": "A TypeScript library for interacting with the Evnex API",
5
5
  "license": "MIT",
6
- "version": "1.0.6",
6
+ "version": "1.0.8",
7
7
  "type": "module",
8
8
  "main": "./dist/index.js",
9
9
  "types": "./dist/index.d.ts",
@@ -13,7 +13,9 @@
13
13
  "types": "./dist/index.d.ts"
14
14
  }
15
15
  },
16
- "files": ["dist"],
16
+ "files": [
17
+ "dist"
18
+ ],
17
19
  "scripts": {
18
20
  "build": "bun build ./src/index.ts --outdir ./dist --target node && tsc -p tsconfig.build.json"
19
21
  },
@@ -26,4 +28,4 @@
26
28
  "axios": "^1.13.6",
27
29
  "zod": "^4.3.6"
28
30
  }
29
- }
31
+ }