airwallex-payment-elements
Advanced tools
Comparing version 0.0.15 to 0.0.16
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
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
2825020
0