@eldrajs/sdk 0.1.0 → 0.2.1

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@eldrajs/sdk",
3
- "version": "0.1.0",
4
- "description": "Framework-free client for the Eldra Web Studio public storefront API: CMS, catalog, cart, checkout handoff, orders, inventory. Types generated from the versioned public contract.",
3
+ "version": "0.2.1",
4
+ "description": "Framework-free client for the Eldra Web Studio public storefront API: CMS, catalog, cart, checkout handoff, orders, inventory. Types generated from your gateway's OpenAPI document and CMS schemas at build time.",
5
5
  "keywords": [
6
6
  "cms",
7
7
  "commerce",
@@ -40,8 +40,10 @@
40
40
  "access": "public",
41
41
  "provenance": true
42
42
  },
43
+ "dependencies": {
44
+ "openapi-typescript": "^7.13.0"
45
+ },
43
46
  "devDependencies": {
44
- "openapi-typescript": "^7.13.0",
45
47
  "vite": "^8.0.8"
46
48
  },
47
49
  "peerDependencies": {
@@ -57,9 +59,8 @@
57
59
  },
58
60
  "scripts": {
59
61
  "build": "tsdown",
60
- "typecheck": "tsc -p tsconfig.json",
62
+ "typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.generated.json",
61
63
  "test": "vitest run",
62
- "contract": "node scripts/contract.mjs",
63
- "contract:check": "node scripts/contract.mjs --check"
64
+ "fixture": "node scripts/fixture.mjs"
64
65
  }
65
66
  }