cc-api-next
Advanced tools
Comparing version 1.0.8 to 1.0.9
const fetch = require('isomorphic-unfetch'); | ||
const Cookies = require('universal-cookie'); | ||
@@ -23,2 +24,6 @@ class Api { | ||
this.headers['x-token'] = Cookies.get(this.tokenKey); | ||
console.warn('\x1b[43m\x1b[30m%s\x1b[0m\x1b[0m', 'this.headers[\'x-token\']', this.headers['x-token']); | ||
if(config === undefined){ | ||
@@ -25,0 +30,0 @@ config = data || {}; |
{ | ||
"name": "cc-api-next", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "cc api next", | ||
@@ -24,4 +24,4 @@ "main": "index.js", | ||
"isomorphic-unfetch": "^3.0.0", | ||
"universal-cookie": "^4.0.2" | ||
"universal-cookie": "^4.0.3" | ||
} | ||
} |
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
2762
72
Updateduniversal-cookie@^4.0.3