Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@subscribe.dev/react

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@subscribe.dev/react - npm Package Compare versions

Comparing version
0.0.163
to
0.0.165
+12
-10
index.d.ts

@@ -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 @@

{
"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