Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

atlas-pay-sdk

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atlas-pay-sdk - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc