@open-tender/store 1.1.110 → 1.1.111

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.
@@ -176,10 +176,9 @@ exports.selectKioskApi = (0, toolkit_1.createSelector)(function (state) {
176
176
  return app.apiUrl.replace('/pos-api', '');
177
177
  });
178
178
  exports.selectKioskConfig = (0, toolkit_1.createSelector)(function (state) {
179
- var config = state.kiosk.config;
180
- return config;
179
+ return state.kiosk.config;
181
180
  }, function (config) {
182
- return (config || {});
181
+ return config ? config : {};
183
182
  });
184
183
  var selectKioskConfigScreen = function (screen) {
185
184
  return (0, toolkit_1.createSelector)(function (state) {
@@ -167,10 +167,9 @@ export var selectKioskApi = createSelector(function (state) {
167
167
  return app.apiUrl.replace('/pos-api', '');
168
168
  });
169
169
  export var selectKioskConfig = createSelector(function (state) {
170
- var config = state.kiosk.config;
171
- return config;
170
+ return state.kiosk.config;
172
171
  }, function (config) {
173
- return (config || {});
172
+ return config ? config : {};
174
173
  });
175
174
  export var selectKioskConfigScreen = function (screen) {
176
175
  return createSelector(function (state) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/store",
3
- "version": "1.1.110",
3
+ "version": "1.1.111",
4
4
  "description": "A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",