@open-tender/cloud 0.0.55 → 0.0.56

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.
@@ -156,7 +156,7 @@ exports.submitOrder = (0, toolkit_1.createAsyncThunk)(CheckoutActionType.SubmitO
156
156
  return rejectWithValue(err);
157
157
  }
158
158
  }));
159
- exports.submitOrderPay = (0, toolkit_1.createAsyncThunk)(CheckoutActionType.SubmitOrderPay, (showAlert, { dispatch, getState, rejectWithValue }) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
159
+ exports.submitOrderPay = (0, toolkit_1.createAsyncThunk)(CheckoutActionType.SubmitOrderPay, (showAlert = false, { dispatch, getState, rejectWithValue }) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
160
160
  const { api } = getState().config;
161
161
  if (!api)
162
162
  return;
@@ -152,7 +152,7 @@ export const submitOrder = createAsyncThunk(CheckoutActionType.SubmitOrder, (_,
152
152
  return rejectWithValue(err);
153
153
  }
154
154
  }));
155
- export const submitOrderPay = createAsyncThunk(CheckoutActionType.SubmitOrderPay, (showAlert, { dispatch, getState, rejectWithValue }) => __awaiter(void 0, void 0, void 0, function* () {
155
+ export const submitOrderPay = createAsyncThunk(CheckoutActionType.SubmitOrderPay, (showAlert = false, { dispatch, getState, rejectWithValue }) => __awaiter(void 0, void 0, void 0, function* () {
156
156
  const { api } = getState().config;
157
157
  if (!api)
158
158
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/cloud",
3
- "version": "0.0.55",
3
+ "version": "0.0.56",
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",