@open-tender/cloud 0.0.66 → 0.0.67

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.
@@ -34,6 +34,6 @@ export declare const fetchGuestThanx: import("@reduxjs/toolkit").AsyncThunk<void
34
34
  email: string;
35
35
  };
36
36
  }>;
37
- export declare const resetGuest: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
37
+ export declare const resetGuest: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetGuestErrors: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setGuestEmail: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
38
38
  export declare const selectGuest: (state: AppState) => GuestState;
39
39
  export declare const guestReducer: import("redux").Reducer<GuestState, import("redux").AnyAction>;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
+ var _a;
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.guestReducer = exports.selectGuest = exports.resetGuest = exports.fetchGuestThanx = exports.fetchGuest = exports.GuestActionType = void 0;
4
+ exports.guestReducer = exports.selectGuest = exports.setGuestEmail = exports.resetGuestErrors = exports.resetGuest = exports.fetchGuestThanx = exports.fetchGuest = exports.GuestActionType = void 0;
4
5
  const tslib_1 = require("tslib");
5
6
  const toolkit_1 = require("@reduxjs/toolkit");
6
7
  const types_1 = require("./types");
@@ -95,7 +96,7 @@ const guestSlice = (0, toolkit_1.createSlice)({
95
96
  });
96
97
  }
97
98
  });
98
- exports.resetGuest = guestSlice.actions.resetGuest;
99
+ _a = guestSlice.actions, exports.resetGuest = _a.resetGuest, exports.resetGuestErrors = _a.resetGuestErrors, exports.setGuestEmail = _a.setGuestEmail;
99
100
  const selectGuest = (state) => state.guest;
100
101
  exports.selectGuest = selectGuest;
101
102
  exports.guestReducer = guestSlice.reducer;
@@ -34,6 +34,6 @@ export declare const fetchGuestThanx: import("@reduxjs/toolkit").AsyncThunk<void
34
34
  email: string;
35
35
  };
36
36
  }>;
37
- export declare const resetGuest: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
37
+ export declare const resetGuest: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetGuestErrors: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setGuestEmail: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
38
38
  export declare const selectGuest: (state: AppState) => GuestState;
39
39
  export declare const guestReducer: import("redux").Reducer<GuestState, import("redux").AnyAction>;
@@ -92,6 +92,6 @@ const guestSlice = createSlice({
92
92
  });
93
93
  }
94
94
  });
95
- export const { resetGuest } = guestSlice.actions;
95
+ export const { resetGuest, resetGuestErrors, setGuestEmail } = guestSlice.actions;
96
96
  export const selectGuest = (state) => state.guest;
97
97
  export const guestReducer = guestSlice.reducer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/cloud",
3
- "version": "0.0.66",
3
+ "version": "0.0.67",
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",