@ordergroove/offers 2.32.0 → 2.32.1-alpha-PR-727-3.3
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/README.md +1 -1
- package/dist/bundle-report.html +8 -8
- package/dist/examples.js +4 -4
- package/dist/examples.js.map +2 -2
- package/dist/offers.js +4 -4
- package/dist/offers.js.map +2 -2
- package/package.json +3 -3
- package/src/components/PrepaidToggle.js +14 -4
- package/src/components/__tests__/PrepaidToggle.spec.js +28 -7
- package/src/core/__tests__/selectors.spec.js +23 -0
- package/src/core/selectors.js +4 -4
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ Note supported format is `YY-MM-DD` and needs to be a day in the future. If some
|
|
|
66
66
|
<og-offer product="123" product-to-subscribe="678"></og-offer>
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
Even though offer applies to product "123", the subscription is created with product "678"
|
|
69
|
+
Even though offer applies to product "123", the subscription is created with product "678".
|
|
70
70
|
|
|
71
71
|
## Behavior & Functionality
|
|
72
72
|
|
package/dist/bundle-report.html
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<pre id="esbuild-metadata">
|
|
2
|
-
dist/examples.js ─────────────────────────────────────────── 268.
|
|
3
|
-
├ ../offers-templates/dist/main.js ──────────────────────── 258.
|
|
2
|
+
dist/examples.js ─────────────────────────────────────────── 268.9kb ─ 100.0%
|
|
3
|
+
├ ../offers-templates/dist/main.js ──────────────────────── 258.7kb ── 96.2%
|
|
4
4
|
│ └ examples/index.js
|
|
5
5
|
└ examples/index.js ───────────────────────────────────────── 9.1kb ─── 3.4%
|
|
6
6
|
|
|
7
|
-
dist/offers.js ───────────────────────────────────────────── 139.
|
|
7
|
+
dist/offers.js ───────────────────────────────────────────── 139.3kb ─ 100.0%
|
|
8
8
|
├ src/components/Offer.js ─────────────────────────────────── 8.2kb ─── 5.9%
|
|
9
9
|
│ └ src/make-api.js
|
|
10
10
|
│ └ src/index.js
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
├ src/components/Modal.js ─────────────────────────────────── 4.8kb ─── 3.5%
|
|
35
35
|
│ └ src/make-api.js
|
|
36
36
|
│ └ src/index.js
|
|
37
|
-
├ src/shopify/shopifyMiddleware.ts ────────────────────────── 4.7kb ─── 3.
|
|
37
|
+
├ src/shopify/shopifyMiddleware.ts ────────────────────────── 4.7kb ─── 3.3%
|
|
38
38
|
│ └ src/index.js
|
|
39
39
|
├ src/core/actions-preview.js ─────────────────────────────── 4.4kb ─── 3.2%
|
|
40
40
|
│ └ src/components/Offer.js
|
|
@@ -62,10 +62,13 @@
|
|
|
62
62
|
│ └ src/index.js
|
|
63
63
|
├ src/core/utils.ts ───────────────────────────────────────── 2.3kb ─── 1.7%
|
|
64
64
|
│ └ src/index.js
|
|
65
|
+
├ src/components/PrepaidToggle.js ─────────────────────────── 2.3kb ─── 1.6%
|
|
66
|
+
│ └ src/make-api.js
|
|
67
|
+
│ └ src/index.js
|
|
65
68
|
├ src/shopify/reducers/productPlans.ts ────────────────────── 2.3kb ─── 1.6%
|
|
66
69
|
│ └ src/shopify/shopifyReducer.js
|
|
67
70
|
│ └ src/index.js
|
|
68
|
-
├ src/core/selectors.js ───────────────────────────────────── 2.
|
|
71
|
+
├ src/core/selectors.js ───────────────────────────────────── 2.3kb ─── 1.6%
|
|
69
72
|
│ └ src/core/utils.ts
|
|
70
73
|
│ └ src/index.js
|
|
71
74
|
├ node_modules/lit-html/lib/shady-render.js ───────────────── 2.1kb ─── 1.5%
|
|
@@ -73,9 +76,6 @@
|
|
|
73
76
|
│ └ src/components/Price.js
|
|
74
77
|
│ └ src/make-api.js
|
|
75
78
|
│ └ src/index.js
|
|
76
|
-
├ src/components/PrepaidToggle.js ─────────────────────────── 2.0kb ─── 1.5%
|
|
77
|
-
│ └ src/make-api.js
|
|
78
|
-
│ └ src/index.js
|
|
79
79
|
├ src/components/SelectFrequency.js ───────────────────────── 2.0kb ─── 1.4%
|
|
80
80
|
│ └ src/make-api.js
|
|
81
81
|
│ └ src/index.js
|