@flopflip/http-adapter 13.2.1 → 13.2.3

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.
@@ -36,7 +36,7 @@ var isEqual__default = /*#__PURE__*/_interopDefault(isEqual);
36
36
  var mitt__default = /*#__PURE__*/_interopDefault(mitt);
37
37
  var warning__default = /*#__PURE__*/_interopDefault(warning);
38
38
 
39
- const STORAGE_SLICE = '@flopflip';
39
+ const STORAGE_SLICE = '@flopflip/http-adapter';
40
40
  const intialAdapterState = {
41
41
  subscriptionStatus: types.AdapterSubscriptionStatus.Subscribed,
42
42
  configurationStatus: types.AdapterConfigurationStatus.Unconfigured,
@@ -82,8 +82,6 @@ class HttpAdapter {
82
82
  writable: true,
83
83
  value: async cacheIdentifier => {
84
84
  let cacheModule;
85
-
86
- // eslint-disable-next-line default-case
87
85
  switch (cacheIdentifier) {
88
86
  case types.cacheIdentifiers.local:
89
87
  {
@@ -267,7 +265,7 @@ class HttpAdapter {
267
265
  const adapter = new HttpAdapter();
268
266
  adapterUtilities.exposeGlobally(adapter);
269
267
 
270
- const version = "13.2.1";
268
+ const version = "13.2.3";
271
269
 
272
270
  exports["default"] = adapter;
273
271
  exports.version = version;
@@ -36,7 +36,7 @@ var isEqual__default = /*#__PURE__*/_interopDefault(isEqual);
36
36
  var mitt__default = /*#__PURE__*/_interopDefault(mitt);
37
37
  var warning__default = /*#__PURE__*/_interopDefault(warning);
38
38
 
39
- const STORAGE_SLICE = '@flopflip';
39
+ const STORAGE_SLICE = '@flopflip/http-adapter';
40
40
  const intialAdapterState = {
41
41
  subscriptionStatus: types.AdapterSubscriptionStatus.Subscribed,
42
42
  configurationStatus: types.AdapterConfigurationStatus.Unconfigured,
@@ -82,8 +82,6 @@ class HttpAdapter {
82
82
  writable: true,
83
83
  value: async cacheIdentifier => {
84
84
  let cacheModule;
85
-
86
- // eslint-disable-next-line default-case
87
85
  switch (cacheIdentifier) {
88
86
  case types.cacheIdentifiers.local:
89
87
  {
@@ -267,7 +265,7 @@ class HttpAdapter {
267
265
  const adapter = new HttpAdapter();
268
266
  adapterUtilities.exposeGlobally(adapter);
269
267
 
270
- const version = "13.2.1";
268
+ const version = "13.2.3";
271
269
 
272
270
  exports["default"] = adapter;
273
271
  exports.version = version;
@@ -8,7 +8,7 @@ import isEqual from 'lodash/isEqual';
8
8
  import mitt from 'mitt';
9
9
  import warning from 'tiny-warning';
10
10
 
11
- const STORAGE_SLICE = '@flopflip';
11
+ const STORAGE_SLICE = '@flopflip/http-adapter';
12
12
  const intialAdapterState = {
13
13
  subscriptionStatus: AdapterSubscriptionStatus.Subscribed,
14
14
  configurationStatus: AdapterConfigurationStatus.Unconfigured,
@@ -54,8 +54,6 @@ class HttpAdapter {
54
54
  writable: true,
55
55
  value: async cacheIdentifier => {
56
56
  let cacheModule;
57
-
58
- // eslint-disable-next-line default-case
59
57
  switch (cacheIdentifier) {
60
58
  case cacheIdentifiers.local:
61
59
  {
@@ -239,6 +237,6 @@ class HttpAdapter {
239
237
  const adapter = new HttpAdapter();
240
238
  exposeGlobally(adapter);
241
239
 
242
- const version = "13.2.1";
240
+ const version = "13.2.3";
243
241
 
244
242
  export { adapter as default, version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flopflip/http-adapter",
3
- "version": "13.2.1",
3
+ "version": "13.2.3",
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,11 +29,11 @@
29
29
  "client"
30
30
  ],
31
31
  "dependencies": {
32
- "@babel/runtime": "7.23.9",
33
- "@flopflip/adapter-utilities": "13.2.1",
34
- "@flopflip/localstorage-cache": "13.2.1",
35
- "@flopflip/sessionstorage-cache": "13.2.1",
36
- "@flopflip/types": "13.2.1",
32
+ "@babel/runtime": "7.24.0",
33
+ "@flopflip/adapter-utilities": "13.2.3",
34
+ "@flopflip/localstorage-cache": "13.2.3",
35
+ "@flopflip/sessionstorage-cache": "13.2.3",
36
+ "@flopflip/types": "13.2.3",
37
37
  "lodash": "4.17.21",
38
38
  "mitt": "3.0.1",
39
39
  "tiny-warning": "1.0.3"