directus-sdk-javascript
Advanced tools
Comparing version 2.0.1 to 2.1.0
{ | ||
"name": "directus-sdk-javascript", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "WIP - Directus SDK for JavaScript (Node and Browser)", | ||
@@ -27,3 +27,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"axios": "^0.16.1" | ||
"axios": "^0.16.2" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
@@ -269,2 +269,14 @@ const axios = require('axios'); | ||
} | ||
// Hash | ||
// ---------------------------------------------------------------------------------- | ||
getHash(string = requiredParam('string'), data = {}) { | ||
return this._post('hash', data); | ||
} | ||
// Random | ||
// ---------------------------------------------------------------------------------- | ||
getRandom(params = {}) { | ||
return this._get('random', params); | ||
} | ||
} | ||
@@ -277,2 +289,1 @@ | ||
module.exports = RemoteInstance; | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44995
228
Updatedaxios@^0.16.2