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

directus-sdk-javascript

Package Overview
Dependencies
Maintainers
3
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

directus-sdk-javascript - npm Package Compare versions

Comparing version 3.0.0-1 to 3.0.0-2

2

package.json
{
"name": "directus-sdk-javascript",
"version": "3.0.0-1",
"version": "3.0.0-2",
"description": "WIP - Directus SDK for JavaScript (Node and Browser)",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -91,6 +91,10 @@ const axios = require('axios');

_getInterface(uiName) {
return this._get(`interfaces/${uiName}.js`);
}
// Items
// ---------------------------------------------------------------------------
getItems(table = requiredParam('table'), params = {}) {
return this._get(`items/${table}/`, params);
return this._get(`items/${table}`, params);
}

@@ -105,4 +109,8 @@

getTables(params = {}) {
return this._post('tables', params);
return this._get('tables', params);
}
getTable(table = requiredParam('table'), params = {}) {
return this._get(`tables/${table}`, params);
}
}

@@ -109,0 +117,0 @@

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