cozy-client 44.1.0 → 44.1.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.
@@ -2703,7 +2703,7 @@ var CozyClient = /*#__PURE__*/function () {
2703
2703
  CozyClient.hooks = CozyClient.hooks || {};
2704
2704
  CozyClient.fetchPolicies = _policies.default; //COZY_CLIENT_VERSION_PACKAGE in replaced by babel. See babel config
2705
2705
 
2706
- CozyClient.version = "44.1.0";
2706
+ CozyClient.version = "44.1.1";
2707
2707
 
2708
2708
  _microee.default.mixin(CozyClient);
2709
2709
 
@@ -47,7 +47,7 @@ var FILENAME_WITH_EXTENSION_REGEX = /(.+)(\..*)$/;
47
47
  * Returns base filename and extension
48
48
  *
49
49
  * @param {import("../types").IOCozyFile} file An io.cozy.files
50
- * @returns {object} {filename, extension}
50
+ * @returns {{filename: string, extension: string}}
51
51
  */
52
52
 
53
53
  var splitFilename = function splitFilename(file) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-client",
3
- "version": "44.1.0",
3
+ "version": "44.1.1",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.node.js",
6
6
  "browser": "dist/index.js",
@@ -75,5 +75,5 @@
75
75
  "react-native-ios11-devicecheck": "https://github.com/cozy/react-native-devicecheck#app-attest-v0.1"
76
76
  },
77
77
  "sideEffects": false,
78
- "gitHead": "74be3146ea4706cf3c2d7a3b07c4ef1171e33df7"
78
+ "gitHead": "872a9d48bd8fbe743322d74829c68dd97d6c8980"
79
79
  }
@@ -25,7 +25,10 @@ export function ensureFilePath(file: object, parent: object): object;
25
25
  */
26
26
  export function getParentFolderId(file: object): string | null;
27
27
  export const ALBUMS_DOCTYPE: "io.cozy.photos.albums";
28
- export function splitFilename(file: import("../types").IOCozyFile): object;
28
+ export function splitFilename(file: import("../types").IOCozyFile): {
29
+ filename: string;
30
+ extension: string;
31
+ };
29
32
  export function isFile(file: import("../types").IOCozyFile): boolean;
30
33
  export function isDirectory(file: import("../types").IOCozyFile): boolean;
31
34
  export function isNote(file: import("../types").IOCozyFile): boolean;