@crystaldesign/diva-backoffice 24.6.0-beta.27 → 24.6.0-beta.28

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.
@@ -541,7 +541,7 @@ var _default$d = /*#__PURE__*/function () {
541
541
  key: "update",
542
542
  value: function () {
543
543
  var _update = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data, original, mapping) {
544
- var _this$_rootStore, _finalData;
544
+ var _this$_rootStore;
545
545
  var match, finalUrl, finalData, jwt, response;
546
546
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
547
547
  while (1) switch (_context2.prev = _context2.next) {
@@ -593,7 +593,7 @@ var _default$d = /*#__PURE__*/function () {
593
593
  } : {}), {}, {
594
594
  'Content-Type': 'application/json'
595
595
  }),
596
- body: (_finalData = finalData) !== null && _finalData !== void 0 ? _finalData : JSON.stringify(finalData)
596
+ body: finalData ? JSON.stringify(finalData) : undefined
597
597
  }).then( /*#__PURE__*/function () {
598
598
  var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(r) {
599
599
  var error, code, err;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "24.6.0-beta.27",
3
+ "version": "24.6.0-beta.28",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^5.15.0",
@@ -51,5 +51,5 @@
51
51
  },
52
52
  "module": "build/esm/index.js",
53
53
  "types": "./build/types/backoffice/src/index.d.ts",
54
- "gitHead": "d89e231f3d296d5a8570bb3810a6da6beb803a7b"
54
+ "gitHead": "93071b99702c90aeaf7dd6aa57dccbf6bdde9c6b"
55
55
  }