@nordhavnhq/beacon 0.5.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 +2 -3
- package/dist/{cache-q8uLEGYg.d.cts → cache-1gURpP7O.d.cts} +2 -2
- package/dist/{cache-q8uLEGYg.d.ts → cache-1gURpP7O.d.ts} +2 -2
- package/dist/index.cjs +762 -57
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +103 -56
- package/dist/index.d.ts +103 -56
- package/dist/index.js +763 -54
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
# @nordhavnhq/beacon
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
JavaScript client used by websites built on Nordhavn OS.
|
|
4
4
|
|
|
5
|
-
|
|
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)
|
|
64
|
-
*
|
|
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)
|
|
64
|
-
*
|
|
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
|