Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@notionhq/client

Package Overview
Dependencies
Maintainers
14
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 2.1.0 to 2.1.1

2

build/package.json
{
"name": "@notionhq/client",
"version": "2.1.0",
"version": "2.1.1",
"description": "A simple and easy to use client for the Notion API",

@@ -5,0 +5,0 @@ "engines": {

@@ -133,3 +133,3 @@ /// <reference types="node" />

*/
search(args: WithAuth<SearchParameters>): Promise<SearchResponse>;
search: (args: WithAuth<SearchParameters>) => Promise<SearchResponse>;
/**

@@ -136,0 +136,0 @@ * Emits a log message to the console.

@@ -280,2 +280,14 @@ "use strict";

};
/**
* Search
*/
this.search = (args) => {
return this.request({
path: api_endpoints_1.search.path(),
method: api_endpoints_1.search.method,
query: (0, utils_1.pick)(args, api_endpoints_1.search.queryParams),
body: (0, utils_1.pick)(args, api_endpoints_1.search.bodyParams),
auth: args === null || args === void 0 ? void 0 : args.auth,
});
};
__classPrivateFieldSet(this, _Client_auth, options === null || options === void 0 ? void 0 : options.auth, "f");

@@ -356,14 +368,2 @@ __classPrivateFieldSet(this, _Client_logLevel, (_a = options === null || options === void 0 ? void 0 : options.logLevel) !== null && _a !== void 0 ? _a : logging_1.LogLevel.WARN, "f");

/**
* Search
*/
search(args) {
return this.request({
path: api_endpoints_1.search.path(),
method: api_endpoints_1.search.method,
query: (0, utils_1.pick)(args, api_endpoints_1.search.queryParams),
body: (0, utils_1.pick)(args, api_endpoints_1.search.bodyParams),
auth: args === null || args === void 0 ? void 0 : args.auth,
});
}
/**
* Emits a log message to the console.

@@ -370,0 +370,0 @@ *

{
"name": "@notionhq/client",
"version": "2.1.0",
"version": "2.1.1",
"description": "A simple and easy to use client for the Notion API",

@@ -5,0 +5,0 @@ "engines": {

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