cozy-harvest-lib 7.0.1 → 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-harvest-lib@7.0.1...cozy-harvest-lib@7.1.0) (2022-01-20)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Setup visibility in the router ([8d67b3d](https://github.com/cozy/cozy-libs/commit/8d67b3d))
12
+
13
+
14
+ ### Features
15
+
16
+ * Do not allow multi accounts features for clientSide konnectors ([1a9d157](https://github.com/cozy/cozy-libs/commit/1a9d157))
17
+
18
+
19
+
20
+
21
+
6
22
  ## [7.0.1](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@7.0.0...cozy-harvest-lib@7.0.1) (2022-01-07)
7
23
 
8
24
  **Note:** Version bump only for package cozy-harvest-lib
@@ -82,7 +82,9 @@ var Routes = function Routes(_ref) {
82
82
  konnector: konnector,
83
83
  accountId: match.params.accountId,
84
84
  accountsAndTriggers: accountsAndTriggers,
85
- onDismiss: onDismiss
85
+ onDismiss: onDismiss,
86
+ showNewAccountButton: !konnector.clientSide,
87
+ showAccountSelection: !konnector.clientSide
86
88
  });
87
89
  }
88
90
  }), /*#__PURE__*/React.createElement(Route, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-harvest-lib",
3
- "version": "7.0.1",
3
+ "version": "7.1.0",
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": "4c2c120375e4a57137f4c06bd39f491a827414ab"
88
+ "gitHead": "3bcb89db375339c661ec037593747bccd0a559a8"
89
89
  }
@@ -85,6 +85,8 @@ const Routes = ({ konnectorRoot, konnector, onDismiss, datacardOptions }) => {
85
85
  accountId={match.params.accountId}
86
86
  accountsAndTriggers={accountsAndTriggers}
87
87
  onDismiss={onDismiss}
88
+ showNewAccountButton={!konnector.clientSide}
89
+ showAccountSelection={!konnector.clientSide}
88
90
  />
89
91
  )}
90
92
  />