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.
package/lib/commonjs/Services.js
CHANGED
|
@@ -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/
|
|
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.
|
|
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;
|
package/lib/module/Services.js
CHANGED
|
@@ -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/
|
|
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
|
});
|
package/lib/module/constants.js
CHANGED
package/package.json
CHANGED
package/src/Services.js
CHANGED
|
@@ -25,7 +25,7 @@ export const getWebViewLink = (
|
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
return httpClient
|
|
28
|
-
.post(`${baseUrl}/partners/
|
|
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