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

adonis-kraken

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adonis-kraken - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

2

package.json
{
"name": "adonis-kraken",
"version": "0.0.12",
"version": "0.0.13",
"description": "Simplifies working with Kraken.io (image optimisation service) through Adonis",

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

@@ -22,3 +22,3 @@ 'use strict'

_attachAuth (body = {}) {
body = {
return body = {
auth: {

@@ -109,11 +109,5 @@ api_key: this.options.api_key || '',

*/
async userStatus (body = {}, formatSizes = true) {
async userStatus (formatSizes = false) {
try {
body.auth = this.auth
let { data } = await axios.post('https://api.kraken.io/user_status', {
auth: {
api_key: this.auth.api_key,
api_secret: this.auth.api_secret
}
})
let { data } = await axios.post('https://api.kraken.io/user_status', this._attachAuth())
if (formatSizes) {

@@ -120,0 +114,0 @@ data.quota_total = this._formatBytes({ bytes: data.quota_total })

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