@open-tender/cloud 0.0.67 → 0.0.68
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.
|
@@ -42,3 +42,4 @@ export declare const setCustomerCommunicationDefaultPreferences: import("@reduxj
|
|
|
42
42
|
}>;
|
|
43
43
|
export declare const resetCustomerCommunicationPreferences: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetCustomerCommunicationPreferencesError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setCustomerCommunicationPreferences: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
44
44
|
export declare const customerCommunicationPrefsReducer: import("redux").Reducer<CustomerCommunicationPrefsState, import("redux").AnyAction>;
|
|
45
|
+
export declare const selectCustomerCommunicationPreferences: (state: AppState) => CustomerCommunicationPrefsState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var _a;
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.customerCommunicationPrefsReducer = exports.setCustomerCommunicationPreferences = exports.resetCustomerCommunicationPreferencesError = exports.resetCustomerCommunicationPreferences = exports.setCustomerCommunicationDefaultPreferences = exports.removeCustomerCommunicationPreference = exports.addCustomerCommunicationPreference = exports.fetchCustomerCommunicationPreferences = exports.CustomerCommunicationPrefsActionType = void 0;
|
|
4
|
+
exports.selectCustomerCommunicationPreferences = exports.customerCommunicationPrefsReducer = exports.setCustomerCommunicationPreferences = exports.resetCustomerCommunicationPreferencesError = exports.resetCustomerCommunicationPreferences = exports.setCustomerCommunicationDefaultPreferences = exports.removeCustomerCommunicationPreference = exports.addCustomerCommunicationPreference = exports.fetchCustomerCommunicationPreferences = exports.CustomerCommunicationPrefsActionType = void 0;
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
6
|
const toolkit_1 = require("@reduxjs/toolkit");
|
|
7
7
|
const types_1 = require("../types");
|
|
@@ -163,3 +163,5 @@ const customerCommunicationPrefsSlice = (0, toolkit_1.createSlice)({
|
|
|
163
163
|
});
|
|
164
164
|
_a = customerCommunicationPrefsSlice.actions, exports.resetCustomerCommunicationPreferences = _a.resetCustomerCommunicationPreferences, exports.resetCustomerCommunicationPreferencesError = _a.resetCustomerCommunicationPreferencesError, exports.setCustomerCommunicationPreferences = _a.setCustomerCommunicationPreferences;
|
|
165
165
|
exports.customerCommunicationPrefsReducer = customerCommunicationPrefsSlice.reducer;
|
|
166
|
+
const selectCustomerCommunicationPreferences = (state) => state.customer.communicationPreferences;
|
|
167
|
+
exports.selectCustomerCommunicationPreferences = selectCustomerCommunicationPreferences;
|
|
@@ -42,3 +42,4 @@ export declare const setCustomerCommunicationDefaultPreferences: import("@reduxj
|
|
|
42
42
|
}>;
|
|
43
43
|
export declare const resetCustomerCommunicationPreferences: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetCustomerCommunicationPreferencesError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setCustomerCommunicationPreferences: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
|
|
44
44
|
export declare const customerCommunicationPrefsReducer: import("redux").Reducer<CustomerCommunicationPrefsState, import("redux").AnyAction>;
|
|
45
|
+
export declare const selectCustomerCommunicationPreferences: (state: AppState) => CustomerCommunicationPrefsState;
|
|
@@ -159,3 +159,4 @@ const customerCommunicationPrefsSlice = createSlice({
|
|
|
159
159
|
});
|
|
160
160
|
export const { resetCustomerCommunicationPreferences, resetCustomerCommunicationPreferencesError, setCustomerCommunicationPreferences } = customerCommunicationPrefsSlice.actions;
|
|
161
161
|
export const customerCommunicationPrefsReducer = customerCommunicationPrefsSlice.reducer;
|
|
162
|
+
export const selectCustomerCommunicationPreferences = (state) => state.customer.communicationPreferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-tender/cloud",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.68",
|
|
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",
|