@restaround/react 1.2.7 → 1.2.9

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.
@@ -6,6 +6,7 @@ export interface PublicMenuData {
6
6
  businessId: number;
7
7
  branches: branchModels.Branch[];
8
8
  branchId: number | null | undefined;
9
+ selectedBranch?: branchModels.Branch;
9
10
  coverImage?: string;
10
11
  logoImage?: string;
11
12
  name: string;
@@ -6,6 +6,7 @@ export interface PublicMenuData {
6
6
  businessId: number;
7
7
  branches: branchModels.Branch[];
8
8
  branchId: number | null | undefined;
9
+ selectedBranch?: branchModels.Branch;
9
10
  coverImage?: string;
10
11
  logoImage?: string;
11
12
  name: string;
@@ -5,6 +5,7 @@ export declare const MODALS: {
5
5
  };
6
6
  export declare const SUPPORTED_LOCALES: string[];
7
7
  export declare const DEFAULT_LANGUAGE = "en";
8
+ export declare const DEFAULT_CURRENCY = "AZN";
8
9
  export declare const SUPPORTED_COUNTRIES: {
9
10
  name: string;
10
11
  code: string;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from "react";
2
- import { PublicMenuData } from "src/models";
2
+ import { PublicMenuData } from "src/models/menu";
3
3
  export declare const StoreProvider: ({ children, value, }: {
4
4
  children: ReactElement;
5
5
  value: PublicMenuData;
@@ -6,6 +6,7 @@ export interface PublicMenuData {
6
6
  businessId: number;
7
7
  branches: branchModels.Branch[];
8
8
  branchId: number | null | undefined;
9
+ selectedBranch?: branchModels.Branch;
9
10
  coverImage?: string;
10
11
  logoImage?: string;
11
12
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@restaround/react",
3
- "version": "1.2.7",
3
+ "version": "1.2.9",
4
4
  "description": "React Library by restaround.co",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",