@nixopus/api-client 0.0.2 → 0.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nixopus/api-client",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "TypeScript API client for Nixopus, generated from OpenAPI spec",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -16,21 +16,31 @@
16
16
  "dist"
17
17
  ],
18
18
  "scripts": {
19
- "generate": "openapi-ts -i openapi.json -o src",
19
+ "generate": "openapi-ts",
20
20
  "build": "tsup src/index.ts --format cjs,esm --dts --clean",
21
21
  "prepublishOnly": "npm run generate && npm run build"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@hey-api/openapi-ts": "0.93.0",
25
+ "@tanstack/react-query": "^5.90.21",
25
26
  "tsup": "^8.0.0",
26
- "typescript": "^5.0.0"
27
+ "typescript": "^5.0.0",
28
+ "zod": "^3.23.0"
27
29
  },
28
30
  "peerDependencies": {
29
- "@hey-api/client-fetch": "^0.4.0"
31
+ "@hey-api/client-fetch": "^0.4.0",
32
+ "@tanstack/react-query": "^5.0.0",
33
+ "zod": "^3.23.0 || ^4.0.0"
30
34
  },
31
35
  "peerDependenciesMeta": {
32
36
  "@hey-api/client-fetch": {
33
37
  "optional": true
38
+ },
39
+ "@tanstack/react-query": {
40
+ "optional": true
41
+ },
42
+ "zod": {
43
+ "optional": true
34
44
  }
35
45
  },
36
46
  "repository": {