@epilot/metering-client 0.1.26 → 0.1.27
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/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# `@epilot/
|
|
1
|
+
# `@epilot/metering-client`
|
|
2
2
|
|
|
3
3
|
API Client for epilot ts-sam API.
|
|
4
4
|
|
|
@@ -9,13 +9,13 @@ Uses [`openapi-client-axios`](https://github.com/anttiviljami/openapi-client-axi
|
|
|
9
9
|
Install the package:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
npm install --save-dev @epilot/
|
|
12
|
+
npm install --save-dev @epilot/metering-client
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Import the package:
|
|
16
16
|
|
|
17
17
|
```typescript
|
|
18
|
-
import { getClient } from '@epilot/
|
|
18
|
+
import { getClient } from '@epilot/metering-client';
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
Use the client:
|
|
@@ -24,7 +24,7 @@ Use the client:
|
|
|
24
24
|
const client = await getClient();
|
|
25
25
|
|
|
26
26
|
// call an operation
|
|
27
|
-
const res = await client.
|
|
27
|
+
const res = await client.createMeterReading();
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
## BaseURL & Authorization
|