@front10/helpers 2.0.22 → 2.0.23

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.
@@ -20,6 +20,8 @@ function ContextProvider(_ref) {
20
20
  localizationData = _ref.localizationData,
21
21
  theme = _ref.theme,
22
22
  moment = _ref.moment,
23
+ tenant = _ref.tenant,
24
+ componentName = _ref.componentName,
23
25
  children = _ref.children;
24
26
 
25
27
  var value = _react["default"].useMemo(function () {
@@ -28,9 +30,11 @@ function ContextProvider(_ref) {
28
30
  direction: direction.toLowerCase(),
29
31
  localizationData: localizationData,
30
32
  theme: theme,
31
- moment: moment
33
+ moment: moment,
34
+ tenant: tenant,
35
+ componentName: componentName
32
36
  };
33
- }, [translate, direction, localizationData, theme]);
37
+ }, [translate, direction, localizationData, theme, tenant, componentName]);
34
38
 
35
39
  return _react["default"].createElement(Context.Provider, {
36
40
  value: value
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@front10/helpers",
3
- "version": "2.0.22",
3
+ "version": "2.0.23",
4
4
  "description": "Helpers for front10 components",
5
5
  "source": "src/index.js",
6
6
  "main": "dist/front10-helpers.js",