tg-core-components 6.3.4-3.11 → 6.3.4-3.12

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.
@@ -8,7 +8,7 @@ import getByPath from 'lodash/get';
8
8
  export var getValues = function getValues(values, currency, timespan) {
9
9
  console.log('values', values, currency, timespan);
10
10
  values = getByPath(values, '[' + (currency || '').toUpperCase() + ']') || values;
11
- console.log(values);
11
+ console.log('timespan: ', timespan, values);
12
12
  return (Array.isArray(values) ? values : []).filter(function (v) {
13
13
  return (typeof v === 'undefined' ? 'undefined' : _typeof(v)) === 'object' && v.timespan === timespan || typeof v === 'number';
14
14
  }).map(function (v) {
@@ -19,7 +19,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
19
19
  var getValues = exports.getValues = function getValues(values, currency, timespan) {
20
20
  console.log('values', values, currency, timespan);
21
21
  values = (0, _get2.default)(values, '[' + (currency || '').toUpperCase() + ']') || values;
22
- console.log(values);
22
+ console.log('timespan: ', timespan, values);
23
23
  return (Array.isArray(values) ? values : []).filter(function (v) {
24
24
  return (typeof v === 'undefined' ? 'undefined' : _typeof(v)) === 'object' && v.timespan === timespan || typeof v === 'number';
25
25
  }).map(function (v) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tg-core-components",
3
- "version": "6.3.4-3.11",
3
+ "version": "6.3.4-3.12",
4
4
  "description": "tg-core-components",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",