cozy-sharing 40.1.2 → 40.1.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.
- package/CHANGELOG.md +10 -0
- package/dist/SharingProvider.js +4 -4
- package/dist/SharingProvider.spec.js +272 -154
- package/dist/components/FederatedFolder/FederatedFolderModal.revokeSelf.spec.js +294 -0
- package/package.json +3 -3
- package/src/SharingProvider.jsx +2 -4
- package/src/SharingProvider.spec.jsx +77 -0
- package/src/components/FederatedFolder/FederatedFolderModal.revokeSelf.spec.jsx +133 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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
|
+
## [40.1.4](https://github.com/cozy/cozy-libs/compare/cozy-sharing@40.1.3...cozy-sharing@40.1.4) (2026-10-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package cozy-sharing
|
|
9
|
+
|
|
10
|
+
## [40.1.3](https://github.com/cozy/cozy-libs/compare/cozy-sharing@40.1.2...cozy-sharing@40.1.3) (2026-10-23)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **cozy-sharing:** Complete self-revocation without member reload ([9409b0d](https://github.com/cozy/cozy-libs/commit/9409b0d3c468c277ca3e7e4db823035dea13de62))
|
|
15
|
+
|
|
6
16
|
## [40.1.2](https://github.com/cozy/cozy-libs/compare/cozy-sharing@40.1.1...cozy-sharing@40.1.2) (2026-10-22)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package cozy-sharing
|
package/dist/SharingProvider.js
CHANGED
|
@@ -471,12 +471,12 @@ export var SharingProvider = /*#__PURE__*/function (_Component) {
|
|
|
471
471
|
return _this2.sharingCol.revokeSelf(sharing);
|
|
472
472
|
|
|
473
473
|
case 3:
|
|
474
|
-
_this2.dispatch(revokeSelf(sharing));
|
|
474
|
+
_this2.dispatch(revokeSelf(sharing)); // Leaving removes our access to the sharing's effective recipients.
|
|
475
475
|
|
|
476
|
-
_context9.next = 6;
|
|
477
|
-
return _this2.fetchEffectiveRecipients(getDocumentId(document), document.driveId);
|
|
478
476
|
|
|
479
|
-
|
|
477
|
+
_this2.dispatch(receiveEffectiveRecipients(getDocumentId(document), []));
|
|
478
|
+
|
|
479
|
+
case 5:
|
|
480
480
|
case "end":
|
|
481
481
|
return _context9.stop();
|
|
482
482
|
}
|