OptionalconfidenceOptionalenabledEdge types to include. Defaults to all five types when not specified.
Free-tier callers always have shared_tls_ja4, shared_canvas, and
shared_webgl silently filtered out regardless of this setting.
OptionallicensePolar license key that unlocks Pro or Enterprise tier features.
| Tier | Price | Device limit | Servers | Edge types |
|---|---|---|---|---|
| Free | $0/mo | 10,000 | — | user + subnet |
| Pro | $49/mo | Unlimited | 1 server | all 5 types |
| Enterprise | $299/mo | Unlimited | Unlimited | all + custom |
Obtain a key at https://polar.sh.
OptionalmaxMaximum peer edges stored per device. Default: 50 (10 on the free tier).
Optimistic provisioning when a key is provided — downgraded to
FREE_TIER_MAX_HISTORY if Polar rejects the key.
OptionalstorageCustom storage backend. Defaults to the built-in in-memory store.
Use createSqliteAdapter, createPostgresAdapter, or
createRedisAdapter to supply a persistent backend.
Async adapters (AsyncPeerStorage) must be initialised separately
via their own init() before being passed here.
Weight applied when adjusting DeviceManager confidence. Range 0–1. Default:
0.2.