cozy-harvest-lib 7.3.2 → 7.3.3

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
+ ## [7.3.3](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@7.3.2...cozy-harvest-lib@7.3.3) (2022-03-09)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **harvest:** ConnectionFlow with CCC ([2745850](https://github.com/cozy/cozy-libs/commit/274585069b403aae1d21308a50e1fa6a0c111da4))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [7.3.2](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@7.3.1...cozy-harvest-lib@7.3.2) (2022-03-01)
7
18
 
8
19
  **Note:** Version bump only for package cozy-harvest-lib
@@ -541,7 +541,7 @@ export var ConnectionFlow = /*#__PURE__*/function () {
541
541
  konnectorPolicy = findKonnectorPolicy(konnector);
542
542
  logger.log("ConnectionFlow: Handling submit, with konnector policy ".concat(konnectorPolicy.name));
543
543
 
544
- if (!konnectorPolicy.saveInVault) {
544
+ if (!(konnectorPolicy.saveInVault && !konnector.clientSide)) {
545
545
  _context6.next = 18;
546
546
  break;
547
547
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-harvest-lib",
3
- "version": "7.3.2",
3
+ "version": "7.3.3",
4
4
  "description": "Provides logic, modules and components for Cozy's harvest applications.",
5
5
  "main": "dist/index.js",
6
6
  "author": "Cozy",
@@ -85,5 +85,5 @@
85
85
  "react-router-dom": "^5.0.1"
86
86
  },
87
87
  "sideEffects": false,
88
- "gitHead": "b5e309bdcc2cb816a3cfe5aca22267285afd76ae"
88
+ "gitHead": "e0317ee6b7d704222283f5fc574811c47a773505"
89
89
  }
@@ -381,7 +381,7 @@ export class ConnectionFlow {
381
381
  )
382
382
 
383
383
  let cipher
384
- if (konnectorPolicy.saveInVault) {
384
+ if (konnectorPolicy.saveInVault && !konnector.clientSide) {
385
385
  cipher = await createOrUpdateCipher(vaultClient, cipherId, {
386
386
  account,
387
387
  konnector,