@ordergroove/offers 2.33.3-alpha-PR-731-15.24 → 2.34.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 +11 -0
- package/dist/bundle-report.html +7 -7
- package/dist/examples.js +2 -2
- package/dist/offers.js +29 -29
- package/dist/offers.js.map +2 -2
- package/package.json +3 -3
- package/src/core/__tests__/reducer.spec.js +22 -0
- package/src/core/actions.js +5 -0
- package/src/core/constants.js +1 -0
- package/src/core/descriptors.js +4 -2
- package/src/core/reducer.js +7 -0
- package/src/core/selectors.js +1 -1
- package/src/shopify/__tests__/shopifyMiddleware.spec.js +48 -2
- package/src/shopify/shopifyMiddleware.ts +13 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.34.0](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.33.2...@ordergroove/offers@2.34.0) (2023-04-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add prepaid cart template ([5aefff8](https://github.com/ordergroove/plush-toys/commit/5aefff85fe9690a6630d9084d945eeed7b45eea3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.33.2](https://github.com/ordergroove/plush-toys/compare/@ordergroove/offers@2.33.1...@ordergroove/offers@2.33.2) (2023-04-11)
|
|
7
18
|
|
|
8
19
|
|
package/dist/bundle-report.html
CHANGED
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
│ └ examples/index.js
|
|
5
5
|
└ examples/index.js ───────────────────────────────────────── 9.3kb ─── 3.4%
|
|
6
6
|
|
|
7
|
-
dist/offers.js ───────────────────────────────────────────── 139.
|
|
7
|
+
dist/offers.js ───────────────────────────────────────────── 139.9kb ─ 100.0%
|
|
8
8
|
├ src/components/Offer.js ─────────────────────────────────── 8.2kb ─── 5.9%
|
|
9
9
|
│ └ src/make-api.js
|
|
10
10
|
│ └ src/index.js
|
|
11
11
|
├ node_modules/redux/es/redux.js ──────────────────────────── 6.7kb ─── 4.8%
|
|
12
12
|
│ └ src/shopify/shopifyReducer.js
|
|
13
13
|
│ └ src/index.js
|
|
14
|
-
├ src/core/reducer.js ─────────────────────────────────────── 6.5kb ─── 4.
|
|
14
|
+
├ src/core/reducer.js ─────────────────────────────────────── 6.5kb ─── 4.7%
|
|
15
15
|
│ └ src/index.js
|
|
16
|
-
├ src/shopify/shopifyReducer.js ───────────────────────────── 6.4kb ─── 4.
|
|
16
|
+
├ src/shopify/shopifyReducer.js ───────────────────────────── 6.4kb ─── 4.5%
|
|
17
17
|
│ └ src/index.js
|
|
18
18
|
├ src/components/TestWizard.js ────────────────────────────── 5.5kb ─── 3.9%
|
|
19
19
|
│ └ src/run-tests.js
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
│ └ src/components/Price.js
|
|
26
26
|
│ └ src/make-api.js
|
|
27
27
|
│ └ src/index.js
|
|
28
|
-
├ node_modules/lit-html/lib/parts.js ──────────────────────── 5.0kb ─── 3.
|
|
28
|
+
├ node_modules/lit-html/lib/parts.js ──────────────────────── 5.0kb ─── 3.5%
|
|
29
29
|
│ └ node_modules/lit-html/lit-html.js
|
|
30
30
|
│ └ node_modules/lit-element/lit-element.js
|
|
31
31
|
│ └ src/components/Price.js
|
|
32
32
|
│ └ src/make-api.js
|
|
33
33
|
│ └ src/index.js
|
|
34
|
-
├ src/components/Modal.js ─────────────────────────────────── 4.8kb ─── 3.
|
|
34
|
+
├ src/components/Modal.js ─────────────────────────────────── 4.8kb ─── 3.4%
|
|
35
35
|
│ └ src/make-api.js
|
|
36
36
|
│ └ src/index.js
|
|
37
|
-
├ src/shopify/shopifyMiddleware.ts ────────────────────────── 4.
|
|
37
|
+
├ src/shopify/shopifyMiddleware.ts ────────────────────────── 4.8kb ─── 3.4%
|
|
38
38
|
│ └ src/index.js
|
|
39
39
|
├ src/core/actions-preview.js ─────────────────────────────── 4.4kb ─── 3.2%
|
|
40
40
|
│ └ src/components/Offer.js
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
├ src/components/FrequencyStatus.js ───────────────────────── 1.6kb ─── 1.1%
|
|
102
102
|
│ └ src/make-api.js
|
|
103
103
|
│ └ src/index.js
|
|
104
|
-
├ src/core/descriptors.js ─────────────────────────────────── 1.
|
|
104
|
+
├ src/core/descriptors.js ─────────────────────────────────── 1.6kb ─── 1.1%
|
|
105
105
|
│ └ src/components/When.js
|
|
106
106
|
│ └ src/make-api.js
|
|
107
107
|
│ └ src/index.js
|
package/dist/examples.js
CHANGED
|
@@ -498,7 +498,7 @@ og-price[subscription] {
|
|
|
498
498
|
line-height: 1em;
|
|
499
499
|
}
|
|
500
500
|
|
|
501
|
-
/* prepaid additions to
|
|
501
|
+
/* prepaid additions to radio styles */
|
|
502
502
|
.og-prepaid {
|
|
503
503
|
margin-left: 2.2em;
|
|
504
504
|
max-width: 380px;
|
|
@@ -676,7 +676,7 @@ og-optin-toggle[subscribed] + div {
|
|
|
676
676
|
visibility: visible;
|
|
677
677
|
}
|
|
678
678
|
|
|
679
|
-
/* prepaid additions to
|
|
679
|
+
/* prepaid additions to cart styles */
|
|
680
680
|
.og-prepaid {
|
|
681
681
|
margin-left: 2.2em;
|
|
682
682
|
max-width: 380px;
|