cozy-client 38.0.0 → 38.0.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.
@@ -2436,7 +2436,7 @@ var CozyClient = /*#__PURE__*/function () {
2436
2436
  switch (_context18.prev = _context18.next) {
2437
2437
  case 0:
2438
2438
  _context18.next = 2;
2439
- return this.query((0, _dsl.Q)('io.cozy.settings').getById('capabilities'));
2439
+ return this.query((0, _dsl.Q)('io.cozy.settings').getById('io.cozy.settings.capabilities'));
2440
2440
 
2441
2441
  case 2:
2442
2442
  _yield$this$query = _context18.sent;
@@ -2679,7 +2679,7 @@ var CozyClient = /*#__PURE__*/function () {
2679
2679
  CozyClient.hooks = CozyClient.hooks || {};
2680
2680
  CozyClient.fetchPolicies = _policies.default; //COZY_CLIENT_VERSION_PACKAGE in replaced by babel. See babel config
2681
2681
 
2682
- CozyClient.version = "38.0.0";
2682
+ CozyClient.version = "38.0.1";
2683
2683
 
2684
2684
  _microee.default.mixin(CozyClient);
2685
2685
 
@@ -41,7 +41,7 @@ var useCapabilities = function useCapabilities(client) {
41
41
  setFetchStatus('loading');
42
42
  _context.prev = 1;
43
43
  _context.next = 4;
44
- return client.query((0, _dsl.Q)('io.cozy.settings').getById('capabilities'));
44
+ return client.query((0, _dsl.Q)('io.cozy.settings').getById('io.cozy.settings.capabilities'));
45
45
 
46
46
  case 4:
47
47
  capabilitiesResult = _context.sent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-client",
3
- "version": "38.0.0",
3
+ "version": "38.0.1",
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": "a54a8c8c30ace268890beaa88c7f569682e67d5e"
76
+ "gitHead": "26c3d646265a0eccde91073cdf4dd98f68276410"
77
77
  }