@rudra-js/a2ui 0.10.0 → 0.11.1

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -246,8 +246,8 @@ explains.
246
246
  image will be shown. An empty link will throw. A link or an image that doesn't end up `http` or
247
247
  `https` will also throw.
248
248
  - Featured cards look like any other card and banners look the same in all tones, because the basic
249
- catalog has no styles for them. As nothing carries the `data-rudra-*` attributes the React block
250
- uses for click tracking, you will need to add a query parameter in `hrefForSku` to count clicks.
249
+ catalog has no styles for them. As nothing carries the `data-rudra-*` attributes your analytics
250
+ can read from the React block, you will need to add a query parameter in `hrefForSku` to count clicks.
251
251
  - Prices are formatted on your server for `locale`. If you leave it out, they will use the default
252
252
  locale of the server and not the shopper's. You can also pass `formatPrice` and
253
253
  `formatBundlePrice` to format prices yourself.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rudra-js/a2ui",
3
- "version": "0.10.0",
3
+ "version": "0.11.1",
4
4
  "description": "Lets an A2UI agent place rudra-js product recommendations. Your server still picks the products and builds the block.",
5
5
  "keywords": [
6
6
  "rudra-js",
@@ -62,8 +62,8 @@
62
62
  "peerDependencies": {
63
63
  "@a2ui/react": "^0.14.0",
64
64
  "@a2ui/web_core": "^0.14.0",
65
- "@rudra-js/core": "^0.10.0",
66
- "@rudra-js/react": "^0.10.0",
65
+ "@rudra-js/core": "^0.11.1",
66
+ "@rudra-js/react": "^0.11.1",
67
67
  "react": "^18.2.0 || ^19.0.0"
68
68
  },
69
69
  "peerDependenciesMeta": {
@@ -80,8 +80,8 @@
80
80
  "devDependencies": {
81
81
  "@a2ui/react": "0.14.0",
82
82
  "@a2ui/web_core": "0.14.0",
83
- "@rudra-js/core": "0.10.0",
84
- "@rudra-js/react": "0.10.0",
83
+ "@rudra-js/core": "0.11.1",
84
+ "@rudra-js/react": "0.11.1",
85
85
  "@types/react": "^19.3.0",
86
86
  "@types/react-dom": "^19.3.0",
87
87
  "jsdom": "^27.4.0",