@notionhq/client 2.1.1 → 2.2.1

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/README.md CHANGED
@@ -196,7 +196,7 @@ Here is an example of using a type guard:
196
196
  const fullOrPartialPages = await notion.databases.query({
197
197
  database_id: "897e5a76-ae52-4b48-9fdf-e71f5945d1af",
198
198
  })
199
- for (const page of fullOrPartialPages) {
199
+ for (const page of fullOrPartialPages.results) {
200
200
  if (!isFullPage(page)) {
201
201
  continue
202
202
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@notionhq/client",
3
- "version": "2.1.1",
3
+ "version": "2.2.1",
4
4
  "description": "A simple and easy to use client for the Notion API",
5
5
  "engines": {
6
6
  "node": ">=12"