From 4180c31f1c9d6dd3ea9a6936fb34a2e25fe2bf8a Mon Sep 17 00:00:00 2001 From: Alma Date: Thu, 19 Aug 2021 13:29:44 -0400 Subject: [PATCH] Bump Notion-Version to to 2021-08-16 and client to v0.3.0 (#176) Bump Notion-Version and client minor version --- examples/database-email-update/package.json | 2 +- examples/notion-github-sync/package.json | 2 +- package.json | 2 +- src/Client.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/database-email-update/package.json b/examples/database-email-update/package.json index 0af2869f..39805bf6 100644 --- a/examples/database-email-update/package.json +++ b/examples/database-email-update/package.json @@ -13,7 +13,7 @@ "dependencies": { "@sendgrid/mail": "^7.4.5", "dotenv": "^10.0.0", - "@notionhq/client": "^0.2.3" + "@notionhq/client": "^0.3.0" }, "author": "Aman Gupta", "license": "MIT" diff --git a/examples/notion-github-sync/package.json b/examples/notion-github-sync/package.json index 9796f4b1..a52abdd7 100644 --- a/examples/notion-github-sync/package.json +++ b/examples/notion-github-sync/package.json @@ -13,7 +13,7 @@ "author": "Aman Gupta", "license": "MIT", "dependencies": { - "@notionhq/client": "^0.2.3", + "@notionhq/client": "^0.3.0", "dotenv": "^10.0.0", "lodash": "^4.17.21", "octokit": "^1.1.0" diff --git a/package.json b/package.json index 5b57bc87..94fe9455 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@notionhq/client", - "version": "0.2.4", + "version": "0.3.0", "description": "A simple and easy to use client for the Notion API", "engines": { "node": ">=12" diff --git a/src/Client.ts b/src/Client.ts index 5889e5d4..b0be17d2 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -97,7 +97,7 @@ export default class Client { #agent: Agent | undefined #userAgent: string - static readonly defaultNotionVersion = "2021-08-02" + static readonly defaultNotionVersion = "2021-08-16" public constructor(options?: ClientOptions) { this.#auth = options?.auth