@open-tender/utils 0.4.26 → 0.4.27

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.
@@ -46,6 +46,7 @@ export declare const useMenuItem: (builtItem: CartItem, auth: Auth | null, looku
46
46
  points: number | null;
47
47
  price: number;
48
48
  quantity: number;
49
+ shorthand: string | null;
49
50
  shortDescription: string | null;
50
51
  shortName: string;
51
52
  slug: string;
@@ -40,6 +40,7 @@ export declare const useModifier: (group: CartItemGroup, option: CartItemOption,
40
40
  nutritionalInfo: import("@open-tender/types").NutritionalInfo | null;
41
41
  points: number | null;
42
42
  quantity: number;
43
+ shorthand: string | null;
43
44
  shortDescription: string | null;
44
45
  shortName: string;
45
46
  slug: string;
@@ -34,6 +34,7 @@ export declare const useOrderItem: (orderItem: CartItem, favorite?: MenuItemFavo
34
34
  points: number | null;
35
35
  price: number;
36
36
  quantity: number;
37
+ shorthand: string | null;
37
38
  shortDescription: string | null;
38
39
  shortName: string;
39
40
  slug: string;
@@ -40,6 +40,7 @@ export declare const rehydrateCart: (menuItems: MenuItems, simpleCartItems: Simp
40
40
  points: number | null;
41
41
  price: number;
42
42
  quantity: number;
43
+ shorthand: string | null;
43
44
  shortDescription: string | null;
44
45
  shortName: string;
45
46
  slug: string;
@@ -127,6 +128,7 @@ export declare const combineCarts: (cart: Cart, guestCart: Cart, cartOwner: Cart
127
128
  points: number | null;
128
129
  price: number;
129
130
  quantity: number;
131
+ shorthand: string | null;
130
132
  shortDescription: string | null;
131
133
  shortName: string;
132
134
  slug: string;
@@ -46,6 +46,7 @@ export declare const useMenuItem: (builtItem: CartItem, auth: Auth | null, looku
46
46
  points: number | null;
47
47
  price: number;
48
48
  quantity: number;
49
+ shorthand: string | null;
49
50
  shortDescription: string | null;
50
51
  shortName: string;
51
52
  slug: string;
@@ -40,6 +40,7 @@ export declare const useModifier: (group: CartItemGroup, option: CartItemOption,
40
40
  nutritionalInfo: import("@open-tender/types").NutritionalInfo | null;
41
41
  points: number | null;
42
42
  quantity: number;
43
+ shorthand: string | null;
43
44
  shortDescription: string | null;
44
45
  shortName: string;
45
46
  slug: string;
@@ -34,6 +34,7 @@ export declare const useOrderItem: (orderItem: CartItem, favorite?: MenuItemFavo
34
34
  points: number | null;
35
35
  price: number;
36
36
  quantity: number;
37
+ shorthand: string | null;
37
38
  shortDescription: string | null;
38
39
  shortName: string;
39
40
  slug: string;
@@ -40,6 +40,7 @@ export declare const rehydrateCart: (menuItems: MenuItems, simpleCartItems: Simp
40
40
  points: number | null;
41
41
  price: number;
42
42
  quantity: number;
43
+ shorthand: string | null;
43
44
  shortDescription: string | null;
44
45
  shortName: string;
45
46
  slug: string;
@@ -127,6 +128,7 @@ export declare const combineCarts: (cart: Cart, guestCart: Cart, cartOwner: Cart
127
128
  points: number | null;
128
129
  price: number;
129
130
  quantity: number;
131
+ shorthand: string | null;
130
132
  shortDescription: string | null;
131
133
  shortName: string;
132
134
  slug: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/utils",
3
- "version": "0.4.26",
3
+ "version": "0.4.27",
4
4
  "description": "A library of utils 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",
@@ -36,7 +36,6 @@
36
36
  "private": false,
37
37
  "devDependencies": {
38
38
  "@emotion/react": "^11.10.4",
39
- "@open-tender/types": "^0.4.47",
40
39
  "@reduxjs/toolkit": "^1.8.5",
41
40
  "@types/google.maps": "^3.53.5",
42
41
  "@types/jest": "^29.5.11",
@@ -58,7 +57,7 @@
58
57
  "typescript": "^4.8.2"
59
58
  },
60
59
  "peerDependencies": {
61
- "@open-tender/types": "^0.4.30",
60
+ "@open-tender/types": "^0.4.48",
62
61
  "@reduxjs/toolkit": "^1.8.5",
63
62
  "react": "^18.2.0"
64
63
  },