cozy-client 34.10.1 → 34.11.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.
@@ -548,7 +548,7 @@ var CozyClient = /*#__PURE__*/function () {
548
548
  * Emits
549
549
  *
550
550
  * - "beforeLogout" at the beginning, before links have been reset
551
- * - "login" when the client is fully logged out and links have been reset
551
+ * - "logout" when the client is fully logged out and links have been reset
552
552
  *
553
553
  * @returns {Promise} - Resolves when all links have been reset and client is fully logged out
554
554
  */
@@ -2669,7 +2669,7 @@ var CozyClient = /*#__PURE__*/function () {
2669
2669
  CozyClient.hooks = CozyClient.hooks || {};
2670
2670
  CozyClient.fetchPolicies = _policies.default; //COZY_CLIENT_VERSION_PACKAGE in replaced by babel. See babel config
2671
2671
 
2672
- CozyClient.version = "34.10.1";
2672
+ CozyClient.version = "34.11.1";
2673
2673
 
2674
2674
  _microee.default.mixin(CozyClient);
2675
2675
 
@@ -1905,7 +1905,7 @@ describe('file creation', () => {
1905
1905
  expect(doc._id).toEqual('1337')
1906
1906
  expect(client.stackClient.fetchJSON).toHaveBeenCalledWith(
1907
1907
  'POST',
1908
- '/files/folder-id?Name=toto.pdf&Type=file&Executable=false&Encrypted=false&MetadataID=&Size=12',
1908
+ '/files/folder-id?Name=toto.pdf&Type=file&Executable=false&Encrypted=false&MetadataID=&Size=12&SourceAccount=&SourceAccountIdentifier=',
1909
1909
  'file-content',
1910
1910
  {
1911
1911
  headers: { 'Content-Type': 'text/plain', 'Content-Length': '12' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-client",
3
- "version": "34.10.1",
3
+ "version": "34.11.1",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.node.js",
6
6
  "browser": "dist/index.js",
@@ -18,7 +18,7 @@
18
18
  "@types/jest": "^26.0.20",
19
19
  "@types/lodash": "^4.14.170",
20
20
  "btoa": "^1.2.1",
21
- "cozy-stack-client": "^34.7.3",
21
+ "cozy-stack-client": "^34.11.0",
22
22
  "date-fns": "2.29.3",
23
23
  "json-stable-stringify": "^1.0.1",
24
24
  "lodash": "^4.17.13",
@@ -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": "89faf50ec74cf6acd4ea6ca3ff6af67fe6436af7"
76
+ "gitHead": "9483c2be69199753b2b4195e335830584a6206ce"
77
77
  }
@@ -284,7 +284,7 @@ declare class CozyClient {
284
284
  * Emits
285
285
  *
286
286
  * - "beforeLogout" at the beginning, before links have been reset
287
- * - "login" when the client is fully logged out and links have been reset
287
+ * - "logout" when the client is fully logged out and links have been reset
288
288
  *
289
289
  * @returns {Promise} - Resolves when all links have been reset and client is fully logged out
290
290
  */