@paystack/checkout-js 1.25.0-dev.4 → 1.25.0-dev.6
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 +5 -1
- package/es/checkout.js +5 -1
- package/lib/checkout.js +5 -1
- package/package.json +1 -1
package/dist/checkout.js
CHANGED
|
@@ -11532,7 +11532,7 @@ var Paystack = (function (exports) {
|
|
|
11532
11532
|
return axiosInstance.get(url, {
|
|
11533
11533
|
headers: headers
|
|
11534
11534
|
}).then(function (response) {
|
|
11535
|
-
return
|
|
11535
|
+
return response.data;
|
|
11536
11536
|
});
|
|
11537
11537
|
}
|
|
11538
11538
|
};
|
|
@@ -21326,6 +21326,10 @@ 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 _objectSpread2(_objectSpread2({}, response), {}, {
|
|
21331
|
+
data: response
|
|
21332
|
+
});
|
|
21329
21333
|
});
|
|
21330
21334
|
}
|
|
21331
21335
|
}, {
|
package/es/checkout.js
CHANGED
|
@@ -11529,7 +11529,7 @@ var TransactionAPI = {
|
|
|
11529
11529
|
return axiosInstance.get(url, {
|
|
11530
11530
|
headers: headers
|
|
11531
11531
|
}).then(function (response) {
|
|
11532
|
-
return
|
|
11532
|
+
return response.data;
|
|
11533
11533
|
});
|
|
11534
11534
|
}
|
|
11535
11535
|
};
|
|
@@ -21323,6 +21323,10 @@ 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 _objectSpread2(_objectSpread2({}, response), {}, {
|
|
21328
|
+
data: response
|
|
21329
|
+
});
|
|
21326
21330
|
});
|
|
21327
21331
|
}
|
|
21328
21332
|
}, {
|
package/lib/checkout.js
CHANGED
|
@@ -11533,7 +11533,7 @@ var TransactionAPI = {
|
|
|
11533
11533
|
return axiosInstance.get(url, {
|
|
11534
11534
|
headers: headers
|
|
11535
11535
|
}).then(function (response) {
|
|
11536
|
-
return
|
|
11536
|
+
return response.data;
|
|
11537
11537
|
});
|
|
11538
11538
|
}
|
|
11539
11539
|
};
|
|
@@ -21327,6 +21327,10 @@ 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 _objectSpread2(_objectSpread2({}, response), {}, {
|
|
21332
|
+
data: response
|
|
21333
|
+
});
|
|
21330
21334
|
});
|
|
21331
21335
|
}
|
|
21332
21336
|
}, {
|