cosyncing 0.4.1 → 0.5.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.
Files changed (47) hide show
  1. package/README.md +1 -1
  2. package/THIRD_PARTY_NOTICES.txt +1 -1
  3. package/bin/cosyncing +1169 -505
  4. package/bin/cosyncing-web-0.5.1/cosyncing-build-identity.json +20 -0
  5. package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/cosyncing-cache-manifest.json +5 -5
  6. package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/index.html +35 -0
  7. package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/main.dart.js +119062 -111835
  8. package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/sw.js +4 -4
  9. package/bin/cosyncing-web-0.5.1/version.json +1 -0
  10. package/package.json +2 -2
  11. package/bin/cosyncing-web-0.4.1/cosyncing-build-identity.json +0 -20
  12. package/bin/cosyncing-web-0.4.1/version.json +0 -1
  13. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/assets/AssetManifest.bin +0 -0
  14. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/assets/AssetManifest.bin.json +0 -0
  15. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/assets/FontManifest.json +0 -0
  16. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/assets/NOTICES +0 -0
  17. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/assets/fonts/MaterialIcons-Regular.otf +0 -0
  18. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/assets/packages/cupertino_icons/assets/CupertinoIcons.ttf +0 -0
  19. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/assets/packages/flutter_local_notifications_web/web/notifications_service_worker.js +0 -0
  20. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/assets/shaders/ink_sparkle.frag +0 -0
  21. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/assets/shaders/stretch_effect.frag +0 -0
  22. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/canvaskit/canvaskit.js +0 -0
  23. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/canvaskit/canvaskit.wasm +0 -0
  24. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/canvaskit/chromium/canvaskit.js +0 -0
  25. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/canvaskit/chromium/canvaskit.wasm +0 -0
  26. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/canvaskit/experimental_webparagraph/canvaskit.js +0 -0
  27. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/canvaskit/experimental_webparagraph/canvaskit.wasm +0 -0
  28. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/canvaskit/skwasm.js +0 -0
  29. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/canvaskit/skwasm.wasm +0 -0
  30. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/canvaskit/skwasm_heavy.js +0 -0
  31. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/canvaskit/skwasm_heavy.wasm +0 -0
  32. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/canvaskit/wimp.js +0 -0
  33. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/canvaskit/wimp.wasm +0 -0
  34. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/drift_worker.js +0 -0
  35. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/favicon.ico +0 -0
  36. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/favicon.svg +0 -0
  37. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/flutter.js +0 -0
  38. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/flutter_bootstrap.js +0 -0
  39. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/icons/apple-touch-icon-180.png +0 -0
  40. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/icons/pwa-icon-192.png +0 -0
  41. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/icons/pwa-icon-512.png +0 -0
  42. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/icons/pwa-maskable-192.png +0 -0
  43. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/icons/pwa-maskable-512.png +0 -0
  44. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/icons/pwa-monochrome-192.png +0 -0
  45. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/icons/pwa-monochrome-512.png +0 -0
  46. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/manifest.json +0 -0
  47. /package/bin/{cosyncing-web-0.4.1 → cosyncing-web-0.5.1}/sqlite3.wasm +0 -0
