mirror of
https://github.com/stablyai/orca.git
synced 2026-09-23 00:02:29 +00:00
* fix(mobile): accept websocket pairing addresses * fix(mobile): align manual pairing address validation * docs(mobile): correct custom address grammar comment * fix(mobile): enforce pairing endpoint size limit * fix(mobile): reject canonical IPv6 wildcard addresses * fix(mobile): handle unscannable pairing offers * fix(mobile): reset custom address dialog on close --------- Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
7 lines
362 B
TypeScript
7 lines
362 B
TypeScript
export const PAIRING_CODE_MAX_CHARACTERS = 128 * 1024
|
|
export const PAIRING_INPUT_MAX_CHARACTERS = PAIRING_CODE_MAX_CHARACTERS + 1024
|
|
export const PAIRING_ENDPOINT_MAX_CHARACTERS = 16 * 1024
|
|
export const PAIRING_DEVICE_TOKEN_MAX_CHARACTERS = 64 * 1024
|
|
export const PAIRING_PUBLIC_KEY_MAX_CHARACTERS = 4 * 1024
|
|
export const PAIRING_RELAY_URL_MAX_CHARACTERS = 2048
|