Files
xenia-pos-local/waiter_pwa/src/native/apiVersion.js
T
bonaminandClaude Opus 5.5 ffca0ace43 refactor: keep pure logic importable in tests on any OS
- netinfo_helper imports the Linux-only fcntl inside ipv4_of(), so detect()
  can be unit-tested on Windows/macOS
- SUPPORTED_API_VERSIONS moves to src/native/apiVersion.js (no Vite-only
  imports), so rediscovery.js runs under plain Node

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 23:33:16 +03:00

4 lines
202 B
JavaScript

// api_version values (from /api/system/identity) this build can talk to.
// Own module (no Vite-only imports) so the pure native logic stays testable in Node.
export const SUPPORTED_API_VERSIONS = [1]