@rudra-js/react 0.10.0 → 0.11.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/README.md +6 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -161,12 +161,12 @@ analytics.
|
|
|
161
161
|
directly from a rendered page. Anything more specific will only appear under `hasDiagnostics`,
|
|
162
162
|
because it tells a visitor what you run and when it's failing:
|
|
163
163
|
|
|
164
|
-
| Attribute | On | Value
|
|
165
|
-
| ----------------------- | ----------- |
|
|
166
|
-
| `data-rudra-provider` | the wrapper | The model vendor, or `none`
|
|
167
|
-
| `data-rudra-model` | the wrapper | The model name, or `none`
|
|
168
|
-
| `data-rudra-latency-ms` | the wrapper | How long generation took
|
|
169
|
-
| `data-rudra-degraded` | the wrapper | Why it fell back: `no-provider`, `provider-error`, `timeout`, `invalid-generation`, `unusable-on-serve` or `
|
|
164
|
+
| Attribute | On | Value |
|
|
165
|
+
| ----------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------ |
|
|
166
|
+
| `data-rudra-provider` | the wrapper | The model vendor, or `none` |
|
|
167
|
+
| `data-rudra-model` | the wrapper | The model name, or `none` |
|
|
168
|
+
| `data-rudra-latency-ms` | the wrapper | How long generation took |
|
|
169
|
+
| `data-rudra-degraded` | the wrapper | Why it fell back: `no-provider`, `provider-error`, `timeout`, `invalid-generation`, `unusable-on-serve`, `requested` or `not-cached` |
|
|
170
170
|
|
|
171
171
|
## Replacing a renderer
|
|
172
172
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rudra-js/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Renders rudra-js product recommendations with React, on the server or in the browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rudra-js",
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@rudra-js/core": "^0.
|
|
57
|
+
"@rudra-js/core": "^0.11.0",
|
|
58
58
|
"react": "^18.2.0 || ^19.0.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@rudra-js/core": "0.
|
|
61
|
+
"@rudra-js/core": "0.11.0",
|
|
62
62
|
"@types/react": "^19.3.0",
|
|
63
63
|
"@types/react-dom": "^19.3.0",
|
|
64
64
|
"react": "^19.3.1",
|