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

popbill

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

popbill - npm Package Compare versions

Comparing version 1.24.1 to 1.25.0

18

KakaoTest.js

@@ -46,11 +46,11 @@ var popbill = require('./');

// });
kakaoService.getATSTemplate('1234567890', '021030000624 ', 'testkorea',
function(response){
console.log(response);
}, function (err) {
console.log(err);
}
);
//
// kakaoService.getATSTemplate('1234567890', '021010000076 ', 'testkorea',
// function(response){
// console.log(response);
// }, function (err) {
// console.log(err);
// }
// );
//
// kakaoService.listATSTemplate('1234567890',

@@ -57,0 +57,0 @@ // function (response) {

@@ -26,6 +26,14 @@ var Util = require('util');

if(this.UseStaticIP){
if(this._config.UseGAIP != undefined){
this.UseGAIP = this._config.UseGAIP;
} else {
this.UseGAIP = false;
}
if(this.UseGAIP){
this.ServiceURL = this._config.IsTest ? 'ga-popbill-test.linkhub.co.kr' : 'ga-popbill.linkhub.co.kr';
} else if(this.UseStaticIP){
this.ServiceURL = this._config.IsTest ? 'static-popbill-test.linkhub.co.kr' : 'static-popbill.linkhub.co.kr';
} else {
this.ServiceURL = this._config.IsTest ? 'popbill-test.linkhub.co.kr' : 'popbill.linkhub.co.kr';
this.ServiceURL = this._config.IsTest ? 'popbill-test.linkhub.co.kr' : 'popbill.linkhub.co.kr';
}

@@ -70,3 +78,3 @@

var expired = true;
var UTCTime = linkhub.getTime(this.UseStaticIP);
var UTCTime = linkhub.getTime(this.UseStaticIP, this.UseGAIP);

@@ -86,3 +94,3 @@ if (typeof newToken === 'function') {

if (expired) {
newToken = linkhub.newToken(this.ServiceID, CorpNum, this._getScopes(), this.IPRestrictOnOff ? null : '*', this.UseStaticIP);
newToken = linkhub.newToken(this.ServiceID, CorpNum, this._getScopes(), this.IPRestrictOnOff ? null : '*', this.UseStaticIP, this.UseGAIP);
this._Linkhub_Token_Cash[CorpNum] = newToken;

@@ -100,11 +108,11 @@ }

BaseService.prototype.getPartnerURL = function (CorpNum, TOGO, callback, err) {
linkhub.getPartnerURL(this._getToken(CorpNum), this.UseStaticIP, TOGO, callback, err);
linkhub.getPartnerURL(this._getToken(CorpNum), this.UseStaticIP, this.UseGAIP, TOGO, callback, err);
};
BaseService.prototype.getBalance = function (CorpNum, callback, err) {
linkhub.getBalance(this._getToken(CorpNum), this.UseStaticIP, callback, err);
linkhub.getBalance(this._getToken(CorpNum), this.UseStaticIP, this.UseGAIP, callback, err);
};
BaseService.prototype.getPartnerBalance = function (CorpNum, callback, err) {
linkhub.getPartnerBalance(this._getToken(CorpNum), this.UseStaticIP, callback, err);
linkhub.getPartnerBalance(this._getToken(CorpNum), this.UseStaticIP, this.UseGAIP, callback, err);
};

@@ -111,0 +119,0 @@

{
"name": "popbill",
"version": "1.24.1",
"version": "1.25.0",
"description": "Popbill API SDK for node. see www.popbill.com",

@@ -21,3 +21,3 @@ "author": "Kim Seongjun <pallet027@gmail.com>",

"dependencies": {
"linkhub": "^1.6.0",
"linkhub": "^1.7.0",
"sync-request": "^2.0.0"

@@ -24,0 +24,0 @@ },

# node-popbill
팝빌 node.js SDK v1.24.1
팝빌 node.js SDK v1.25.0

@@ -4,0 +4,0 @@ ## Install

@@ -37,8 +37,8 @@ var popbill = require('./');

// taxinvoiceService.getChargeInfo('1234567890', 'testkorea',
// function(response){
// console.log(response);
// }, function(result){
// console.log(result);
// });
taxinvoiceService.getChargeInfo('1234567890', 'testkorea',
function(response){
console.log(response);
}, function(result){
console.log(result);
});
//

@@ -45,0 +45,0 @@ var SubmitID = 'Node-bulk04';

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