flet-web 0.70.0.dev5319__py3-none-any.whl → 0.70.0.dev5320__py3-none-any.whl
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.
Potentially problematic release.
This version of flet-web might be problematic. Click here for more details.
- flet_web/fastapi/flet_app.py +3 -2
- flet_web/version.py +1 -1
- flet_web/web/flutter_bootstrap.js +1 -1
- flet_web/web/flutter_service_worker.js +4 -4
- flet_web/web/main.dart.js +76831 -76773
- flet_web/web/main.dart.mjs +30 -21
- flet_web/web/main.dart.wasm +0 -0
- flet_web/web/pyodide/micropip-0.8.0-py3-none-any.whl +2 -2
- {flet_web-0.70.0.dev5319.dist-info → flet_web-0.70.0.dev5320.dist-info}/METADATA +2 -2
- {flet_web-0.70.0.dev5319.dist-info → flet_web-0.70.0.dev5320.dist-info}/RECORD +12 -12
- {flet_web-0.70.0.dev5319.dist-info → flet_web-0.70.0.dev5320.dist-info}/WHEEL +0 -0
- {flet_web-0.70.0.dev5319.dist-info → flet_web-0.70.0.dev5320.dist-info}/top_level.txt +0 -0
flet_web/fastapi/flet_app.py
CHANGED
|
@@ -11,7 +11,8 @@ from typing import Any, Optional
|
|
|
11
11
|
import msgpack
|
|
12
12
|
from fastapi import WebSocket, WebSocketDisconnect
|
|
13
13
|
from flet.controls.base_control import BaseControl
|
|
14
|
-
from flet.controls.
|
|
14
|
+
from flet.controls.exceptions import FletPageDisconnectedException
|
|
15
|
+
from flet.controls.page import _session_page
|
|
15
16
|
from flet.controls.update_behavior import UpdateBehavior
|
|
16
17
|
from flet.messaging.connection import Connection
|
|
17
18
|
from flet.messaging.protocol import (
|
|
@@ -158,7 +159,7 @@ class FletApp(Connection):
|
|
|
158
159
|
|
|
159
160
|
if UpdateBehavior.auto_update_enabled():
|
|
160
161
|
await self.__session.auto_update(self.__session.page)
|
|
161
|
-
except
|
|
162
|
+
except FletPageDisconnectedException:
|
|
162
163
|
logger.debug(
|
|
163
164
|
"Session handler attempted to update disconnected page: "
|
|
164
165
|
f"{self.__session.id}"
|
flet_web/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
version = "0.70.0.
|
|
1
|
+
version = "0.70.0.dev5320"
|
|
@@ -54,7 +54,7 @@ if (flet.noCdn) {
|
|
|
54
54
|
_flutter.loader.load({
|
|
55
55
|
config: flutterConfig,
|
|
56
56
|
serviceWorkerSettings: {
|
|
57
|
-
serviceWorkerVersion: "
|
|
57
|
+
serviceWorkerVersion: "3435973883",
|
|
58
58
|
},
|
|
59
59
|
onEntrypointLoaded: async function (engineInitializer) {
|
|
60
60
|
loading.classList.add('main_done');
|
|
@@ -3,7 +3,7 @@ const MANIFEST = 'flutter-app-manifest';
|
|
|
3
3
|
const TEMP = 'flutter-temp-cache';
|
|
4
4
|
const CACHE_NAME = 'flutter-app-cache';
|
|
5
5
|
|
|
6
|
-
const RESOURCES = {"main.dart.js": "
|
|
6
|
+
const RESOURCES = {"main.dart.js": "9b4d973422ea880f90bbbe808438fc42",
|
|
7
7
|
"manifest.json": "58765f937ba0d0c40a3a714c5c1adb87",
|
|
8
8
|
"python-worker.js": "26eb131f3acb5ce232fea72da957e8ce",
|
|
9
9
|
"canvaskit/skwasm.wasm": "39dd80367a4e71582d234948adc521c0",
|
|
@@ -15,8 +15,8 @@ const RESOURCES = {"main.dart.js": "fc019fe7228983fd2f9f7bc257c16a8b",
|
|
|
15
15
|
"canvaskit/skwasm.js.symbols": "e72c79950c8a8483d826a7f0560573a1",
|
|
16
16
|
"canvaskit/canvaskit.js": "728b2d477d9b8c14593d4f9b82b484f3",
|
|
17
17
|
"canvaskit/canvaskit.wasm": "7a3f4ae7d65fc1de6a6e7ddd3224bc93",
|
|
18
|
-
"flutter_bootstrap.js": "
|
|
19
|
-
"main.dart.wasm": "
|
|
18
|
+
"flutter_bootstrap.js": "711351ed1ddf90117c42152a2a310eef",
|
|
19
|
+
"main.dart.wasm": "297629a19d2545ed9cbf4854b6e98b11",
|
|
20
20
|
"favicon.png": "302ac04c14db027d016d1fe74c6a80a0",
|
|
21
21
|
"flutter.js": "83d881c1dbb6d6bcd6b42e274605b69c",
|
|
22
22
|
"index.html": "55e4a5140b3c5f98b694331a15299630",
|
|
@@ -41,7 +41,7 @@ const RESOURCES = {"main.dart.js": "fc019fe7228983fd2f9f7bc257c16a8b",
|
|
|
41
41
|
"icons/icon-maskable-192.png": "c1c2210feeb444cf800a5ce0d06eff16",
|
|
42
42
|
"icons/loading-animation.png": "41a96047dbd2463a50c46ad3bf6ff158",
|
|
43
43
|
"icons/icon-maskable-512.png": "aa798e6d780ff109da17c3a98d5f2619",
|
|
44
|
-
"main.dart.mjs": "
|
|
44
|
+
"main.dart.mjs": "2faf19d0a5e56ac94677e62b1dabcbf8",
|
|
45
45
|
"python.js": "352c5261eadd3cc73ac082984266c0fc",
|
|
46
46
|
"version.json": "3fea9d9c7b4ca6955aa03e762e0d2e13"};
|
|
47
47
|
// The application shell files that are downloaded before a service worker can
|