airwallex-payment-elements
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -1,2 +0,1 @@ | ||
"use strict"; | ||
var __extends = (this && this.__extends) || (function () { | ||
@@ -19,4 +18,3 @@ var extendStatics = function (d, b) { | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var lit_element_1 = require("lit-element"); | ||
import { LitElement, html } from 'lit-element'; | ||
var CHECKOUT_IFRAME_NAME = 'airwallex_checkout_frame'; | ||
@@ -70,3 +68,3 @@ var IframeStyle = { | ||
Airwallex.prototype.render = function () { | ||
return lit_element_1.html(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n <iframe\n frameBorder=\"0\"\n allowtransparency=\"true\"\n importance=\"high\"\n scrolling=\"no\"\n name=", "\n allowpaymentrequest=\"true\"\n src=\"https://", "/checkout/", "?origin=", "\"\n title=\"Secure airwallex payment frame\"\n style=", "\n />\n "], ["\n <iframe\n frameBorder=\"0\"\n allowtransparency=\"true\"\n importance=\"high\"\n scrolling=\"no\"\n name=", "\n allowpaymentrequest=\"true\"\n src=\"https://", | ||
return html(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n <iframe\n frameBorder=\"0\"\n allowtransparency=\"true\"\n importance=\"high\"\n scrolling=\"no\"\n name=", "\n allowpaymentrequest=\"true\"\n src=\"https://", "/checkout/", "?origin=", "\"\n title=\"Secure airwallex payment frame\"\n style=", "\n />\n "], ["\n <iframe\n frameBorder=\"0\"\n allowtransparency=\"true\"\n importance=\"high\"\n scrolling=\"no\"\n name=", "\n allowpaymentrequest=\"true\"\n src=\"https://", | ||
"/checkout/", | ||
@@ -77,5 +75,6 @@ "?origin=", | ||
return Airwallex; | ||
}(lit_element_1.LitElement)); | ||
}(LitElement)); | ||
export { Airwallex }; | ||
customElements.define('airwallex-element', Airwallex); | ||
var templateObject_1; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "airwallex-payment-elements", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.js", |
@@ -6,8 +6,7 @@ { | ||
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ | ||
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ | ||
"lib": ["es2017", "es7", "es6", "dom"], /* Specify library files to be included in the compilation. */ | ||
"module": "es2015", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ | ||
"lib": ["es2017", "dom"], /* Specify library files to be included in the compilation. */ | ||
// "allowJs": true, /* Allow javascript files to be compiled. */ | ||
"skipLibCheck": true, | ||
// "checkJs": true, /* Report errors in .js files. */ | ||
"jsx": "react", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ | ||
//"jsx": "react", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ | ||
"declaration": true, /* Generates corresponding '.d.ts' file. */ | ||
@@ -28,5 +27,5 @@ // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ | ||
/* Strict Type-Checking Options */ | ||
"strict": true, /* Enable all strict type-checking options. */ | ||
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ | ||
"strictNullChecks": true, /* Enable strict null checks. */ | ||
// "strict": true, /* Enable all strict type-checking options. */ | ||
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ | ||
// "strictNullChecks": true, /* Enable strict null checks. */ | ||
// "strictFunctionTypes": true, /* Enable strict checking of function types. */ | ||
@@ -57,5 +56,5 @@ // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */ | ||
"allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ | ||
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ | ||
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ | ||
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ | ||
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ | ||
"allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ | ||
@@ -62,0 +61,0 @@ /* Source Map Options */ |
Sorry, the diff of this file is not supported yet
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
13995
7
236