@coopenomics/desktop 2025.11.28-alpha-1 → 2025.11.28-alpha-2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coopenomics/desktop",
|
|
3
|
-
"version": "2025.11.28-alpha-
|
|
3
|
+
"version": "2025.11.28-alpha-2",
|
|
4
4
|
"description": "A Desktop Project",
|
|
5
5
|
"productName": "Desktop App",
|
|
6
6
|
"author": "Alex Ant <dacom.dark.sun@gmail.com>",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"start": "node -r ./alias-resolver.js dist/ssr/index.js"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@coopenomics/controller": "2025.11.28-alpha-
|
|
29
|
-
"@coopenomics/notifications": "2025.11.28-alpha-
|
|
30
|
-
"@coopenomics/sdk": "2025.11.28-alpha-
|
|
28
|
+
"@coopenomics/controller": "2025.11.28-alpha-2",
|
|
29
|
+
"@coopenomics/notifications": "2025.11.28-alpha-2",
|
|
30
|
+
"@coopenomics/sdk": "2025.11.28-alpha-2",
|
|
31
31
|
"@dicebear/collection": "^9.0.1",
|
|
32
32
|
"@dicebear/core": "^9.0.1",
|
|
33
33
|
"@editorjs/code": "^2.9.3",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@wharfkit/wallet-plugin-privatekey": "^1.1.0",
|
|
60
60
|
"axios": "^1.2.1",
|
|
61
61
|
"compression": "^1.7.4",
|
|
62
|
-
"cooptypes": "2025.11.28-alpha-
|
|
62
|
+
"cooptypes": "2025.11.28-alpha-2",
|
|
63
63
|
"dompurify": "^3.1.7",
|
|
64
64
|
"dotenv": "^16.4.5",
|
|
65
65
|
"email-regex": "^5.0.0",
|
|
@@ -123,5 +123,5 @@
|
|
|
123
123
|
"npm": ">= 6.13.4",
|
|
124
124
|
"yarn": ">= 1.21.1"
|
|
125
125
|
},
|
|
126
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "83d4bd88cf24e5131c2808239f8d364529f1ff02"
|
|
127
127
|
}
|
|
@@ -173,10 +173,10 @@ if (!shouldRegisterSW) {
|
|
|
173
173
|
|
|
174
174
|
// Показываем уведомление пользователю о доступном обновлении
|
|
175
175
|
if ('Notification' in window && Notification.permission === 'granted') {
|
|
176
|
-
new Notification('Обновление доступно', {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
});
|
|
176
|
+
// new Notification('Обновление доступно', {
|
|
177
|
+
// body: 'Выпущена новая версия приложения. Нажмите на уведомление, чтобы обновить приложение.',
|
|
178
|
+
// icon: '/icons/icon-192x192.png',
|
|
179
|
+
// });
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
182
|
|
|
@@ -192,23 +192,23 @@ if (!shouldRegisterSW) {
|
|
|
192
192
|
// Показываем уведомление пользователю
|
|
193
193
|
if ('Notification' in window) {
|
|
194
194
|
if (Notification.permission === 'granted') {
|
|
195
|
-
new Notification('Обновление доступно', {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}).onclick = () => {
|
|
200
|
-
|
|
201
|
-
};
|
|
195
|
+
// new Notification('Обновление доступно', {
|
|
196
|
+
// body: 'Выпущена новая версия приложения. Нажмите на уведомление, чтобы обновить приложение.',
|
|
197
|
+
// icon: '/icons/icon-192x192.png',
|
|
198
|
+
// requireInteraction: true,
|
|
199
|
+
// }).onclick = () => {
|
|
200
|
+
// applyUpdate();
|
|
201
|
+
// };
|
|
202
202
|
} else if (Notification.permission !== 'denied') {
|
|
203
203
|
Notification.requestPermission().then((permission) => {
|
|
204
204
|
if (permission === 'granted') {
|
|
205
|
-
new Notification('Обновление доступно', {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
}).onclick = () => {
|
|
210
|
-
|
|
211
|
-
};
|
|
205
|
+
// new Notification('Обновление доступно', {
|
|
206
|
+
// body: 'Выпущена новая версия приложения. Нажмите на уведомление, чтобы обновить приложение.',
|
|
207
|
+
// icon: '/icons/icon-192x192.png',
|
|
208
|
+
// requireInteraction: true,
|
|
209
|
+
// }).onclick = () => {
|
|
210
|
+
// applyUpdate();
|
|
211
|
+
// };
|
|
212
212
|
}
|
|
213
213
|
});
|
|
214
214
|
}
|