@open-tender/store 0.1.293 → 0.1.294
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.
|
@@ -32,7 +32,7 @@ var CartUpsellItem = function (_a) {
|
|
|
32
32
|
(0, react_1.useEffect)(function () {
|
|
33
33
|
if (hasSize && !isIncomplete) {
|
|
34
34
|
dispatch((0, slices_1.addItemToCart)(builtItem));
|
|
35
|
-
dispatch((0, slices_1.showNotification)("".concat(builtItem.name, " added to
|
|
35
|
+
dispatch((0, slices_1.showNotification)("".concat(builtItem.name, " added to order!")));
|
|
36
36
|
if (callback)
|
|
37
37
|
callback();
|
|
38
38
|
}
|
|
@@ -19,7 +19,7 @@ var UpsellItem = function (_a) {
|
|
|
19
19
|
var add = function () {
|
|
20
20
|
if (!isIncomplete) {
|
|
21
21
|
dispatch((0, slices_1.addItemToCart)(builtItem));
|
|
22
|
-
dispatch((0, slices_1.showNotification)("".concat(builtItem.name, " added to
|
|
22
|
+
dispatch((0, slices_1.showNotification)("".concat(builtItem.name, " added to order!")));
|
|
23
23
|
if (callback)
|
|
24
24
|
callback();
|
|
25
25
|
}
|
|
@@ -33,7 +33,7 @@ var UpsellItem = function (_a) {
|
|
|
33
33
|
(0, react_1.useEffect)(function () {
|
|
34
34
|
if (hasSize && !isIncomplete) {
|
|
35
35
|
dispatch((0, slices_1.addItemToCart)(builtItem));
|
|
36
|
-
dispatch((0, slices_1.showNotification)("".concat(builtItem.name, " added to
|
|
36
|
+
dispatch((0, slices_1.showNotification)("".concat(builtItem.name, " added to order!")));
|
|
37
37
|
if (callback)
|
|
38
38
|
callback();
|
|
39
39
|
}
|
|
@@ -30,7 +30,7 @@ var CartUpsellItem = function (_a) {
|
|
|
30
30
|
useEffect(function () {
|
|
31
31
|
if (hasSize && !isIncomplete) {
|
|
32
32
|
dispatch(addItemToCart(builtItem));
|
|
33
|
-
dispatch(showNotification("".concat(builtItem.name, " added to
|
|
33
|
+
dispatch(showNotification("".concat(builtItem.name, " added to order!")));
|
|
34
34
|
if (callback)
|
|
35
35
|
callback();
|
|
36
36
|
}
|
|
@@ -17,7 +17,7 @@ var UpsellItem = function (_a) {
|
|
|
17
17
|
var add = function () {
|
|
18
18
|
if (!isIncomplete) {
|
|
19
19
|
dispatch(addItemToCart(builtItem));
|
|
20
|
-
dispatch(showNotification("".concat(builtItem.name, " added to
|
|
20
|
+
dispatch(showNotification("".concat(builtItem.name, " added to order!")));
|
|
21
21
|
if (callback)
|
|
22
22
|
callback();
|
|
23
23
|
}
|
|
@@ -31,7 +31,7 @@ var UpsellItem = function (_a) {
|
|
|
31
31
|
useEffect(function () {
|
|
32
32
|
if (hasSize && !isIncomplete) {
|
|
33
33
|
dispatch(addItemToCart(builtItem));
|
|
34
|
-
dispatch(showNotification("".concat(builtItem.name, " added to
|
|
34
|
+
dispatch(showNotification("".concat(builtItem.name, " added to order!")));
|
|
35
35
|
if (callback)
|
|
36
36
|
callback();
|
|
37
37
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-tender/store",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.294",
|
|
4
4
|
"description": "A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|