cozy-harvest-lib 30.2.0 → 30.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,25 @@
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
+ ## 30.3.1 (2024-11-05)
7
+
8
+ **Note:** Version bump only for package cozy-harvest-lib
9
+
10
+
11
+
12
+
13
+
14
+ # 30.3.0 (2024-10-30)
15
+
16
+
17
+ ### Features
18
+
19
+ * Update deps for cozy-viewer ([b2e103a](https://github.com/cozy/cozy-libs/commit/b2e103a1280182881ae1133860c0a09650271920))
20
+
21
+
22
+
23
+
24
+
6
25
  # 30.2.0 (2024-10-30)
7
26
 
8
27
 
@@ -69,9 +69,7 @@ describe('useAppLinkWithStoreFallback', function () {
69
69
  path = '#/path';
70
70
  mockClient.query.mockResolvedValue({
71
71
  data: [{
72
- attributes: {
73
- slug: testAppSlug
74
- },
72
+ slug: testAppSlug,
75
73
  links: {
76
74
  related: 'http://testapp.cozy.io'
77
75
  }
@@ -105,9 +103,7 @@ describe('useAppLinkWithStoreFallback', function () {
105
103
  path = '#/path';
106
104
  mockClient.query.mockResolvedValue({
107
105
  data: [{
108
- attributes: {
109
- slug: 'store'
110
- },
106
+ slug: 'store',
111
107
  links: {
112
108
  related: 'http://store.cozy.io'
113
109
  }
@@ -1,8 +1,8 @@
1
1
  import React, { useContext } from 'react';
2
2
  import { useParams } from 'react-router-dom';
3
3
  import { models, useQuery } from 'cozy-client';
4
- import Viewer from 'cozy-ui/transpiled/react/Viewer';
5
4
  import Overlay from 'cozy-ui/transpiled/react/deprecated/Overlay';
5
+ import Viewer from 'cozy-viewer';
6
6
  import { useDataCardFiles } from './useDataCardFiles';
7
7
  import { MountPointContext } from '../components/MountPointContext';
8
8
  import { buildAccountQueryById } from '../helpers/queries';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-harvest-lib",
3
- "version": "30.2.0",
3
+ "version": "30.3.1",
4
4
  "description": "Provides logic, modules and components for Cozy's harvest applications.",
5
5
  "main": "dist/index.js",
6
6
  "author": "Cozy",
@@ -32,8 +32,8 @@
32
32
  "@cozy/minilog": "^1.0.0",
33
33
  "classnames": "^2.3.1",
34
34
  "cozy-bi-auth": "0.0.25",
35
- "cozy-doctypes": "^1.93.0",
36
- "cozy-logger": "^1.12.0",
35
+ "cozy-doctypes": "^1.94.1",
36
+ "cozy-logger": "^1.13.1",
37
37
  "date-fns": "^1.30.1",
38
38
  "final-form": "^4.18.5",
39
39
  "lodash": "^4.17.19",
@@ -49,7 +49,7 @@
49
49
  "@babel/cli": "7.16.8",
50
50
  "@babel/core": "7.16.12",
51
51
  "@babel/register": "7.16.9",
52
- "@cozy/cli-tree": "^0.9.0",
52
+ "@cozy/cli-tree": "^0.10.1",
53
53
  "@sentry/react": "7.119.0",
54
54
  "@storybook/addon-essentials": "^7.0.23",
55
55
  "@storybook/addon-interactions": "^7.0.23",
@@ -64,16 +64,17 @@
64
64
  "@types/react-redux": "7.1.25",
65
65
  "babel-jest": "26.6.3",
66
66
  "babel-plugin-inline-react-svg": "1.1.2",
67
- "babel-preset-cozy-app": "^2.4.0",
68
- "cozy-client": "^48.8.0",
69
- "cozy-device-helper": "^3.3.0",
70
- "cozy-flags": "^4.2.0",
71
- "cozy-intent": "^2.25.0",
72
- "cozy-interapp": "^0.11.0",
67
+ "babel-preset-cozy-app": "^2.5.1",
68
+ "cozy-client": "^50.0.0",
69
+ "cozy-device-helper": "^3.4.1",
70
+ "cozy-flags": "^4.3.1",
71
+ "cozy-intent": "^2.26.1",
72
+ "cozy-interapp": "^0.12.1",
73
73
  "cozy-keys-lib": "^6.1.1",
74
- "cozy-realtime": "^5.2.0",
75
- "cozy-tsconfig": "^1.4.0",
76
- "cozy-ui": "^111.12.0",
74
+ "cozy-realtime": "^5.3.1",
75
+ "cozy-tsconfig": "^1.5.1",
76
+ "cozy-ui": "^112.2.0",
77
+ "cozy-viewer": "^2.3.1",
77
78
  "enzyme": "3.11.0",
78
79
  "enzyme-adapter-react-16": "1.15.6",
79
80
  "form-data": "4.0.0",
@@ -95,18 +96,19 @@
95
96
  "peerDependencies": {
96
97
  "@babel/runtime": ">=7.12.5",
97
98
  "@sentry/react": ">=7.118.0",
98
- "cozy-client": ">=48.8.0",
99
+ "cozy-client": ">=50.0.0",
99
100
  "cozy-device-helper": ">=2.6.0",
100
101
  "cozy-flags": ">=2.3.5",
101
- "cozy-intent": ">=1.14.1",
102
+ "cozy-intent": ">=2.26.0",
102
103
  "cozy-interapp": ">=0.9.0",
103
104
  "cozy-keys-lib": ">=6.1.1",
104
105
  "cozy-realtime": ">=4.2.8",
105
- "cozy-ui": ">=111.12.0",
106
+ "cozy-ui": ">=112.2.0",
107
+ "cozy-viewer": ">=2.3.0",
106
108
  "leaflet": "^1.7.1",
107
109
  "react-router": "3.2.6",
108
110
  "react-router-dom": ">=4.3.1"
109
111
  },
110
112
  "sideEffects": false,
111
- "gitHead": "b9937f0b5374a867281c8bdbd10aba5db8e9dc0e"
113
+ "gitHead": "102cfa397539ed1f44a027acc263cce818fd639b"
112
114
  }
@@ -30,9 +30,7 @@ describe('useAppLinkWithStoreFallback', () => {
30
30
  mockClient.query.mockResolvedValue({
31
31
  data: [
32
32
  {
33
- attributes: {
34
- slug: testAppSlug
35
- },
33
+ slug: testAppSlug,
36
34
  links: { related: 'http://testapp.cozy.io' }
37
35
  }
38
36
  ]
@@ -52,9 +50,7 @@ describe('useAppLinkWithStoreFallback', () => {
52
50
  mockClient.query.mockResolvedValue({
53
51
  data: [
54
52
  {
55
- attributes: {
56
- slug: 'store'
57
- },
53
+ slug: 'store',
58
54
  links: { related: 'http://store.cozy.io' }
59
55
  }
60
56
  ]
@@ -2,8 +2,8 @@ import React, { useContext } from 'react'
2
2
  import { useParams } from 'react-router-dom'
3
3
 
4
4
  import { models, useQuery } from 'cozy-client'
5
- import Viewer from 'cozy-ui/transpiled/react/Viewer'
6
5
  import Overlay from 'cozy-ui/transpiled/react/deprecated/Overlay'
6
+ import Viewer from 'cozy-viewer'
7
7
 
8
8
  import { useDataCardFiles } from './useDataCardFiles'
9
9
  import { MountPointContext } from '../components/MountPointContext'