@miso.ai/server-wordpress 0.6.6-beta.5 → 0.6.6-beta.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.
package/package.json CHANGED
@@ -17,12 +17,12 @@
17
17
  "simonpai <simon.pai@askmiso.com>"
18
18
  ],
19
19
  "dependencies": {
20
- "@miso.ai/server-commons": "0.6.6-beta.5",
20
+ "@miso.ai/server-commons": "0.6.6-beta.6",
21
21
  "axios": "^1.6.2",
22
22
  "axios-retry": "^3.3.1",
23
23
  "dotenv": "^16.4.5",
24
24
  "saxes": "^6.0.0",
25
25
  "split2": "^4.2.0"
26
26
  },
27
- "version": "0.6.6-beta.5"
27
+ "version": "0.6.6-beta.6"
28
28
  }
@@ -50,7 +50,7 @@ export default class EntityIndex {
50
50
  if (this.hierarchical) {
51
51
  return; // already all fetched
52
52
  }
53
- ids = asArray(ids).filter(id => id); // discard 0, null, undefined
53
+ ids = asArray(ids).filter(id => id && Number.isInteger(Number(id))); // discard 0, null, undefined, non-integer
54
54
 
55
55
  const promises = []
56
56
  const idsToFetch = [];
package/src/version.js CHANGED
@@ -1 +1 @@
1
- export default '0.6.6-beta.5';
1
+ export default '0.6.6-beta.6';