cozy-sharing 25.6.0 → 25.7.0

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,13 @@
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
+ # [25.7.0](https://github.com/cozy/cozy-libs/compare/cozy-sharing@25.6.0...cozy-sharing@25.7.0) (2025-07-16)
7
+
8
+ ### Features
9
+
10
+ - Improve sharings retrieval performances ([87c99e0](https://github.com/cozy/cozy-libs/commit/87c99e07a427de1557120a8c3d03de573487a92d))
11
+ - Upgrade cozy-client for param ([b612543](https://github.com/cozy/cozy-libs/commit/b6125435b03f56d27090b8c32274bf0da560d8d4))
12
+
6
13
  # [25.6.0](https://github.com/cozy/cozy-libs/compare/cozy-sharing@25.5.0...cozy-sharing@25.6.0) (2025-06-18)
7
14
 
8
15
  ### Features
@@ -682,7 +682,9 @@ export var SharingProvider = /*#__PURE__*/function (_Component) {
682
682
  case 4:
683
683
  _this$props = this.props, doctype = _this$props.doctype, client = _this$props.client;
684
684
  _context13.next = 7;
685
- return Promise.all([this.sharingCol.findByDoctype(doctype), this.permissionCol.findLinksByDoctype(doctype), client.fetchQueryAndGetFromState(fetchApps())]);
685
+ return Promise.all([this.sharingCol.findByDoctype(doctype, {
686
+ withSharedDocs: false
687
+ }), this.permissionCol.findLinksByDoctype(doctype), client.fetchQueryAndGetFromState(fetchApps())]);
686
688
 
687
689
  case 7:
688
690
  _yield$Promise$all = _context13.sent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-sharing",
3
- "version": "25.6.0",
3
+ "version": "25.7.0",
4
4
  "description": "Provides sharing login for React applications.",
5
5
  "main": "dist/index.js",
6
6
  "author": "Cozy",
@@ -54,7 +54,7 @@
54
54
  "babel-jest": "26.6.3",
55
55
  "babel-plugin-css-modules-transform": "1.6.2",
56
56
  "babel-plugin-inline-react-svg": "1.1.2",
57
- "cozy-client": "^57.0.0",
57
+ "cozy-client": "^59.4.0",
58
58
  "cozy-device-helper": "^3.7.1",
59
59
  "cozy-intent": "^2.30.0",
60
60
  "cozy-minilog": "^3.10.0",
@@ -67,7 +67,7 @@
67
67
  "storybook": "7.6.0"
68
68
  },
69
69
  "peerDependencies": {
70
- "cozy-client": ">=57.0.0",
70
+ "cozy-client": ">=59.4.0",
71
71
  "cozy-device-helper": ">=3.7.1",
72
72
  "cozy-intent": ">=2.29.1",
73
73
  "cozy-minilog": ">=3.9.1",
@@ -79,5 +79,5 @@
79
79
  "sideEffects": [
80
80
  "*.css"
81
81
  ],
82
- "gitHead": "2ee02dee7ed242ceef9f66b5620079fd4b57c425"
82
+ "gitHead": "964e65cb9faeaa34286c7557de28d5c98c4cc684"
83
83
  }
@@ -186,7 +186,7 @@ export class SharingProvider extends Component {
186
186
  }
187
187
  const { doctype, client } = this.props
188
188
  const [sharings, permissions, apps] = await Promise.all([
189
- this.sharingCol.findByDoctype(doctype),
189
+ this.sharingCol.findByDoctype(doctype, { withSharedDocs: false }),
190
190
  this.permissionCol.findLinksByDoctype(doctype),
191
191
  client.fetchQueryAndGetFromState(fetchApps())
192
192
  ])