cozy-client 45.3.0 → 45.5.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.
- package/dist/CozyClient.js +1 -1
- package/dist/flagship-certification/flagship-certification.js +1 -1
- package/dist/flagship-certification/flagship-certification.spec.js +3 -3
- package/dist/models/document/locales/en.json +1 -1
- package/dist/models/document/locales/fr.json +1 -1
- package/package.json +2 -2
package/dist/CozyClient.js
CHANGED
|
@@ -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.
|
|
2706
|
+
CozyClient.version = "45.5.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]
|
|
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]
|
|
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]
|
|
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]
|
|
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'
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"note_finance": "Note Finance |||| Notes Finance",
|
|
73
73
|
"note_invoice": "Note Invoice |||| Notes Invoice",
|
|
74
74
|
"other_activity_document": "Other sports document |||| Other sports documents",
|
|
75
|
-
"other_bank_document": "Other
|
|
75
|
+
"other_bank_document": "Other financial document |||| Other financial documents",
|
|
76
76
|
"other_family_document": "Other family document |||| Other family documents",
|
|
77
77
|
"other_health_document": "Other health document |||| Other health documents",
|
|
78
78
|
"other_house_document": "Other house document |||| Other house documents",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"note_finance": "Note Finances |||| Notes Finances",
|
|
73
73
|
"note_invoice": "Note Factures |||| Notes Factures",
|
|
74
74
|
"other_activity_document": "Autre document sportif |||| Autres documents sportifs",
|
|
75
|
-
"other_bank_document": "Autre document
|
|
75
|
+
"other_bank_document": "Autre document financier |||| Autres documents financiers",
|
|
76
76
|
"other_family_document": "Autre document de famille |||| Autres documents de famille",
|
|
77
77
|
"other_health_document": "Autre document de santé |||| Autres documents de santé",
|
|
78
78
|
"other_house_document": "Autre document de logement |||| Autres documents de logement",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-client",
|
|
3
|
-
"version": "45.
|
|
3
|
+
"version": "45.5.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": "
|
|
78
|
+
"gitHead": "4f36bc52db2b52fa11ab60cd636b075e04f671b1"
|
|
79
79
|
}
|