@open-tender/cloud 0.1.106 → 0.1.108

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.
@@ -4,6 +4,6 @@ export interface PushNotificationsState {
4
4
  fcmToken: string | null;
5
5
  }
6
6
  export declare const setPushNotificationsOrderId: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "pushNotifications/setPushNotificationsOrderId">, setFcmToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "pushNotifications/setFcmToken">;
7
- export declare const selectOrderId: (state: AppState) => string | number | null;
7
+ export declare const selectPushNotificationOrderId: (state: AppState) => string | number | null;
8
8
  export declare const selectFcmToken: (state: AppState) => string | null;
9
9
  export declare const pushNotificationsReducer: import("redux").Reducer<PushNotificationsState, import("redux").AnyAction>;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  var _a;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.pushNotificationsReducer = exports.selectFcmToken = exports.selectOrderId = exports.setFcmToken = exports.setPushNotificationsOrderId = void 0;
4
+ exports.pushNotificationsReducer = exports.selectFcmToken = exports.selectPushNotificationOrderId = exports.setFcmToken = exports.setPushNotificationsOrderId = void 0;
5
5
  const toolkit_1 = require("@reduxjs/toolkit");
6
6
  const initialState = {
7
7
  orderId: null,
@@ -22,8 +22,8 @@ const pushNotificationsSlice = (0, toolkit_1.createSlice)({
22
22
  }
23
23
  });
24
24
  _a = pushNotificationsSlice.actions, exports.setPushNotificationsOrderId = _a.setPushNotificationsOrderId, exports.setFcmToken = _a.setFcmToken;
25
- const selectOrderId = (state) => state.pushNotifications.orderId;
26
- exports.selectOrderId = selectOrderId;
25
+ const selectPushNotificationOrderId = (state) => state.pushNotifications.orderId;
26
+ exports.selectPushNotificationOrderId = selectPushNotificationOrderId;
27
27
  const selectFcmToken = (state) => state.pushNotifications.fcmToken;
28
28
  exports.selectFcmToken = selectFcmToken;
29
29
  exports.pushNotificationsReducer = pushNotificationsSlice.reducer;
@@ -4,6 +4,6 @@ export interface PushNotificationsState {
4
4
  fcmToken: string | null;
5
5
  }
6
6
  export declare const setPushNotificationsOrderId: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "pushNotifications/setPushNotificationsOrderId">, setFcmToken: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "pushNotifications/setFcmToken">;
7
- export declare const selectOrderId: (state: AppState) => string | number | null;
7
+ export declare const selectPushNotificationOrderId: (state: AppState) => string | number | null;
8
8
  export declare const selectFcmToken: (state: AppState) => string | null;
9
9
  export declare const pushNotificationsReducer: import("redux").Reducer<PushNotificationsState, import("redux").AnyAction>;
@@ -18,6 +18,6 @@ const pushNotificationsSlice = createSlice({
18
18
  }
19
19
  });
20
20
  export const { setPushNotificationsOrderId, setFcmToken } = pushNotificationsSlice.actions;
21
- export const selectOrderId = (state) => state.pushNotifications.orderId;
21
+ export const selectPushNotificationOrderId = (state) => state.pushNotifications.orderId;
22
22
  export const selectFcmToken = (state) => state.pushNotifications.fcmToken;
23
23
  export const pushNotificationsReducer = pushNotificationsSlice.reducer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/cloud",
3
- "version": "0.1.106",
3
+ "version": "0.1.108",
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",
@@ -49,8 +49,8 @@
49
49
  "typescript": "^4.8.2"
50
50
  },
51
51
  "peerDependencies": {
52
- "@open-tender/types": "^0.2.91",
53
- "@open-tender/utils": "^0.1.161",
52
+ "@open-tender/types": "^0.2.97",
53
+ "@open-tender/utils": "^0.1.163",
54
54
  "@reduxjs/toolkit": "^1.8.5",
55
55
  "react": "^18.2.0"
56
56
  }