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

xecond.js

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xecond.js - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

10

index.js

@@ -20,8 +20,8 @@ const PAYMENT_PAGE = 'https://master.d3jzulvhjxqnlp.amplifyapp.com/pay';

amount = Number(amount);
Connect.amount = amount;
Connect.currency = currency;
Xecond.amount = amount;
Xecond.currency = currency;
}
static redirectToPaymentPage() {
window.location.href = `${PAYMENT_PAGE}/?key=${Connect.publicKey}&amount=${Connect.amount}&currency=${Connect.currency}`;
window.location.href = `${PAYMENT_PAGE}/?key=${Xecond.publicKey}&amount=${Xecond.amount}&currency=${Xecond.currency}`;
}

@@ -31,5 +31,5 @@ }

window.addEventListener('DOMContentLoaded', () => {
document.getElementsByClassName('connect-pay')[0].addEventListener('click', () => {
Connect.redirectToPaymentPage();
document.getElementsByClassName('xecond-pay')[0].addEventListener('click', () => {
Xecond.redirectToPaymentPage();
});
});
{
"name": "xecond.js",
"version": "1.0.0",
"version": "1.0.1",
"description": "CDN for integration to connect Xecond Payment Gateway.",

@@ -5,0 +5,0 @@ "main": "index.js",

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