cozy-client 38.1.0 → 38.2.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.
@@ -2677,7 +2677,7 @@ var CozyClient = /*#__PURE__*/function () {
2677
2677
  CozyClient.hooks = CozyClient.hooks || {};
2678
2678
  CozyClient.fetchPolicies = _policies.default; //COZY_CLIENT_VERSION_PACKAGE in replaced by babel. See babel config
2679
2679
 
2680
- CozyClient.version = "38.1.0";
2680
+ CozyClient.version = "38.2.0";
2681
2681
 
2682
2682
  _microee.default.mixin(CozyClient);
2683
2683
 
package/dist/types.js CHANGED
@@ -317,7 +317,8 @@ var _dsl = require("./queries/dsl");
317
317
  /**
318
318
  * @typedef {object} ClientCapabilities
319
319
  * @property {boolean} [can_auth_with_oidc] - Whether OIDC login is possible with this Cozy
320
- * @property {boolean} [can_auth_with_password] - Whether password login is possible with this Cozy
320
+ * @property {boolean} [can_auth_with_password] - Whether password login is possible with this Cozy
321
+ * @property {boolean} [can_auth_with_magic_links] - Whether magic-link login is possible with this Cozy
321
322
  * @property {boolean} [file_versioning] - Whether file versioning is active on this Cozy
322
323
  * @property {boolean} [flat_subdomains] - Whether the stack has been configured to use flat subdomains
323
324
  * @description Read more about client capabilities here https://docs.cozy.io/en/cozy-stack/settings/#get-settingscapabilities.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-client",
3
- "version": "38.1.0",
3
+ "version": "38.2.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": "ef7486fc8347b57fab37b20fabdf67cf1bc9bc62"
76
+ "gitHead": "4cf0e807c6edfb107c4cb9e3085cfa5fa6961d88"
77
77
  }
package/types/types.d.ts CHANGED
@@ -491,9 +491,13 @@ export type ClientCapabilities = {
491
491
  */
492
492
  can_auth_with_oidc?: boolean;
493
493
  /**
494
- * - Whether password login is possible with this Cozy
494
+ * - Whether password login is possible with this Cozy
495
495
  */
496
496
  can_auth_with_password?: boolean;
497
+ /**
498
+ * - Whether magic-link login is possible with this Cozy
499
+ */
500
+ can_auth_with_magic_links?: boolean;
497
501
  /**
498
502
  * - Whether file versioning is active on this Cozy
499
503
  */