@paystack/checkout-js 1.20.0-dev.13 → 1.20.0-dev.15
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 +3 -3
- package/es/checkout.js +3 -3
- package/lib/checkout.js +3 -3
- package/package.json +1 -1
package/dist/checkout.js
CHANGED
|
@@ -20886,7 +20886,7 @@ var Paystack = (function (exports) {
|
|
|
20886
20886
|
}();
|
|
20887
20887
|
|
|
20888
20888
|
var CardAPI = {
|
|
20889
|
-
|
|
20889
|
+
reserveFunds: function reserveFunds(_ref) {
|
|
20890
20890
|
var clientdata = _ref.clientdata,
|
|
20891
20891
|
last4 = _ref.last4,
|
|
20892
20892
|
preauthorizationId = _ref.preauthorizationId,
|
|
@@ -20939,7 +20939,7 @@ var Paystack = (function (exports) {
|
|
|
20939
20939
|
_this.card = new Card(params);
|
|
20940
20940
|
});
|
|
20941
20941
|
},
|
|
20942
|
-
|
|
20942
|
+
reserveFunds: function reserveFunds(_ref) {
|
|
20943
20943
|
var _this2 = this;
|
|
20944
20944
|
|
|
20945
20945
|
var preauthorizationId = _ref.preauthorizationId,
|
|
@@ -20956,7 +20956,7 @@ var Paystack = (function (exports) {
|
|
|
20956
20956
|
publicKey: publicKey,
|
|
20957
20957
|
customFields: customFields
|
|
20958
20958
|
};
|
|
20959
|
-
return CardAPI.
|
|
20959
|
+
return CardAPI.reserveFunds(chargeParams).then(function (response) {
|
|
20960
20960
|
// TODO: Log API Response
|
|
20961
20961
|
// https://paystack.atlassian.net/browse/RAILS-3070
|
|
20962
20962
|
return response;
|
package/es/checkout.js
CHANGED
|
@@ -20883,7 +20883,7 @@ var Card = /*#__PURE__*/function () {
|
|
|
20883
20883
|
}();
|
|
20884
20884
|
|
|
20885
20885
|
var CardAPI = {
|
|
20886
|
-
|
|
20886
|
+
reserveFunds: function reserveFunds(_ref) {
|
|
20887
20887
|
var clientdata = _ref.clientdata,
|
|
20888
20888
|
last4 = _ref.last4,
|
|
20889
20889
|
preauthorizationId = _ref.preauthorizationId,
|
|
@@ -20936,7 +20936,7 @@ var CardPreauthorization = {
|
|
|
20936
20936
|
_this.card = new Card(params);
|
|
20937
20937
|
});
|
|
20938
20938
|
},
|
|
20939
|
-
|
|
20939
|
+
reserveFunds: function reserveFunds(_ref) {
|
|
20940
20940
|
var _this2 = this;
|
|
20941
20941
|
|
|
20942
20942
|
var preauthorizationId = _ref.preauthorizationId,
|
|
@@ -20953,7 +20953,7 @@ var CardPreauthorization = {
|
|
|
20953
20953
|
publicKey: publicKey,
|
|
20954
20954
|
customFields: customFields
|
|
20955
20955
|
};
|
|
20956
|
-
return CardAPI.
|
|
20956
|
+
return CardAPI.reserveFunds(chargeParams).then(function (response) {
|
|
20957
20957
|
// TODO: Log API Response
|
|
20958
20958
|
// https://paystack.atlassian.net/browse/RAILS-3070
|
|
20959
20959
|
return response;
|
package/lib/checkout.js
CHANGED
|
@@ -20887,7 +20887,7 @@ var Card = /*#__PURE__*/function () {
|
|
|
20887
20887
|
}();
|
|
20888
20888
|
|
|
20889
20889
|
var CardAPI = {
|
|
20890
|
-
|
|
20890
|
+
reserveFunds: function reserveFunds(_ref) {
|
|
20891
20891
|
var clientdata = _ref.clientdata,
|
|
20892
20892
|
last4 = _ref.last4,
|
|
20893
20893
|
preauthorizationId = _ref.preauthorizationId,
|
|
@@ -20940,7 +20940,7 @@ var CardPreauthorization = {
|
|
|
20940
20940
|
_this.card = new Card(params);
|
|
20941
20941
|
});
|
|
20942
20942
|
},
|
|
20943
|
-
|
|
20943
|
+
reserveFunds: function reserveFunds(_ref) {
|
|
20944
20944
|
var _this2 = this;
|
|
20945
20945
|
|
|
20946
20946
|
var preauthorizationId = _ref.preauthorizationId,
|
|
@@ -20957,7 +20957,7 @@ var CardPreauthorization = {
|
|
|
20957
20957
|
publicKey: publicKey,
|
|
20958
20958
|
customFields: customFields
|
|
20959
20959
|
};
|
|
20960
|
-
return CardAPI.
|
|
20960
|
+
return CardAPI.reserveFunds(chargeParams).then(function (response) {
|
|
20961
20961
|
// TODO: Log API Response
|
|
20962
20962
|
// https://paystack.atlassian.net/browse/RAILS-3070
|
|
20963
20963
|
return response;
|