@paystack/checkout-js 1.24.0-dev.7 → 1.24.0-dev.8
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 +11 -9
- package/es/checkout.js +11 -9
- package/lib/checkout.js +11 -9
- package/package.json +1 -1
package/dist/checkout.js
CHANGED
|
@@ -11517,7 +11517,7 @@ var Paystack = (function (exports) {
|
|
|
11517
11517
|
return response.data;
|
|
11518
11518
|
});
|
|
11519
11519
|
},
|
|
11520
|
-
|
|
11520
|
+
verifyStatus: function verifyStatus(_ref2) {
|
|
11521
11521
|
var reference = _ref2.reference,
|
|
11522
11522
|
publicKey = _ref2.publicKey;
|
|
11523
11523
|
var url = new URL("transaction/verify_status/".concat(reference), configToUse.paystackApiUrl).toString();
|
|
@@ -20577,6 +20577,16 @@ var Paystack = (function (exports) {
|
|
|
20577
20577
|
transactionId: this.id
|
|
20578
20578
|
});
|
|
20579
20579
|
}
|
|
20580
|
+
}, {
|
|
20581
|
+
key: "verifyStatus",
|
|
20582
|
+
value: function verifyStatus() {
|
|
20583
|
+
return TransactionAPI.verifyStatus({
|
|
20584
|
+
reference: this.reference,
|
|
20585
|
+
publicKey: this.merchant.key
|
|
20586
|
+
}).then(function (response) {
|
|
20587
|
+
return response && response.data;
|
|
20588
|
+
});
|
|
20589
|
+
}
|
|
20580
20590
|
}]);
|
|
20581
20591
|
|
|
20582
20592
|
return TransactionInstance;
|
|
@@ -20706,14 +20716,6 @@ var Paystack = (function (exports) {
|
|
|
20706
20716
|
}
|
|
20707
20717
|
}, _callee4);
|
|
20708
20718
|
}))();
|
|
20709
|
-
},
|
|
20710
|
-
verifyTransactionStatus: function verifyTransactionStatus(reference, publicKey) {
|
|
20711
|
-
return TransactionAPI.verifyTransactionStatus({
|
|
20712
|
-
reference: reference,
|
|
20713
|
-
publicKey: publicKey
|
|
20714
|
-
}).then(function (response) {
|
|
20715
|
-
return response && response.data;
|
|
20716
|
-
});
|
|
20717
20719
|
}
|
|
20718
20720
|
};
|
|
20719
20721
|
|
package/es/checkout.js
CHANGED
|
@@ -11514,7 +11514,7 @@ var TransactionAPI = {
|
|
|
11514
11514
|
return response.data;
|
|
11515
11515
|
});
|
|
11516
11516
|
},
|
|
11517
|
-
|
|
11517
|
+
verifyStatus: function verifyStatus(_ref2) {
|
|
11518
11518
|
var reference = _ref2.reference,
|
|
11519
11519
|
publicKey = _ref2.publicKey;
|
|
11520
11520
|
var url = new URL("transaction/verify_status/".concat(reference), configToUse.paystackApiUrl).toString();
|
|
@@ -20574,6 +20574,16 @@ var TransactionInstance = /*#__PURE__*/function () {
|
|
|
20574
20574
|
transactionId: this.id
|
|
20575
20575
|
});
|
|
20576
20576
|
}
|
|
20577
|
+
}, {
|
|
20578
|
+
key: "verifyStatus",
|
|
20579
|
+
value: function verifyStatus() {
|
|
20580
|
+
return TransactionAPI.verifyStatus({
|
|
20581
|
+
reference: this.reference,
|
|
20582
|
+
publicKey: this.merchant.key
|
|
20583
|
+
}).then(function (response) {
|
|
20584
|
+
return response && response.data;
|
|
20585
|
+
});
|
|
20586
|
+
}
|
|
20577
20587
|
}]);
|
|
20578
20588
|
|
|
20579
20589
|
return TransactionInstance;
|
|
@@ -20703,14 +20713,6 @@ var Transaction = {
|
|
|
20703
20713
|
}
|
|
20704
20714
|
}, _callee4);
|
|
20705
20715
|
}))();
|
|
20706
|
-
},
|
|
20707
|
-
verifyTransactionStatus: function verifyTransactionStatus(reference, publicKey) {
|
|
20708
|
-
return TransactionAPI.verifyTransactionStatus({
|
|
20709
|
-
reference: reference,
|
|
20710
|
-
publicKey: publicKey
|
|
20711
|
-
}).then(function (response) {
|
|
20712
|
-
return response && response.data;
|
|
20713
|
-
});
|
|
20714
20716
|
}
|
|
20715
20717
|
};
|
|
20716
20718
|
|
package/lib/checkout.js
CHANGED
|
@@ -11518,7 +11518,7 @@ var TransactionAPI = {
|
|
|
11518
11518
|
return response.data;
|
|
11519
11519
|
});
|
|
11520
11520
|
},
|
|
11521
|
-
|
|
11521
|
+
verifyStatus: function verifyStatus(_ref2) {
|
|
11522
11522
|
var reference = _ref2.reference,
|
|
11523
11523
|
publicKey = _ref2.publicKey;
|
|
11524
11524
|
var url = new URL("transaction/verify_status/".concat(reference), configToUse.paystackApiUrl).toString();
|
|
@@ -20578,6 +20578,16 @@ var TransactionInstance = /*#__PURE__*/function () {
|
|
|
20578
20578
|
transactionId: this.id
|
|
20579
20579
|
});
|
|
20580
20580
|
}
|
|
20581
|
+
}, {
|
|
20582
|
+
key: "verifyStatus",
|
|
20583
|
+
value: function verifyStatus() {
|
|
20584
|
+
return TransactionAPI.verifyStatus({
|
|
20585
|
+
reference: this.reference,
|
|
20586
|
+
publicKey: this.merchant.key
|
|
20587
|
+
}).then(function (response) {
|
|
20588
|
+
return response && response.data;
|
|
20589
|
+
});
|
|
20590
|
+
}
|
|
20581
20591
|
}]);
|
|
20582
20592
|
|
|
20583
20593
|
return TransactionInstance;
|
|
@@ -20707,14 +20717,6 @@ var Transaction = {
|
|
|
20707
20717
|
}
|
|
20708
20718
|
}, _callee4);
|
|
20709
20719
|
}))();
|
|
20710
|
-
},
|
|
20711
|
-
verifyTransactionStatus: function verifyTransactionStatus(reference, publicKey) {
|
|
20712
|
-
return TransactionAPI.verifyTransactionStatus({
|
|
20713
|
-
reference: reference,
|
|
20714
|
-
publicKey: publicKey
|
|
20715
|
-
}).then(function (response) {
|
|
20716
|
-
return response && response.data;
|
|
20717
|
-
});
|
|
20718
20720
|
}
|
|
20719
20721
|
};
|
|
20720
20722
|
|