@adaptic/utils 0.0.1027 → 0.0.1028
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/dist/index.cjs +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +9 -0
- package/dist/index.mjs.map +1 -1
- package/dist/types/alpaca/client.d.ts +2 -6
- package/dist/types/alpaca/client.d.ts.map +1 -1
- package/dist/types/alpaca/sdk-types.d.ts +56 -0
- package/dist/types/alpaca/sdk-types.d.ts.map +1 -0
- package/dist/types/cache/stampede-protected-cache.d.ts +9 -0
- package/dist/types/cache/stampede-protected-cache.d.ts.map +1 -1
- package/package.json +3 -2
package/dist/index.cjs
CHANGED
|
@@ -67432,6 +67432,15 @@ const DEFAULT_LOAD_TIMEOUT_MS = 30_000;
|
|
|
67432
67432
|
*/
|
|
67433
67433
|
class StampedeProtectedCache {
|
|
67434
67434
|
cache;
|
|
67435
|
+
/**
|
|
67436
|
+
* Options with every defaultable field resolved.
|
|
67437
|
+
*
|
|
67438
|
+
* `onEvent` is deliberately excluded from the `Required` half: it is an
|
|
67439
|
+
* observability hook with no meaningful default, so its absence is a real
|
|
67440
|
+
* state rather than a gap to fill. Declaring it required would force a
|
|
67441
|
+
* no-op stand-in and erase the difference between "no observer attached"
|
|
67442
|
+
* and "an observer that does nothing".
|
|
67443
|
+
*/
|
|
67435
67444
|
options;
|
|
67436
67445
|
pendingRefreshes = new Map();
|
|
67437
67446
|
stats = {
|