@teincfood/core 0.9.22 → 0.9.23

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.d.ts CHANGED
@@ -150,7 +150,7 @@ export { orderEventsService } from "./realtime/order-events.service";
150
150
  export { useEventsConnection } from "./realtime/useEventsConnection";
151
151
  export { getSyncJobsPendingCount, debugDumpSyncJobs, drainPending } from "./sync/sync-jobs.service";
152
152
  export { performFullSync } from "./sync/full-sync";
153
- export { stopHealthProbe } from "./sync/health-probe";
153
+ export { stopHealthProbe, probeCloudHealth } from "./sync/health-probe";
154
154
  export { notifyAuthChanged, subscribeAuth } from "./adapters/auth";
155
155
  export { isAuthenticated, hasActiveBusiness, canBusinessSync, setOfflineSyncEnabled, isOfflineSyncEnabled } from "./sync/sync-guard";
156
156
  export { ACCESS_EXPIRED_CODE, SESSION_DEAD_CODES, SKIP_AUTH_RETRY, extractAuthFailure, isAccessExpired, isSessionDead, hasAuthRetrySkip, refreshSession, withAuthRetry, } from "./auth/session";
package/dist/index.js CHANGED
@@ -164,7 +164,7 @@ export { useEventsConnection } from "./realtime/useEventsConnection";
164
164
  // ── Sync jobs (POS primary sync) — debug helpers for DiagnosticsScreen
165
165
  export { getSyncJobsPendingCount, debugDumpSyncJobs, drainPending } from "./sync/sync-jobs.service";
166
166
  export { performFullSync } from "./sync/full-sync";
167
- export { stopHealthProbe } from "./sync/health-probe";
167
+ export { stopHealthProbe, probeCloudHealth } from "./sync/health-probe";
168
168
  export { notifyAuthChanged, subscribeAuth } from "./adapters/auth";
169
169
  export { isAuthenticated, hasActiveBusiness, canBusinessSync, setOfflineSyncEnabled, isOfflineSyncEnabled } from "./sync/sync-guard";
170
170
  // ── Session lifecycle (access-expired → refresh → refresh-expired → logout)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teincfood/core",
3
- "version": "0.9.22",
3
+ "version": "0.9.23",
4
4
  "description": "TeincFood shared offline-first core — types, sync engine, local DB, reference data, and repositories for mobile + desktop",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",