Skip to content

Commit

Permalink
chore(release): 4.0.233 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon McIntosh committed Nov 7, 2018
1 parent b8a932d commit 0b192c6
Show file tree
Hide file tree
Showing 19 changed files with 76 additions and 509 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,10 @@
## <small>4.0.233 (2018-11-07)</small>

* refactor(device-x-domain-utils): Importing the source for `cross-domain-utils` to preserve flow type ([702c8b7](https://github.com/paypal/paypal-checkout/commit/702c8b7)), closes [#939](https://github.com/paypal/paypal-checkout/issues/939)
* refactor(publishing): post-version script will push to paypal repo (#940) ([b8a932d](https://github.com/paypal/paypal-checkout/commit/b8a932d)), closes [#940](https://github.com/paypal/paypal-checkout/issues/940)



## <small>4.0.232 (2018-11-07)</small>

* chore(package): Updating zoid (#938) ([a1ff39d](https://github.com/paypal/paypal-checkout/commit/a1ff39d)), closes [#938](https://github.com/paypal/paypal-checkout/issues/938)
Expand Down
1 change: 0 additions & 1 deletion dist/checkout.4.0.232.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions dist/checkout.4.0.232.min.js

This file was deleted.

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

This file was deleted.

144 changes: 17 additions & 127 deletions dist/checkout.4.0.232.js → dist/checkout.4.0.233.js
Expand Up @@ -1029,116 +1029,6 @@
return weakmap_CrossDomainSafeWeakMap;
});
},
"./node_modules/cross-domain-utils/dist/module/index.js": function(module, __webpack_exports__, __webpack_require__) {
"use strict";
var __WEBPACK_IMPORTED_MODULE_0__utils__ = __webpack_require__("./node_modules/cross-domain-utils/dist/module/utils.js");
__webpack_require__.d(__webpack_exports__, "getOpener", function() {
return __WEBPACK_IMPORTED_MODULE_0__utils__.a;
});
__webpack_require__.d(__webpack_exports__, "getTop", function() {
return __WEBPACK_IMPORTED_MODULE_0__utils__.b;
});
var __WEBPACK_IMPORTED_MODULE_1__types__ = __webpack_require__("./node_modules/cross-domain-utils/dist/module/types.js");
__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__types__);
},
"./node_modules/cross-domain-utils/dist/module/types.js": function(module, exports) {},
"./node_modules/cross-domain-utils/dist/module/utils.js": function(module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_exports__.a = getOpener;
__webpack_exports__.b = getTop;
function getParent(win) {
if (win) try {
if (win.parent && win.parent !== win) return win.parent;
} catch (err) {}
}
function getOpener(win) {
if (win && !getParent(win)) try {
return win.opener;
} catch (err) {}
}
function isAncestorParent(parent, child) {
if (!parent || !child) return !1;
var childParent = getParent(child);
return childParent ? childParent === parent : -1 !== function(win) {
var result = [];
try {
for (;win.parent !== win; ) {
result.push(win.parent);
win = win.parent;
}
} catch (err) {}
return result;
}(child).indexOf(parent);
}
function getFrames(win) {
var result = [], frames = void 0;
try {
frames = win.frames;
} catch (err) {
frames = win;
}
var len = void 0;
try {
len = frames.length;
} catch (err) {}
if (0 === len) return result;
if (len) {
for (var i = 0; i < len; i++) {
var frame = void 0;
try {
frame = frames[i];
} catch (err) {
continue;
}
result.push(frame);
}
return result;
}
for (var _i = 0; _i < 100; _i++) {
var _frame = void 0;
try {
_frame = frames[_i];
} catch (err) {
return result;
}
if (!_frame) return result;
result.push(_frame);
}
return result;
}
function getAllChildFrames(win) {
for (var result = [], _i3 = 0, _getFrames2 = getFrames(win), _length2 = null == _getFrames2 ? 0 : _getFrames2.length; _i3 < _length2; _i3++) {
var frame = _getFrames2[_i3];
result.push(frame);
for (var _i5 = 0, _getAllChildFrames2 = getAllChildFrames(frame), _length4 = null == _getAllChildFrames2 ? 0 : _getAllChildFrames2.length; _i5 < _length4; _i5++) {
var childFrame = _getAllChildFrames2[_i5];
result.push(childFrame);
}
}
return result;
}
function getTop(win) {
if (win) {
try {
if (win.top) return win.top;
} catch (err) {}
if (getParent(win) === win) return win;
try {
if (isAncestorParent(window, win) && window.top) return window.top;
} catch (err) {}
try {
if (isAncestorParent(win, window) && window.top) return window.top;
} catch (err) {}
for (var _i7 = 0, _getAllChildFrames4 = getAllChildFrames(win), _length6 = null == _getAllChildFrames4 ? 0 : _getAllChildFrames4.length; _i7 < _length6; _i7++) {
var frame = _getAllChildFrames4[_i7];
try {
if (frame.top) return frame.top;
} catch (err) {}
if (getParent(frame) === frame) return frame;
}
}
}
},
"./node_modules/cross-domain-utils/src/index.js": function(module, __webpack_exports__, __webpack_require__) {
"use strict";
var __WEBPACK_IMPORTED_MODULE_0__utils__ = __webpack_require__("./node_modules/cross-domain-utils/src/utils.js");
Expand Down Expand Up @@ -8658,9 +8548,9 @@
"./src/config/index.js": function(module, __webpack_exports__, __webpack_require__) {
"use strict";
var _checkoutUris, _altpayUris, _guestUris, _billingUris, _buttonUris, _inlinedCardFieldUris, _postBridgeUris, _legacyCheckoutUris, _buttonJSUrls, _locales, constants = __webpack_require__("./src/constants/index.js"), config = {
scriptUrl: "//www.paypalobjects.com/api/checkout.4.0.232.js",
scriptUrl: "//www.paypalobjects.com/api/checkout.4.0.233.js",
paypal_domain_regex: /^(https?|mock):\/\/[a-zA-Z0-9_.-]+\.paypal\.com(:\d+)?$/,
version: "4.0.232",
version: "4.0.233",
cors: !0,
env: constants.t.PRODUCTION,
state: "checkoutjs",
Expand Down Expand Up @@ -11729,7 +11619,7 @@
logoColor: "blue"
})));
}(normalizeProps(props)) : null;
return Object(jsx.b)("div", componentTemplate__extends({}, (_ref21 = {}, _ref21[constants.c.VERSION] = "4.0.232",
return Object(jsx.b)("div", componentTemplate__extends({}, (_ref21 = {}, _ref21[constants.c.VERSION] = "4.0.233",
_ref21), {
class: class_CLASS.CONTAINER + " " + getCommonButtonClasses({
layout: layout,
Expand Down Expand Up @@ -12701,7 +12591,7 @@
setup__track3[constants.u.KEY.TRANSITION] = constants.u.TRANSITION.SCRIPT_LOAD,
setup__track3));
}
var postRobot = post_robot_src, onPossiblyUnhandledException = zalgo_promise_src.a.onPossiblyUnhandledException, interface_version = "4.0.232", interface_checkout = void 0, apps = void 0, legacy = __webpack_require__("./src/legacy/index.js");
var postRobot = post_robot_src, onPossiblyUnhandledException = zalgo_promise_src.a.onPossiblyUnhandledException, interface_version = "4.0.233", interface_checkout = void 0, apps = void 0, legacy = __webpack_require__("./src/legacy/index.js");
interface_checkout = legacy.checkout;
apps = legacy.apps;
var interface_Checkout = void 0, interface_Card = void 0, interface_BillingPage = void 0, PayPalCheckout = void 0, destroyAll = void 0, enableCheckoutIframe = void 0, logger = void 0;
Expand Down Expand Up @@ -13619,7 +13509,7 @@
var payload = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
try {
payload.event = "ppxo_" + event;
payload.version = "4.0.232";
payload.version = "4.0.233";
payload.host = window.location.host;
payload.uid = Object(__WEBPACK_IMPORTED_MODULE_2__session__.c)();
payload.appName = APP_NAME;
Expand Down Expand Up @@ -13679,10 +13569,10 @@
}(ua) || function() {
if (void 0 !== process && process.versions && process.versions.electron) return !0;
return !1;
}() || (userAgent = getUserAgent(), /Macintosh.*AppleWebKit(?!.*Safari)/i.test(userAgent)) || !Object(__WEBPACK_IMPORTED_MODULE_0_cross_domain_utils__.getOpener)(Object(__WEBPACK_IMPORTED_MODULE_0_cross_domain_utils__.getTop)(window)) && (!0 === window.navigator.standalone || window.matchMedia("(display-mode: standalone)").matches));
}() || (userAgent = getUserAgent(), /Macintosh.*AppleWebKit(?!.*Safari)/i.test(userAgent)) || !Boolean(Object(__WEBPACK_IMPORTED_MODULE_0_cross_domain_utils_src__.getOpener)(Object(__WEBPACK_IMPORTED_MODULE_0_cross_domain_utils_src__.getTop)(window))) && (!0 === window.navigator.standalone || window.matchMedia("(display-mode: standalone)").matches));
var userAgent;
};
var __WEBPACK_IMPORTED_MODULE_0_cross_domain_utils__ = __webpack_require__("./node_modules/cross-domain-utils/dist/module/index.js");
var __WEBPACK_IMPORTED_MODULE_0_cross_domain_utils_src__ = __webpack_require__("./node_modules/cross-domain-utils/src/index.js");
function getUserAgent() {
return window.navigator.mockUserAgent || window.navigator.userAgent;
}
Expand Down Expand Up @@ -13944,7 +13834,7 @@
country: config.a.locale.country,
lang: config.a.locale.lang,
uid: Object(session.c)(),
ver: "4.0.232"
ver: "4.0.233"
};
});
Object(client.a)(function() {
Expand Down Expand Up @@ -14252,7 +14142,7 @@
return Boolean(getCurrentScript());
}
function getScriptVersion() {
return "4.0.232";
return "4.0.233";
}
var openMetaFrame = Object(util.j)(function() {
var env = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : config.a.env;
Expand All @@ -14269,7 +14159,7 @@
domain: metaFrameDomain
});
return src.bridge.openBridge(Object(dom.a)(metaFrameUrl, {
version: "4.0.232"
version: "4.0.233"
}), metaFrameDomain).then(function() {
return metaListener;
}).then(function(_ref) {
Expand Down Expand Up @@ -14995,18 +14885,18 @@
});
var __WEBPACK_IMPORTED_MODULE_0__lib_beacon__ = __webpack_require__("./src/lib/beacon.js"), __WEBPACK_IMPORTED_MODULE_1__lib_namespace__ = __webpack_require__("./src/lib/namespace.js"), __WEBPACK_IMPORTED_MODULE_2__lib_util__ = __webpack_require__("./src/lib/util.js");
if (!Object(__WEBPACK_IMPORTED_MODULE_2__lib_util__.g)()) throw new Error("Do not integrate with versioned script url");
if (window.paypal && "4.0.232" === window.paypal.version) {
if (window.paypal && "4.0.233" === window.paypal.version) {
Object(__WEBPACK_IMPORTED_MODULE_0__lib_beacon__.a)("bootstrap_already_loaded_same_version", {
version: "4.0.232"
version: "4.0.233"
});
throw new Error("PayPal Checkout Integration Script with same version (4.0.232) already loaded on page");
throw new Error("PayPal Checkout Integration Script with same version (4.0.233) already loaded on page");
}
if (window.paypal && window.paypal.version && "4.0.232" !== window.paypal.version && window.paypal.Button && window.paypal.Button.render) {
if (window.paypal && window.paypal.version && "4.0.233" !== window.paypal.version && window.paypal.Button && window.paypal.Button.render) {
Object(__WEBPACK_IMPORTED_MODULE_0__lib_beacon__.a)("bootstrap_already_loaded_different_version", {
existingVersion: window.paypal.version,
version: "4.0.232"
version: "4.0.233"
});
throw new Error("PayPal Checkout Integration Script with different version (" + window.paypal.version + ") already loaded on page, current version: 4.0.232");
throw new Error("PayPal Checkout Integration Script with different version (" + window.paypal.version + ") already loaded on page, current version: 4.0.233");
}
try {
var _interface = __webpack_require__("./src/index.js");
Expand Down Expand Up @@ -15652,4 +15542,4 @@
});
}
}));
//# sourceMappingURL=checkout.4.0.232.js.map
//# sourceMappingURL=checkout.4.0.233.js.map
1 change: 1 addition & 0 deletions dist/checkout.4.0.233.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/checkout.4.0.233.min.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/checkout.button.render.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/checkout.button.render.js.map

Large diffs are not rendered by default.

0 comments on commit 0b192c6

Please sign in to comment.