@tscircuit/fake-snippets 0.0.116 → 0.0.117

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/fake-snippets",
3
- "version": "0.0.116",
3
+ "version": "0.0.117",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -208,7 +208,7 @@ const CmdKMenu = () => {
208
208
  }, [allAccounts, searchQuery])
209
209
 
210
210
  const { data: recentPackages = [] } = useQuery<Package[]>(
211
- ["userPackages", currentUser],
211
+ ["cmdKMenuPackages", currentUser],
212
212
  async () => {
213
213
  if (!currentUser) return []
214
214
  try {
@@ -226,6 +226,8 @@ const CmdKMenu = () => {
226
226
  enabled: !!currentUser && !searchQuery,
227
227
  retry: false,
228
228
  refetchOnWindowFocus: false,
229
+ refetchOnMount: false,
230
+ cacheTime: 24 * 60 * 60 * 1000,
229
231
  },
230
232
  )
231
233