airwallex-payment-elements
Advanced tools
Comparing version 0.0.64 to 0.0.65
@@ -1,4 +0,4 @@ | ||
/* Airwallex Checkout Component Version [0.0.64] */ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=`https://checkout.airwallex.com/assets/bundle.${"0.0.64"}.min.js`,r=Promise.resolve().then(()=>{if("undefined"==typeof window)return null;if(window.Airwallex)return window.Airwallex;const r=document.querySelector(`script[src="${e}"], script[src="${e}/"]`)||(()=>{const r=document.createElement("script");r.src=e;const t=document.head||document.body;if(!t)throw new Error("Expected document.body not to be null. Airwallex.js requires a <head> or <body> element.");return t.appendChild(r),r})();return new Promise((e,t)=>{r.addEventListener("load",()=>{window.Airwallex?e():t(new Error("Failed to load Airwallex.js"))}),r.addEventListener("error",()=>{t(new Error("Failed to load Airwallex.js"))})})});exports.loadAirwallex=()=>r; | ||
/* Airwallex Checkout Component Version [0.0.65] */ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=`https://checkout.airwallex.com/assets/bundle.${"0.0.65"}.min.js`,r=Promise.resolve().then(()=>{if("undefined"==typeof window)return null;if(window.Airwallex)return window.Airwallex;const r=document.querySelector(`script[src="${e}"], script[src="${e}/"]`)||(()=>{const r=document.createElement("script");r.src=e;const t=document.head||document.body;if(!t)throw new Error("Expected document.body not to be null. Airwallex.js requires a <head> or <body> element.");return t.appendChild(r),r})();return new Promise((e,t)=>{r.addEventListener("load",()=>{window.Airwallex?e():t(new Error("Failed to load Airwallex.js"))}),r.addEventListener("error",()=>{t(new Error("Failed to load Airwallex.js"))})})});exports.loadAirwallex=()=>r; | ||
/* Airwallex @Charlie.Lang */ | ||
//# sourceMappingURL=airwallex.cjs.js.map |
@@ -1,4 +0,4 @@ | ||
/* Airwallex Checkout Component Version [0.0.64] */ | ||
const e=`https://checkout.airwallex.com/assets/bundle.${"0.0.64"}.min.js`,r=Promise.resolve().then(()=>{if("undefined"==typeof window)return null;if(window.Airwallex)return window.Airwallex;const r=document.querySelector(`script[src="${e}"], script[src="${e}/"]`)||(()=>{const r=document.createElement("script");r.src=e;const o=document.head||document.body;if(!o)throw new Error("Expected document.body not to be null. Airwallex.js requires a <head> or <body> element.");return o.appendChild(r),r})();return new Promise((e,o)=>{r.addEventListener("load",()=>{window.Airwallex?e():o(new Error("Failed to load Airwallex.js"))}),r.addEventListener("error",()=>{o(new Error("Failed to load Airwallex.js"))})})}),o=()=>r;export{o as loadAirwallex}; | ||
/* Airwallex Checkout Component Version [0.0.65] */ | ||
const e=`https://checkout.airwallex.com/assets/bundle.${"0.0.65"}.min.js`,r=Promise.resolve().then(()=>{if("undefined"==typeof window)return null;if(window.Airwallex)return window.Airwallex;const r=document.querySelector(`script[src="${e}"], script[src="${e}/"]`)||(()=>{const r=document.createElement("script");r.src=e;const o=document.head||document.body;if(!o)throw new Error("Expected document.body not to be null. Airwallex.js requires a <head> or <body> element.");return o.appendChild(r),r})();return new Promise((e,o)=>{r.addEventListener("load",()=>{window.Airwallex?e():o(new Error("Failed to load Airwallex.js"))}),r.addEventListener("error",()=>{o(new Error("Failed to load Airwallex.js"))})})}),o=()=>r;export{o as loadAirwallex}; | ||
/* Airwallex @Charlie.Lang */ | ||
//# sourceMappingURL=airwallex.es.js.map |
@@ -1,4 +0,4 @@ | ||
/* Airwallex Checkout Component Version [0.0.64] */ | ||
var Airwallex=function(e){"use strict";const r=`https://checkout.airwallex.com/assets/bundle.${"0.0.64"}.min.js`,t=Promise.resolve().then(()=>{if("undefined"==typeof window)return null;if(window.Airwallex)return window.Airwallex;const e=document.querySelector(`script[src="${r}"], script[src="${r}/"]`)||(()=>{const e=document.createElement("script");e.src=r;const t=document.head||document.body;if(!t)throw new Error("Expected document.body not to be null. Airwallex.js requires a <head> or <body> element.");return t.appendChild(e),e})();return new Promise((r,t)=>{e.addEventListener("load",()=>{window.Airwallex?r():t(new Error("Failed to load Airwallex.js"))}),e.addEventListener("error",()=>{t(new Error("Failed to load Airwallex.js"))})})});return e.loadAirwallex=()=>t,e}({}); | ||
/* Airwallex Checkout Component Version [0.0.65] */ | ||
var Airwallex=function(e){"use strict";const r=`https://checkout.airwallex.com/assets/bundle.${"0.0.65"}.min.js`,t=Promise.resolve().then(()=>{if("undefined"==typeof window)return null;if(window.Airwallex)return window.Airwallex;const e=document.querySelector(`script[src="${r}"], script[src="${r}/"]`)||(()=>{const e=document.createElement("script");e.src=r;const t=document.head||document.body;if(!t)throw new Error("Expected document.body not to be null. Airwallex.js requires a <head> or <body> element.");return t.appendChild(e),e})();return new Promise((r,t)=>{e.addEventListener("load",()=>{window.Airwallex?r():t(new Error("Failed to load Airwallex.js"))}),e.addEventListener("error",()=>{t(new Error("Failed to load Airwallex.js"))})})});return e.loadAirwallex=()=>t,e}({}); | ||
/* Airwallex @Charlie.Lang */ | ||
//# sourceMappingURL=airwallex.iife.js.map |
{ | ||
"name": "airwallex-payment-elements", | ||
"version": "0.0.64", | ||
"version": "0.0.65", | ||
"module": "lib/airwallex.es.js", | ||
@@ -5,0 +5,0 @@ "types": "types/index.d.ts", |
@@ -32,3 +32,3 @@ # airwallex-payment-elements | ||
```html | ||
<script src="https://js.airwallex.com/checkout.min.js"></script> | ||
<script src="https://checkout.airwallex.com/assets/bundle.min.js"></script> | ||
``` | ||
@@ -50,5 +50,4 @@ | ||
Production: https://checkout.airwallex.com | ||
Demo: https://demo-checkout.airwallex.com | ||
Staging: https://staging-pacheckoutui.airwallex.com | ||
Dev: https://dev-pacheckoutui.airwallex.com/ | ||
Demo: https://checkout-demo.airwallex.com | ||
Staging: https://checkout-staging.airwallex.com | ||
``` | ||
@@ -78,3 +77,3 @@ | ||
export interface HostPaymentPage { | ||
host: string; // {env}-checkout.airwallex.com | checkout.airwallex.com | ||
host: string; // checkout-{env}.airwallex.com | checkout.airwallex.com | ||
clientSecret: string; | ||
@@ -81,0 +80,0 @@ theme?: Style; |
@@ -53,3 +53,3 @@ ///<reference path='./baseElement.d.ts' /> | ||
interface HostPaymentPage { | ||
host: string; // {env}-checkout.airwallex.com | checkout.airwallex.com | ||
host: string; // checkout-{env}.airwallex.com | checkout.airwallex.com | ||
intentId: string; | ||
@@ -56,0 +56,0 @@ clientSecret: string; |
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
31115
264