New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

notabase

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

notabase - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

2

package.json
{
"name": "notabase",
"version": "0.6.1",
"version": "0.6.2",
"description": "API Wrapper For Notion's Database",

@@ -5,0 +5,0 @@ "main": "src/notabase.js",

@@ -17,4 +17,24 @@ # Notabase (WIP)

import Notabase from 'notabase'
// node env
// just Read public data
let nb = new Notabase()
// CRUD support
let nb = new Notabase({
token: <token_v2>
})
// browser env
// without authCode Read public data
// with authCode CRUD support
let nb = new Notabase({
proxy: {
url: <cloudflare worker url>,
authCode: <>
}
})
// get my music data

@@ -21,0 +41,0 @@ let db = await nb.fetch({

@@ -149,3 +149,3 @@ import Collection from './collection'

db[tableName] = {}
return this._fetch(url)
return this.fetch(url)
})

@@ -152,0 +152,0 @@ let res = await Promise.all(requests)

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