atlas-pay-sdk
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "atlas-pay-sdk", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Raven Atlas NodeJS Payment SDK", | ||
@@ -33,2 +33,2 @@ "keywords": [ | ||
} | ||
} | ||
} |
@@ -5,3 +5,3 @@ # Atlas Pay by Raven | ||
[![Build][github-build]][github-build-url] | ||
![npm-typescript]![License][github-license][github-license-url] | ||
![npm-typescript]![License][github-license]][github-license-url] | ||
@@ -38,4 +38,5 @@ Atlas Pay by Raven bank allows you recieve payments and build powerful checkout experience on your website and apps, to use this you will need to create an account on raven atlas, visit, ["Raven bank"](https://getravenbank.com/raven-atlas) for more. | ||
import './App.css' | ||
import AtlasPay from 'atlas-pay-sdk'; | ||
import {AtlasPay} from 'atlas-pay-sdk'; | ||
@@ -61,4 +62,4 @@ function App() { | ||
/** | ||
* handle generate respons, this triggers when you try generating a new ref via AtlasPay.generate(), you catch ther response here | ||
* (optional) : you can decide to retrieve the onClose message we send via data | ||
* handle generate response, this triggers when you try generating a new ref via AtlasPay.generate(), you catch ther response here | ||
* (required) : you are to retrieve the response via the data returned | ||
**/ | ||
@@ -68,2 +69,11 @@ console.log('We got a response:', data); // or do your stuff here | ||
AtlasPay.onLoad = function(data) { | ||
/** | ||
* this triggers when the payment window is loaded onto your dom, it returns for you a payload containing the payment object. | ||
* (optional) : you can decide to retrieve the payment object we send via data | ||
**/ | ||
console.log('Payment window loaded:', data); // or do your stuff here | ||
} | ||
// set up your new payment parameters, along side your secret key | ||
@@ -70,0 +80,0 @@ |
@@ -1,4 +0,4 @@ | ||
// Type definitions for atlas-pay-sdk 1.0.0 | ||
// Type definitions for atlas-pay-sdk 1.0.1 | ||
// Project: https://github.com/RavenPayAfrica/atlas-webpay-node-sdk.git | ||
// Definitions by: Ezeani Emmanuel <ezeani.emmanuel@getravenbank.com> <https://github.com/RavenPayAfrica> | ||
// Definitions by: Ezeani Emmanuel <emmanuel.ezeani@getravenbank.com> <https://github.com/RavenPayAfrica> | ||
// Definitions: https://github.com/RavenPayAfrica/atlas-webpay-node-sdk.git | ||
@@ -5,0 +5,0 @@ // TypeScript Version: ^4.7.3 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
922035
111
8