@dotdev/headless-core-node
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -84,2 +84,4 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
data = data.filter(({ node }) => { var _a; return node && ((_a = node === null || node === void 0 ? void 0 : node.shopify) === null || _a === void 0 ? void 0 : _a.handle) && (!node.tags || (node.tags && !node.tags.find(tag => tag === config.queries.collections.hidden))); }); | ||
if (config.queries.collections.filterUnpublished) | ||
data = data.filter(({ node }) => node && node.shopify && !node.shopify.published); | ||
data.forEach(({ node }) => { | ||
@@ -86,0 +88,0 @@ var _a; |
{ | ||
"name": "@dotdev/headless-core-node", | ||
"description": "Node package for Headless Core", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"author": "DotDev <info@dotdev.com.au>", | ||
@@ -6,0 +6,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
16677
154