kitchen-simulator 5.0.0-test.27 → 5.0.0-test.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kitchen-simulator",
3
- "version": "5.0.0-test.27",
3
+ "version": "5.0.0-test.28",
4
4
  "description": "It is a kitchen simulator.",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
package/src/constants.js CHANGED
@@ -729,3 +729,6 @@ export const ITEM_TYPE = {
729
729
  LIGHTING: 'lighting',
730
730
  FURNISHING: 'furnishing'
731
731
  };
732
+
733
+ export const QUERY_PARAM_TOKEN = 'token';
734
+ export const ENCODED_QUERY_PARAM_TOKEN = 'details';
@@ -2,8 +2,8 @@ import axios from 'axios';
2
2
  import { useQuery } from 'react-query';
3
3
  import ls from 'localstorage-slim';
4
4
  import {
5
- LOCAL_STORAGE_TOKEN_VALUE,
6
- LOCAL_STORAGE_CUSTOMER_INFO
5
+ LOCAL_STORAGE_CUSTOMER_INFO,
6
+ LOCAL_STORAGE_TOKEN_VALUE
7
7
  } from '../../src/constants';
8
8
 
9
9
  function formatPrice(value) {
@@ -3,14 +3,12 @@ import axios from 'axios';
3
3
  import { useQuery } from 'react-query';
4
4
  import ls from 'localstorage-slim';
5
5
  import {
6
+ ENCODED_QUERY_PARAM_TOKEN,
6
7
  LOCAL_STORAGE_CUSTOMER_INFO,
7
8
  LOCAL_STORAGE_ORIGINAL_TOKEN,
8
- LOCAL_STORAGE_TOKEN_VALUE
9
- } from '../../src/constants';
10
- import {
11
- ENCODED_QUERY_PARAM_TOKEN,
9
+ LOCAL_STORAGE_TOKEN_VALUE,
12
10
  QUERY_PARAM_TOKEN
13
- } from '../../demo/src/CrossSignOn.jsx';
11
+ } from '../../src/constants';
14
12
 
15
13
  const LOG_PREFIX = `[Cross Sign On]`;
16
14