Michael Lynch
486a075b8e
Add a browser-only export for Web clients
...
This package has a single export that includes both NodeJS and browser modules. When a web project imports this library, the build generates a bunch of warnings, like this in vite:
[plugin vite:resolve] Module net has been externalized for browser compatibility...
[plugin vite:resolve] Module stream has been externalized for browser compatibility...
...
We can clean this up by creating a special browser-only export. Bundlers like Vite and Webpack know to choose the 'browser' export in projects that are web-only (not NodeJS).
This change adds a 'browser' export and updates the documentation to use browser-only examples.
2025-12-29 16:41:42 -05:00
liamcottle
25db13cdf6
fix null check
2025-04-13 13:55:55 +12:00
liamcottle
2588af9a28
add support for new advert push codes when contacts are set to manual add
2025-04-13 13:53:05 +12:00
liamcottle
24d330b189
add prefs toggle for auto adding or manual adding of new contacts
2025-04-13 13:43:52 +12:00
liamcottle
06f8f9d4ea
refactor ble connection to web ble connection
2025-04-08 13:54:25 +12:00
liamcottle
e73632456d
update test sf to 11
2025-04-08 12:21:58 +12:00
liamcottle
de4e1d713b
refactor serial connection to base class and web serial class
2025-04-08 11:52:32 +12:00
liamcottle
9e3171bd78
implement path tracing
2025-03-17 23:17:03 +13:00
liamcottle
78e990aeac
ui to test channels
2025-03-11 20:23:25 +13:00
liamcottle
9e6f42f0bc
get channels
2025-03-11 19:16:55 +13:00
liamcottle
1d88787c92
quiet logs
2025-03-10 02:53:00 +13:00
liamcottle
d1bf08fec4
implement zero hop repeater ping
2025-03-10 02:40:31 +13:00
liamcottle
0270c74293
log raw lora bytes received
2025-03-09 20:59:43 +13:00
liamcottle
f48d55f681
make cli usable on mobile
2025-02-27 18:09:49 +13:00
liamcottle
c26a54f757
tidy
2025-02-27 17:56:43 +13:00
liamcottle
af2170e53e
add login button
2025-02-27 17:50:50 +13:00
liamcottle
32928e3a96
simple cli console for remote repeater management
2025-02-27 17:48:19 +13:00
liamcottle
84df5aa57f
implement login and status request for fetching metrics from repeaters
2025-02-24 19:28:09 +13:00
liamcottle
a04a3a9b19
implement private key import and export
2025-02-21 16:58:17 +13:00
liamcottle
f6cfe37449
add ability to get battery voltage
2025-02-16 17:00:00 +13:00
liamcottle
8125faaccf
add ability to reboot device
2025-02-16 16:57:08 +13:00
liamcottle
7fbb990e57
update title
2025-02-15 23:24:22 +13:00
liamcottle
b708d5c834
auto sync new message in test ui
2025-02-15 23:23:30 +13:00
liamcottle
e12d87c6ba
add helper function for setting custom path for contact
2025-02-15 23:11:11 +13:00
liamcottle
1a76e7a50e
refactor names
2025-02-15 22:56:16 +13:00
liamcottle
2aeb37ffa8
add helper function for adding or updating contact
2025-02-15 22:53:10 +13:00
liamcottle
3040bb54a9
add helper function for sharing contact
2025-02-15 22:44:54 +13:00
liamcottle
e262772fe3
add helper function for resetting path
2025-02-15 22:43:23 +13:00
liamcottle
2e3ecdb15e
add helper function for removing contact
2025-02-15 22:41:58 +13:00
liamcottle
fdc83c2f78
add helper function for exporting contact
2025-02-15 22:31:56 +13:00
liamcottle
54a3d00d7e
add helper function for importing contact
2025-02-15 22:26:58 +13:00
liamcottle
8184f8fc4c
add helper function for setting device time
2025-02-15 22:21:13 +13:00
liamcottle
6e4696679e
add helper function for getting device time
2025-02-15 22:18:39 +13:00
liamcottle
e2d2ab7cf8
add helper function for setting advert lat lon
2025-02-15 22:15:25 +13:00
liamcottle
6469b815b1
allow providing a timeout in milliseconds when fetching get self info
2025-02-15 22:11:22 +13:00
liamcottle
bba89fd4f1
log contact export
2025-02-15 21:40:57 +13:00
liamcottle
381a1b9d17
implement import contact command
2025-02-15 21:39:29 +13:00
liamcottle
12276302a7
add export contact command
2025-02-15 20:45:07 +13:00
liamcottle
cf4e1ccd83
add share contact command
2025-02-15 20:37:17 +13:00
liamcottle
37b13d4193
add ability to send and receive channel messages
2025-02-13 22:54:18 +13:00
liamcottle
d9cfad9581
add helper functions for advert types
2025-02-12 23:05:19 +13:00
liamcottle
272ece07e8
add send text message function
2025-02-12 23:00:07 +13:00
liamcottle
8dc58d60c4
ask for tx power
2025-02-12 20:38:32 +13:00
liamcottle
32472fc842
update contacts list when path is updated
2025-02-12 01:44:08 +13:00
liamcottle
220ddfdd64
show path info
2025-02-12 01:42:40 +13:00
liamcottle
6ffd7ef270
show routing path to contact
2025-02-12 01:10:17 +13:00
liamcottle
46b18d00ae
clean up
2025-02-12 00:54:46 +13:00
liamcottle
5735dc8b66
implement path updated push event
2025-02-12 00:48:02 +13:00
liamcottle
845f9d6d19
add ability to send messages to contacts
2025-02-12 00:44:53 +13:00
liamcottle
88c2be13d0
update title
2025-02-12 00:33:07 +13:00