@subscribe.dev/react
Advanced tools
+12
-10
@@ -64,7 +64,16 @@ import { default as default_2 } from 'react'; | ||
| declare interface UserObject { | ||
| export declare type UsageInfo = { | ||
| allocatedCredits: number; | ||
| usedCredits: number; | ||
| remainingCredits: number; | ||
| loading: boolean; | ||
| error: string | null; | ||
| refreshUsage: () => Promise<void>; | ||
| }; | ||
| export declare type UserObject = { | ||
| userId: string; | ||
| email: string; | ||
| avatarUrl?: string; | ||
| } | ||
| }; | ||
@@ -90,10 +99,3 @@ declare interface UserObject_2 { | ||
| useStorage: <T>(key: string, initialValue: T) => [T, (value: T) => void, SyncStatus]; | ||
| usage: { | ||
| allocatedCredits: number; | ||
| usedCredits: number; | ||
| remainingCredits: number; | ||
| loading: boolean; | ||
| error: string | null; | ||
| refreshUsage: () => Promise<void>; | ||
| }; | ||
| usage: UsageInfo; | ||
| }; | ||
@@ -100,0 +102,0 @@ |
+1
-1
| { | ||
| "name": "@subscribe.dev/react", | ||
| "version": "0.0.163", | ||
| "version": "0.0.165", | ||
| "description": "React hooks and components for SubscribeDev - provides context and hooks for managing AI predictions with billing and rate limiting", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1156731
011163
0.01%