reactbridge-sdk 0.2.0 → 0.2.1
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/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1450,7 +1450,7 @@ class AnalyticsAPI {
|
|
|
1450
1450
|
getConfigs() {
|
|
1451
1451
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1452
1452
|
const baseURL = this.config.baseURL || DEFAULT_BASE_URL;
|
|
1453
|
-
const url = `${baseURL}/api/
|
|
1453
|
+
const url = `${baseURL}/api/analytics/configs`;
|
|
1454
1454
|
const response = yield fetch(url, {
|
|
1455
1455
|
method: 'GET',
|
|
1456
1456
|
headers: Object.assign({ 'X-API-Key': this.config.apiKey }, this.config.headers),
|
|
@@ -1469,7 +1469,7 @@ class AnalyticsAPI {
|
|
|
1469
1469
|
const baseURL = this.config.baseURL || DEFAULT_BASE_URL;
|
|
1470
1470
|
const url = `${baseURL}/api/analytics/${analyticsType}/latest`;
|
|
1471
1471
|
const response = yield fetch(url, {
|
|
1472
|
-
method: '
|
|
1472
|
+
method: 'GET',
|
|
1473
1473
|
headers: Object.assign({ 'X-API-Key': this.config.apiKey, 'Content-Type': 'application/json' }, this.config.headers),
|
|
1474
1474
|
});
|
|
1475
1475
|
if (!response.ok) {
|