connect-bank
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -8,5 +8,8 @@ const PAYMENT_PAGE = 'https://master.d3jzulvhjxqnlp.amplifyapp.com/pay'; | ||
constructor(publicKey) { | ||
constructor(publicKey, amount = undefined, currency = undefined) { | ||
if (!publicKey) throw Error('Public key did not state'); | ||
Connect.publicKey = publicKey; | ||
if (amount || currency) { | ||
Connect.setAmount(amount, currency); | ||
} | ||
} | ||
@@ -13,0 +16,0 @@ |
{ | ||
"name": "connect-bank", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "CDN for integration to connect neobank.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
1348
27