@paystack/checkout-js 1.24.0-dev.3 → 1.24.0-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/checkout.js +2 -1
- package/es/checkout.js +2 -1
- package/lib/checkout.js +2 -1
- package/package.json +1 -1
package/dist/checkout.js
CHANGED
|
@@ -11520,7 +11520,7 @@ var Paystack = (function (exports) {
|
|
|
11520
11520
|
verifyTransactionStatus: function verifyTransactionStatus(_ref2) {
|
|
11521
11521
|
var reference = _ref2.reference,
|
|
11522
11522
|
publicKey = _ref2.publicKey;
|
|
11523
|
-
var url = new URL("transaction/verify_status/".concat(reference)).toString();
|
|
11523
|
+
var url = new URL("transaction/verify_status/".concat(reference), configToUse.paystackApiUrl).toString();
|
|
11524
11524
|
var language = getLanguage();
|
|
11525
11525
|
|
|
11526
11526
|
var headers = _objectSpread2({
|
|
@@ -20519,6 +20519,7 @@ var Paystack = (function (exports) {
|
|
|
20519
20519
|
|
|
20520
20520
|
this.savedCardsTempAuthToken = null;
|
|
20521
20521
|
this.savedCardsToken = null;
|
|
20522
|
+
this.reference = data.reference;
|
|
20522
20523
|
/**
|
|
20523
20524
|
* We initialize parameters we send to the API as empty strings
|
|
20524
20525
|
* when we don't have them instead of null because the API expects
|
package/es/checkout.js
CHANGED
|
@@ -11517,7 +11517,7 @@ var TransactionAPI = {
|
|
|
11517
11517
|
verifyTransactionStatus: function verifyTransactionStatus(_ref2) {
|
|
11518
11518
|
var reference = _ref2.reference,
|
|
11519
11519
|
publicKey = _ref2.publicKey;
|
|
11520
|
-
var url = new URL("transaction/verify_status/".concat(reference)).toString();
|
|
11520
|
+
var url = new URL("transaction/verify_status/".concat(reference), configToUse.paystackApiUrl).toString();
|
|
11521
11521
|
var language = getLanguage();
|
|
11522
11522
|
|
|
11523
11523
|
var headers = _objectSpread2({
|
|
@@ -20516,6 +20516,7 @@ var TransactionInstance = /*#__PURE__*/function () {
|
|
|
20516
20516
|
|
|
20517
20517
|
this.savedCardsTempAuthToken = null;
|
|
20518
20518
|
this.savedCardsToken = null;
|
|
20519
|
+
this.reference = data.reference;
|
|
20519
20520
|
/**
|
|
20520
20521
|
* We initialize parameters we send to the API as empty strings
|
|
20521
20522
|
* when we don't have them instead of null because the API expects
|
package/lib/checkout.js
CHANGED
|
@@ -11521,7 +11521,7 @@ var TransactionAPI = {
|
|
|
11521
11521
|
verifyTransactionStatus: function verifyTransactionStatus(_ref2) {
|
|
11522
11522
|
var reference = _ref2.reference,
|
|
11523
11523
|
publicKey = _ref2.publicKey;
|
|
11524
|
-
var url = new URL("transaction/verify_status/".concat(reference)).toString();
|
|
11524
|
+
var url = new URL("transaction/verify_status/".concat(reference), configToUse.paystackApiUrl).toString();
|
|
11525
11525
|
var language = getLanguage();
|
|
11526
11526
|
|
|
11527
11527
|
var headers = _objectSpread2({
|
|
@@ -20520,6 +20520,7 @@ var TransactionInstance = /*#__PURE__*/function () {
|
|
|
20520
20520
|
|
|
20521
20521
|
this.savedCardsTempAuthToken = null;
|
|
20522
20522
|
this.savedCardsToken = null;
|
|
20523
|
+
this.reference = data.reference;
|
|
20523
20524
|
/**
|
|
20524
20525
|
* We initialize parameters we send to the API as empty strings
|
|
20525
20526
|
* when we don't have them instead of null because the API expects
|