@@ -0,0 +1,20 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "product": "cosyncing",
4
+ "version": "0.5.1",
5
+ "sourceCommit": "241c28c8c671151a47adf16a43c69ec664b177b3",
6
+ "dirty": false,
7
+ "baseHref": "/cosy/",
8
+ "contract": {
9
+ "revision": 18,
10
+ "minimumClientRevision": 17,
11
+ "surfaceHash": "fnv1a32:4531a029",
12
+ "clientMinimumBrokerRevision": 16
13
+ },
14
+ "buildId": "3c563337cf127daf",
15
+ "cacheManifestSha256": "e7d2efa2d51bbb8840ab77fe4a5bdcf86ee62c448ff36c3912222a1553980ace",
16
+ "mainDartSha256": "8b536df3e417ad90a1adf6e024ba356b936a807b1ea86a56a40f589d88561a2f",
17
+ "releaseFiles": {
18
+ "assets/NOTICES": "41146f98d27ca19de8aab0b1c4b2c1efc1a9bbfdba7ebfec5161d80ae1ec1a2d"
19
+ }
20
+ }
@@ -1,5 +1,5 @@
1
1
  {
2
- "buildVersion": "4057358a8adc47ca",
2
+ "buildVersion": "3c563337cf127daf",
3
3
  "precache": [
4
4
  "assets/AssetManifest.bin",
5
5
  "assets/AssetManifest.bin.json",
@@ -74,12 +74,12 @@
74
74
  "icons/pwa-maskable-512.png": "382a8a8db480a63352caa2f77574fe84c3b31ddace02e18ab916bf64ce43a4c6",
75
75
  "icons/pwa-monochrome-192.png": "25307f415e32c989195a18521400757dfacbb0e0cd550bc6acfcb8124c3734af",
76
76
  "icons/pwa-monochrome-512.png": "9bf04b7c999104450f7cc85a691cf536157bf2dd9c4d27975c576e8f073fbd22",
77
- "index.html": "edfb26b7bb979b98e5ec2d7223ab60d51572c7a6c6f9bf90d0687da5d235f140",
78
- "main.dart.js": "8d5de9025e809424be4dfc313f36356ecd42c042e4705ebb7a312de37a3a9265",
77
+ "index.html": "cae8e60d0fdb4fbae031fcfc6fb2aa44b21550aa800717d9f94b497e85d6acb1",
78
+ "main.dart.js": "8b536df3e417ad90a1adf6e024ba356b936a807b1ea86a56a40f589d88561a2f",
79
79
  "manifest.json": "5e5ba9c53061e4c6e1515b79a92f290837198192891d7001b69c9128b7ff2f6e",
80
80
  "sqlite3.wasm": "c41558c74d0ad954c2ece9d8c40ae9c3f247b4ae1c022eeb9899de44b37b9a39",
81
- "version.json": "1c289ec63529bf92d68540b20b401a061b1319dba46ea8f2b464e049b6666826"
81
+ "version.json": "071f502ac23a7ba66605e21146a9a0487c80fccb0760deeb00a4f9e29f2fd751"
82
82
  },
83
- "precacheBytes": 6287898,
83
+ "precacheBytes": 6770290,
84
84
  "runtimeBytes": 30914358
85
85
  }
@@ -235,6 +235,38 @@
235
235
  }, { capture: true, passive: false });
236
236
  </script>
237
237
 
238
+ <!--
239
+ Accidental browser-close protection.
240
+
241
+ Ctrl/Cmd+W is owned by the browser and cannot be made a dependable Flutter
242
+ shortcut. `beforeunload` is the browser-native protection layer: Dart turns
243
+ it on while this window has open Cosyncing session tabs, and the browser
244
+ shows its standard confirmation for close, reload, or leave actions. The
245
+ text is intentionally browser-owned; modern browsers ignore custom copy.
246
+
247
+ The coordinated web-update handoff is a deliberate document replacement,
248
+ so it raises the one-shot bypass immediately before `location.replace`.
249
+ -->
250
+ <script>
251
+ (function () {
252
+ 'use strict';
253
+ var protectedByOpenSessions = false;
254
+ var intentionalUnload = false;
255
+
256
+ window.cosyncingSetBrowserCloseProtection = function (enabled) {
257
+ protectedByOpenSessions = enabled === true;
258
+ };
259
+ window.cosyncingAllowIntentionalUnload = function () {
260
+ intentionalUnload = true;
261
+ };
262
+ window.addEventListener('beforeunload', function (event) {
263
+ if (!protectedByOpenSessions || intentionalUnload) return;
264
+ event.preventDefault();
265
+ event.returnValue = '';
266
+ });
267
+ }());
268
+ </script>
269
+
238
270
  <!--
239
271
  Startup shell controller (N3).
240
272
 
@@ -1178,6 +1210,9 @@
1178
1210
  var next = attemptsFor(version) + 1;
1179
1211
  recordAttempt(version, next);
1180
1212
  note('move', { v: version, attempt: next });
1213
+ if (typeof window.cosyncingAllowIntentionalUnload === 'function') {
1214
+ window.cosyncingAllowIntentionalUnload();
1215
+ }
1181
1216
  location.replace(handoffHref(version, currentRoute()));
1182
1217
  }
1183
1218