Socket
Socket
Sign inDemoInstall

airwallex-payment-elements

Package Overview
Dependencies
1
Maintainers
1
Versions
161
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.15 to 0.0.16

4

dist/index.d.ts
import { LitElement } from 'lit-element';
export declare class Airwallex extends LitElement {
host: string;
baseurl: string;
paymentId: string;

@@ -10,3 +10,3 @@ successUrl: string;

static readonly properties: {
host: {
baseurl: {
type: StringConstructor;

@@ -13,0 +13,0 @@ };

@@ -6,7 +6,7 @@ import { css, html, LitElement } from 'lit-element';

super();
this.host = this.paymentId = this.successUrl = this.cancelUrl = this.errorUrl = '';
this.baseurl = this.paymentId = this.successUrl = this.cancelUrl = this.errorUrl = '';
}
static get properties() {
return {
host: { type: String },
baseurl: { type: String },
paymentId: { type: String },

@@ -22,7 +22,7 @@ successUrl: { type: String },

width: 100%;
height: 950px;
height: 100%;
}
iframe {
width: 100%;
height: 950px;
height: 100%;
margin: 4px;

@@ -68,3 +68,3 @@ }

allowpaymentrequest="true"
src="https://${this.host}/checkout/${this.paymentId}?origin=${window.location.origin}"
src="${this.baseurl}/checkout/${this.paymentId}?origin=${window.location.origin}"
title="Secure airwallex payment frame"

@@ -71,0 +71,0 @@ />

import { LitElement } from 'lit-element';
export declare class Airwallex extends LitElement {
host: string;
baseurl: string;
paymentId: string;

@@ -10,3 +10,3 @@ successUrl: string;

static readonly properties: {
host: {
baseurl: {
type: StringConstructor;

@@ -13,0 +13,0 @@ };

{
"name": "airwallex-payment-elements",
"version": "0.0.15",
"version": "0.0.16",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "module": "dist/index.js",

@@ -6,3 +6,3 @@ import { css, html, LitElement } from 'lit-element';

export class Airwallex extends LitElement {
host: string;
baseurl: string;
paymentId: string;

@@ -14,7 +14,7 @@ successUrl: string;

super();
this.host = this.paymentId = this.successUrl = this.cancelUrl = this.errorUrl = '';
this.baseurl = this.paymentId = this.successUrl = this.cancelUrl = this.errorUrl = '';
}
static get properties() {
return {
host: { type: String },
baseurl: { type: String },
paymentId: { type: String },

@@ -30,7 +30,7 @@ successUrl: { type: String },

width: 100%;
height: 950px;
height: 100%;
}
iframe {
width: 100%;
height: 950px;
height: 100%;
margin: 4px;

@@ -76,3 +76,3 @@ }

allowpaymentrequest="true"
src="https://${this.host}/checkout/${this.paymentId}?origin=${window.location.origin}"
src="${this.baseurl}/checkout/${this.paymentId}?origin=${window.location.origin}"
title="Secure airwallex payment frame"

@@ -79,0 +79,0 @@ />

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 too big to display

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc