@flopflip/http-adapter 13.0.2 → 13.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.
|
@@ -213,9 +213,9 @@ class HttpAdapter {
|
|
|
213
213
|
_classPrivateFieldLooseBase(this, _adapterState)[_adapterState].emitter.emit('flagsStateChange', cachedFlags);
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
|
-
this.setConfigurationStatus(types.AdapterConfigurationStatus.Configured);
|
|
217
216
|
const flags = adapterUtilities.normalizeFlags(await _classPrivateFieldLooseBase(this, _fetchFlags)[_fetchFlags](adapterArgs));
|
|
218
217
|
_classPrivateFieldLooseBase(this, _adapterState)[_adapterState].flags = flags;
|
|
218
|
+
this.setConfigurationStatus(types.AdapterConfigurationStatus.Configured);
|
|
219
219
|
if (adapterArgs.cacheIdentifier) {
|
|
220
220
|
const cache = await _classPrivateFieldLooseBase(this, _getCache)[_getCache](adapterArgs.cacheIdentifier);
|
|
221
221
|
cache.set(flags);
|
|
@@ -264,7 +264,7 @@ class HttpAdapter {
|
|
|
264
264
|
const adapter = new HttpAdapter();
|
|
265
265
|
adapterUtilities.exposeGlobally(adapter);
|
|
266
266
|
|
|
267
|
-
const version = "13.0.
|
|
267
|
+
const version = "13.0.4";
|
|
268
268
|
|
|
269
269
|
exports["default"] = adapter;
|
|
270
270
|
exports.version = version;
|
|
@@ -213,9 +213,9 @@ class HttpAdapter {
|
|
|
213
213
|
_classPrivateFieldLooseBase(this, _adapterState)[_adapterState].emitter.emit('flagsStateChange', cachedFlags);
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
|
-
this.setConfigurationStatus(types.AdapterConfigurationStatus.Configured);
|
|
217
216
|
const flags = adapterUtilities.normalizeFlags(await _classPrivateFieldLooseBase(this, _fetchFlags)[_fetchFlags](adapterArgs));
|
|
218
217
|
_classPrivateFieldLooseBase(this, _adapterState)[_adapterState].flags = flags;
|
|
218
|
+
this.setConfigurationStatus(types.AdapterConfigurationStatus.Configured);
|
|
219
219
|
if (adapterArgs.cacheIdentifier) {
|
|
220
220
|
const cache = await _classPrivateFieldLooseBase(this, _getCache)[_getCache](adapterArgs.cacheIdentifier);
|
|
221
221
|
cache.set(flags);
|
|
@@ -264,7 +264,7 @@ class HttpAdapter {
|
|
|
264
264
|
const adapter = new HttpAdapter();
|
|
265
265
|
adapterUtilities.exposeGlobally(adapter);
|
|
266
266
|
|
|
267
|
-
const version = "13.0.
|
|
267
|
+
const version = "13.0.4";
|
|
268
268
|
|
|
269
269
|
exports["default"] = adapter;
|
|
270
270
|
exports.version = version;
|
|
@@ -185,9 +185,9 @@ class HttpAdapter {
|
|
|
185
185
|
_classPrivateFieldLooseBase(this, _adapterState)[_adapterState].emitter.emit('flagsStateChange', cachedFlags);
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
this.setConfigurationStatus(AdapterConfigurationStatus.Configured);
|
|
189
188
|
const flags = normalizeFlags(await _classPrivateFieldLooseBase(this, _fetchFlags)[_fetchFlags](adapterArgs));
|
|
190
189
|
_classPrivateFieldLooseBase(this, _adapterState)[_adapterState].flags = flags;
|
|
190
|
+
this.setConfigurationStatus(AdapterConfigurationStatus.Configured);
|
|
191
191
|
if (adapterArgs.cacheIdentifier) {
|
|
192
192
|
const cache = await _classPrivateFieldLooseBase(this, _getCache)[_getCache](adapterArgs.cacheIdentifier);
|
|
193
193
|
cache.set(flags);
|
|
@@ -236,6 +236,6 @@ class HttpAdapter {
|
|
|
236
236
|
const adapter = new HttpAdapter();
|
|
237
237
|
exposeGlobally(adapter);
|
|
238
238
|
|
|
239
|
-
const version = "13.0.
|
|
239
|
+
const version = "13.0.4";
|
|
240
240
|
|
|
241
241
|
export { adapter as default, version };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flopflip/http-adapter",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.4",
|
|
4
4
|
"description": "An HTTP adapter for flipflop",
|
|
5
5
|
"main": "dist/flopflip-http-adapter.cjs.js",
|
|
6
6
|
"module": "dist/flopflip-http-adapter.esm.js",
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"client"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@babel/runtime": "7.
|
|
33
|
-
"@flopflip/adapter-utilities": "13.0.
|
|
34
|
-
"@flopflip/localstorage-cache": "13.0.
|
|
35
|
-
"@flopflip/sessionstorage-cache": "13.0.
|
|
36
|
-
"@flopflip/types": "13.0.
|
|
32
|
+
"@babel/runtime": "7.22.10",
|
|
33
|
+
"@flopflip/adapter-utilities": "13.0.4",
|
|
34
|
+
"@flopflip/localstorage-cache": "13.0.4",
|
|
35
|
+
"@flopflip/sessionstorage-cache": "13.0.4",
|
|
36
|
+
"@flopflip/types": "13.0.4",
|
|
37
37
|
"lodash": "4.17.21",
|
|
38
|
-
"mitt": "3.0.
|
|
38
|
+
"mitt": "3.0.1",
|
|
39
39
|
"tiny-warning": "1.0.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|