@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 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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolloutctrl/js-sdk",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "RolloutCtrl JavaScript SDK for browser applications",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",