@paystack/checkout-js 1.25.0-dev.1 → 1.25.0-dev.3
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 +1 -3
- package/es/checkout.js +1 -3
- package/lib/checkout.js +1 -3
- package/package.json +1 -1
package/dist/checkout.js
CHANGED
|
@@ -21104,7 +21104,7 @@ var Paystack = (function (exports) {
|
|
|
21104
21104
|
return axiosInstance.get(url, {
|
|
21105
21105
|
headers: headers
|
|
21106
21106
|
}).then(function (response) {
|
|
21107
|
-
return response.data;
|
|
21107
|
+
return ChargeResponses.parse(response.data);
|
|
21108
21108
|
});
|
|
21109
21109
|
}
|
|
21110
21110
|
};
|
|
@@ -21326,8 +21326,6 @@ var Paystack = (function (exports) {
|
|
|
21326
21326
|
return PreauthorisationAPI.requery({
|
|
21327
21327
|
reference: this.reference,
|
|
21328
21328
|
publicKey: this.merchant.key
|
|
21329
|
-
}).then(function (response) {
|
|
21330
|
-
return response.data;
|
|
21331
21329
|
});
|
|
21332
21330
|
}
|
|
21333
21331
|
}, {
|
package/es/checkout.js
CHANGED
|
@@ -21101,7 +21101,7 @@ var PreauthorisationAPI = {
|
|
|
21101
21101
|
return axiosInstance.get(url, {
|
|
21102
21102
|
headers: headers
|
|
21103
21103
|
}).then(function (response) {
|
|
21104
|
-
return response.data;
|
|
21104
|
+
return ChargeResponses.parse(response.data);
|
|
21105
21105
|
});
|
|
21106
21106
|
}
|
|
21107
21107
|
};
|
|
@@ -21323,8 +21323,6 @@ var PreauthorizationInstance = /*#__PURE__*/function () {
|
|
|
21323
21323
|
return PreauthorisationAPI.requery({
|
|
21324
21324
|
reference: this.reference,
|
|
21325
21325
|
publicKey: this.merchant.key
|
|
21326
|
-
}).then(function (response) {
|
|
21327
|
-
return response.data;
|
|
21328
21326
|
});
|
|
21329
21327
|
}
|
|
21330
21328
|
}, {
|
package/lib/checkout.js
CHANGED
|
@@ -21105,7 +21105,7 @@ var PreauthorisationAPI = {
|
|
|
21105
21105
|
return axiosInstance.get(url, {
|
|
21106
21106
|
headers: headers
|
|
21107
21107
|
}).then(function (response) {
|
|
21108
|
-
return response.data;
|
|
21108
|
+
return ChargeResponses.parse(response.data);
|
|
21109
21109
|
});
|
|
21110
21110
|
}
|
|
21111
21111
|
};
|
|
@@ -21327,8 +21327,6 @@ var PreauthorizationInstance = /*#__PURE__*/function () {
|
|
|
21327
21327
|
return PreauthorisationAPI.requery({
|
|
21328
21328
|
reference: this.reference,
|
|
21329
21329
|
publicKey: this.merchant.key
|
|
21330
|
-
}).then(function (response) {
|
|
21331
|
-
return response.data;
|
|
21332
21330
|
});
|
|
21333
21331
|
}
|
|
21334
21332
|
}, {
|