refactor: extract common types to @yume-chan/async package

This commit is contained in:
Simon Chan 2024-11-20 06:37:09 +08:00
parent 6cb0a589fa
commit db8466f6ee
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
58 changed files with 337 additions and 267 deletions

View file

@ -0,0 +1,5 @@
---
"@yume-chan/scrcpy-decoder-tinyh264": patch
---
Add support for rendering into `OffscreenCanvas`

View file

@ -0,0 +1,8 @@
---
"@yume-chan/adb": patch
"@yume-chan/adb-scrcpy": patch
"@yume-chan/scrcpy": patch
"@yume-chan/struct": patch
---
Rewrite the struct API completely

View file

@ -0,0 +1,5 @@
---
"@yume-chan/adb-daemon-webusb": patch
---
Accept standard `USBDeviceFilter` type and fill in default interface filters automatically

View file

@ -0,0 +1,6 @@
---
"@yume-chan/adb": patch
"@yume-chan/adb-credential-web": patch
---
Add common interface for device observers

View file

@ -0,0 +1,5 @@
---
"@yume-chan/scrcpy-decoder-webcodecs": patch
---
Fix H.265 rendering in Microsoft Edge

View file

@ -0,0 +1,5 @@
---
"@yume-chan/adb-daemon-webusb": patch
---
Throw `DeviceBusyError` when interface can't be claimed

View file

@ -0,0 +1,7 @@
---
"@yume-chan/adb": patch
"@yume-chan/scrcpy": patch
"@yume-chan/struct": patch
---
Improve tree-shaking by removing TypeScript enum and namespace

View file

@ -0,0 +1,5 @@
---
"@yume-chan/scrcpy-decoder-webcodecs": patch
---
Add a `snapshot` method to convert the last rendered frame into PNG

View file

@ -0,0 +1,5 @@
---
"@yume-chan/adb-scrcpy": patch
---
Fix automatically switching to forward tunnel when reverse tunnel is not supported