@nordhavnhq/beacon 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,9 +1,8 @@
1
1
  # @nordhavnhq/beacon
2
2
 
3
- Internal package of Nordhavn OS. Published only so our own sites can install it.
3
+ JavaScript client used by websites built on Nordhavn OS.
4
4
 
5
- Not meant for outside use: no support, no stability guarantees, and it needs an
6
- API key for a Nordhavn OS server.
5
+ Maintained by the Nordhavn OS team for its own projects.
7
6
 
8
7
  ## License
9
8
 
@@ -60,8 +60,8 @@ interface CacheOptions {
60
60
  /**
61
61
  * Minimum ms between two project-stamp checks. Default `60000` (1 minute) -
62
62
  * this is the freshness window for PUBLIC visitors (an edit is picked up on
63
- * the next check after it lands); an editor viewing a surface preview bypasses
64
- * the cache entirely and always sees changes instantly.
63
+ * the next check after it lands). A read with `{ cache: false }` skips the
64
+ * wait.
65
65
  *
66
66
  * The check fires only on a read and is throttled, so a quiet site barely
67
67
  * checks at all; the interval only caps the busy case. Each check costs the
@@ -60,8 +60,8 @@ interface CacheOptions {
60
60
  /**
61
61
  * Minimum ms between two project-stamp checks. Default `60000` (1 minute) -
62
62
  * this is the freshness window for PUBLIC visitors (an edit is picked up on
63
- * the next check after it lands); an editor viewing a surface preview bypasses
64
- * the cache entirely and always sees changes instantly.
63
+ * the next check after it lands). A read with `{ cache: false }` skips the
64
+ * wait.
65
65
  *
66
66
  * The check fires only on a read and is throttled, so a quiet site barely
67
67
  * checks at all; the interval only caps the busy case. Each check costs the