Skip to content

Commit 0b192c6

Browse files
author
Jon McIntosh
committed
chore(release): 4.0.233 🎉
1 parent b8a932d commit 0b192c6

19 files changed

+76
-509
lines changed

Diff for: CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## <small>4.0.233 (2018-11-07)</small>
2+
3+
* 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)
4+
* 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)
5+
6+
7+
18
## <small>4.0.232 (2018-11-07)</small>
29

310
* chore(package): Updating zoid (#938) ([a1ff39d](https://github.com/paypal/paypal-checkout/commit/a1ff39d)), closes [#938](https://github.com/paypal/paypal-checkout/issues/938)

Diff for: dist/checkout.4.0.232.js.map

-1
This file was deleted.

Diff for: dist/checkout.4.0.232.min.js

-2
This file was deleted.

Diff for: dist/checkout.4.0.232.min.js.map

-1
This file was deleted.

Diff for: dist/checkout.4.0.232.js renamed to dist/checkout.4.0.233.js

+17-127
Original file line numberDiff line numberDiff line change
@@ -1029,116 +1029,6 @@
10291029
return weakmap_CrossDomainSafeWeakMap;
10301030
});
10311031
},
1032-
"./node_modules/cross-domain-utils/dist/module/index.js": function(module, __webpack_exports__, __webpack_require__) {
1033-
"use strict";
1034-
var __WEBPACK_IMPORTED_MODULE_0__utils__ = __webpack_require__("./node_modules/cross-domain-utils/dist/module/utils.js");
1035-
__webpack_require__.d(__webpack_exports__, "getOpener", function() {
1036-
return __WEBPACK_IMPORTED_MODULE_0__utils__.a;
1037-
});
1038-
__webpack_require__.d(__webpack_exports__, "getTop", function() {
1039-
return __WEBPACK_IMPORTED_MODULE_0__utils__.b;
1040-
});
1041-
var __WEBPACK_IMPORTED_MODULE_1__types__ = __webpack_require__("./node_modules/cross-domain-utils/dist/module/types.js");
1042-
__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__types__);
1043-
},
1044-
"./node_modules/cross-domain-utils/dist/module/types.js": function(module, exports) {},
1045-
"./node_modules/cross-domain-utils/dist/module/utils.js": function(module, __webpack_exports__, __webpack_require__) {
1046-
"use strict";
1047-
__webpack_exports__.a = getOpener;
1048-
__webpack_exports__.b = getTop;
1049-
function getParent(win) {
1050-
if (win) try {
1051-
if (win.parent && win.parent !== win) return win.parent;
1052-
} catch (err) {}
1053-
}
1054-
function getOpener(win) {
1055-
if (win && !getParent(win)) try {
1056-
return win.opener;
1057-
} catch (err) {}
1058-
}
1059-
function isAncestorParent(parent, child) {
1060-
if (!parent || !child) return !1;
1061-
var childParent = getParent(child);
1062-
return childParent ? childParent === parent : -1 !== function(win) {
1063-
var result = [];
1064-
try {
1065-
for (;win.parent !== win; ) {
1066-
result.push(win.parent);
1067-
win = win.parent;
1068-
}
1069-
} catch (err) {}
1070-
return result;
1071-
}(child).indexOf(parent);
1072-
}
1073-
function getFrames(win) {
1074-
var result = [], frames = void 0;
1075-
try {
1076-
frames = win.frames;
1077-
} catch (err) {
1078-
frames = win;
1079-
}
1080-
var len = void 0;
1081-
try {
1082-
len = frames.length;
1083-
} catch (err) {}
1084-
if (0 === len) return result;
1085-
if (len) {
1086-
for (var i = 0; i < len; i++) {
1087-
var frame = void 0;
1088-
try {
1089-
frame = frames[i];
1090-
} catch (err) {
1091-
continue;
1092-
}
1093-
result.push(frame);
1094-
}
1095-
return result;
1096-
}
1097-
for (var _i = 0; _i < 100; _i++) {
1098-
var _frame = void 0;
1099-
try {
1100-
_frame = frames[_i];
1101-
} catch (err) {
1102-
return result;
1103-
}
1104-
if (!_frame) return result;
1105-
result.push(_frame);
1106-
}
1107-
return result;
1108-
}
1109-
function getAllChildFrames(win) {
1110-
for (var result = [], _i3 = 0, _getFrames2 = getFrames(win), _length2 = null == _getFrames2 ? 0 : _getFrames2.length; _i3 < _length2; _i3++) {
1111-
var frame = _getFrames2[_i3];
1112-
result.push(frame);
1113-
for (var _i5 = 0, _getAllChildFrames2 = getAllChildFrames(frame), _length4 = null == _getAllChildFrames2 ? 0 : _getAllChildFrames2.length; _i5 < _length4; _i5++) {
1114-
var childFrame = _getAllChildFrames2[_i5];
1115-
result.push(childFrame);
1116-
}
1117-
}
1118-
return result;
1119-
}
1120-
function getTop(win) {
1121-
if (win) {
1122-
try {
1123-
if (win.top) return win.top;
1124-
} catch (err) {}
1125-
if (getParent(win) === win) return win;
1126-
try {
1127-
if (isAncestorParent(window, win) && window.top) return window.top;
1128-
} catch (err) {}
1129-
try {
1130-
if (isAncestorParent(win, window) && window.top) return window.top;
1131-
} catch (err) {}
1132-
for (var _i7 = 0, _getAllChildFrames4 = getAllChildFrames(win), _length6 = null == _getAllChildFrames4 ? 0 : _getAllChildFrames4.length; _i7 < _length6; _i7++) {
1133-
var frame = _getAllChildFrames4[_i7];
1134-
try {
1135-
if (frame.top) return frame.top;
1136-
} catch (err) {}
1137-
if (getParent(frame) === frame) return frame;
1138-
}
1139-
}
1140-
}
1141-
},
11421032
"./node_modules/cross-domain-utils/src/index.js": function(module, __webpack_exports__, __webpack_require__) {
11431033
"use strict";
11441034
var __WEBPACK_IMPORTED_MODULE_0__utils__ = __webpack_require__("./node_modules/cross-domain-utils/src/utils.js");
@@ -8658,9 +8548,9 @@
86588548
"./src/config/index.js": function(module, __webpack_exports__, __webpack_require__) {
86598549
"use strict";
86608550
var _checkoutUris, _altpayUris, _guestUris, _billingUris, _buttonUris, _inlinedCardFieldUris, _postBridgeUris, _legacyCheckoutUris, _buttonJSUrls, _locales, constants = __webpack_require__("./src/constants/index.js"), config = {
8661-
scriptUrl: "//www.paypalobjects.com/api/checkout.4.0.232.js",
8551+
scriptUrl: "//www.paypalobjects.com/api/checkout.4.0.233.js",
86628552
paypal_domain_regex: /^(https?|mock):\/\/[a-zA-Z0-9_.-]+\.paypal\.com(:\d+)?$/,
8663-
version: "4.0.232",
8553+
version: "4.0.233",
86648554
cors: !0,
86658555
env: constants.t.PRODUCTION,
86668556
state: "checkoutjs",
@@ -11729,7 +11619,7 @@
1172911619
logoColor: "blue"
1173011620
})));
1173111621
}(normalizeProps(props)) : null;
11732-
return Object(jsx.b)("div", componentTemplate__extends({}, (_ref21 = {}, _ref21[constants.c.VERSION] = "4.0.232",
11622+
return Object(jsx.b)("div", componentTemplate__extends({}, (_ref21 = {}, _ref21[constants.c.VERSION] = "4.0.233",
1173311623
_ref21), {
1173411624
class: class_CLASS.CONTAINER + " " + getCommonButtonClasses({
1173511625
layout: layout,
@@ -12701,7 +12591,7 @@
1270112591
setup__track3[constants.u.KEY.TRANSITION] = constants.u.TRANSITION.SCRIPT_LOAD,
1270212592
setup__track3));
1270312593
}
12704-
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");
12594+
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");
1270512595
interface_checkout = legacy.checkout;
1270612596
apps = legacy.apps;
1270712597
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;
@@ -13619,7 +13509,7 @@
1361913509
var payload = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
1362013510
try {
1362113511
payload.event = "ppxo_" + event;
13622-
payload.version = "4.0.232";
13512+
payload.version = "4.0.233";
1362313513
payload.host = window.location.host;
1362413514
payload.uid = Object(__WEBPACK_IMPORTED_MODULE_2__session__.c)();
1362513515
payload.appName = APP_NAME;
@@ -13679,10 +13569,10 @@
1367913569
}(ua) || function() {
1368013570
if (void 0 !== process && process.versions && process.versions.electron) return !0;
1368113571
return !1;
13682-
}() || (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));
13572+
}() || (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));
1368313573
var userAgent;
1368413574
};
13685-
var __WEBPACK_IMPORTED_MODULE_0_cross_domain_utils__ = __webpack_require__("./node_modules/cross-domain-utils/dist/module/index.js");
13575+
var __WEBPACK_IMPORTED_MODULE_0_cross_domain_utils_src__ = __webpack_require__("./node_modules/cross-domain-utils/src/index.js");
1368613576
function getUserAgent() {
1368713577
return window.navigator.mockUserAgent || window.navigator.userAgent;
1368813578
}
@@ -13944,7 +13834,7 @@
1394413834
country: config.a.locale.country,
1394513835
lang: config.a.locale.lang,
1394613836
uid: Object(session.c)(),
13947-
ver: "4.0.232"
13837+
ver: "4.0.233"
1394813838
};
1394913839
});
1395013840
Object(client.a)(function() {
@@ -14252,7 +14142,7 @@
1425214142
return Boolean(getCurrentScript());
1425314143
}
1425414144
function getScriptVersion() {
14255-
return "4.0.232";
14145+
return "4.0.233";
1425614146
}
1425714147
var openMetaFrame = Object(util.j)(function() {
1425814148
var env = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : config.a.env;
@@ -14269,7 +14159,7 @@
1426914159
domain: metaFrameDomain
1427014160
});
1427114161
return src.bridge.openBridge(Object(dom.a)(metaFrameUrl, {
14272-
version: "4.0.232"
14162+
version: "4.0.233"
1427314163
}), metaFrameDomain).then(function() {
1427414164
return metaListener;
1427514165
}).then(function(_ref) {
@@ -14995,18 +14885,18 @@
1499514885
});
1499614886
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");
1499714887
if (!Object(__WEBPACK_IMPORTED_MODULE_2__lib_util__.g)()) throw new Error("Do not integrate with versioned script url");
14998-
if (window.paypal && "4.0.232" === window.paypal.version) {
14888+
if (window.paypal && "4.0.233" === window.paypal.version) {
1499914889
Object(__WEBPACK_IMPORTED_MODULE_0__lib_beacon__.a)("bootstrap_already_loaded_same_version", {
15000-
version: "4.0.232"
14890+
version: "4.0.233"
1500114891
});
15002-
throw new Error("PayPal Checkout Integration Script with same version (4.0.232) already loaded on page");
14892+
throw new Error("PayPal Checkout Integration Script with same version (4.0.233) already loaded on page");
1500314893
}
15004-
if (window.paypal && window.paypal.version && "4.0.232" !== window.paypal.version && window.paypal.Button && window.paypal.Button.render) {
14894+
if (window.paypal && window.paypal.version && "4.0.233" !== window.paypal.version && window.paypal.Button && window.paypal.Button.render) {
1500514895
Object(__WEBPACK_IMPORTED_MODULE_0__lib_beacon__.a)("bootstrap_already_loaded_different_version", {
1500614896
existingVersion: window.paypal.version,
15007-
version: "4.0.232"
14897+
version: "4.0.233"
1500814898
});
15009-
throw new Error("PayPal Checkout Integration Script with different version (" + window.paypal.version + ") already loaded on page, current version: 4.0.232");
14899+
throw new Error("PayPal Checkout Integration Script with different version (" + window.paypal.version + ") already loaded on page, current version: 4.0.233");
1501014900
}
1501114901
try {
1501214902
var _interface = __webpack_require__("./src/index.js");
@@ -15652,4 +15542,4 @@
1565215542
});
1565315543
}
1565415544
}));
15655-
//# sourceMappingURL=checkout.4.0.232.js.map
15545+
//# sourceMappingURL=checkout.4.0.233.js.map

Diff for: dist/checkout.4.0.233.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/checkout.4.0.233.min.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/checkout.4.0.233.min.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/checkout.button.render.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/checkout.button.render.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)