@sermas/api-client 1.0.0-alpha.18 → 1.0.0-alpha.20

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.
Files changed (2) hide show
  1. package/README.md +9 -1
  2. package/package.json +3 -4
package/README.md CHANGED
@@ -33,8 +33,16 @@ main().catch(e => console.error(e))
33
33
 
34
34
  ## Development
35
35
 
36
- Set the `API_URL` env and run
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.18",
3
+ "version": "1.0.0-alpha.20",
4
4
  "description": "Sermas API client",
5
5
  "type": "module",
6
6
  "main": "./index.cjs",
7
- "module": "./index.mjs",
7
+ "module": "./index.js",
8
8
  "types": "./index.d.ts",
9
9
  "exports": {
10
10
  ".": {
11
11
  "require": "./index.cjs",
12
- "import": "./index.mjs",
12
+ "import": "./index.js",
13
13
  "types": "./index.d.ts"
14
14
  },
15
15
  "./package.json": "./package.json"
@@ -43,7 +43,6 @@
43
43
  "@asyncapi/modelina": "^3.1.0",
44
44
  "@asyncapi/parser": "^3.0.5",
45
45
  "@types/js-yaml": "^4.0.9",
46
- "@types/mqtt": "^2.5.0",
47
46
  "@types/node": "^20",
48
47
  "@typescript-eslint/eslint-plugin": "^6.18.1",
49
48
  "@typescript-eslint/parser": "^6.18.1",