supermemory/packages/lib
Prasanna721 694ad8123a fix: remove useQuery wrapper around synchronous billing checks (#805)
#### fix: billing subscription status race condition

 - **Bug fix**: Replaced `fetchSubscriptionStatus` (useQuery wrapper) with `getSubscriptionStatus` (pure function) — fixes intermittent "Upgrade to Pro"
  failures caused by stale cached billing state
  - **Anti-pattern**: Removed `fetchConnectionsFeature` useQuery wrapper, replaced with direct `autumn.customer?.features?.connections` read
  - **Dead code**: Removed unused `useMemoriesUsage` hook and `fetchMemoriesFeature`
2026-03-26 05:29:53 +00:00
..
api.ts feat: delete connection without removing the documents (#778) 2026-03-17 23:21:36 +00:00
auth-context.tsx feat: ensure workspace created on nova new account (#798) 2026-03-24 18:17:21 +00:00
auth.middleware.ts New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
auth.ts New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
constants.ts feat: bulk delete documents in nova app (#777) 2026-03-10 15:29:25 +00:00
error-tracking.tsx feat: optional posthog intialization (#525) 2025-10-27 16:10:15 -07:00
generate-id.ts New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
glass-effect-manager.ts New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
package.json 😭 fixing builds (#767) 2026-03-05 19:26:05 -08:00
posthog.tsx proper tracking 2026-03-05 08:29:26 -08:00
queries.ts fix: remove useQuery wrapper around synchronous billing checks (#805) 2026-03-26 05:29:53 +00:00
query-client.tsx New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
similarity.ts New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
tsconfig.json New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00
types.ts feat: change "All Spaces" to "Nova Spaces" with multi-select support (#731) 2026-02-13 21:34:58 +00:00
utils.ts New Version of Supermemory Consumer App 2025-08-16 18:50:10 -07:00