@open-tender/cloud 0.0.22 → 0.0.23

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.
@@ -1,5 +1,5 @@
1
1
  import { AppState } from '../../app';
2
- import { Favorite, Favorites, RequestError, RequestStatus } from '@open-tender/types';
2
+ import { Favorite, FavoriteItem, Favorites, RequestError, RequestStatus } from '@open-tender/types';
3
3
  export interface CustomerFavoritesState {
4
4
  entities: Favorites;
5
5
  error: RequestError;
@@ -34,7 +34,7 @@ export declare const removeCustomerFavorite: import("@reduxjs/toolkit").AsyncThu
34
34
  rejectValue: RequestError;
35
35
  }>;
36
36
  export declare const addCustomerFavorite: import("@reduxjs/toolkit").AsyncThunk<Favorites, {
37
- data: Favorite;
37
+ data: Partial<FavoriteItem>;
38
38
  callback?: (() => void) | undefined;
39
39
  }, {
40
40
  state: AppState;
@@ -1,5 +1,5 @@
1
1
  import { AppState } from '../../app';
2
- import { Favorite, Favorites, RequestError, RequestStatus } from '@open-tender/types';
2
+ import { Favorite, FavoriteItem, Favorites, RequestError, RequestStatus } from '@open-tender/types';
3
3
  export interface CustomerFavoritesState {
4
4
  entities: Favorites;
5
5
  error: RequestError;
@@ -34,7 +34,7 @@ export declare const removeCustomerFavorite: import("@reduxjs/toolkit").AsyncThu
34
34
  rejectValue: RequestError;
35
35
  }>;
36
36
  export declare const addCustomerFavorite: import("@reduxjs/toolkit").AsyncThunk<Favorites, {
37
- data: Favorite;
37
+ data: Partial<FavoriteItem>;
38
38
  callback?: (() => void) | undefined;
39
39
  }, {
40
40
  state: AppState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/cloud",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
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",