cozy-client 41.8.0 → 41.8.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.
- package/dist/CozyClient.js +1 -1
- package/dist/models/utils.js +3 -3
- 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 = "41.8.
|
|
2706
|
+
CozyClient.version = "41.8.1";
|
|
2707
2707
|
|
|
2708
2708
|
_microee.default.mixin(CozyClient);
|
|
2709
2709
|
|
package/dist/models/utils.js
CHANGED
|
@@ -51,17 +51,17 @@ exports.getCreatedByApp = getCreatedByApp;
|
|
|
51
51
|
|
|
52
52
|
var getFlagshipDownloadLink = function getFlagshipDownloadLink(lang) {
|
|
53
53
|
if ((0, _cozyDeviceHelper.isAndroid)()) {
|
|
54
|
-
var id = (0, _cozyFlags.default)('flagship.
|
|
54
|
+
var id = (0, _cozyFlags.default)('flagship.playstore-id') || 'io.cozy.flagship.mobile';
|
|
55
55
|
return "https://play.google.com/store/apps/details?id=".concat(id, "&hl=").concat(lang);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
if ((0, _cozyDeviceHelper.isIOS)()) {
|
|
59
|
-
var _id = (0, _cozyFlags.default)('flagship.
|
|
59
|
+
var _id = (0, _cozyFlags.default)('flagship.appstore-id') || 'id1600636174';
|
|
60
60
|
|
|
61
61
|
return "https://apps.apple.com/".concat(lang, "/app/").concat(_id);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
return (0, _cozyFlags.default)('flagship.
|
|
64
|
+
return (0, _cozyFlags.default)('flagship.download-link') || "https://cozy.io/".concat(lang, "/download");
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
exports.getFlagshipDownloadLink = getFlagshipDownloadLink;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-client",
|
|
3
|
-
"version": "41.8.
|
|
3
|
+
"version": "41.8.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": "
|
|
78
|
+
"gitHead": "9641ee5ed541bc481f6b5a83d3c678277c502301"
|
|
79
79
|
}
|