@unifold/core 0.1.71 → 0.1.72
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/README.md +9 -0
- package/dist/index.d.mts +463 -57
- package/dist/index.d.ts +463 -57
- package/dist/index.js +307 -125
- package/dist/index.mjs +297 -125
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -68,6 +68,15 @@ console.log(i18n.t("deposit.title"));
|
|
|
68
68
|
console.log(i18n.t("deposit.description"));
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
+
### Client identity headers
|
|
72
|
+
|
|
73
|
+
Every request made through this SDK automatically includes Stripe-style client
|
|
74
|
+
identity headers (`x-unifold-client-version` and `x-unifold-client-user-agent`)
|
|
75
|
+
so the API can attribute traffic to a specific SDK and version. The header
|
|
76
|
+
contract — including how the Swift, Kotlin, Flutter, and React Native SDKs
|
|
77
|
+
should populate it — is documented in
|
|
78
|
+
[`docs/sdk-client-headers.md`](../../docs/sdk-client-headers.md).
|
|
79
|
+
|
|
71
80
|
## API Reference
|
|
72
81
|
|
|
73
82
|
See the TypeScript types for full API documentation.
|