@open-tender/cloud 0.4.49 → 0.4.51

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.
@@ -282,6 +282,9 @@ const checkoutSlice = (0, toolkit_1.createSlice)({
282
282
  .addCase(exports.validateOrder.rejected, (state, action) => {
283
283
  state.errors = action.payload || {};
284
284
  state.loading = 'idle';
285
+ })
286
+ .addCase(exports.updateForm.fulfilled, (state, action) => {
287
+ return Object.assign(Object.assign({}, state), action.payload);
285
288
  })
286
289
  .addCase(exports.submitOrder.fulfilled, (_, action) => {
287
290
  return Object.assign(Object.assign({}, initialState), { completedOrder: action.payload });
@@ -278,6 +278,9 @@ const checkoutSlice = createSlice({
278
278
  .addCase(validateOrder.rejected, (state, action) => {
279
279
  state.errors = action.payload || {};
280
280
  state.loading = 'idle';
281
+ })
282
+ .addCase(updateForm.fulfilled, (state, action) => {
283
+ return Object.assign(Object.assign({}, state), action.payload);
281
284
  })
282
285
  .addCase(submitOrder.fulfilled, (_, action) => {
283
286
  return Object.assign(Object.assign({}, initialState), { completedOrder: action.payload });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/cloud",
3
- "version": "0.4.49",
3
+ "version": "0.4.51",
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",