@flopflip/localstorage-cache 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.
@@ -1,3 +1,3 @@
1
1
  declare const version = "__@FLOPFLIP/VERSION_OF_RELEASE__";
2
2
  export { version };
3
- export { default } from './cache';
3
+ export { default } from "./cache.js";
@@ -1,3 +1,3 @@
1
1
  declare const version = "__@FLOPFLIP/VERSION_OF_RELEASE__";
2
- export { default } from './cache';
2
+ export { default } from "./cache/index.js";
3
3
  export { version };
@@ -12,7 +12,6 @@ const createCache = options => {
12
12
  try {
13
13
  localStorage.setItem([options.prefix, key].join('/'), JSON.stringify(value));
14
14
  return true;
15
- // eslint-disable-next-line
16
15
  } catch (_error) {
17
16
  return false;
18
17
  }
@@ -24,7 +23,7 @@ const createCache = options => {
24
23
  return cache;
25
24
  };
26
25
 
27
- const version = "13.0.2";
26
+ const version = "13.0.4";
28
27
 
29
28
  exports["default"] = createCache;
30
29
  exports.version = version;
@@ -12,7 +12,6 @@ const createCache = options => {
12
12
  try {
13
13
  localStorage.setItem([options.prefix, key].join('/'), JSON.stringify(value));
14
14
  return true;
15
- // eslint-disable-next-line
16
15
  } catch (_error) {
17
16
  return false;
18
17
  }
@@ -24,7 +23,7 @@ const createCache = options => {
24
23
  return cache;
25
24
  };
26
25
 
27
- const version = "13.0.2";
26
+ const version = "13.0.4";
28
27
 
29
28
  exports["default"] = createCache;
30
29
  exports.version = version;
@@ -8,7 +8,6 @@ const createCache = options => {
8
8
  try {
9
9
  localStorage.setItem([options.prefix, key].join('/'), JSON.stringify(value));
10
10
  return true;
11
- // eslint-disable-next-line
12
11
  } catch (_error) {
13
12
  return false;
14
13
  }
@@ -20,6 +19,6 @@ const createCache = options => {
20
19
  return cache;
21
20
  };
22
21
 
23
- const version = "13.0.2";
22
+ const version = "13.0.4";
24
23
 
25
24
  export { createCache as default, version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flopflip/localstorage-cache",
3
- "version": "13.0.2",
3
+ "version": "13.0.4",
4
4
  "description": "Localstorage cache for flipflop adapters",
5
5
  "main": "dist/flopflip-localstorage-cache.cjs.js",
6
6
  "module": "dist/flopflip-localstorage-cache.esm.js",
@@ -30,6 +30,6 @@
30
30
  "client"
31
31
  ],
32
32
  "dependencies": {
33
- "@flopflip/types": "13.0.2"
33
+ "@flopflip/types": "13.0.4"
34
34
  }
35
35
  }