@sylphx/sdk 0.21.0 → 0.22.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/dist/health/index.d.ts +4 -1
- package/dist/health/index.mjs +1 -0
- package/dist/health/index.mjs.map +1 -1
- package/dist/index.d.ts +86 -96
- package/dist/index.mjs +323 -205
- package/dist/index.mjs.map +1 -1
- package/dist/react/index.d.ts +40 -66
- package/dist/react/index.mjs +60 -31
- package/dist/react/index.mjs.map +1 -1
- package/dist/server/index.d.ts +5 -6
- package/package.json +2 -2
package/dist/server/index.d.ts
CHANGED
|
@@ -329,12 +329,11 @@ type Plan = SdkBillingPlan;
|
|
|
329
329
|
* - Platform auto-discovers/creates consent types when first referenced
|
|
330
330
|
* - Console can override names, descriptions, requirements without deployment
|
|
331
331
|
*
|
|
332
|
-
* Wire-shape types are re-exported from
|
|
333
|
-
* contract is the single source of truth
|
|
334
|
-
* `GET /consent`, `POST /consent`, and friends.
|
|
335
|
-
*
|
|
336
|
-
*
|
|
337
|
-
* shapes themselves.
|
|
332
|
+
* Wire-shape types and endpoint paths are re-exported from
|
|
333
|
+
* `@sylphx/contract` (ADR-084). The contract is the single source of truth
|
|
334
|
+
* for `GET /consent/types`, `GET /consent`, `POST /consent`, and friends.
|
|
335
|
+
* This module keeps ergonomic helper inputs only where the public SDK API
|
|
336
|
+
* intentionally differs from the wire shape.
|
|
338
337
|
*
|
|
339
338
|
* @example
|
|
340
339
|
* ```typescript
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sylphx/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"description": "Sylphx SDK - State-of-the-art platform SDK with pure functions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
"dependencies": {
|
|
106
|
-
"@sylphx/contract": "0.
|
|
106
|
+
"@sylphx/contract": "0.22.0",
|
|
107
107
|
"jose": "^6.1.3",
|
|
108
108
|
"rrweb": "^1.1.3",
|
|
109
109
|
"web-vitals": "5.1.0"
|