cozy-sharing 38.1.6 → 38.1.8

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [38.1.8](https://github.com/cozy/cozy-libs/compare/cozy-sharing@38.1.7...cozy-sharing@38.1.8) (2026-10-02)
7
+
8
+ ### Bug Fixes
9
+
10
+ - Share child on inherited viewer upgrade ([97af54e](https://github.com/cozy/cozy-libs/commit/97af54ededf883e6577a33e4b4864167811b4845))
11
+
12
+ ## [38.1.7](https://github.com/cozy/cozy-libs/compare/cozy-sharing@38.1.6...cozy-sharing@38.1.7) (2026-10-02)
13
+
14
+ ### Bug Fixes
15
+
16
+ - **cozy-sharing:** Clear effective recipients when the sharing is gone ([24897a7](https://github.com/cozy/cozy-libs/commit/24897a7ed7381a2f9f6bd2c229622689756a23ad)), closes [linagora/twake-drive#4264](https://github.com/linagora/twake-drive/issues/4264)
17
+
6
18
  ## [38.1.6](https://github.com/cozy/cozy-libs/compare/cozy-sharing@38.1.5...cozy-sharing@38.1.6) (2026-10-01)
7
19
 
8
20
  ### Bug Fixes
@@ -618,21 +618,39 @@ export var SharingProvider = /*#__PURE__*/function (_Component) {
618
618
  return _regeneratorRuntime.wrap(function _callee11$(_context11) {
619
619
  while (1) switch (_context11.prev = _context11.next) {
620
620
  case 0:
621
- _context11.next = 2;
621
+ _context11.prev = 0;
622
+ _context11.next = 3;
622
623
  return _this2.sharingCol.fetchEffectiveRecipients(fileId, {
623
624
  driveId: driveId
624
625
  });
625
626
 
626
- case 2:
627
+ case 3:
627
628
  resp = _context11.sent;
628
629
 
629
630
  _this2.dispatch(receiveEffectiveRecipients(fileId, mapEffectiveRecipients((resp === null || resp === void 0 ? void 0 : resp.data) || [])));
630
631
 
631
- case 4:
632
+ _context11.next = 12;
633
+ break;
634
+
635
+ case 7:
636
+ _context11.prev = 7;
637
+ _context11.t0 = _context11["catch"](0);
638
+
639
+ if (!((_context11.t0 === null || _context11.t0 === void 0 ? void 0 : _context11.t0.status) !== 404)) {
640
+ _context11.next = 11;
641
+ break;
642
+ }
643
+
644
+ throw _context11.t0;
645
+
646
+ case 11:
647
+ _this2.dispatch(receiveEffectiveRecipients(fileId, []));
648
+
649
+ case 12:
632
650
  case "end":
633
651
  return _context11.stop();
634
652
  }
635
- }, _callee11);
653
+ }, _callee11, null, [[0, 7]]);
636
654
  }));
637
655
 
638
656
  return function (_x19, _x20) {