@open-tender/utils 0.0.20 → 0.0.22
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.
package/dist/cjs/utils/cart.d.ts
CHANGED
|
@@ -306,7 +306,7 @@ export declare const makeDisplayItem: (item: Partial<CartItem & CartItemOption>,
|
|
|
306
306
|
export declare const makeDisplayItems: (orders: Orders) => Partial<CartItem>[];
|
|
307
307
|
export declare const makeUniqueDisplayItems: (orders: Orders) => Partial<CartItem>[];
|
|
308
308
|
export declare const makeFavoritesLookup: (favorites: Favorites) => {};
|
|
309
|
-
export declare const makeOrderAddress: (address: Address) => string;
|
|
309
|
+
export declare const makeOrderAddress: (address: Address | null) => string;
|
|
310
310
|
export declare const makeFullAddress: (address: Address) => string;
|
|
311
311
|
export declare const calcCartCounts: (cart: Cart) => any;
|
|
312
312
|
export declare const addItem: (cart: Cart, item: CartItem) => {
|
package/dist/esm/utils/cart.d.ts
CHANGED
|
@@ -306,7 +306,7 @@ export declare const makeDisplayItem: (item: Partial<CartItem & CartItemOption>,
|
|
|
306
306
|
export declare const makeDisplayItems: (orders: Orders) => Partial<CartItem>[];
|
|
307
307
|
export declare const makeUniqueDisplayItems: (orders: Orders) => Partial<CartItem>[];
|
|
308
308
|
export declare const makeFavoritesLookup: (favorites: Favorites) => {};
|
|
309
|
-
export declare const makeOrderAddress: (address: Address) => string;
|
|
309
|
+
export declare const makeOrderAddress: (address: Address | null) => string;
|
|
310
310
|
export declare const makeFullAddress: (address: Address) => string;
|
|
311
311
|
export declare const calcCartCounts: (cart: Cart) => any;
|
|
312
312
|
export declare const addItem: (cart: Cart, item: CartItem) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-tender/utils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22",
|
|
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",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"react": "^18.2.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@open-tender/types": "^0.0.
|
|
60
|
+
"@open-tender/types": "^0.0.79",
|
|
61
61
|
"date-fns": "^2.29.3",
|
|
62
62
|
"date-fns-tz": "^1.3.7",
|
|
63
63
|
"react-native-responsive-screen": "^1.4.2",
|