cozy-client 45.2.0 → 45.4.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.
@@ -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 = "45.2.0";
2706
+ CozyClient.version = "45.4.0";
2707
2707
 
2708
2708
  _microee.default.mixin(CozyClient);
2709
2709
 
@@ -155,7 +155,7 @@ var certifyFlagship = /*#__PURE__*/function () {
155
155
  case 13:
156
156
  _context3.prev = 13;
157
157
  _context3.t0 = _context3["catch"](2);
158
- console.warn("[FLAGSHIP_CERTIFICATION] Certification for URI \"".concat(client.stackClient.uri, "\" failed but the cozy-stack will continue with 2FA certification"));
158
+ console.warn("[FLAGSHIP_CERTIFICATION] Automatic certification for URI \"".concat(client.stackClient.uri, "\" failed. This is expected on dev environments and non-official phones. Cozy-stack will continue with manual certification through 2FA"));
159
159
  console.warn(_context3.t0.message);
160
160
 
161
161
  case 17:
@@ -145,7 +145,7 @@ describe('certifyFlagship', () => {
145
145
  )
146
146
 
147
147
  expect(console.warn).toHaveBeenCalledWith(
148
- '[FLAGSHIP_CERTIFICATION] Certification for URI "http://cozy.tools:8080" failed but the cozy-stack will continue with 2FA certification'
148
+ '[FLAGSHIP_CERTIFICATION] Automatic certification for URI "http://cozy.tools:8080" failed. This is expected on dev environments and non-official phones. Cozy-stack will continue with manual certification through 2FA'
149
149
  )
150
150
  expect(console.warn).toHaveBeenCalledWith(
151
151
  '[FLAGSHIP_CERTIFICATION] Something went wrong while requesting a challenge from CozyStack:\nSOME_STACK_CHALLENGE_ERROR'
@@ -175,7 +175,7 @@ describe('certifyFlagship', () => {
175
175
  })
176
176
 
177
177
  expect(console.warn).toHaveBeenCalledWith(
178
- '[FLAGSHIP_CERTIFICATION] Certification for URI "http://cozy.tools:8080" failed but the cozy-stack will continue with 2FA certification'
178
+ '[FLAGSHIP_CERTIFICATION] Automatic certification for URI "http://cozy.tools:8080" failed. This is expected on dev environments and non-official phones. Cozy-stack will continue with manual certification through 2FA'
179
179
  )
180
180
  expect(console.warn).toHaveBeenCalledWith('SOME_STORE_API_ERROR')
181
181
  })
@@ -214,7 +214,7 @@ describe('certifyFlagship', () => {
214
214
  )
215
215
 
216
216
  expect(console.warn).toHaveBeenCalledWith(
217
- '[FLAGSHIP_CERTIFICATION] Certification for URI "http://cozy.tools:8080" failed but the cozy-stack will continue with 2FA certification'
217
+ '[FLAGSHIP_CERTIFICATION] Automatic certification for URI "http://cozy.tools:8080" failed. This is expected on dev environments and non-official phones. Cozy-stack will continue with manual certification through 2FA'
218
218
  )
219
219
  expect(console.warn).toHaveBeenCalledWith(
220
220
  '[FLAGSHIP_CERTIFICATION] Something went wrong while giving attestation to CozyStack:\nSOME_STACK_CERTIFICATION_ERROR'
@@ -95,7 +95,7 @@
95
95
  "pregnancy_medical_certificate": "Certificat de grossesse |||| Certificats de grossesse",
96
96
  "prescription": "Ordonnance |||| Ordonnances",
97
97
  "real_estate_insurance" : "Attestation d'assurance immobilière |||| Attestations d'assurance immobilière",
98
- "real_estate_tax": "Taxe foncière |||| Taxes foncières",
98
+ "real_estate_tax": "Impôts - Taxe foncière |||| Impôts - Taxes foncières",
99
99
  "receipt": "Accusé de réception |||| Accusés de réception",
100
100
  "rent_receipt": "Quittance de loyer |||| Quittances de loyer",
101
101
  "residence_permit": "Titre de séjour |||| Titres de séjour",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-client",
3
- "version": "45.2.0",
3
+ "version": "45.4.0",
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": "8d25ea2cd27091c16990933ffc4f44adfea27661"
78
+ "gitHead": "0fcbd0f995319858f556fcd81973a61e83fcdfa4"
79
79
  }