@paystack/checkout-js 1.49.0-dev.4 → 1.49.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/README.md +3 -0
- package/dist/checkout.js +1 -1
- package/es/checkout.js +1 -1
- package/lib/checkout.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
# Checkout JS Documentation
|
|
2
|
+
|
|
2
3
|
Checkout JS is a billing library for building web checkout flows on Paystack.
|
|
3
4
|
|
|
4
5
|
# Installation
|
|
6
|
+
|
|
5
7
|
```bash
|
|
6
8
|
npm install @paystack/checkout-js --save
|
|
7
9
|
```
|
|
8
10
|
|
|
9
11
|
or just grab the js file and add it to your html directly
|
|
12
|
+
|
|
10
13
|
```html
|
|
11
14
|
<script src="https://js.paystack.co/v1/checkout.js"></script>
|
|
12
15
|
```
|
package/dist/checkout.js
CHANGED
|
@@ -22100,7 +22100,7 @@ var Paystack = (function (exports) {
|
|
|
22100
22100
|
}, language && {
|
|
22101
22101
|
'Accept-Language': language
|
|
22102
22102
|
});
|
|
22103
|
-
var url = new URL("preauthorization/
|
|
22103
|
+
var url = new URL("preauthorization/verify_access_code/".concat(accessCode), configToUse.paystackApiUrl).toString();
|
|
22104
22104
|
return axiosInstance.get(url, {
|
|
22105
22105
|
headers: headers
|
|
22106
22106
|
}).then(function (response) {
|
package/es/checkout.js
CHANGED
|
@@ -22097,7 +22097,7 @@ var PreauthorizationAPI = {
|
|
|
22097
22097
|
}, language && {
|
|
22098
22098
|
'Accept-Language': language
|
|
22099
22099
|
});
|
|
22100
|
-
var url = new URL("preauthorization/
|
|
22100
|
+
var url = new URL("preauthorization/verify_access_code/".concat(accessCode), configToUse.paystackApiUrl).toString();
|
|
22101
22101
|
return axiosInstance.get(url, {
|
|
22102
22102
|
headers: headers
|
|
22103
22103
|
}).then(function (response) {
|
package/lib/checkout.js
CHANGED
|
@@ -22101,7 +22101,7 @@ var PreauthorizationAPI = {
|
|
|
22101
22101
|
}, language && {
|
|
22102
22102
|
'Accept-Language': language
|
|
22103
22103
|
});
|
|
22104
|
-
var url = new URL("preauthorization/
|
|
22104
|
+
var url = new URL("preauthorization/verify_access_code/".concat(accessCode), configToUse.paystackApiUrl).toString();
|
|
22105
22105
|
return axiosInstance.get(url, {
|
|
22106
22106
|
headers: headers
|
|
22107
22107
|
}).then(function (response) {
|