Comparing version 1.1.0 to 1.1.1
@@ -15,7 +15,4 @@ "use strict"; | ||
}).subscribe( | ||
//when the transaction is started, get the status | ||
function (transaction) { | ||
return getStatus(transaction.terminalStatusUrl); | ||
} | ||
); | ||
//when the transaction is started, get the status | ||
function (transaction) { return getStatus(transaction.terminalStatusUrl); }); | ||
function getStatus(statusUrl) { | ||
@@ -22,0 +19,0 @@ Paynl.Instore.getTransactionStatus(statusUrl).subscribe(function (status) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var Paynl = require("../../index"); | ||
Paynl.Config.setApiToken('babaa5749268116614797f8620309cecee2022a5'); | ||
Paynl.Config.setServiceId('SL-4241-3001'); | ||
Paynl.Config.setApiToken('Your-api-token'); | ||
Paynl.Config.setServiceId('SL-0123-4567'); | ||
Paynl.Transaction.start({ | ||
@@ -7,0 +7,0 @@ amount: 20, |
{ | ||
"name": "paynl-sdk", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
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
101396
1895