Skip to content

Commit

Permalink
chore(release): 4.0.309 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Brain committed Jan 8, 2020
1 parent b4a6b87 commit a89b0a1
Show file tree
Hide file tree
Showing 16 changed files with 67 additions and 150 deletions.
1 change: 0 additions & 1 deletion dist/checkout.4.0.308.js.map

This file was deleted.

1 change: 0 additions & 1 deletion dist/checkout.4.0.308.min.js.map

This file was deleted.

51 changes: 17 additions & 34 deletions dist/checkout.4.0.308.js → dist/checkout.4.0.309.js
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@ function initLogger() {
country: config["a" /* config */].locale.country,
lang: config["a" /* config */].locale.lang,
uid: Object(session["c" /* getSessionID */])(),
ver: "4.0.308"
ver: "4.0.309"
};
});
Object(client["a" /* addHeaderBuilder */])(function () {
Expand Down Expand Up @@ -2024,7 +2024,7 @@ function isPayPalObjects() {
}
function getScriptVersion() {
if (false) {} else {
return false ? undefined : "4.0.308";
return false ? undefined : "4.0.309";
}
}
function getCurrentScriptUrl() {
Expand All @@ -2040,7 +2040,7 @@ function getCurrentScriptUrl() {
return scriptUrl;
}

return "https://www.paypalobjects.com/api/checkout." + "4.0.308" + ( false ? undefined : '') + ".js";
return "https://www.paypalobjects.com/api/checkout." + "4.0.309" + ( false ? undefined : '') + ".js";
}
function getDomainSetting(name, def) {
var hostname = window.xchild ? window.xchild.getParentDomain() : Object(cross_domain_utils_src["h" /* getDomain */])();
Expand Down Expand Up @@ -2405,10 +2405,10 @@ function getDefaultEnv() {

var config = {
locales: constants["z" /* LOCALE */],
scriptUrl: false ? undefined : "//www.paypalobjects.com/api/" + "checkout.4.0.308.js",
scriptUrl: false ? undefined : "//www.paypalobjects.com/api/" + "checkout.4.0.309.js",
// eslint-disable-next-line security/detect-unsafe-regex, unicorn/no-unsafe-regex
paypal_domain_regex: /^(https?|mock):\/\/[a-zA-Z0-9_.-]+\.paypal\.com(:\d+)?$/,
version: "4.0.308",
version: "4.0.309",
cors: true,
env: getDefaultEnv(),
state: 'checkoutjs',
Expand Down Expand Up @@ -10125,20 +10125,6 @@ function supportsPopups(ua) {

return !(isIosWebview(ua) || isAndroidWebview(ua) || isOperaMini(ua) || isFirefoxIOS(ua) || isEdgeIOS(ua) || isFacebookWebView(ua) || isQQBrowser(ua) || isElectron() || isMacOsCna() || isStandAlone());
}
function isChrome(ua) {
if (ua === void 0) {
ua = getUserAgent();
}

return /Chrome|Chromium|CriOS/.test(ua);
}
function isSafari(ua) {
if (ua === void 0) {
ua = getUserAgent();
}

return /Safari/.test(ua) && !isChrome(ua);
}
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(11);

Expand Down Expand Up @@ -12664,8 +12650,6 @@ function wrapPromise(method, _temp) {
/* unused concated harmony import isIEIntranet */
/* unused concated harmony import isMacOsCna */
/* unused concated harmony import supportsPopups */
/* unused concated harmony import isChrome */
/* unused concated harmony import isSafari */
/* unused concated harmony import isDocumentReady */
/* unused concated harmony import urlEncode */
/* unused concated harmony import waitForWindowReady */
Expand Down Expand Up @@ -20614,7 +20598,7 @@ function beacon(event, payload) {

try {
payload.event = "ppxo_" + event;
payload.version = "4.0.308";
payload.version = "4.0.309";
payload.host = window.location.host;
payload.uid = Object(_session__WEBPACK_IMPORTED_MODULE_3__[/* getSessionID */ "c"])();
payload.appName = APP_NAME;
Expand Down Expand Up @@ -20670,7 +20654,7 @@ function checkpoint(name, payload, options) {
var checkpointName = name;

if (options.version) {
var version = "4.0.308".replace(/[^0-9]+/g, '_');
var version = "4.0.309".replace(/[^0-9]+/g, '_');

checkpointName = version + "_" + checkpointName;
}
Expand All @@ -20687,7 +20671,7 @@ var FPTI_URL = 'https://t.paypal.com/ts';

function buildPayload() {
return {
v: "checkout.js." + "4.0.308",
v: "checkout.js." + "4.0.309",
t: Date.now(),
g: new Date().getTimezoneOffset(),
flnm: 'ec:hermes:',
Expand Down Expand Up @@ -25811,17 +25795,17 @@ if ( true && !Object(_lib_security__WEBPACK_IMPORTED_MODULE_3__[/* isPayPalDomai
throw new Error("Do not integrate with versioned script url");
}

if (window.paypal && window.paypal.version === "4.0.308") {
if (window.paypal && window.paypal.version === "4.0.309") {
Object(_lib_beacon__WEBPACK_IMPORTED_MODULE_0__[/* beacon */ "a"])('bootstrap_already_loaded_same_version', {
version: "4.0.308"
version: "4.0.309"
});
throw new Error("PayPal Checkout Integration Script with same version (" + "4.0.308" + ") already loaded on page");
} else if (window.paypal && window.paypal.version && window.paypal.version !== "4.0.308" && window.paypal.Button && window.paypal.Button.render) {
throw new Error("PayPal Checkout Integration Script with same version (" + "4.0.309" + ") already loaded on page");
} else if (window.paypal && window.paypal.version && window.paypal.version !== "4.0.309" && window.paypal.Button && window.paypal.Button.render) {
Object(_lib_beacon__WEBPACK_IMPORTED_MODULE_0__[/* beacon */ "a"])('bootstrap_already_loaded_different_version', {
existingVersion: window.paypal.version,
version: "4.0.308"
version: "4.0.309"
});
throw new Error("PayPal Checkout Integration Script with different version (" + window.paypal.version + ") already loaded on page, current version: " + "4.0.308");
throw new Error("PayPal Checkout Integration Script with different version (" + window.paypal.version + ") already loaded on page, current version: " + "4.0.309");
} else {
try {
var _interface = __webpack_require__(66);
Expand Down Expand Up @@ -34865,7 +34849,6 @@ function renderButton(_ref13) {
logoColor: logoColor
}),
role: "button",
"aria-label": source,
tabindex: hasTabIndex && 0
}), source === constants["v" /* FUNDING */].CARD ? contentText : renderButtonTextDiv({
contentText: contentText,
Expand Down Expand Up @@ -35051,7 +35034,7 @@ function componentTemplate(_ref19) {
});
var scriptNode = renderScript();
var labelPowerByPayPal = cards.length > 0 ? renderPowerByPaypalLogo(normalizeProps(props)) : null;
return Object(jsx["c" /* jsxToHTML */])("div", Object(esm_extends["a" /* default */])({}, (_ref20 = {}, _ref20[constants["c" /* ATTRIBUTE */].VERSION] = "4.0.308", _ref20), {
return Object(jsx["c" /* jsxToHTML */])("div", Object(esm_extends["a" /* default */])({}, (_ref20 = {}, _ref20[constants["c" /* ATTRIBUTE */].VERSION] = "4.0.309", _ref20), {
class: class_CLASS.CONTAINER + " " + getCommonButtonClasses({
layout: layout,
shape: shape,
Expand Down Expand Up @@ -36794,7 +36777,7 @@ var postRobot = post_robot_src;


var onPossiblyUnhandledException = zalgo_promise_src["a" /* ZalgoPromise */].onPossiblyUnhandledException;
var interface_version = "4.0.308";
var interface_version = "4.0.309";
var interface_checkout;
var apps;

Expand Down Expand Up @@ -38122,4 +38105,4 @@ Object(lib["K" /* onDocumentReady */])(function () {

/***/ })
/******/ ]);
//# sourceMappingURL=checkout.4.0.308.js.map
//# sourceMappingURL=checkout.4.0.309.js.map
1 change: 1 addition & 0 deletions dist/checkout.4.0.309.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/checkout.4.0.308.min.js → dist/checkout.4.0.309.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/checkout.4.0.309.min.js.map

Large diffs are not rendered by default.

17 changes: 1 addition & 16 deletions dist/checkout.button.render.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,20 +370,6 @@ function supportsPopups(ua) {

return !(isIosWebview(ua) || isAndroidWebview(ua) || isOperaMini(ua) || isFirefoxIOS(ua) || isEdgeIOS(ua) || isFacebookWebView(ua) || isQQBrowser(ua) || isElectron() || isMacOsCna() || isStandAlone());
}
function isChrome(ua) {
if (ua === void 0) {
ua = getUserAgent();
}

return /Chrome|Chromium|CriOS/.test(ua);
}
function isSafari(ua) {
if (ua === void 0) {
ua = getUserAgent();
}

return /Safari/.test(ua) && !isChrome(ua);
}
// CONCATENATED MODULE: ./node_modules/zalgo-promise/src/utils.js
function utils_isPromise(item) {
try {
Expand Down Expand Up @@ -15198,7 +15184,6 @@ function renderButton(_ref13) {
logoColor: logoColor
}),
role: "button",
"aria-label": source,
tabindex: hasTabIndex && 0
}), source === FUNDING.CARD ? contentText : renderButtonTextDiv({
contentText: contentText,
Expand Down Expand Up @@ -15382,7 +15367,7 @@ function componentTemplate(_ref19) {
});
var scriptNode = renderScript();
var labelPowerByPayPal = cards.length > 0 ? renderPowerByPaypalLogo(normalizeProps(props)) : null;
return jsxToHTML("div", _extends({}, (_ref20 = {}, _ref20[ATTRIBUTE.VERSION] = "4.0.308", _ref20), {
return jsxToHTML("div", _extends({}, (_ref20 = {}, _ref20[ATTRIBUTE.VERSION] = "4.0.309", _ref20), {
class: CLASS.CONTAINER + " " + getCommonButtonClasses({
layout: layout,
shape: shape,
Expand Down
47 changes: 15 additions & 32 deletions dist/checkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@ function initLogger() {
country: config["a" /* config */].locale.country,
lang: config["a" /* config */].locale.lang,
uid: Object(session["c" /* getSessionID */])(),
ver: "4.0.308"
ver: "4.0.309"
};
});
Object(client["a" /* addHeaderBuilder */])(function () {
Expand Down Expand Up @@ -2026,7 +2026,7 @@ function getScriptVersion() {
if ( true && isPayPalObjects()) {
return false ? undefined : "4";
} else {
return false ? undefined : "4.0.308";
return false ? undefined : "4.0.309";
}
}
function getCurrentScriptUrl() {
Expand All @@ -2042,7 +2042,7 @@ function getCurrentScriptUrl() {
return scriptUrl;
}

return "https://www.paypalobjects.com/api/checkout." + "4.0.308" + ( false ? undefined : '') + ".js";
return "https://www.paypalobjects.com/api/checkout." + "4.0.309" + ( false ? undefined : '') + ".js";
}
function getDomainSetting(name, def) {
var hostname = window.xchild ? window.xchild.getParentDomain() : Object(cross_domain_utils_src["h" /* getDomain */])();
Expand Down Expand Up @@ -2410,7 +2410,7 @@ var config = {
scriptUrl: false ? undefined : "//www.paypalobjects.com/api/" + "checkout.js",
// eslint-disable-next-line security/detect-unsafe-regex, unicorn/no-unsafe-regex
paypal_domain_regex: /^(https?|mock):\/\/[a-zA-Z0-9_.-]+\.paypal\.com(:\d+)?$/,
version: "4.0.308",
version: "4.0.309",
cors: true,
env: getDefaultEnv(),
state: 'checkoutjs',
Expand Down Expand Up @@ -10127,20 +10127,6 @@ function supportsPopups(ua) {

return !(isIosWebview(ua) || isAndroidWebview(ua) || isOperaMini(ua) || isFirefoxIOS(ua) || isEdgeIOS(ua) || isFacebookWebView(ua) || isQQBrowser(ua) || isElectron() || isMacOsCna() || isStandAlone());
}
function isChrome(ua) {
if (ua === void 0) {
ua = getUserAgent();
}

return /Chrome|Chromium|CriOS/.test(ua);
}
function isSafari(ua) {
if (ua === void 0) {
ua = getUserAgent();
}

return /Safari/.test(ua) && !isChrome(ua);
}
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
var esm_extends = __webpack_require__(11);

Expand Down Expand Up @@ -12666,8 +12652,6 @@ function wrapPromise(method, _temp) {
/* unused concated harmony import isIEIntranet */
/* unused concated harmony import isMacOsCna */
/* unused concated harmony import supportsPopups */
/* unused concated harmony import isChrome */
/* unused concated harmony import isSafari */
/* unused concated harmony import isDocumentReady */
/* unused concated harmony import urlEncode */
/* unused concated harmony import waitForWindowReady */
Expand Down Expand Up @@ -20616,7 +20600,7 @@ function beacon(event, payload) {

try {
payload.event = "ppxo_" + event;
payload.version = "4.0.308";
payload.version = "4.0.309";
payload.host = window.location.host;
payload.uid = Object(_session__WEBPACK_IMPORTED_MODULE_3__[/* getSessionID */ "c"])();
payload.appName = APP_NAME;
Expand Down Expand Up @@ -20672,7 +20656,7 @@ function checkpoint(name, payload, options) {
var checkpointName = name;

if (options.version) {
var version = "4.0.308".replace(/[^0-9]+/g, '_');
var version = "4.0.309".replace(/[^0-9]+/g, '_');

checkpointName = version + "_" + checkpointName;
}
Expand All @@ -20689,7 +20673,7 @@ var FPTI_URL = 'https://t.paypal.com/ts';

function buildPayload() {
return {
v: "checkout.js." + "4.0.308",
v: "checkout.js." + "4.0.309",
t: Date.now(),
g: new Date().getTimezoneOffset(),
flnm: 'ec:hermes:',
Expand Down Expand Up @@ -25811,17 +25795,17 @@ __webpack_require__.r(__webpack_exports__);

if (false) {}

if (window.paypal && window.paypal.version === "4.0.308") {
if (window.paypal && window.paypal.version === "4.0.309") {
Object(_lib_beacon__WEBPACK_IMPORTED_MODULE_0__[/* beacon */ "a"])('bootstrap_already_loaded_same_version', {
version: "4.0.308"
version: "4.0.309"
});
throw new Error("PayPal Checkout Integration Script with same version (" + "4.0.308" + ") already loaded on page");
} else if (window.paypal && window.paypal.version && window.paypal.version !== "4.0.308" && window.paypal.Button && window.paypal.Button.render) {
throw new Error("PayPal Checkout Integration Script with same version (" + "4.0.309" + ") already loaded on page");
} else if (window.paypal && window.paypal.version && window.paypal.version !== "4.0.309" && window.paypal.Button && window.paypal.Button.render) {
Object(_lib_beacon__WEBPACK_IMPORTED_MODULE_0__[/* beacon */ "a"])('bootstrap_already_loaded_different_version', {
existingVersion: window.paypal.version,
version: "4.0.308"
version: "4.0.309"
});
throw new Error("PayPal Checkout Integration Script with different version (" + window.paypal.version + ") already loaded on page, current version: " + "4.0.308");
throw new Error("PayPal Checkout Integration Script with different version (" + window.paypal.version + ") already loaded on page, current version: " + "4.0.309");
} else {
try {
var _interface = __webpack_require__(66);
Expand Down Expand Up @@ -34865,7 +34849,6 @@ function renderButton(_ref13) {
logoColor: logoColor
}),
role: "button",
"aria-label": source,
tabindex: hasTabIndex && 0
}), source === constants["v" /* FUNDING */].CARD ? contentText : renderButtonTextDiv({
contentText: contentText,
Expand Down Expand Up @@ -35051,7 +35034,7 @@ function componentTemplate(_ref19) {
});
var scriptNode = renderScript();
var labelPowerByPayPal = cards.length > 0 ? renderPowerByPaypalLogo(normalizeProps(props)) : null;
return Object(jsx["c" /* jsxToHTML */])("div", Object(esm_extends["a" /* default */])({}, (_ref20 = {}, _ref20[constants["c" /* ATTRIBUTE */].VERSION] = "4.0.308", _ref20), {
return Object(jsx["c" /* jsxToHTML */])("div", Object(esm_extends["a" /* default */])({}, (_ref20 = {}, _ref20[constants["c" /* ATTRIBUTE */].VERSION] = "4.0.309", _ref20), {
class: class_CLASS.CONTAINER + " " + getCommonButtonClasses({
layout: layout,
shape: shape,
Expand Down Expand Up @@ -36794,7 +36777,7 @@ var postRobot = post_robot_src;


var onPossiblyUnhandledException = zalgo_promise_src["a" /* ZalgoPromise */].onPossiblyUnhandledException;
var interface_version = "4.0.308";
var interface_version = "4.0.309";
var interface_checkout;
var apps;

Expand Down
2 changes: 1 addition & 1 deletion dist/checkout.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit a89b0a1

Please sign in to comment.