Skip to content

Commit bcf4cef

Browse files
author
Daniel Brain
committed
chore(release): 1.0.12 🎉
1 parent 605c51a commit bcf4cef

File tree

4 files changed

+16
-7
lines changed

4 files changed

+16
-7
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## <small>1.0.12 (2020-09-02)</small>
2+
3+
* Add CODEOWNERS ([57ccf2f](http://github.paypal.com/paypal/paypal-checkout/commit/57ccf2f))
4+
* Fix registry ([7b431d5](http://github.paypal.com/paypal/paypal-checkout/commit/7b431d5))
5+
* Type fixes ([605c51a](http://github.paypal.com/paypal/paypal-checkout/commit/605c51a))
6+
* Update CODEOWNERS ([69a3012](http://github.paypal.com/paypal/paypal-checkout/commit/69a3012))
7+
8+
9+
110
## <small>1.0.11 (2020-08-03)</small>
211

312
* Configure Renovate (#3) ([b314284](http://github.paypal.com/paypal/paypal-checkout/commit/b314284)), closes [#3](http://github.paypal.com/paypal/paypal-checkout/issues/3)

dist/ui.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ module.exports = function(modules) {
8181
this.children = void 0;
8282
this.onRender = void 0;
8383
this.name = name;
84-
this.props = props;
84+
this.props = props || {};
8585
this.children = children;
86-
var onRender = props.onRender;
86+
var onRender = this.props.onRender;
8787
if ("function" == typeof onRender) {
8888
this.onRender = onRender;
8989
delete props.onRender;
@@ -129,8 +129,9 @@ module.exports = function(modules) {
129129
this.props = void 0;
130130
this.children = void 0;
131131
this.component = component;
132-
this.props = props;
132+
this.props = props || {};
133133
this.children = children;
134+
this.props.children = children;
134135
}
135136
var _proto4 = ComponentNode.prototype;
136137
_proto4.renderComponent = function(renderer) {
@@ -152,7 +153,7 @@ module.exports = function(modules) {
152153
var result = [];
153154
for (var _i6 = 0; _i6 < children.length; _i6++) {
154155
var child = children[_i6];
155-
if (child) if ("string" == typeof child || "number" == typeof child) result.push(new node_TextNode("" + child)); else {
156+
if (child) if ("string" == typeof child || "number" == typeof child) result.push(new node_TextNode(child.toString())); else {
156157
if ("boolean" == typeof child) continue;
157158
if (Array.isArray(child)) for (var _i8 = 0, _normalizeChildren2 = normalizeChildren(child); _i8 < _normalizeChildren2.length; _i8++) result.push(_normalizeChildren2[_i8]); else {
158159
if (!child || "element" !== child.type && "text" !== child.type && "component" !== child.type) throw new TypeError("Unrecognized node type: " + typeof child);
@@ -164,7 +165,6 @@ module.exports = function(modules) {
164165
}
165166
var node_node = function(element, props) {
166167
for (var _len = arguments.length, children = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) children[_key - 2] = arguments[_key];
167-
props = props || {};
168168
children = normalizeChildren(children);
169169
if ("string" == typeof element) return new node_ElementNode(element, props, children);
170170
if ("function" == typeof element) return new node_ComponentNode(element, props, children);

dist/ui.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@paypal/common-components",
3-
"version": "1.0.11",
3+
"version": "1.0.12",
44
"description": "PayPal common components, for integrating checkout products.",
55
"main": "dist/ui.js",
66
"scripts": {

0 commit comments

Comments
 (0)