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