atlas-pay-sdk
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -5,3 +5,3 @@ | ||
* author: Ezeani Emmanuel <emmanuel.ezeani@getravenbank.com> | ||
* AtlasPaySdk.js v1.1.5 | ||
* AtlasPaySdk.js v2.0.0 | ||
* Released under the MIT license. | ||
@@ -8,0 +8,0 @@ */ |
@@ -5,3 +5,3 @@ | ||
* author: Ezeani Emmanuel <emmanuel.ezeani@getravenbank.com> | ||
* AtlasPaySdk.js v1.1.5 | ||
* AtlasPaySdk.js v2.0.0 | ||
* Released under the MIT license. | ||
@@ -8,0 +8,0 @@ */ |
@@ -1,4 +0,2 @@ | ||
interface PayProp { | ||
trxRef?: string; | ||
} | ||
type trxRef = string; | ||
interface ConfigProp { | ||
@@ -11,3 +9,3 @@ secret_key: string; | ||
redirect_url?: string; | ||
payment_methods?: ["card", "bank_transfer", "ussd", "raven"]; | ||
payment_methods?: string | undefined; | ||
} | ||
@@ -19,4 +17,4 @@ interface AtlasPayInterface { | ||
onLoad: (data: any) => void; | ||
init: (trxRef: PayProp) => void; | ||
generate: (data: ConfigProp) => void; | ||
init: (trxRef: trxRef) => void; | ||
generate: (config: ConfigProp) => void; | ||
shutdown: (data: any) => void; | ||
@@ -23,0 +21,0 @@ } |
/** | ||
* @license | ||
* author: Ezeani Emmanuel <emmanuel.ezeani@getravenbank.com> | ||
* AtlasPaySdk.js v1.1.5 | ||
* AtlasPaySdk.js v2.0.0 | ||
* Released under the MIT license. | ||
@@ -6,0 +6,0 @@ */ |
{ | ||
"name": "atlas-pay-sdk", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Raven Atlas NodeJS Payment SDK", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,4 +0,2 @@ | ||
interface PayProp { | ||
trxRef?: string; | ||
} | ||
type trxRef = string; | ||
interface ConfigProp { | ||
@@ -11,3 +9,3 @@ secret_key: string; | ||
redirect_url?: string; | ||
payment_methods?: ["card", "bank_transfer", "ussd", "raven"]; | ||
payment_methods?: string | undefined; | ||
} | ||
@@ -19,4 +17,4 @@ interface AtlasPayInterface { | ||
onLoad: (data: any) => void; | ||
init: (trxRef: PayProp) => void; | ||
generate: (data: ConfigProp) => void; | ||
init: (trxRef: trxRef) => void; | ||
generate: (config: ConfigProp) => void; | ||
shutdown: (data: any) => void; | ||
@@ -23,0 +21,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
0
508691
3483