@sentientui/react 0.36.1 → 0.37.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/llms.txt CHANGED
@@ -3,8 +3,8 @@
3
3
  > SentientUI makes websites adapt to each visitor. The SDK observes behaviour, classifies
4
4
  > visitors into the personas your app declares (e.g. admin, evaluator) or discovery proposes
5
5
  > (`unknown` until then), and a server-side persona-keyed optimizer picks, per visitor type,
6
- > which styling, content, and section order to show, learning from real conversions. Decisions are locked per session: Visit 1 learns,
7
- > Visit 2 converts. React SDK, vanilla JS SDK, and a script-tag snippet are open source; the
6
+ > which styling, content, and section order to show, learning from real conversions. It measures the lift against a held-out control
7
+ > group. Decisions are locked per session: a first visit sees the original, the return visit adapts. React SDK, vanilla JS SDK, and a script-tag snippet are open source; the
8
8
  > learning API is hosted (api.sentient-ui.com).
9
9
 
10
10
  ## Install (agent quickstart)
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@sentientui/react",
3
- "version": "0.36.1",
3
+ "version": "0.37.0",
4
4
  "private": false,
5
5
  "license": "MIT",
6
+ "engines": {
7
+ "node": ">=18.18"
8
+ },
6
9
  "sideEffects": false,
7
10
  "description": "SentientUI React SDK — adaptive UI personalization with <Adaptive> components that learn what converts per visitor. SSR-safe.",
8
11
  "homepage": "https://sentient-ui.com",
@@ -75,14 +78,14 @@
75
78
  "llms.txt"
76
79
  ],
77
80
  "dependencies": {
78
- "@sentientui/policy": "0.12.0",
79
- "@sentientui/core": "0.35.0"
81
+ "@sentientui/core": "0.36.0",
82
+ "@sentientui/policy": "0.12.1"
80
83
  },
81
84
  "peerDependencies": {
82
- "@testing-library/react": ">=14.0.0",
83
- "msw": ">=2.0.0",
84
- "next": ">=14.0.0",
85
- "react": ">=18.0.0"
85
+ "@testing-library/react": ">=14.0.0 <17.0.0",
86
+ "msw": ">=2.0.0 <3.0.0",
87
+ "next": ">=14.0.0 <17.0.0",
88
+ "react": ">=18.0.0 <20.0.0"
86
89
  },
87
90
  "peerDependenciesMeta": {
88
91
  "next": {