cozy-harvest-lib 22.5.1 → 22.5.2

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,17 @@
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
+ ## [22.5.2](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@22.5.1...cozy-harvest-lib@22.5.2) (2024-03-11)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Avoir losing cozy-client cache after reload ([dd36fcc](https://github.com/cozy/cozy-libs/commit/dd36fcc44c4158ea6a9b86b7bbf315a5bd19715f))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [22.5.1](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@22.5.0...cozy-harvest-lib@22.5.1) (2024-03-07)
7
18
 
8
19
 
@@ -163,7 +163,9 @@ function _getTriggers() {
163
163
  case 0:
164
164
  _context3.next = 2;
165
165
  return client.query(Q(TRIGGERS_DOCTYPE).where({
166
- worker: ['client', 'konnector']
166
+ worker: {
167
+ $in: ['client', 'konnector']
168
+ }
167
169
  }));
168
170
 
169
171
  case 2:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-harvest-lib",
3
- "version": "22.5.1",
3
+ "version": "22.5.2",
4
4
  "description": "Provides logic, modules and components for Cozy's harvest applications.",
5
5
  "main": "dist/index.js",
6
6
  "author": "Cozy",
@@ -107,5 +107,5 @@
107
107
  "react-router-dom": ">=4.3.1"
108
108
  },
109
109
  "sideEffects": false,
110
- "gitHead": "0436fdae01a447339f723bf2d43695f91187e5c9"
110
+ "gitHead": "a93bc9fc1ee9a73dbb110f184606acaf4fa6d9f6"
111
111
  }
@@ -70,7 +70,11 @@ async function getKonnector(client, slug) {
70
70
 
71
71
  async function getTriggers(client, slug) {
72
72
  const { data: allTriggers } = await client.query(
73
- Q(TRIGGERS_DOCTYPE).where({ worker: ['client', 'konnector'] })
73
+ Q(TRIGGERS_DOCTYPE).where({
74
+ worker: {
75
+ $in: ['client', 'konnector']
76
+ }
77
+ })
74
78
  )
75
79
  return allTriggers.filter(
76
80
  trigger =>