Socket
Socket
Sign inDemoInstall

@notionhq/client

Package Overview
Dependencies
Maintainers
13
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@notionhq/client - npm Package Compare versions

Comparing version 1.0.4 to 2.0.0

2

build/package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc