Skip to content

v0.0.3a

Pre-release
Pre-release

Choose a tag to compare

@steck0714 steck0714 released this 31 Jul 10:47
45af9b3

What was implemented in this update:
・Created errors.py: Centralized DOMException prefix strings (e.g., "SecurityError: ...") into a single function. Previously, these were hardcoded in over 10 different places within bridge.py. This change eliminates a hard-to-find bug where a typo (e.g., "SecurtyError:") wouldn't trigger a syntax error, causing the JavaScript side to silently fall back to an incorrect error name. Dedicated tests (test_errors.py) have also been added.
・PyUSB Version: Confirmed in the previous update that the latest version (1.3.1) is being used. No changes were made here.
・Current Status: Please note that this version may still not be fully functional. Kindly wait for the next release.