@taybart/corvid 0.1.15 → 0.1.16

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
@@ -674,7 +674,7 @@ const network = {
674
674
  };
675
675
  function get(key, _default) {
676
676
  let ret = localStorage.getItem(key);
677
- if (!ret && null != _default) {
677
+ if (null === ret && null != _default) {
678
678
  ret = _default;
679
679
  if ('function' == typeof _default) ret = _default();
680
680
  set(key, ret);
package/dist/ls.js CHANGED
@@ -244,7 +244,7 @@ function interpolate(str, params) {
244
244
  }
245
245
  function get(key, _default) {
246
246
  let ret = localStorage.getItem(key);
247
- if (!ret && null != _default) {
247
+ if (null === ret && null != _default) {
248
248
  ret = _default;
249
249
  if ('function' == typeof _default) ret = _default();
250
250
  set(key, ret);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taybart/corvid",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "exports": {