Releases: twa-dev/types
Releases · twa-dev/types
v8.0.2
What's Changed
- Fix WebApp.requestContact typing by @wishyoudie in #3
New Contributors
- @wishyoudie made their first contribution in #3
Full Changelog: v8.0.1...v8.0.2
v8.0.1
v8.0
- signature
- isActive
- isFullscreen
- isOrientationLocked
- safeAreaInset
- contentSafeAreaInset
- Accelerometer
- DeviceOrientation
- Gyroscope
- LocationManager
- requestFullscreen
- exitFullscreen
- lockOrientation
- unlockOrientation
- addToHomeScreen
- checkHomeScreenStatus
- shareMessage
- setEmojiStatus
- requestEmojiStatusAccess
- downloadFile
Improvements
BackButtonandBottomButtonsupport chaining of method calls
v7.10.0
- Added
bottom_bar_bg_colorinThemeParams - Added
BottomButtoninterface with newhas_shine_effectparam - Added
SecondaryButtoninterface andWebApp['SecondaryButton'] - Added
secondaryButtonClickedtoEventNamesandEventParams
v7.8.0
- Added types for BiometricManager
- ThemeParams: added section_separator_color color
- Supported
"scanQrPopupClosed"event - Supported
enableVerticalSwipes,disableVerticalSwipesmethods andscanQrPopupClosedfield - Added types for
shareToStorymethod
v7.0.0
- Added types for SettingsButton
- ThemeParams: added fields header_bg_color, accent_text_color, section_bg_color, section_header_text_color, subtitle_text_color, destructive_text_color
v6.9.0
WebApp: addedCloudStorageinterface,requestWriteAccessandrequestContactmethodsBackButton: addedisVisiblepropertyMainButton: addedtext,color,textColorpropertiesEventNames,EventParams: addedwriteAccessRequested,contactRequestedWebAppInitData: addedallows_write_to_pmto userPlatforms:webaadded,webzremoved
v6.7.0
WebApp: addedswitchInlineQuerymethodWebAppInitData: addedchat_typeandchat_instancepropsWebAppInitData: addedadded_to_attachment_menutouser
v6.4.2
- Added the optional parameter
optionsto the methodopenLink
v6.4.1
- Added the events
qrTextReceived,clipboardTextReceived.