feat(edge): support connection tokens when starting an edge and add token encode/decode utilities

This commit is contained in:
2026-02-17 19:36:40 +00:00
parent 73fc4ea28e
commit 93592bf909
6 changed files with 147 additions and 12 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 2026-02-17 - 3.1.0 - feat(edge)
support connection tokens when starting an edge and add token encode/decode utilities
- Add classes.token.ts with encodeConnectionToken/decodeConnectionToken using a base64url compact JSON format
- Export token utilities from ts/index.ts
- RemoteIngressEdge.start now accepts a { token } option and decodes it to an IEdgeConfig before starting
- Add tests covering export availability, encode→decode roundtrip, malformed token, and missing fields
- Non-breaking change — recommend a minor version bump
## 2026-02-17 - 3.0.4 - fix(build)
bump dev dependencies, update build script, and refresh README docs