cozy-client 34.2.0 → 34.3.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.
@@ -2644,7 +2644,7 @@ var CozyClient = /*#__PURE__*/function () {
2644
2644
  CozyClient.hooks = CozyClient.hooks || {};
2645
2645
  CozyClient.fetchPolicies = _policies.default; //COZY_CLIENT_VERSION_PACKAGE in replaced by babel. See babel config
2646
2646
 
2647
- CozyClient.version = "34.2.0";
2647
+ CozyClient.version = "34.3.0";
2648
2648
 
2649
2649
  _microee.default.mixin(CozyClient);
2650
2650
 
@@ -33,7 +33,8 @@ var _exportNames = {
33
33
  Registry: true,
34
34
  manifest: true,
35
35
  BulkEditError: true,
36
- models: true
36
+ models: true,
37
+ fetchPolicies: true
37
38
  };
38
39
  Object.defineProperty(exports, "default", {
39
40
  enumerable: true,
@@ -185,6 +186,12 @@ Object.defineProperty(exports, "BulkEditError", {
185
186
  return _errors.BulkEditError;
186
187
  }
187
188
  });
189
+ Object.defineProperty(exports, "fetchPolicies", {
190
+ enumerable: true,
191
+ get: function get() {
192
+ return _policies.default;
193
+ }
194
+ });
188
195
  exports.models = exports.manifest = void 0;
189
196
 
190
197
  var _CozyClient = _interopRequireDefault(require("./CozyClient"));
@@ -243,4 +250,6 @@ Object.keys(_cli).forEach(function (key) {
243
250
 
244
251
  var models = _interopRequireWildcard(require("./models"));
245
252
 
246
- exports.models = models;
253
+ exports.models = models;
254
+
255
+ var _policies = _interopRequireDefault(require("./policies"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-client",
3
- "version": "34.2.0",
3
+ "version": "34.3.0",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.node.js",
6
6
  "browser": "dist/index.js",
@@ -73,5 +73,5 @@
73
73
  "react-native-ios11-devicecheck": "https://github.com/cozy/react-native-devicecheck#app-attest-v0.1"
74
74
  },
75
75
  "sideEffects": false,
76
- "gitHead": "c923ce83713eee3d4763e77e2f12ad1361936b18"
76
+ "gitHead": "30c2fc2dd8d92fbb73f254a3aa50137757a2f51e"
77
77
  }
@@ -8,6 +8,7 @@ export { default as Registry } from "./registry";
8
8
  export * from "./mock";
9
9
  export * from "./cli";
10
10
  export { BulkEditError } from "./errors";
11
+ export { default as fetchPolicies } from "./policies";
11
12
  import * as manifest from "./manifest";
12
13
  import * as models from "./models";
13
14
  export { manifest, models };