cozy-harvest-lib 7.2.3 → 7.2.4
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.2.4](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@7.2.3...cozy-harvest-lib@7.2.4) (2022-02-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **deps:** update dependency babel-plugin-inline-react-svg to v1.1.2 ([2c66da8](https://github.com/cozy/cozy-libs/commit/2c66da822e24b0d30714d7fa4cd79c26696adcc6))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [7.2.3](https://github.com/cozy/cozy-libs/compare/cozy-harvest-lib@7.2.2...cozy-harvest-lib@7.2.3) (2022-02-04)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package cozy-harvest-lib
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
3
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
5
4
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
@@ -123,7 +122,7 @@ describe('AccountField', function () {
|
|
|
123
122
|
return _super.apply(this, arguments);
|
|
124
123
|
}
|
|
125
124
|
|
|
126
|
-
return
|
|
125
|
+
return AccountFieldWithPermissiveLabel;
|
|
127
126
|
}(AccountField);
|
|
128
127
|
|
|
129
128
|
AccountFieldWithPermissiveLabel.propTypes = _objectSpread(_objectSpread({}, AccountField.propTypes), {}, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
|
|
3
2
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
|
+
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
|
|
4
4
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
5
5
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
6
6
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
@@ -31,7 +31,7 @@ export var withKonnectorModal = function withKonnectorModal(WrappedComponent) {
|
|
|
31
31
|
return _super.apply(this, arguments);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
return
|
|
34
|
+
return WrappedComponentWithPropTypes;
|
|
35
35
|
}(WrappedComponent);
|
|
36
36
|
|
|
37
37
|
_defineProperty(WrappedComponentWithPropTypes, "propTypes", _objectSpread(_objectSpread({}, WrappedComponent.propTypes), {}, {
|
package/dist/services/bi-http.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
5
4
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
6
5
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
@@ -66,7 +65,7 @@ export var BIError = /*#__PURE__*/function (_Error) {
|
|
|
66
65
|
return _this;
|
|
67
66
|
}
|
|
68
67
|
|
|
69
|
-
return
|
|
68
|
+
return BIError;
|
|
70
69
|
}( /*#__PURE__*/_wrapNativeSuper(Error));
|
|
71
70
|
/**
|
|
72
71
|
* Sends BI request and parses the response
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
|
-
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
5
4
|
import { decryptString, getOrganizationKey, fetchAccountsForCipherId, updateAccountsAuth, fetchLoginFailedTriggersForAccountsIds, launchTriggers } from 'services/utils';
|
|
6
5
|
import SymmetricCryptoKey from 'cozy-keys-lib/transpiled/SymmetricCryptoKey';
|
|
7
6
|
import EncryptionType from 'cozy-keys-lib/transpiled/EncryptionType';
|
|
8
7
|
jest.mock('cozy-keys-lib/transpiled/SymmetricCryptoKey', function () {
|
|
9
|
-
var MockSymmetricCryptoKey =
|
|
8
|
+
var MockSymmetricCryptoKey = function MockSymmetricCryptoKey(key, encType) {
|
|
10
9
|
_classCallCheck(this, MockSymmetricCryptoKey);
|
|
11
10
|
|
|
12
11
|
return {
|
|
13
12
|
key: key,
|
|
14
13
|
encType: encType
|
|
15
14
|
};
|
|
16
|
-
}
|
|
15
|
+
};
|
|
17
16
|
|
|
18
17
|
return MockSymmetricCryptoKey;
|
|
19
18
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-harvest-lib",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.4",
|
|
4
4
|
"description": "Provides logic, modules and components for Cozy's harvest applications.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "Cozy",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@testing-library/jest-dom": "^4.1.2",
|
|
51
51
|
"@testing-library/react": "10.4.9",
|
|
52
52
|
"babel-jest": "26.6.3",
|
|
53
|
-
"babel-plugin-inline-react-svg": "
|
|
53
|
+
"babel-plugin-inline-react-svg": "1.1.2",
|
|
54
54
|
"babel-preset-cozy-app": "^2.0.2",
|
|
55
55
|
"cozy-client": "17.6.1",
|
|
56
56
|
"cozy-device-helper": "^1.17.0",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"react-router-dom": "^5.0.1"
|
|
86
86
|
},
|
|
87
87
|
"sideEffects": false,
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "5f0a839a3dcc01f2aa0106ccdbd67062c8faf44f"
|
|
89
89
|
}
|