cozy-sharing 28.8.0 → 28.9.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [28.9.0](https://github.com/cozy/cozy-libs/compare/cozy-sharing@28.8.0...cozy-sharing@28.9.0) (2026-03-12)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- Disable Twake Creation from public sharing link ([e8e6fcf](https://github.com/cozy/cozy-libs/commit/e8e6fcfc5e659796f06378818044debb09c7c4e2))
|
|
11
|
+
|
|
6
12
|
# [28.8.0](https://github.com/cozy/cozy-libs/compare/cozy-sharing@28.7.0...cozy-sharing@28.8.0) (2026-03-12)
|
|
7
13
|
|
|
8
14
|
### Features
|
|
@@ -123,6 +123,12 @@ var SharingBannerByLink = function SharingBannerByLink(_ref3) {
|
|
|
123
123
|
t = _useI18n4.t;
|
|
124
124
|
|
|
125
125
|
var HOME_LINK_HREF = flag('signup.url');
|
|
126
|
+
var canNotCreateTwakeFromPublicSharingLink = flag('drive.twake-creation-from-public-sharing.disabled');
|
|
127
|
+
|
|
128
|
+
if (canNotCreateTwakeFromPublicSharingLink) {
|
|
129
|
+
return null;
|
|
130
|
+
}
|
|
131
|
+
|
|
126
132
|
return /*#__PURE__*/React.createElement(Banner, {
|
|
127
133
|
bgcolor: "var(--defaultBackgroundColor)",
|
|
128
134
|
text: /*#__PURE__*/React.createElement(SharingBannerByLinkText, null),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-sharing",
|
|
3
|
-
"version": "28.
|
|
3
|
+
"version": "28.9.0",
|
|
4
4
|
"description": "Provides sharing login for React applications.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "Cozy",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"sideEffects": [
|
|
84
84
|
"*.css"
|
|
85
85
|
],
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "53934e510ce08e3066a3b6aad6d9bb05778dede8"
|
|
87
87
|
}
|
|
@@ -113,6 +113,13 @@ const SharingBannerByLink = ({ onClose }) => {
|
|
|
113
113
|
const { t } = useI18n()
|
|
114
114
|
|
|
115
115
|
const HOME_LINK_HREF = flag('signup.url')
|
|
116
|
+
const canNotCreateTwakeFromPublicSharingLink = flag(
|
|
117
|
+
'drive.twake-creation-from-public-sharing.disabled'
|
|
118
|
+
)
|
|
119
|
+
|
|
120
|
+
if (canNotCreateTwakeFromPublicSharingLink) {
|
|
121
|
+
return null
|
|
122
|
+
}
|
|
116
123
|
|
|
117
124
|
return (
|
|
118
125
|
<Banner
|