@ordergroove/offers 2.46.1-alpha-PR-1280-4.55 → 2.47.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/CHANGELOG.md +18 -0
- package/dist/bundle-report.html +3 -3
- package/dist/offers.js +33 -33
- package/dist/offers.js.map +3 -3
- package/package.json +2 -2
- package/src/components/IncentiveText.js +24 -6
- package/src/components/__tests__/IncentiveText.spec.js +72 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.47.0](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.46.0...@ordergroove/offers@2.47.0) (2025-11-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* send cart attributes using correct API ([dc06e4b](https://github.com/ordergroove/plush-toys/commit/dc06e4bae4d30e06ff8f62544621bd2414084615))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* og-price uses Offers response for discount display ([2d78e88](https://github.com/ordergroove/plush-toys/commit/2d78e886138ae2f0486a15add5b801dbe992ce7b))
|
|
17
|
+
* prefer PSI and program wide incentives for incentive-text ([29e74a0](https://github.com/ordergroove/plush-toys/commit/29e74a07dc1524f9503e308749eab67942fa964a))
|
|
18
|
+
* set __ordergroove_offer_id cart attribute ([0b799e0](https://github.com/ordergroove/plush-toys/commit/0b799e0c37efa8d887ef927304d6ebb9471d0691))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
# [2.46.0](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.45.6...@ordergroove/offers@2.46.0) (2025-09-16)
|
|
7
25
|
|
|
8
26
|
|
package/dist/bundle-report.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
│ └ examples/index.js
|
|
5
5
|
└ examples/index.js ───────────────────────────────────────── 9.7kb ─── 3.5%
|
|
6
6
|
|
|
7
|
-
dist/offers.js ───────────────────────────────────────────── 155.
|
|
7
|
+
dist/offers.js ───────────────────────────────────────────── 155.8kb ─ 100.0%
|
|
8
8
|
├ src/components/Offer.js ─────────────────────────────────── 9.6kb ─── 6.2%
|
|
9
9
|
│ └ src/make-api.js
|
|
10
10
|
│ └ src/index.js
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
│ └ src/components/Price.js
|
|
74
74
|
│ └ src/make-api.js
|
|
75
75
|
│ └ src/index.js
|
|
76
|
-
├ src/components/
|
|
76
|
+
├ src/components/IncentiveText.js ─────────────────────────── 2.0kb ─── 1.3%
|
|
77
77
|
│ └ src/make-api.js
|
|
78
78
|
│ └ src/index.js
|
|
79
|
-
├ src/components/
|
|
79
|
+
├ src/components/SelectFrequency.js ───────────────────────── 1.9kb ─── 1.2%
|
|
80
80
|
│ └ src/make-api.js
|
|
81
81
|
│ └ src/index.js
|
|
82
82
|
├ src/components/PrepaidButton.js ─────────────────────────── 1.8kb ─── 1.2%
|