@restaround/react 1.3.3 → 1.3.4

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,4 +1,4 @@
1
1
  import { OrderPayload } from "./models";
2
2
  export declare const createOrder: (order: OrderPayload) => Promise<{
3
- status: number;
3
+ trackingId: string;
4
4
  }>;
@@ -46,6 +46,7 @@ declare const _default: {
46
46
  "Not available": string;
47
47
  "In order": string;
48
48
  "Product choices": string;
49
+ "Track order": string;
49
50
  };
50
51
  customer: {
51
52
  "Unknown address": string;
@@ -162,6 +163,8 @@ declare const _default: {
162
163
  annually: string;
163
164
  "Flexible Plans for Every Business - Simple Pricing, More Value!": string;
164
165
  "Choose a pricing plan that fits your business. Subscribe monthly or annually and save more with long-term plans!": string;
166
+ Appetizer: string;
167
+ "Main Course": string;
165
168
  };
166
169
  };
167
170
  export default _default;
@@ -28,5 +28,6 @@ declare const _default: {
28
28
  "Not available": string;
29
29
  "In order": string;
30
30
  "Product choices": string;
31
+ "Track order": string;
31
32
  };
32
33
  export default _default;
@@ -25,5 +25,7 @@ declare const _default: {
25
25
  annually: string;
26
26
  "Flexible Plans for Every Business - Simple Pricing, More Value!": string;
27
27
  "Choose a pricing plan that fits your business. Subscribe monthly or annually and save more with long-term plans!": string;
28
+ Appetizer: string;
29
+ "Main Course": string;
28
30
  };
29
31
  export default _default;
@@ -47,6 +47,7 @@ declare const _default: {
47
47
  "Special instructions, allergies, etc.": string;
48
48
  "Place order": string;
49
49
  Continue: string;
50
+ "Track order": string;
50
51
  };
51
52
  customer: {
52
53
  "Unknown address": string;
@@ -29,5 +29,6 @@ declare const _default: {
29
29
  "Special instructions, allergies, etc.": string;
30
30
  "Place order": string;
31
31
  Continue: string;
32
+ "Track order": string;
32
33
  };
33
34
  export default _default;
@@ -47,6 +47,7 @@ declare const _default: {
47
47
  "Not available": string;
48
48
  "In order": string;
49
49
  "Product choices": string;
50
+ "Track order": string;
50
51
  };
51
52
  customer: {
52
53
  "Unknown address": string;
@@ -163,6 +164,8 @@ declare const _default: {
163
164
  annually: string;
164
165
  "Flexible Plans for Every Business - Simple Pricing, More Value!": string;
165
166
  "Choose a pricing plan that fits your business. Subscribe monthly or annually and save more with long-term plans!": string;
167
+ Appetizer: string;
168
+ "Main Course": string;
166
169
  };
167
170
  };
168
171
  en: {
@@ -230,6 +233,7 @@ declare const _default: {
230
233
  "Special instructions, allergies, etc.": string;
231
234
  "Place order": string;
232
235
  Continue: string;
236
+ "Track order": string;
233
237
  };
234
238
  customer: {
235
239
  "Unknown address": string;
@@ -397,6 +401,7 @@ declare const _default: {
397
401
  "Special instructions, allergies, etc.": string;
398
402
  "Place order": string;
399
403
  Continue: string;
404
+ "Track order": string;
400
405
  };
401
406
  customer: {
402
407
  "Unknown address": string;
@@ -564,6 +569,7 @@ declare const _default: {
564
569
  "Special instructions, allergies, etc.": string;
565
570
  "Place order": string;
566
571
  Continue: string;
572
+ "Track order": string;
567
573
  };
568
574
  customer: {
569
575
  "Unknown address": string;
@@ -730,6 +736,7 @@ declare const _default: {
730
736
  "Special instructions, allergies, etc.": string;
731
737
  "Place order": string;
732
738
  Continue: string;
739
+ "Track order": string;
733
740
  };
734
741
  customer: {
735
742
  "Unknown address": string;
@@ -47,6 +47,7 @@ declare const _default: {
47
47
  "Special instructions, allergies, etc.": string;
48
48
  "Place order": string;
49
49
  Continue: string;
50
+ "Track order": string;
50
51
  };
51
52
  customer: {
52
53
  "Unknown address": string;
@@ -29,5 +29,6 @@ declare const _default: {
29
29
  "Special instructions, allergies, etc.": string;
30
30
  "Place order": string;
31
31
  Continue: string;
32
+ "Track order": string;
32
33
  };
33
34
  export default _default;
@@ -47,6 +47,7 @@ declare const _default: {
47
47
  "Special instructions, allergies, etc.": string;
48
48
  "Place order": string;
49
49
  Continue: string;
50
+ "Track order": string;
50
51
  };
51
52
  customer: {
52
53
  "Unknown address": string;
@@ -29,5 +29,6 @@ declare const _default: {
29
29
  "Special instructions, allergies, etc.": string;
30
30
  "Place order": string;
31
31
  Continue: string;
32
+ "Track order": string;
32
33
  };
33
34
  export default _default;
@@ -47,6 +47,7 @@ declare const _default: {
47
47
  "Special instructions, allergies, etc.": string;
48
48
  "Place order": string;
49
49
  Continue: string;
50
+ "Track order": string;
50
51
  };
51
52
  customer: {
52
53
  "Unknown address": string;
@@ -29,5 +29,6 @@ declare const _default: {
29
29
  "Special instructions, allergies, etc.": string;
30
30
  "Place order": string;
31
31
  Continue: string;
32
+ "Track order": string;
32
33
  };
33
34
  export default _default;
@@ -15,6 +15,7 @@ type OrderContent = {
15
15
  orderItems: orderModels.OrderItems;
16
16
  isOrderOpen: boolean;
17
17
  customer: customerModels.Customer;
18
+ trackingId: string;
18
19
  setOrderStep: Dispatch<React.SetStateAction<orderModels.OrderStep>>;
19
20
  updateOrder: (updatedFields: Partial<orderModels.Order>) => void;
20
21
  addProduct: (params: UpdateOrderItemsParams) => void;
@@ -23,6 +24,7 @@ type OrderContent = {
23
24
  setIsOrderOpen: Dispatch<React.SetStateAction<boolean>>;
24
25
  getCustomer: () => void;
25
26
  resetOrder: () => void;
27
+ setTrackingId: Dispatch<React.SetStateAction<string>>;
26
28
  };
27
29
  export declare const OrderProvider: ({ children }: {
28
30
  children: ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restaround/react",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "React Library by restaround.co",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",