@peopl-health/nexus 3.8.12 → 3.8.13

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.
@@ -46,7 +46,8 @@ async function getAllBoxes(force) {
46
46
  async function getStatsById(cacheId) {
47
47
  const detail = detailCache.get(cacheId);
48
48
  if (!detail) return null;
49
- return { id: cacheId, records: detail };
49
+ const struct = boxCache.get(cacheId)?.config?.columns || [];
50
+ return { id: cacheId, struct, records: detail };
50
51
  }
51
52
 
52
53
  async function updateBox(id, data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peopl-health/nexus",
3
- "version": "3.8.12",
3
+ "version": "3.8.13",
4
4
  "description": "Core messaging and assistant library for WhatsApp communication platforms",
5
5
  "keywords": [
6
6
  "whatsapp",