Comparing version 1.9.0 to 1.9.1
@@ -59,3 +59,3 @@ var Util = require('util'); | ||
if (expired) { | ||
newToken = linkhub.newToken(this.ServiceID, CorpNum, this._getScopes(), null, UTCTime, false); | ||
newToken = linkhub.newToken(this.ServiceID, CorpNum, this._getScopes(), null, UTCTime, "R"); | ||
this._Linkhub_Token_Cash[CorpNum] = newToken; | ||
@@ -234,3 +234,2 @@ } | ||
Token(function (token) { | ||
console.log(token.session_token); | ||
if (token) headers['Authorization'] = 'Bearer ' + token.session_token; | ||
@@ -237,0 +236,0 @@ if (options.UserID) headers['x-pb-userid'] = options.UserID; |
{ | ||
"name": "popbill", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"description": "Popbill API SDK for node. see www.popbill.com", | ||
@@ -25,3 +25,3 @@ "author": "Kim Seongjun <pallet027@gmail.com>", | ||
"dependencies": { | ||
"linkhub": "^1.2.0", | ||
"linkhub": "^1.2.1", | ||
"sync-request":"^2.0.0" | ||
@@ -28,0 +28,0 @@ }, |
# node-popbill | ||
팝빌 node.js SDK v1.9.0 | ||
팝빌 node.js SDK v1.9.1 | ||
@@ -4,0 +4,0 @@ ## Install |
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
321920
7308
Updatedlinkhub@^1.2.1