@panneau/data 3.0.300 → 3.0.307

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 (2) hide show
  1. package/es/index.js +6 -6
  2. package/package.json +3 -3
package/es/index.js CHANGED
@@ -256,13 +256,13 @@ var useItems$1 = function useItems(_ref) {
256
256
  return currentItems;
257
257
  }
258
258
  return (currentItems || []).map(function (item) {
259
- var _ref10 = item || {},
260
- _ref10$id = _ref10.id,
261
- itemId = _ref10$id === void 0 ? null : _ref10$id;
259
+ var _ref0 = item || {},
260
+ _ref0$id = _ref0.id,
261
+ itemId = _ref0$id === void 0 ? null : _ref0$id;
262
262
  var updated = (updatedItems || []).find(function () {
263
- var _ref11 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
264
- _ref11$id = _ref11.id,
265
- id = _ref11$id === void 0 ? null : _ref11$id;
263
+ var _ref1 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
264
+ _ref1$id = _ref1.id,
265
+ id = _ref1$id === void 0 ? null : _ref1$id;
266
266
  return id === itemId;
267
267
  }) || null;
268
268
  if (updated !== null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/data",
3
- "version": "3.0.300",
3
+ "version": "3.0.307",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -59,7 +59,7 @@
59
59
  "@babel/runtime": "^7.12.5",
60
60
  "@folklore/fetch": "^0.1.17",
61
61
  "@folklore/routes": "^0.2.26",
62
- "@panneau/core": "^3.0.300",
62
+ "@panneau/core": "^3.0.307",
63
63
  "@tanstack/react-query": "^5.29.2",
64
64
  "lodash-es": "^4.17.21",
65
65
  "prop-types": "^15.7.2",
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "129cddc67f11d3d51bc309af4c161ed027ad425f"
71
+ "gitHead": "cbe5e8b1705d01c5653a4df617a06243344310d3"
72
72
  }