@rolloutctrl/js-sdk 0.0.3 → 0.0.4
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.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -182,7 +182,7 @@ var HttpConfigurationRepository = class {
|
|
|
182
182
|
};
|
|
183
183
|
}
|
|
184
184
|
async fetchChanges() {
|
|
185
|
-
const url = `${this.apiUrl}/config/changes?environment=${encodeURIComponent(this.environment)}&since=${this.version}`;
|
|
185
|
+
const url = `${this.apiUrl}/sdk/config/changes?environment=${encodeURIComponent(this.environment)}&since=${this.version}`;
|
|
186
186
|
return this.request(url);
|
|
187
187
|
}
|
|
188
188
|
async request(url) {
|
package/dist/index.mjs
CHANGED
|
@@ -154,7 +154,7 @@ var HttpConfigurationRepository = class {
|
|
|
154
154
|
};
|
|
155
155
|
}
|
|
156
156
|
async fetchChanges() {
|
|
157
|
-
const url = `${this.apiUrl}/config/changes?environment=${encodeURIComponent(this.environment)}&since=${this.version}`;
|
|
157
|
+
const url = `${this.apiUrl}/sdk/config/changes?environment=${encodeURIComponent(this.environment)}&since=${this.version}`;
|
|
158
158
|
return this.request(url);
|
|
159
159
|
}
|
|
160
160
|
async request(url) {
|