Skip to content

Commit

Permalink
chore(release): 1.0.12 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Brain committed Sep 2, 2020
1 parent 605c51a commit bcf4cef
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## <small>1.0.12 (2020-09-02)</small>

* Add CODEOWNERS ([57ccf2f](http://github.paypal.com/paypal/paypal-checkout/commit/57ccf2f))
* Fix registry ([7b431d5](http://github.paypal.com/paypal/paypal-checkout/commit/7b431d5))
* Type fixes ([605c51a](http://github.paypal.com/paypal/paypal-checkout/commit/605c51a))
* Update CODEOWNERS ([69a3012](http://github.paypal.com/paypal/paypal-checkout/commit/69a3012))



## <small>1.0.11 (2020-08-03)</small>

* Configure Renovate (#3) ([b314284](http://github.paypal.com/paypal/paypal-checkout/commit/b314284)), closes [#3](http://github.paypal.com/paypal/paypal-checkout/issues/3)
Expand Down
10 changes: 5 additions & 5 deletions dist/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ module.exports = function(modules) {
this.children = void 0;
this.onRender = void 0;
this.name = name;
this.props = props;
this.props = props || {};
this.children = children;
var onRender = props.onRender;
var onRender = this.props.onRender;
if ("function" == typeof onRender) {
this.onRender = onRender;
delete props.onRender;
Expand Down Expand Up @@ -129,8 +129,9 @@ module.exports = function(modules) {
this.props = void 0;
this.children = void 0;
this.component = component;
this.props = props;
this.props = props || {};
this.children = children;
this.props.children = children;
}
var _proto4 = ComponentNode.prototype;
_proto4.renderComponent = function(renderer) {
Expand All @@ -152,7 +153,7 @@ module.exports = function(modules) {
var result = [];
for (var _i6 = 0; _i6 < children.length; _i6++) {
var child = children[_i6];
if (child) if ("string" == typeof child || "number" == typeof child) result.push(new node_TextNode("" + child)); else {
if (child) if ("string" == typeof child || "number" == typeof child) result.push(new node_TextNode(child.toString())); else {
if ("boolean" == typeof child) continue;
if (Array.isArray(child)) for (var _i8 = 0, _normalizeChildren2 = normalizeChildren(child); _i8 < _normalizeChildren2.length; _i8++) result.push(_normalizeChildren2[_i8]); else {
if (!child || "element" !== child.type && "text" !== child.type && "component" !== child.type) throw new TypeError("Unrecognized node type: " + typeof child);
Expand All @@ -164,7 +165,6 @@ module.exports = function(modules) {
}
var node_node = function(element, props) {
for (var _len = arguments.length, children = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) children[_key - 2] = arguments[_key];
props = props || {};
children = normalizeChildren(children);
if ("string" == typeof element) return new node_ElementNode(element, props, children);
if ("function" == typeof element) return new node_ComponentNode(element, props, children);
Expand Down
2 changes: 1 addition & 1 deletion dist/ui.min.js

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paypal/common-components",
"version": "1.0.11",
"version": "1.0.12",
"description": "PayPal common components, for integrating checkout products.",
"main": "dist/ui.js",
"scripts": {
Expand Down

0 comments on commit bcf4cef

Please sign in to comment.