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
f6fea65063
1.10.0
2025-10-14 15:32:44 +13:00
liamcottle
156a02e6be
add example to parse advert from meshcore packet url
2025-10-08 22:38:20 +13:00
Liam Cottle
83c07a6ce2
Merge pull request #3 from recrof/patch-2
...
fix: ed25519 import bug
2025-10-08 21:59:52 +13:00
liamcottle
64434d11dc
1.9.0
2025-10-07 12:10:03 +13:00
liamcottle
b652cff50e
add error code to error response data
2025-10-07 12:09:49 +13:00
liamcottle
80175a7128
added example for signing data
2025-10-07 12:09:15 +13:00
liamcottle
db5831b9c6
added ability to sign data
2025-10-07 12:08:50 +13:00
Rastislav Vysoky
5c0f3b1b98
fix: ed25519 import bug
2025-10-06 22:07:24 +02:00
liamcottle
3164f1b3b5
1.8.0
2025-09-26 17:54:56 +12:00
liamcottle
3e4147b917
add example for fetching repeater neighbours
2025-09-26 17:53:49 +12:00
liamcottle
5e2df84d9b
add docs
2025-09-26 17:52:59 +12:00
liamcottle
c90bf3ddd9
add ability to fetch repeater neighbours via binary request
2025-09-26 17:51:51 +12:00
liamcottle
23814a56ee
add deprecation notice
2025-09-26 17:25:12 +12:00
liamcottle
10b3079d14
1.7.0
2025-09-13 21:03:26 +12:00
liamcottle
44deca2c74
add cayenne lpp to exported classes
2025-09-13 21:02:38 +12:00
liamcottle
d1ae420d66
add sensor telemetry example
2025-09-13 20:58:36 +12:00
liamcottle
3fcd1ec89e
add cayenne lpp parser
2025-09-13 20:49:12 +12:00
liamcottle
1b5c11f7bc
1.6.0
2025-08-29 21:31:31 +12:00
liamcottle
8695474d04
remove event listeners on timeout
2025-08-29 21:30:49 +12:00
liamcottle
95107eb2eb
implement timeout for trace path
2025-08-29 21:30:49 +12:00
liamcottle
352333153c
fix removing error listeners
2025-08-29 21:30:49 +12:00
Liam Cottle
536e7641e0
Merge pull request #2 from recrof/patch-1
...
remove console.log from findChannelByName loop
2025-08-25 17:12:23 +12:00
Rastislav Vysoky
bc65c5a98d
remove console.log from findChannelByName loop
2025-08-24 19:45:20 +02:00
liamcottle
9acf56ed81
parse advert packet types
2025-08-19 12:51:25 +12:00
liamcottle
8ce2cf53e3
update repeater stats
2025-07-17 23:06:18 +12:00
liamcottle
9a9ad43671
1.5.0
2025-06-20 16:23:10 +12:00
liamcottle
83ea9c8e3c
add support for fetching telemetry from contacts
2025-06-20 16:17:02 +12:00
liamcottle
7acd0eefa0
1.4.5
2025-04-22 12:22:05 +12:00
liamcottle
3edc69dacc
fix parsing advert type
2025-04-22 12:21:24 +12:00
liamcottle
3ed5eca66b
add error codes
2025-04-13 14:55:02 +12:00
liamcottle
a6aeab9027
1.4.4
2025-04-13 13:57:59 +12: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
e6ffafc195
update lang
2025-04-08 14:54:36 +12:00
liamcottle
a781834bc7
update readme example
2025-04-08 14:54:10 +12:00
liamcottle
91dd4c5afd
1.4.3
2025-04-08 14:48:39 +12:00
liamcottle
8059fea1b4
find channel by name or secret
2025-04-08 14:48:29 +12:00
liamcottle
2ec624c318
update comments
2025-04-08 14:41:59 +12:00
liamcottle
f5dc7c95f6
add example to send message to channel
2025-04-08 14:41:49 +12:00
liamcottle
15ca8fc660
add example to send message to contact
2025-04-08 14:39:24 +12:00
liamcottle
e45527fd9a
update examples to sync device time
2025-04-08 14:39:12 +12:00
liamcottle
e10db3d56c
add method to sync device time
2025-04-08 14:38:38 +12:00
liamcottle
5433f81643
new line
2025-04-08 14:33:10 +12:00
liamcottle
cfb3743214
update get contacts example
2025-04-08 14:32:44 +12:00
liamcottle
42331ae490
update get repeater status example
2025-04-08 14:31:04 +12:00
liamcottle
9582112965
update command bot example
2025-04-08 14:30:08 +12:00
liamcottle
073f6576d9
update echo bot example
2025-04-08 14:28:43 +12:00
liamcottle
14ede85af3
1.4.2
2025-04-08 14:12:31 +12:00