@dhis2/app-runtime
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -388,5 +388,3 @@ 'use strict'; | ||
const DataProvider = props => { | ||
const config = _objectSpread$2({}, useConfig(), { | ||
props | ||
}); | ||
const config = _objectSpread$2({}, useConfig(), {}, props); | ||
@@ -393,0 +391,0 @@ return React__default.createElement(DataContext.Provider, { |
@@ -381,5 +381,3 @@ import React, { useContext, useState, useEffect } from 'react'; | ||
const DataProvider = props => { | ||
const config = _objectSpread$2({}, useConfig(), { | ||
props | ||
}); | ||
const config = _objectSpread$2({}, useConfig(), {}, props); | ||
@@ -386,0 +384,0 @@ return React.createElement(DataContext.Provider, { |
{ | ||
"name": "@dhis2/app-runtime", | ||
"description": "A singular runtime dependency for applications on the DHIS2 platform", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"main": "build/cjs/index.js", | ||
@@ -18,14 +18,4 @@ "module": "build/es/index.js", | ||
"devDependencies": { | ||
"@babel/core": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"@babel/preset-react": "^7.0.0", | ||
"@dhis2/app-service-config": "1.4.2", | ||
"@dhis2/app-service-data": "1.4.2", | ||
"loop": "^3.1.3", | ||
"prop-types": "^15.7.2", | ||
"react": "^16.8.6", | ||
"react-dom": "^16.8.6", | ||
"rollup": "^1.19.4", | ||
"rollup-plugin-babel": "^4.3.3", | ||
"rollup-plugin-node-resolve": "^5.0.0" | ||
"@dhis2/app-service-config": "1.4.3", | ||
"@dhis2/app-service-data": "1.4.3" | ||
}, | ||
@@ -32,0 +22,0 @@ "peerDependencies": { |
2
25058
789