bkper-js 1.35.4 → 1.35.5

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.
@@ -403,7 +403,7 @@ export class Group {
403
403
  update() {
404
404
  return __awaiter(this, void 0, void 0, function* () {
405
405
  var _a;
406
- const previousParentId = (_a = this.payload.parent) === null || _a === void 0 ? void 0 : _a.id;
406
+ const previousParentId = (_a = this.parent) === null || _a === void 0 ? void 0 : _a.getId();
407
407
  this.payload = yield GroupService.updateGroup(this.book.getId(), this.payload);
408
408
  this.book.updateGroupCache(this, previousParentId);
409
409
  return this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkper-js",
3
- "version": "1.35.4",
3
+ "version": "1.35.5",
4
4
  "description": "Javascript client for Bkper REST API",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",