@ordergroove/offers 2.39.1-alpha-PR-987-9.7 → 2.40.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 +4 -4
- package/dist/offers.js +31 -31
- package/dist/offers.js.map +4 -4
- package/package.json +2 -2
- package/src/core/__tests__/actions.spec.js +15 -4
- package/src/core/__tests__/experiments.spec.js +68 -14
- package/src/core/actions.js +3 -2
- package/src/core/api.js +7 -2
- package/src/core/constants.js +1 -0
- package/src/core/experiments.js +71 -25
- package/src/core/reducer.js +2 -1
- package/src/index.js +4 -5
- package/src/shopify/shopifyReducer.js +2 -1
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.40.0](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.39.0...@ordergroove/offers@2.40.0) (2024-09-13)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **offers:** Ensure session_id is passed in create subscription from iu ([f1d658a](https://github.com/ordergroove/plush-toys/commit/f1d658abf9b1d432cf5992b71b96c6a8c1aa7fd3))
|
|
12
|
+
* package-lock.json ([9ecb638](https://github.com/ordergroove/plush-toys/commit/9ecb638e333c14fc14b2592d9e77f069e431c5b0))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **offers:** A/B Testing support ([a9ae136](https://github.com/ordergroove/plush-toys/commit/a9ae136fa0775970fb0a08122eb55a2da8fb5dba))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
6
23
|
# [2.39.0](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.38.1...@ordergroove/offers@2.39.0) (2024-08-20)
|
|
7
24
|
|
|
8
25
|
|
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 ───────────────────────────────────────────── 148.
|
|
7
|
+
dist/offers.js ───────────────────────────────────────────── 148.5kb ─ 100.0%
|
|
8
8
|
├ src/components/Offer.js ─────────────────────────────────── 9.1kb ─── 6.1%
|
|
9
9
|
│ └ src/make-api.js
|
|
10
10
|
│ └ src/index.js
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
│ └ src/index.js
|
|
52
52
|
├ src/make-api.js ─────────────────────────────────────────── 2.8kb ─── 1.9%
|
|
53
53
|
│ └ src/index.js
|
|
54
|
-
├ src/core/api.js ─────────────────────────────────────────── 2.
|
|
54
|
+
├ src/core/api.js ─────────────────────────────────────────── 2.7kb ─── 1.8%
|
|
55
55
|
│ └ src/core/reducer.js
|
|
56
56
|
│ └ src/index.js
|
|
57
57
|
├ src/components/OptinStatus.js ───────────────────────────── 2.6kb ─── 1.8%
|
|
@@ -179,6 +179,8 @@
|
|
|
179
179
|
│ └ src/components/Price.js
|
|
180
180
|
│ └ src/make-api.js
|
|
181
181
|
│ └ src/index.js
|
|
182
|
+
├ src/core/experiments.js ─────────────────────────────────── 953b ──── 0.6%
|
|
183
|
+
│ └ src/index.js
|
|
182
184
|
├ src/core/middleware.js ──────────────────────────────────── 939b ──── 0.6%
|
|
183
185
|
│ └ src/core/store.js
|
|
184
186
|
│ └ src/index.js
|
|
@@ -204,8 +206,6 @@
|
|
|
204
206
|
├ src/components/SubscriptionButton.js ────────────────────── 762b ──── 0.5%
|
|
205
207
|
│ └ src/make-api.js
|
|
206
208
|
│ └ src/index.js
|
|
207
|
-
├ src/core/experiments.js ─────────────────────────────────── 749b ──── 0.5%
|
|
208
|
-
│ └ src/index.js
|
|
209
209
|
├ node_modules/murmurhash-js/murmurhash2_gc.js ────────────── 696b ──── 0.5%
|
|
210
210
|
│ └ node_modules/murmurhash-js/index.js
|
|
211
211
|
│ └ src/core/experiments.js
|