@notionhq/client
Advanced tools
Comparing version 1.0.4 to 2.0.0
{ | ||
"name": "@notionhq/client", | ||
"version": "1.0.4", | ||
"version": "2.0.0", | ||
"description": "A simple and easy to use client for the Notion API", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -131,3 +131,11 @@ "use strict"; | ||
queryParams: [], | ||
bodyParams: ["title", "icon", "cover", "properties", "archived"], | ||
bodyParams: [ | ||
"title", | ||
"description", | ||
"icon", | ||
"cover", | ||
"properties", | ||
"is_inline", | ||
"archived", | ||
], | ||
path: (p) => `databases/${p.database_id}`, | ||
@@ -153,3 +161,11 @@ }; | ||
queryParams: [], | ||
bodyParams: ["parent", "properties", "icon", "cover", "title"], | ||
bodyParams: [ | ||
"parent", | ||
"properties", | ||
"icon", | ||
"cover", | ||
"title", | ||
"description", | ||
"is_inline", | ||
], | ||
path: () => `databases`, | ||
@@ -156,0 +172,0 @@ }; |
@@ -26,3 +26,3 @@ /// <reference types="node" /> | ||
#private; | ||
static readonly defaultNotionVersion = "2022-02-22"; | ||
static readonly defaultNotionVersion = "2022-06-28"; | ||
constructor(options?: ClientOptions); | ||
@@ -29,0 +29,0 @@ /** |
@@ -371,3 +371,3 @@ "use strict"; | ||
_Client_auth = new WeakMap(), _Client_logLevel = new WeakMap(), _Client_logger = new WeakMap(), _Client_prefixUrl = new WeakMap(), _Client_timeoutMs = new WeakMap(), _Client_notionVersion = new WeakMap(), _Client_fetch = new WeakMap(), _Client_agent = new WeakMap(), _Client_userAgent = new WeakMap(); | ||
Client.defaultNotionVersion = "2022-02-22"; | ||
Client.defaultNotionVersion = "2022-06-28"; | ||
//# sourceMappingURL=Client.js.map |
{ | ||
"name": "@notionhq/client", | ||
"version": "1.0.4", | ||
"version": "2.0.0", | ||
"description": "A simple and easy to use client for the Notion API", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -192,2 +192,2 @@ <div align="center"> | ||
If you found a bug with the library, please [submit an issue](https://github.com/makenotion/notion-sdk-js/issues). | ||
To report issues with the SDK, it is possible to [submit an issue](https://github.com/makenotion/notion-sdk-js/issues) to this repo. However, we don't monitor these issues very closely. We recommend you reach out to us at `developers@makenotion.com` instead. |
Sorry, the diff of this file is too big to display
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
956201
9809