memorio 4.1.5 → 4.1.6

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.
Files changed (3) hide show
  1. package/index.cjs +13 -1
  2. package/index.js +11 -1
  3. package/package.json +1 -1
package/index.cjs CHANGED
@@ -1,3 +1,5 @@
1
+ "use strict";
2
+
1
3
  var e = Object.getOwnPropertyNames, t = (t, o) => function() {
2
4
  return t && (o = (0, t[e(t)[0]])(t = 0)), o;
3
5
  }, o = {}, r = t({
@@ -321,7 +323,7 @@ Object.defineProperty(globalThis, "memorio", {
321
323
  }), Object.defineProperty(memorio, "version", {
322
324
  writable: !1,
323
325
  enumerable: !1,
324
- value: "4.1.5"
326
+ value: "4.1.6"
325
327
  }), Object.defineProperty(memorio, "debug", {
326
328
  writable: !0,
327
329
  enumerable: !1,
@@ -652,6 +654,16 @@ Object.defineProperty(globalThis, "store", {
652
654
  return null;
653
655
  }
654
656
  },
657
+ getMultiple: {
658
+ value: e => {
659
+ const t = {};
660
+ for (const o of e) try {
661
+ const e = store.get(o);
662
+ e && (t[o] = e);
663
+ } catch {}
664
+ return t;
665
+ }
666
+ },
655
667
  set: {
656
668
  value: (e, t) => {
657
669
  if (!e) return;
package/index.js CHANGED
@@ -321,7 +321,7 @@ Object.defineProperty(globalThis, "memorio", {
321
321
  }), Object.defineProperty(memorio, "version", {
322
322
  writable: !1,
323
323
  enumerable: !1,
324
- value: "4.1.5"
324
+ value: "4.1.6"
325
325
  }), Object.defineProperty(memorio, "debug", {
326
326
  writable: !0,
327
327
  enumerable: !1,
@@ -652,6 +652,16 @@ Object.defineProperty(globalThis, "store", {
652
652
  return null;
653
653
  }
654
654
  },
655
+ getMultiple: {
656
+ value: e => {
657
+ const t = {};
658
+ for (const o of e) try {
659
+ const e = store.get(o);
660
+ e && (t[o] = e);
661
+ } catch {}
662
+ return t;
663
+ }
664
+ },
655
665
  set: {
656
666
  value: (e, t) => {
657
667
  if (!e) return;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "memorio",
3
3
  "codeName": "memorio",
4
- "version": "4.1.5",
4
+ "version": "4.1.6",
5
5
  "description": "Memorio, State + Observer, Store and iDB for an easy life - Cross-platform compatible",
6
6
  "main": "./index.cjs",
7
7
  "browser": "./index.cjs",