From ecace47c4b83f640ae05aad12b4427ba3a1d5608 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 11 Mar 2024 10:56:43 +0000 Subject: [PATCH] Update content of files --- data/web/telegram.org/js/telegram-web-app.js | 6 +++--- data/web/webappcontent.telegram.org/cafe.html | 2 +- data/web/webappcontent.telegram.org/demo.html | 4 ++-- data/web/webappcontent.telegram.org/js/webappdemo.js | 3 +++ 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/data/web/telegram.org/js/telegram-web-app.js b/data/web/telegram.org/js/telegram-web-app.js index 8d09ad9b3b..ae8c40c807 100644 --- a/data/web/telegram.org/js/telegram-web-app.js +++ b/data/web/telegram.org/js/telegram-web-app.js @@ -1174,7 +1174,7 @@ } receiveWebViewEvent('biometricManagerUpdated'); } - function onBiometryAuthRequested() { + function onBiometryAuthRequested(eventType, eventData) { var isAuthenticated = (eventData.status == 'authorized'), biometricToken = eventData.token || ''; if (authRequestState) { @@ -1191,7 +1191,7 @@ isAuthenticated: false }); } - function onBiometryTokenUpdated() { + function onBiometryTokenUpdated(eventType, eventData) { var applied = false; if (isBiometricAvailable && isAccessRequested) { @@ -1285,7 +1285,7 @@ WebView.postEvent('web_app_biometry_request_auth', false); return biometricManager; }; - biometricManager.saveBiometricToken = function(token, callback) { + biometricManager.updateBiometricToken = function(token, callback) { if (!checkVersion()) { return biometricManager; } diff --git a/data/web/webappcontent.telegram.org/cafe.html b/data/web/webappcontent.telegram.org/cafe.html index 87e87ec127..1fd959f173 100644 --- a/data/web/webappcontent.telegram.org/cafe.html +++ b/data/web/webappcontent.telegram.org/cafe.html @@ -9,7 +9,7 @@ - + + - +