cozy-sharing 7.0.3 → 7.1.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,22 @@
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
+ # [7.1.0](https://github.com/cozy/cozy-libs/compare/cozy-sharing@7.0.3...cozy-sharing@7.1.0) (2023-03-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Use io.cozy.settings.instance full id to fix cache issues ([d27e6ac](https://github.com/cozy/cozy-libs/commit/d27e6ac022e2d40ea8fc25be563d74ab48a93e33))
12
+
13
+
14
+ ### Features
15
+
16
+ * Update cozy-client to get SettingsCollection update and cozy-ui ([a8ac6cd](https://github.com/cozy/cozy-libs/commit/a8ac6cdf359a86ad6b0f17d76af97d9210129425))
17
+
18
+
19
+
20
+
21
+
6
22
  ## [7.0.3](https://github.com/cozy/cozy-libs/compare/cozy-sharing@7.0.2...cozy-sharing@7.0.3) (2023-03-21)
7
23
 
8
24
  **Note:** Version bump only for package cozy-sharing
@@ -63,7 +63,7 @@ export var buildGroupsQuery = function buildGroupsQuery() {
63
63
  };
64
64
  export var buildInstanceSettingsQuery = function buildInstanceSettingsQuery() {
65
65
  return {
66
- definition: Q('io.cozy.settings').getById('instance'),
66
+ definition: Q('io.cozy.settings').getById('io.cozy.settings.instance'),
67
67
  options: {
68
68
  as: 'io.cozy.settings/instance',
69
69
  singleDocData: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-sharing",
3
- "version": "7.0.3",
3
+ "version": "7.1.0",
4
4
  "description": "Provides sharing login for React applications.",
5
5
  "main": "dist/index.js",
6
6
  "author": "Cozy",
@@ -40,8 +40,8 @@
40
40
  "babel-jest": "26.6.3",
41
41
  "babel-plugin-css-modules-transform": "1.6.2",
42
42
  "babel-plugin-inline-react-svg": "1.1.2",
43
- "cozy-client": "34.6.0",
44
- "cozy-ui": "79.2.2",
43
+ "cozy-client": "37.0.0",
44
+ "cozy-ui": "82.2.0",
45
45
  "enzyme": "3.11.0",
46
46
  "enzyme-adapter-react-16": "1.15.6",
47
47
  "enzyme-to-json": "3.6.2",
@@ -51,9 +51,9 @@
51
51
  "react-router": "^5.0.1"
52
52
  },
53
53
  "peerDependencies": {
54
- "cozy-client": "^34.6.0",
54
+ "cozy-client": "^37.0.0",
55
55
  "cozy-realtime": "^3.11.0",
56
- "cozy-ui": ">=79.2.2",
56
+ "cozy-ui": ">=82.2.0",
57
57
  "prop-types": "^15.7.2",
58
58
  "react": "^16.12.0",
59
59
  "react-router": "^5.0.1"
@@ -61,5 +61,5 @@
61
61
  "sideEffects": [
62
62
  "*.css"
63
63
  ],
64
- "gitHead": "01bab7bd1c4823c5191ec58542af941a009614a2"
64
+ "gitHead": "7dca6cde4b42c0914913b4706f7c4b1e34939145"
65
65
  }
@@ -135,6 +135,7 @@ exports[`ContactSuggestion component should display contact suggestion for a con
135
135
  >
136
136
  <div
137
137
  className="styles__c-avatar___PpDI- styles__c-avatar--text___2dvna"
138
+ data-testid="Avatar"
138
139
  style={
139
140
  Object {
140
141
  "--circleSize": "32px",
@@ -482,6 +483,7 @@ exports[`ContactSuggestion component should display contact suggestion for a con
482
483
  >
483
484
  <div
484
485
  className="styles__c-avatar___PpDI- styles__c-avatar--text___2dvna"
486
+ data-testid="Avatar"
485
487
  style={
486
488
  Object {
487
489
  "--circleSize": "32px",
@@ -880,6 +882,7 @@ exports[`ContactSuggestion component should display contact suggestion for a gro
880
882
  >
881
883
  <div
882
884
  className="styles__c-avatar___PpDI- styles__c-avatar--text___2dvna"
885
+ data-testid="Avatar"
883
886
  style={
884
887
  Object {
885
888
  "--circleSize": "32px",
@@ -67,7 +67,7 @@ export const buildGroupsQuery = () => ({
67
67
  })
68
68
 
69
69
  export const buildInstanceSettingsQuery = () => ({
70
- definition: Q('io.cozy.settings').getById('instance'),
70
+ definition: Q('io.cozy.settings').getById('io.cozy.settings.instance'),
71
71
  options: {
72
72
  as: 'io.cozy.settings/instance',
73
73
  singleDocData: true