tricache 0.8.0 → 0.9.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.
Files changed (44) hide show
  1. package/README.md +4 -2
  2. package/dashboards/prometheus-scrape.yml +18 -0
  3. package/dist/{cache-service-CyLdpo77.d.ts → cache-service-DVvroyqA.d.ts} +16 -1
  4. package/dist/{cache-service-5MZXFIGK.js → cache-service-KI5ACF3F.js} +1 -1
  5. package/dist/chunk-BQRURGGD.js +60 -0
  6. package/dist/chunk-IITRFWHY.js +196 -0
  7. package/dist/{chunk-6PQ5MOWR.js → chunk-PL5J3ZNT.js} +370 -81
  8. package/dist/cli.cjs +392 -84
  9. package/dist/cli.js +22 -4
  10. package/dist/dashboard/index.d.ts +2 -2
  11. package/dist/drizzle/index.cjs +350 -81
  12. package/dist/drizzle/index.d.ts +2 -2
  13. package/dist/drizzle/index.js +1 -1
  14. package/dist/edge/index.cjs +99 -38
  15. package/dist/edge/index.d.ts +3 -3
  16. package/dist/edge/index.js +5 -5
  17. package/dist/hono/index.cjs +7760 -0
  18. package/dist/hono/index.d.ts +91 -0
  19. package/dist/hono/index.js +185 -0
  20. package/dist/{hono-DQRS1Xd7.d.ts → hono-VA9A1m0I.d.ts} +3 -2
  21. package/dist/http/index.cjs +449 -119
  22. package/dist/http/index.d.ts +6 -30
  23. package/dist/http/index.js +9 -59
  24. package/dist/index.cjs +370 -81
  25. package/dist/index.d.ts +3 -3
  26. package/dist/index.js +1 -1
  27. package/dist/nestjs/index.cjs +350 -81
  28. package/dist/nestjs/index.d.ts +2 -2
  29. package/dist/nestjs/index.js +1 -1
  30. package/dist/next/index.cjs +350 -81
  31. package/dist/next/index.d.ts +2 -2
  32. package/dist/next/index.js +1 -1
  33. package/dist/prisma/index.d.ts +2 -2
  34. package/dist/{types-B6krw64X.d.ts → types-B_QkVwJ7.d.ts} +23 -0
  35. package/dist/utils-CEsU_Z0s.d.ts +27 -0
  36. package/package.json +16 -6
  37. package/src/cache-service.ts +302 -35
  38. package/src/cli.ts +21 -4
  39. package/src/edge/hono.ts +123 -42
  40. package/src/hono/index.ts +316 -0
  41. package/src/http/index.ts +5 -0
  42. package/src/ipc-telemetry.ts +29 -1
  43. package/src/types.ts +25 -0
  44. package/dist/chunk-ZTSWCFYO.js +0 -135
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { C as CacheService, I as IIpcCacheProvider, a as IpcMetricsPayload, b as IpcTelemetryClient, c as IpcTelemetryServer, L as LatencyWatchdogOptions, d as LatencyWatchdogTelemetry, P as ProcessTerminationBus, T as TierLatencyWatchdog, e as deepMergeOptions, f as findActiveSockets, g as formatBytes, h as formatDuration, i as formatNumber, r as renderProgressBar, j as renderTopDashboard, k as resolveIpcSocketPath } from './cache-service-CyLdpo77.js';
2
- import { i as IRemoteSnapshotAdapter, j as CategoryLimit, S as SmartCacheEntry, k as EvictionReason, h as ILogger, l as CacheHit, e as CachePriority, g as WTinyLfuStats$1, m as CacheEncryption, n as DiskCacheEntry, D as DiskBackpressureStats, o as IRedisDriver, p as IRedisPipeline } from './types-B6krw64X.js';
3
- export { b as CacheHealthStatus, a as CacheMetrics, C as CacheOptions, f as CachePingResult, c as CachePresetType, d as CrossRegionInvalidationEvent, q as CrossRegionRelayOptions, E as EncryptionMode, r as EnvelopeEncryption, s as EnvelopeEncryptionOptions, H as HttpMeshRelayOptions, t as HttpSnapshotAdapterOptions, u as ICacheBatchObservableCallback, v as ICacheCounter, w as ICacheMeter, x as ICacheObservableGauge, y as ICacheSpan, z as ICacheSpanLink, I as ICacheTracer, A as ICrossRegionRelay, L as LockOptions, R as RemoteSnapshotOptions, B as WebhookRequestLike, F as WebhookResponseLike, W as WrapOptions, G as consoleLogger, J as createCrossRegionWebhookHandler, K as createCustomCrossRegionRelay, M as createCustomSnapshotAdapter, N as createHttpMeshRelay, O as createHttpSnapshotAdapter, P as createMemoryCrossRegionRelay, Q as createMemorySnapshotAdapter } from './types-B6krw64X.js';
1
+ export { C as CacheService, I as IIpcCacheProvider, a as IpcMetricsPayload, b as IpcTelemetryClient, c as IpcTelemetryServer, L as LatencyWatchdogOptions, d as LatencyWatchdogTelemetry, P as ProcessTerminationBus, T as TierLatencyWatchdog, e as deepMergeOptions, f as findActiveSockets, g as formatBytes, h as formatDuration, i as formatNumber, r as renderProgressBar, j as renderTopDashboard, k as resolveIpcSocketPath } from './cache-service-DVvroyqA.js';
2
+ import { i as IRemoteSnapshotAdapter, j as CategoryLimit, S as SmartCacheEntry, k as EvictionReason, h as ILogger, l as CacheHit, e as CachePriority, g as WTinyLfuStats$1, m as CacheEncryption, n as DiskCacheEntry, D as DiskBackpressureStats, o as IRedisDriver, p as IRedisPipeline } from './types-B_QkVwJ7.js';
3
+ export { b as CacheHealthStatus, a as CacheMetrics, C as CacheOptions, f as CachePingResult, c as CachePresetType, d as CrossRegionInvalidationEvent, q as CrossRegionRelayOptions, E as EncryptionMode, r as EnvelopeEncryption, s as EnvelopeEncryptionOptions, H as HttpMeshRelayOptions, t as HttpSnapshotAdapterOptions, u as ICacheBatchObservableCallback, v as ICacheCounter, w as ICacheMeter, x as ICacheObservableGauge, y as ICacheSpan, z as ICacheSpanLink, I as ICacheTracer, A as ICrossRegionRelay, L as LockOptions, R as RemoteSnapshotOptions, B as WebhookRequestLike, F as WebhookResponseLike, W as WrapOptions, G as consoleLogger, J as createCrossRegionWebhookHandler, K as createCustomCrossRegionRelay, M as createCustomSnapshotAdapter, N as createHttpMeshRelay, O as createHttpSnapshotAdapter, P as createMemoryCrossRegionRelay, Q as createMemorySnapshotAdapter } from './types-B_QkVwJ7.js';
4
4
  export { B as BloomFilterStats, M as Murmur3BloomFilter, W as WasmBloomFilter, m as murmur3_32 } from './murmur3-CMGw9PbV.js';
5
5
  import { EventEmitter } from 'node:events';
6
6
  export { DashboardActionEvent, DashboardOptions, DashboardPeerInstance, StandaloneDashboardOptions, createNextDashboardHandlers, handleDashboardRequest, startDashboardServer, tricacheDashboard } from './dashboard/index.js';
package/dist/index.js CHANGED
@@ -43,7 +43,7 @@ import {
43
43
  resolveAutonomousL1MaxBytes,
44
44
  resolveDefaultDiskDir,
45
45
  resolveIpcSocketPath
46
- } from "./chunk-6PQ5MOWR.js";
46
+ } from "./chunk-PL5J3ZNT.js";
47
47
  import {
48
48
  CacheEncryption,
49
49
  CachePriority,