@sermas/api-client 1.0.0-alpha.18 → 1.0.0-alpha.19
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 +9 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -33,8 +33,16 @@ main().catch(e => console.error(e))
|
|
|
33
33
|
|
|
34
34
|
## Development
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
Generate the clients and DTO from the API
|
|
37
|
+
|
|
38
|
+
**Note:** Set the `API_URL` env to change the reference to the SERMAS API
|
|
37
39
|
|
|
38
40
|
```sh
|
|
39
41
|
make generate
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Then build the client
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
make build
|
|
40
48
|
```
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sermas/api-client",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.19",
|
|
4
4
|
"description": "Sermas API client",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.cjs",
|
|
7
|
-
"module": "./index.
|
|
7
|
+
"module": "./index.js",
|
|
8
8
|
"types": "./index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"require": "./index.cjs",
|
|
12
|
-
"import": "./index.
|
|
12
|
+
"import": "./index.js",
|
|
13
13
|
"types": "./index.d.ts"
|
|
14
14
|
},
|
|
15
15
|
"./package.json": "./package.json"
|