cozy-harvest-lib 7.3.0 → 7.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,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.1](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@7.3.0...cozy-harvest-lib@7.3.1) (2022-02-23)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **Harvest:** Launch Banking Konnector in manual mode ([082b53d](https://github.com/cozy/cozy-libs/commit/082b53d5048cd5841977422ba298a472ca538a8f))
12
+
13
+
14
+
15
+
16
+
6
17
  # [7.3.0](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@7.2.4...cozy-harvest-lib@7.3.0) (2022-02-18)
7
18
 
8
19
 
@@ -93,7 +93,7 @@ var createTemporaryToken = /*#__PURE__*/function () {
93
93
  mode: 'getTemporaryToken',
94
94
  konnector: konnector.slug,
95
95
  bankId: cozyBankId
96
- });
96
+ }, {}, true);
97
97
 
98
98
  case 6:
99
99
  jobResponse = _context.sent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-harvest-lib",
3
- "version": "7.3.0",
3
+ "version": "7.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",
@@ -52,7 +52,7 @@
52
52
  "babel-jest": "26.6.3",
53
53
  "babel-plugin-inline-react-svg": "1.1.2",
54
54
  "babel-preset-cozy-app": "^2.0.2",
55
- "cozy-client": "27.14.3",
55
+ "cozy-client": "27.17.0",
56
56
  "cozy-device-helper": "^1.17.0",
57
57
  "cozy-flags": "^2.8.5",
58
58
  "cozy-keys-lib": "3.8.0",
@@ -75,7 +75,7 @@
75
75
  "peerDependencies": {
76
76
  "@babel/runtime": ">=7.12.5",
77
77
  "@material-ui/core": ">=4",
78
- "cozy-client": ">=27.14.3",
78
+ "cozy-client": ">=27.17.0",
79
79
  "cozy-device-helper": ">=1.10.2",
80
80
  "cozy-flags": ">=2.3.5",
81
81
  "cozy-keys-lib": ">=3.7.0",
@@ -85,5 +85,5 @@
85
85
  "react-router-dom": "^5.0.1"
86
86
  },
87
87
  "sideEffects": false,
88
- "gitHead": "3bfcea11a7a0d354b5feabc3d4a2655345eee2ee"
88
+ "gitHead": "a9e8eb6d5b14f78d0daf3b58ef89ad54b374961f"
89
89
  }
@@ -82,11 +82,16 @@ const createTemporaryToken = async ({ client, konnector, account }) => {
82
82
  cozyBankId,
83
83
  'createTemporaryToken: Could not determine cozyBankId from account or konnector'
84
84
  )
85
- const jobResponse = await client.stackClient.jobs.create('konnector', {
86
- mode: 'getTemporaryToken',
87
- konnector: konnector.slug,
88
- bankId: cozyBankId
89
- })
85
+ const jobResponse = await client.stackClient.jobs.create(
86
+ 'konnector',
87
+ {
88
+ mode: 'getTemporaryToken',
89
+ konnector: konnector.slug,
90
+ bankId: cozyBankId
91
+ },
92
+ {},
93
+ true
94
+ )
90
95
  const event = await waitForRealtimeEvent(
91
96
  client,
92
97
  jobResponse.data.attributes,