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-10 to 3.0.0-11

2

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

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

@@ -113,7 +113,7 @@ const axios = require('axios');

getCollections(params = {}) {
return this.request('get', 'collections', params);
return this.request('get', 'tables', params);
},
getCollection(collection = requiredParam('collection'), params = {}) {
return this.request('get', `collections/${collection}`, params);
return this.request('get', `tables/${collection}`, params);
},

@@ -120,0 +120,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