react-native-visit-rn-sdk 0.4.5 → 0.4.7

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.
@@ -20,7 +20,7 @@ const getWebViewLink = (baseUrl, token, cpsid, srcClientId, deviceId, appVersion
20
20
  deviceVersion,
21
21
  userEnv
22
22
  };
23
- return httpClient.post(`${baseUrl}/partners/v2/generate-magic-link-star-health`, data).then(res => {
23
+ return httpClient.post(`${baseUrl}/partners/v3/generate-magic-link-star-health`, data).then(res => {
24
24
  console.log('getWebViewLink res', {
25
25
  res
26
26
  });
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _default = {
8
- STAGE_BASE_URL: 'https://star-health.getvisitapp.xyz/?mluib7c',
8
+ STAGE_BASE_URL: 'https://star-health.getvisitapp.net/?mluib7c',
9
9
  PROD_BASE_URL: 'https://star-health.getvisitapp.com/?mluib7c'
10
10
  };
11
11
  exports.default = _default;
@@ -12,7 +12,7 @@ export const getWebViewLink = (baseUrl, token, cpsid, srcClientId, deviceId, app
12
12
  deviceVersion,
13
13
  userEnv
14
14
  };
15
- return httpClient.post(`${baseUrl}/partners/v2/generate-magic-link-star-health`, data).then(res => {
15
+ return httpClient.post(`${baseUrl}/partners/v3/generate-magic-link-star-health`, data).then(res => {
16
16
  console.log('getWebViewLink res', {
17
17
  res
18
18
  });
@@ -1,5 +1,5 @@
1
1
  export default {
2
- STAGE_BASE_URL: 'https://star-health.getvisitapp.xyz/?mluib7c',
2
+ STAGE_BASE_URL: 'https://star-health.getvisitapp.net/?mluib7c',
3
3
  PROD_BASE_URL: 'https://star-health.getvisitapp.com/?mluib7c'
4
4
  };
5
5
  //# sourceMappingURL=constants.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-visit-rn-sdk",
3
- "version": "0.4.5",
3
+ "version": "0.4.7",
4
4
  "description": "a package to inject data into visit health pwa",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
package/src/Services.js CHANGED
@@ -25,7 +25,7 @@ export const getWebViewLink = (
25
25
  };
26
26
 
27
27
  return httpClient
28
- .post(`${baseUrl}/partners/v2/generate-magic-link-star-health`, data)
28
+ .post(`${baseUrl}/partners/v3/generate-magic-link-star-health`, data)
29
29
  .then((res) => {
30
30
  console.log('getWebViewLink res', { res });
31
31
  return res;
package/src/constants.js CHANGED
@@ -1,4 +1,4 @@
1
1
  export default {
2
- STAGE_BASE_URL: 'https://star-health.getvisitapp.xyz/?mluib7c',
2
+ STAGE_BASE_URL: 'https://star-health.getvisitapp.net/?mluib7c',
3
3
  PROD_BASE_URL: 'https://star-health.getvisitapp.com/?mluib7c',
4
4
  };