@bringg/dashboard-sdk 9.28.10-pre.2 → 9.28.10-pre.4

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.
@@ -56,7 +56,7 @@ var lodash_1 = require("lodash");
56
56
  var BringgException_1 = require("../Core/BringgException");
57
57
  var Logger_1 = __importDefault(require("../Core/Logger"));
58
58
  var abort_1 = require("../utils/abort");
59
- var version = '9.28.10-pre.2';
59
+ var version = '9.28.10-pre.4';
60
60
  function logErrorResponse(response) {
61
61
  var data = response.data, status = response.status;
62
62
  try {
@@ -22745,7 +22745,7 @@ var lodash_1 = __webpack_require__(96486);
22745
22745
  var BringgException_1 = __webpack_require__(43605);
22746
22746
  var Logger_1 = __importDefault(__webpack_require__(55860));
22747
22747
  var abort_1 = __webpack_require__(34179);
22748
- var version = '9.28.10-pre.2';
22748
+ var version = '9.28.10-pre.4';
22749
22749
  function logErrorResponse(response) {
22750
22750
  var data = response.data, status = response.status;
22751
22751
  try {
@@ -32886,6 +32886,7 @@ var DataStore = /** @class */ (function () {
32886
32886
  return this.allItems;
32887
32887
  };
32888
32888
  DataStore.prototype.getGroup = function (group, groupValue) {
32889
+ console.log('rrrrr getGroup', this.getGroupItems(group, groupValue));
32889
32890
  return Object.values(this.getGroupItems(group, groupValue));
32890
32891
  };
32891
32892
  DataStore.prototype.set = function (item) {
@@ -33046,7 +33047,7 @@ var DataStore = /** @class */ (function () {
33046
33047
  };
33047
33048
  DataStore.prototype.getGroupItems = function (groupType, groupValue) {
33048
33049
  var _this = this;
33049
- var _a, _b;
33050
+ var _a, _b, _c;
33050
33051
  if (Array.isArray(groupValue)) {
33051
33052
  return groupValue.reduce(function (all, group) {
33052
33053
  var groupItems = _this.itemsByGroups.get(groupType).get(group) || {};
@@ -33059,8 +33060,9 @@ var DataStore = /** @class */ (function () {
33059
33060
  var c = groupValue;
33060
33061
  console.log('rrrrrprops', itemsByGroup, b, c);
33061
33062
  console.log('rrrrResponse', this.itemsByGroups.get(groupType));
33062
- console.log('rrrrResponse2', (_a = this.itemsByGroups.get(groupType)) === null || _a === void 0 ? void 0 : _a.get(groupValue));
33063
- return ((_b = this.itemsByGroups.get(groupType)) === null || _b === void 0 ? void 0 : _b.get(groupValue)) || {};
33063
+ console.log('rrrrResponse2', ((_a = this.itemsByGroups.get(groupType)) === null || _a === void 0 ? void 0 : _a.get(groupValue)) || {});
33064
+ console.log('rrrrResponse3', (_b = this.itemsByGroups.get(groupType)) === null || _b === void 0 ? void 0 : _b.get(groupValue));
33065
+ return ((_c = this.itemsByGroups.get(groupType)) === null || _c === void 0 ? void 0 : _c.get(groupValue)) || {};
33064
33066
  };
33065
33067
  DataStore.prototype.getGroupKey = function (groupType, groupValue) {
33066
33068
  return "".concat(groupType, "-").concat(groupValue);