@ordergroove/offers 2.36.2-alpha-PR-836-2.3 → 2.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/CHANGELOG.md +17 -0
- package/dist/bundle-report.html +3 -3
- package/dist/offers.js +22 -22
- package/dist/offers.js.map +3 -3
- package/package.json +2 -2
- package/src/components/Offer.js +25 -11
- package/src/components/__tests__/Offer.spec.js +37 -18
- package/src/shopify/__tests__/shopifyReducer.spec.js +41 -19
- package/src/shopify/shopifyReducer.js +7 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,23 @@
|
|
|
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.37.0](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.36.1...@ordergroove/offers@2.37.0) (2024-03-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **offers:** default to first selling plan if no match found ([86ff86e](https://github.com/ordergroove/plush-toys/commit/86ff86e1a83391ccac4db26fbb5236affe068c34))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* hide cart offer if product-specific frequencies present ([a80777b](https://github.com/ordergroove/plush-toys/commit/a80777b7956a732e6743cbcf0fe68192c95aac82))
|
|
17
|
+
* use product-specific frequency group if available ([11baa06](https://github.com/ordergroove/plush-toys/commit/11baa062c028c16946f5573883e3ca324966e258))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
6
23
|
## [2.36.1](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.36.0...@ordergroove/offers@2.36.1) (2024-03-01)
|
|
7
24
|
|
|
8
25
|
|
package/dist/bundle-report.html
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
│ └ examples/index.js
|
|
5
5
|
└ examples/index.js ───────────────────────────────────────── 9.7kb ─── 3.5%
|
|
6
6
|
|
|
7
|
-
dist/offers.js ───────────────────────────────────────────── 145.
|
|
8
|
-
├ src/components/Offer.js ───────────────────────────────────
|
|
7
|
+
dist/offers.js ───────────────────────────────────────────── 145.4kb ─ 100.0%
|
|
8
|
+
├ src/components/Offer.js ─────────────────────────────────── 9.1kb ─── 6.2%
|
|
9
9
|
│ └ src/make-api.js
|
|
10
10
|
│ └ src/index.js
|
|
11
|
-
├ src/shopify/shopifyReducer.js ─────────────────────────────
|
|
11
|
+
├ src/shopify/shopifyReducer.js ───────────────────────────── 7.0kb ─── 4.8%
|
|
12
12
|
│ └ src/index.js
|
|
13
13
|
├ src/core/reducer.js ─────────────────────────────────────── 6.7kb ─── 4.6%
|
|
14
14
|
│ └ src/index.js
|