@ordergroove/offers 2.42.0 → 2.42.1-alpha-PR-1146-8.95
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/dist/bundle-report.html +8 -9
- package/dist/offers.js +28 -28
- package/dist/offers.js.map +3 -3
- package/package.json +2 -2
- package/src/shopify/__tests__/productPlan.spec.js +18 -8
- package/src/shopify/__tests__/shopifyReducer.spec.js +3 -1
- package/src/shopify/__tests__/utils.spec.js +45 -1
- package/src/shopify/reducers/productPlans.ts +3 -10
- package/src/shopify/shopifyReducer.js +9 -33
- package/src/shopify/types/shopify.ts +1 -1
- package/src/shopify/utils.ts +33 -0
package/dist/bundle-report.html
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
│ └ examples/index.js
|
|
5
5
|
└ examples/index.js ───────────────────────────────────────── 9.7kb ─── 3.5%
|
|
6
6
|
|
|
7
|
-
dist/offers.js ───────────────────────────────────────────── 149.
|
|
7
|
+
dist/offers.js ───────────────────────────────────────────── 149.4kb ─ 100.0%
|
|
8
8
|
├ src/components/Offer.js ─────────────────────────────────── 9.1kb ─── 6.1%
|
|
9
9
|
│ └ src/make-api.js
|
|
10
10
|
│ └ src/index.js
|
|
11
|
-
├ src/shopify/shopifyReducer.js ───────────────────────────── 7.0kb ─── 4.7%
|
|
12
|
-
│ └ src/index.js
|
|
13
11
|
├ src/core/reducer.js ─────────────────────────────────────── 6.8kb ─── 4.6%
|
|
14
12
|
│ └ src/index.js
|
|
13
|
+
├ src/shopify/shopifyReducer.js ───────────────────────────── 6.7kb ─── 4.5%
|
|
14
|
+
│ └ src/index.js
|
|
15
15
|
├ node_modules/redux/es/redux.js ──────────────────────────── 6.6kb ─── 4.4%
|
|
16
16
|
│ └ src/shopify/shopifyReducer.js
|
|
17
17
|
│ └ src/index.js
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
├ src/components/UpsellModal.js ───────────────────────────── 2.4kb ─── 1.6%
|
|
63
63
|
│ └ src/make-api.js
|
|
64
64
|
│ └ src/index.js
|
|
65
|
-
├ src/shopify/reducers/productPlans.ts ────────────────────── 2.
|
|
65
|
+
├ src/shopify/reducers/productPlans.ts ────────────────────── 2.2kb ─── 1.5%
|
|
66
66
|
│ └ src/shopify/shopifyReducer.js
|
|
67
67
|
│ └ src/index.js
|
|
68
68
|
├ src/core/selectors.js ───────────────────────────────────── 2.2kb ─── 1.5%
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
├ src/components/PrepaidToggle.js ─────────────────────────── 1.7kb ─── 1.2%
|
|
95
95
|
│ └ src/make-api.js
|
|
96
96
|
│ └ src/index.js
|
|
97
|
-
├ node_modules/lit-element/lit-element.js ─────────────────── 1.7kb ─── 1.
|
|
97
|
+
├ node_modules/lit-element/lit-element.js ─────────────────── 1.7kb ─── 1.1%
|
|
98
98
|
│ └ src/components/Price.js
|
|
99
99
|
│ └ src/make-api.js
|
|
100
100
|
│ └ src/index.js
|
|
@@ -216,6 +216,9 @@
|
|
|
216
216
|
├ src/components/OptoutButton.js ──────────────────────────── 654b ──── 0.4%
|
|
217
217
|
│ └ src/make-api.js
|
|
218
218
|
│ └ src/index.js
|
|
219
|
+
├ src/shopify/utils.ts ────────────────────────────────────── 650b ──── 0.4%
|
|
220
|
+
│ └ src/shopify/shopifyReducer.js
|
|
221
|
+
│ └ src/index.js
|
|
219
222
|
├ src/components/When.js ──────────────────────────────────── 618b ──── 0.4%
|
|
220
223
|
│ └ src/make-api.js
|
|
221
224
|
│ └ src/index.js
|
|
@@ -307,10 +310,6 @@
|
|
|
307
310
|
│ └ node_modules/redux/es/redux.js
|
|
308
311
|
│ └ src/shopify/shopifyReducer.js
|
|
309
312
|
│ └ src/index.js
|
|
310
|
-
├ src/shopify/utils.ts ────────────────────────────────────── 153b ──── 0.1%
|
|
311
|
-
│ └ src/shopify/reducers/productPlans.ts
|
|
312
|
-
│ └ src/shopify/shopifyReducer.js
|
|
313
|
-
│ └ src/index.js
|
|
314
313
|
├ src/platform.ts ─────────────────────────────────────────── 149b ──── 0.1%
|
|
315
314
|
│ └ src/index.js
|
|
316
315
|
├ node_modules/lit-html/lit-html.js ───────────────────────── 135b ──── 0.1%
|