notion-utils
Advanced tools
Comparing version 4.19.7 to 4.19.8
@@ -8,3 +8,6 @@ "use strict"; | ||
if (!block.properties || !Object.keys(recordMap.collection)) { | ||
throw new Error("this block " + block.id + " has not properties or this recordMap has no collection record"); | ||
// console.warn( | ||
// `block ${block.id} has no properties or this recordMap has no collection record` | ||
// ) | ||
return null; | ||
} | ||
@@ -11,0 +14,0 @@ var collection = (_a = recordMap.collection[block.parent_id]) === null || _a === void 0 ? void 0 : _a.value; |
@@ -5,3 +5,6 @@ import { getTextContent } from './get-text-content'; | ||
if (!block.properties || !Object.keys(recordMap.collection)) { | ||
throw new Error("this block " + block.id + " has not properties or this recordMap has no collection record"); | ||
// console.warn( | ||
// `block ${block.id} has no properties or this recordMap has no collection record` | ||
// ) | ||
return null; | ||
} | ||
@@ -8,0 +11,0 @@ var collection = (_a = recordMap.collection[block.parent_id]) === null || _a === void 0 ? void 0 : _a.value; |
{ | ||
"name": "notion-utils", | ||
"version": "4.19.7", | ||
"version": "4.19.8", | ||
"description": "Useful utilities for working with Notion data. Isomorphic.", | ||
@@ -19,3 +19,3 @@ "repository": "NotionX/react-notion-x", | ||
"dependencies": { | ||
"notion-types": "^4.19.1", | ||
"notion-types": "^4.19.8", | ||
"p-queue": "6" | ||
@@ -26,3 +26,3 @@ }, | ||
}, | ||
"gitHead": "0eb3324096f997072c82082f6de901d064096b70" | ||
"gitHead": "100dc9191390111b52ac27b9ea31f17451100fff" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
366698
9008
Updatednotion-types@^4.19.8