@open-tender/cloud 0.4.26 → 0.4.27
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.
|
@@ -115,9 +115,7 @@ exports.validateOrder = (0, toolkit_1.createAsyncThunk)(CheckoutActionType.Valid
|
|
|
115
115
|
const check = yield api.postOrderValidate(order, token);
|
|
116
116
|
const checkError = (0, utils_1.makeCheckError)(check.errors);
|
|
117
117
|
const errMessages = (0, utils_1.handleCheckoutError)(checkError);
|
|
118
|
-
console.log('errMessages', errMessages);
|
|
119
118
|
const keys = Object.keys(errMessages);
|
|
120
|
-
console.log('keys', keys);
|
|
121
119
|
const args = makeRefreshArgs(order);
|
|
122
120
|
if ((0, utils_1.contains)(keys, refreshKeys)) {
|
|
123
121
|
dispatch((0, order_1.refreshRevenueCenter)(args));
|
|
@@ -111,9 +111,7 @@ export const validateOrder = createAsyncThunk(CheckoutActionType.ValidateOrder,
|
|
|
111
111
|
const check = yield api.postOrderValidate(order, token);
|
|
112
112
|
const checkError = makeCheckError(check.errors);
|
|
113
113
|
const errMessages = handleCheckoutError(checkError);
|
|
114
|
-
console.log('errMessages', errMessages);
|
|
115
114
|
const keys = Object.keys(errMessages);
|
|
116
|
-
console.log('keys', keys);
|
|
117
115
|
const args = makeRefreshArgs(order);
|
|
118
116
|
if (contains(keys, refreshKeys)) {
|
|
119
117
|
dispatch(refreshRevenueCenter(args));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-tender/cloud",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.27",
|
|
4
4
|
"description": "A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our cloud-based Order API.",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|