@bindu-dashing/dam-solution-v2 5.8.47 → 5.8.48

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/README.md CHANGED
@@ -39,7 +39,7 @@ To publish the library to npm:
39
39
 
40
40
  ```bash
41
41
  npm run build
42
- npm publish
42
+ npm publish --access public
43
43
 
44
44
  ```
45
45
 
@@ -35,7 +35,7 @@ export const SIZE_OF_BUSINESS = {
35
35
  export const ICON_SIZE = 20;
36
36
  export const OTP_TIME = 120;
37
37
  export const PASSWORD_REGEX = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*]).{8,}$/;
38
- export const BASE_URL = process.env.NEXT_PUBLIC_API_URL;
38
+ export const BASE_URL = process.env.NEXT_PUBLIC_MIXDRIVE_API_URL;
39
39
  export const SETTINGS_TYPES = {
40
40
  GENERAL: "account",
41
41
  USERS: "users",
@@ -17,8 +17,8 @@ export const createApiClient = ({ accessToken, appType, subdomain, damAccessKey,
17
17
  const api = axios.create({
18
18
  timeout: 900000,
19
19
  baseURL: appType === "reactJs"
20
- ? "https://yjeregc921.execute-api.ap-south-1.amazonaws.com/staging/v1"
21
- : "https://yjeregc921.execute-api.ap-south-1.amazonaws.com/staging/v1",
20
+ ? process.env.REACT_APP_MIXDRIVE_API_URL
21
+ : process.env.NEXT_PUBLIC_MIXDRIVE_API_URL,
22
22
  });
23
23
  api.interceptors.request.use((request) => {
24
24
  request.headers["subdomain"] = subdomain;
@@ -95,11 +95,11 @@ export const getDateRangeFromKey = (key) => {
95
95
  export const getBaseUrl = (appType) => {
96
96
  switch (appType) {
97
97
  case "reactJs":
98
- return process.env.REACT_APP_API_URL || "https://yjeregc921.execute-api.ap-south-1.amazonaws.com/staging/v1";
98
+ return process.env.REACT_APP_MIXDRIVE_API_URL || "";
99
99
  case "nextJs":
100
- return process.env.NEXT_PUBLIC_API_URL || "https://yjeregc921.execute-api.ap-south-1.amazonaws.com/staging/v1";
100
+ return process.env.NEXT_PUBLIC_MIXDRIVE_API_URL || "";
101
101
  default:
102
- return "https://yjeregc921.execute-api.ap-south-1.amazonaws.com/staging/v1";
102
+ return process.env.REACT_APP_MIXDRIVE_API_URL || "";
103
103
  }
104
104
  };
105
105
  export const getRelativeTime = (timestamp) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bindu-dashing/dam-solution-v2",
3
- "version": "5.8.47",
3
+ "version": "5.8.48",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.0.1",
6
6
  "@emoji-mart/data": "^1.2.1",