cozy-client 45.14.0 → 45.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CozyClient.js +1 -1
- package/dist/Provider.js +1 -1
- package/package.json +2 -2
- package/types/Provider.d.ts +1 -1
package/dist/CozyClient.js
CHANGED
|
@@ -2705,7 +2705,7 @@ var CozyClient = /*#__PURE__*/function () {
|
|
|
2705
2705
|
CozyClient.hooks = CozyClient.hooks || {};
|
|
2706
2706
|
CozyClient.fetchPolicies = _policies.default; //COZY_CLIENT_VERSION_PACKAGE in replaced by babel. See babel config
|
|
2707
2707
|
|
|
2708
|
-
CozyClient.version = "45.14.
|
|
2708
|
+
CozyClient.version = "45.14.1";
|
|
2709
2709
|
|
|
2710
2710
|
_microee.default.mixin(CozyClient);
|
|
2711
2711
|
|
package/dist/Provider.js
CHANGED
|
@@ -82,7 +82,7 @@ exports.default = CozyProvider;
|
|
|
82
82
|
(0, _defineProperty2.default)(CozyProvider, "propTypes", {
|
|
83
83
|
store: storePropType,
|
|
84
84
|
client: _propTypes.default.object.isRequired,
|
|
85
|
-
children: _propTypes.default.element.isRequired
|
|
85
|
+
children: _propTypes.default.oneOfType([_propTypes.default.element, _propTypes.default.arrayOf(_propTypes.default.element)]).isRequired
|
|
86
86
|
});
|
|
87
87
|
(0, _defineProperty2.default)(CozyProvider, "childContextTypes", {
|
|
88
88
|
store: _propTypes.default.object,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-client",
|
|
3
|
-
"version": "45.14.
|
|
3
|
+
"version": "45.14.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.node.js",
|
|
6
6
|
"browser": "dist/index.js",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"react-native-ios11-devicecheck": "https://github.com/cozy/react-native-devicecheck#app-attest-v0.1"
|
|
76
76
|
},
|
|
77
77
|
"sideEffects": false,
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "ef66daef7be083767ea729438a1e4e87b2131a25"
|
|
79
79
|
}
|
package/types/Provider.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export default class CozyProvider extends React.Component<any, any, any> {
|
|
|
6
6
|
getState: PropTypes.Validator<(...args: any[]) => any>;
|
|
7
7
|
}>>;
|
|
8
8
|
client: PropTypes.Validator<object>;
|
|
9
|
-
children: PropTypes.Validator<PropTypes.ReactElementLike>;
|
|
9
|
+
children: PropTypes.Validator<PropTypes.ReactElementLike | PropTypes.ReactElementLike[]>;
|
|
10
10
|
};
|
|
11
11
|
static childContextTypes: {
|
|
12
12
|
store: PropTypes.Requireable<object>;
|