@ordergroove/offers 2.34.9 → 2.35.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.
- package/CHANGELOG.md +19 -0
- package/dist/bundle-report.html +15 -15
- package/dist/offers.js +26 -26
- package/dist/offers.js.map +3 -3
- package/package.json +3 -3
- package/src/shopify/__tests__/productPlan.spec.js +13 -13
- package/src/shopify/__tests__/shopifyReducer.spec.js +417 -350
- package/src/shopify/__tests__/utils.spec.js +7 -3
- package/src/shopify/reducers/productPlans.ts +22 -19
- package/src/shopify/shopifyBootstrap.ts +9 -1
- package/src/shopify/shopifyMiddleware.ts +13 -3
- package/src/shopify/shopifyReducer.js +3 -3
- package/src/shopify/utils.ts +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.35.1](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.35.0...@ordergroove/offers@2.35.1) (2023-12-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @ordergroove/offers
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [2.35.0](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.34.9...@ordergroove/offers@2.35.0) (2023-12-01)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* use store currency to populate product plans ([321ac48](https://github.com/ordergroove/plush-toys/commit/321ac48e7d858316dda14a28aaad867bcfcd7724))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [2.34.9](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.34.8...@ordergroove/offers@2.34.9) (2023-11-30)
|
|
7
26
|
|
|
8
27
|
|
package/dist/bundle-report.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
│ └ examples/index.js
|
|
5
5
|
└ examples/index.js ───────────────────────────────────────── 9.7kb ─── 3.4%
|
|
6
6
|
|
|
7
|
-
dist/offers.js ───────────────────────────────────────────── 143.
|
|
7
|
+
dist/offers.js ───────────────────────────────────────────── 143.8kb ─ 100.0%
|
|
8
8
|
├ src/components/Offer.js ─────────────────────────────────── 8.2kb ─── 5.7%
|
|
9
9
|
│ └ src/make-api.js
|
|
10
10
|
│ └ src/index.js
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
│ └ src/index.js
|
|
14
14
|
├ src/core/reducer.js ─────────────────────────────────────── 6.6kb ─── 4.6%
|
|
15
15
|
│ └ src/index.js
|
|
16
|
-
├ src/shopify/shopifyReducer.js ───────────────────────────── 6.
|
|
16
|
+
├ src/shopify/shopifyReducer.js ───────────────────────────── 6.6kb ─── 4.6%
|
|
17
17
|
│ └ src/index.js
|
|
18
18
|
├ src/components/TestWizard.js ────────────────────────────── 5.4kb ─── 3.7%
|
|
19
19
|
│ └ src/run-tests.js
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
│ └ src/components/Price.js
|
|
26
26
|
│ └ src/make-api.js
|
|
27
27
|
│ └ src/index.js
|
|
28
|
+
├ src/shopify/shopifyMiddleware.ts ────────────────────────── 5.0kb ─── 3.5%
|
|
29
|
+
│ └ src/index.js
|
|
28
30
|
├ node_modules/lit-html/lib/parts.js ──────────────────────── 4.9kb ─── 3.4%
|
|
29
31
|
│ └ node_modules/lit-html/lit-html.js
|
|
30
32
|
│ └ node_modules/lit-element/lit-element.js
|
|
@@ -34,8 +36,6 @@
|
|
|
34
36
|
├ src/components/Modal.js ─────────────────────────────────── 4.8kb ─── 3.4%
|
|
35
37
|
│ └ src/make-api.js
|
|
36
38
|
│ └ src/index.js
|
|
37
|
-
├ src/shopify/shopifyMiddleware.ts ────────────────────────── 4.8kb ─── 3.3%
|
|
38
|
-
│ └ src/index.js
|
|
39
39
|
├ src/core/actions-preview.js ─────────────────────────────── 4.4kb ─── 3.1%
|
|
40
40
|
│ └ src/components/Offer.js
|
|
41
41
|
│ └ src/make-api.js
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
├ src/components/UpsellModal.js ───────────────────────────── 2.4kb ─── 1.7%
|
|
61
61
|
│ └ src/make-api.js
|
|
62
62
|
│ └ src/index.js
|
|
63
|
-
├ src/core/utils.ts ───────────────────────────────────────── 2.3kb ─── 1.6%
|
|
64
|
-
│ └ src/index.js
|
|
65
63
|
├ src/shopify/reducers/productPlans.ts ────────────────────── 2.3kb ─── 1.6%
|
|
66
64
|
│ └ src/shopify/shopifyReducer.js
|
|
67
65
|
│ └ src/index.js
|
|
66
|
+
├ src/core/utils.ts ───────────────────────────────────────── 2.3kb ─── 1.6%
|
|
67
|
+
│ └ src/index.js
|
|
68
68
|
├ src/core/selectors.js ───────────────────────────────────── 2.2kb ─── 1.5%
|
|
69
69
|
│ └ src/core/utils.ts
|
|
70
70
|
│ └ src/index.js
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
├ src/components/Price.js ─────────────────────────────────── 1.5kb ─── 1.1%
|
|
112
112
|
│ └ src/make-api.js
|
|
113
113
|
│ └ src/index.js
|
|
114
|
-
├ src/components/OptinToggle.js ───────────────────────────── 1.5kb ─── 1.
|
|
114
|
+
├ src/components/OptinToggle.js ───────────────────────────── 1.5kb ─── 1.0%
|
|
115
115
|
│ └ src/make-api.js
|
|
116
116
|
│ └ src/index.js
|
|
117
117
|
├ src/components/OptinSelect.js ───────────────────────────── 1.4kb ─── 1.0%
|
|
@@ -157,6 +157,9 @@
|
|
|
157
157
|
│ └ src/components/Price.js
|
|
158
158
|
│ └ src/make-api.js
|
|
159
159
|
│ └ src/index.js
|
|
160
|
+
├ ../offers-live-editor/dist/offers-live-editor.js ───────── 1006b ──── 0.7%
|
|
161
|
+
│ └ src/make-api.js
|
|
162
|
+
│ └ src/index.js
|
|
160
163
|
├ ../auth/dist/auth.js ────────────────────────────────────── 985b ──── 0.7%
|
|
161
164
|
│ └ src/core/actions.js
|
|
162
165
|
│ └ src/shopify/shopifyBootstrap.ts
|
|
@@ -167,9 +170,6 @@
|
|
|
167
170
|
│ └ src/components/Price.js
|
|
168
171
|
│ └ src/make-api.js
|
|
169
172
|
│ └ src/index.js
|
|
170
|
-
├ ../offers-live-editor/dist/offers-live-editor.js ────────── 960b ──── 0.7%
|
|
171
|
-
│ └ src/make-api.js
|
|
172
|
-
│ └ src/index.js
|
|
173
173
|
├ node_modules/lit-element/lib/css-tag.js ─────────────────── 953b ──── 0.6%
|
|
174
174
|
│ └ node_modules/lit-element/lit-element.js
|
|
175
175
|
│ └ src/components/Price.js
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
├ src/components/NextUpcomingOrder.js ─────────────────────── 377b ──── 0.3%
|
|
230
230
|
│ └ src/make-api.js
|
|
231
231
|
│ └ src/index.js
|
|
232
|
-
├ node_modules/lit-html/lib/template-factory.js ───────────── 368b ──── 0.
|
|
232
|
+
├ node_modules/lit-html/lib/template-factory.js ───────────── 368b ──── 0.2%
|
|
233
233
|
│ └ node_modules/lit-html/lit-html.js
|
|
234
234
|
│ └ node_modules/lit-element/lit-element.js
|
|
235
235
|
│ └ src/components/Price.js
|
|
@@ -291,6 +291,10 @@
|
|
|
291
291
|
│ └ node_modules/redux/es/redux.js
|
|
292
292
|
│ └ src/shopify/shopifyReducer.js
|
|
293
293
|
│ └ src/index.js
|
|
294
|
+
├ src/shopify/utils.ts ────────────────────────────────────── 153b ──── 0.1%
|
|
295
|
+
│ └ src/shopify/reducers/productPlans.ts
|
|
296
|
+
│ └ src/shopify/shopifyReducer.js
|
|
297
|
+
│ └ src/index.js
|
|
294
298
|
├ src/platform.ts ─────────────────────────────────────────── 149b ──── 0.1%
|
|
295
299
|
│ └ src/index.js
|
|
296
300
|
├ node_modules/lit-html/lit-html.js ───────────────────────── 135b ──── 0.1%
|
|
@@ -298,10 +302,6 @@
|
|
|
298
302
|
│ └ src/components/Price.js
|
|
299
303
|
│ └ src/make-api.js
|
|
300
304
|
│ └ src/index.js
|
|
301
|
-
├ src/shopify/utils.ts ────────────────────────────────────── 107b ──── 0.1%
|
|
302
|
-
│ └ src/shopify/reducers/productPlans.ts
|
|
303
|
-
│ └ src/shopify/shopifyReducer.js
|
|
304
|
-
│ └ src/index.js
|
|
305
305
|
├ node_modules/lit-html/lib/directive.js ───────────────────── 78b ──── 0.1%
|
|
306
306
|
│ └ node_modules/lit-html/lit-html.js
|
|
307
307
|
│ └ node_modules/lit-element/lit-element.js
|