@astroway/sdk 1.5.1 → 1.6.0

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": "@astroway/sdk",
3
- "version": "1.5.1",
3
+ "version": "1.6.0",
4
4
  "description": "Official TypeScript SDK for the AstroWay API — natal, synastry, transits, Vedic, Human Design, Tarot, Numerology, AI horoscopes. Type-safe, retry-aware, OpenAPI 3.1 generated.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -37,14 +37,15 @@
37
37
  ],
38
38
  "scripts": {
39
39
  "sync-spec": "tsx scripts/sync-spec.ts",
40
- "generate:types": "openapi-typescript openapi.json -o src/types.generated.ts",
40
+ "generate:types": "openapi-typescript openapi.json --default-non-nullable false -o src/types.generated.ts",
41
41
  "generate:namespaces": "node scripts/generate-namespaces.mjs",
42
42
  "generate": "npm run generate:types && npm run generate:namespaces",
43
43
  "build": "npm run generate && tsc",
44
44
  "prepublishOnly": "npm run build && npm test",
45
- "test": "vitest run",
45
+ "test": "vitest run && npm run typecheck",
46
46
  "test:watch": "vitest",
47
- "lint": "tsc --noEmit"
47
+ "lint": "tsc --noEmit",
48
+ "typecheck": "tsc -p tsconfig.test.json"
48
49
  },
49
50
  "keywords": [
50
51
  "astrology",