cozy-client 34.9.0 → 34.10.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.
@@ -2656,7 +2656,7 @@ var CozyClient = /*#__PURE__*/function () {
2656
2656
  CozyClient.hooks = CozyClient.hooks || {};
2657
2657
  CozyClient.fetchPolicies = _policies.default; //COZY_CLIENT_VERSION_PACKAGE in replaced by babel. See babel config
2658
2658
 
2659
- CozyClient.version = "34.9.0";
2659
+ CozyClient.version = "34.10.0";
2660
2660
 
2661
2661
  _microee.default.mixin(CozyClient);
2662
2662
 
package/dist/types.js CHANGED
@@ -255,13 +255,11 @@ var _dsl = require("./queries/dsl");
255
255
 
256
256
  /**
257
257
  * @typedef {object} ClientCapabilities
258
- *
258
+ * @property {boolean} [can_auth_with_oidc] - Whether OIDC login is possible with this Cozy
259
+ * @property {boolean} [can_auth_with_password] - Whether password login is possible with this Cozy
260
+ * @property {boolean} [file_versioning] - Whether file versioning is active on this Cozy
261
+ * @property {boolean} [flat_subdomains] - Whether the stack has been configured to use flat subdomains
259
262
  * @description Read more about client capabilities here https://docs.cozy.io/en/cozy-stack/settings/#get-settingscapabilities.
260
- *
261
- * @property {boolean} can_auth_with_oidc - Whether OIDC login is possible with this Cozy
262
- * @property {boolean} can_auth_with_password - Whether password login is possible with this Cozy
263
- * @property {boolean} file_versioning - Whether file versioning is active on this Cozy
264
- * @property {boolean} flat_subdomains - Whether the stack has been configured to use flat subdomains
265
263
  */
266
264
 
267
265
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-client",
3
- "version": "34.9.0",
3
+ "version": "34.10.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": "5a1a67eb9d3b85690f92461e2d67308407d4fb7d"
76
+ "gitHead": "4226b41eb89454a50af48ab1316c730eff836d9b"
77
77
  }
package/types/types.d.ts CHANGED
@@ -335,7 +335,24 @@ export type InAppBrowser = {
335
335
  open: Function;
336
336
  };
337
337
  export type AppMetadata = any;
338
- export type ClientCapabilities = any;
338
+ export type ClientCapabilities = {
339
+ /**
340
+ * - Whether OIDC login is possible with this Cozy
341
+ */
342
+ can_auth_with_oidc?: boolean;
343
+ /**
344
+ * - Whether password login is possible with this Cozy
345
+ */
346
+ can_auth_with_password?: boolean;
347
+ /**
348
+ * - Whether file versioning is active on this Cozy
349
+ */
350
+ file_versioning?: boolean;
351
+ /**
352
+ * - Whether the stack has been configured to use flat subdomains
353
+ */
354
+ flat_subdomains?: boolean;
355
+ };
339
356
  export type Cordova = {
340
357
  file: FilePlugin;
341
358
  InAppBrowser: InAppBrowser;