cozy-viewer 23.2.0 → 23.3.1
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,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
|
+
## [23.3.1](https://github.com/cozy/cozy-libs/compare/cozy-viewer@23.3.0...cozy-viewer@23.3.1) (2025-09-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package cozy-viewer
|
|
9
|
+
|
|
10
|
+
# [23.3.0](https://github.com/cozy/cozy-libs/compare/cozy-viewer@23.2.0...cozy-viewer@23.3.0) (2025-09-03)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- Update withFileUrl to be used in shared drive :sparkles: ([d6e86ee](https://github.com/cozy/cozy-libs/commit/d6e86ee5881fe733a2b7b5ddfe1408df0a39b260))
|
|
15
|
+
|
|
6
16
|
# [23.2.0](https://github.com/cozy/cozy-libs/compare/cozy-viewer@23.1.5...cozy-viewer@23.2.0) (2025-09-01)
|
|
7
17
|
|
|
8
18
|
### Features
|
package/dist/hoc/withFileUrl.js
CHANGED
|
@@ -185,7 +185,9 @@ var withFileUrl = function withFileUrl(BaseComponent) {
|
|
|
185
185
|
}, {
|
|
186
186
|
key: "getDownloadLink",
|
|
187
187
|
value: function getDownloadLink(file) {
|
|
188
|
-
return this.context.client.collection('io.cozy.files'
|
|
188
|
+
return this.context.client.collection('io.cozy.files', {
|
|
189
|
+
driveId: file.driveId
|
|
190
|
+
}).getDownloadLinkById(file._id, file.name);
|
|
189
191
|
}
|
|
190
192
|
}, {
|
|
191
193
|
key: "clearTimeout",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-viewer",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.3.1",
|
|
4
4
|
"description": "Cozy-Viewer provides a component to show files in a viewer.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"babel-preset-cozy-app": "^2.8.1",
|
|
32
32
|
"cozy-client": "^57.0.0",
|
|
33
33
|
"cozy-device-helper": "2.0.0",
|
|
34
|
-
"cozy-harvest-lib": "^32.5.
|
|
34
|
+
"cozy-harvest-lib": "^32.5.2",
|
|
35
35
|
"cozy-intent": "^2.30.0",
|
|
36
36
|
"cozy-logger": "^1.17.0",
|
|
37
|
-
"cozy-sharing": "^
|
|
37
|
+
"cozy-sharing": "^26.0.0",
|
|
38
38
|
"cozy-ui": "^126.0.0",
|
|
39
39
|
"identity-obj-proxy": "3.0.0",
|
|
40
40
|
"jest": "26.6.3",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"react": ">=16.12.0",
|
|
65
65
|
"react-dom": ">=16.12.0"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "0f3d2c236ac73a6d1154634d80d0f00edba5b827"
|
|
68
68
|
}
|
package/src/hoc/withFileUrl.jsx
CHANGED