@eldrajs/sdk 0.2.8 → 0.2.9

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": "@eldrajs/sdk",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
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",
@@ -21,7 +21,8 @@
21
21
  "files": [
22
22
  "dist",
23
23
  "CHANGELOG.md",
24
- "LICENSE"
24
+ "LICENSE",
25
+ "THIRD-PARTY-NOTICES.md"
25
26
  ],
26
27
  "type": "module",
27
28
  "sideEffects": false,
@@ -34,6 +35,26 @@
34
35
  "types": "./dist/vite.d.ts",
35
36
  "import": "./dist/vite.js"
36
37
  },
38
+ "./format": {
39
+ "types": "./dist/format.d.ts",
40
+ "import": "./dist/format.js"
41
+ },
42
+ "./format/date": {
43
+ "types": "./dist/format/date.d.ts",
44
+ "import": "./dist/format/date.js"
45
+ },
46
+ "./format/list": {
47
+ "types": "./dist/format/list.d.ts",
48
+ "import": "./dist/format/list.js"
49
+ },
50
+ "./format/relative-time": {
51
+ "types": "./dist/format/relative-time.d.ts",
52
+ "import": "./dist/format/relative-time.js"
53
+ },
54
+ "./format/display-names": {
55
+ "types": "./dist/format/display-names.d.ts",
56
+ "import": "./dist/format/display-names.js"
57
+ },
37
58
  "./package.json": "./package.json"
38
59
  },
39
60
  "publishConfig": {
@@ -44,6 +65,12 @@
44
65
  "openapi-typescript": "^7.13.0"
45
66
  },
46
67
  "devDependencies": {
68
+ "@formatjs/intl-datetimeformat": "7.8.1",
69
+ "@formatjs/intl-displaynames": "7.3.15",
70
+ "@formatjs/intl-listformat": "8.3.15",
71
+ "@formatjs/intl-numberformat": "9.4.3",
72
+ "@formatjs/intl-relativetimeformat": "12.3.15",
73
+ "@playwright/test": "1.62.1",
47
74
  "vite": "^8.0.8"
48
75
  },
49
76
  "peerDependencies": {
@@ -61,6 +88,8 @@
61
88
  "build": "tsdown",
62
89
  "typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.generated.json",
63
90
  "test": "vitest run",
64
- "fixture": "node scripts/fixture.mjs"
91
+ "fixture": "node scripts/fixture.mjs",
92
+ "format-data": "node scripts/extract-format-data.mjs",
93
+ "check:format-data": "node scripts/extract-format-data.mjs --check"
65
94
  }
66
95
  }