vibezcheck 0.5.8 → 0.5.9
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/react/index.d.mts +1 -23
- package/dist/react/index.d.ts +1 -23
- package/dist/react/index.js +104 -260
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +101 -256
- package/dist/react/index.mjs.map +1 -1
- package/examples/nextjs-app-router-openai/package.json +1 -1
- package/package.json +1 -8
package/dist/react/index.d.mts
CHANGED
|
@@ -214,28 +214,6 @@ interface VibezReceiptProps {
|
|
|
214
214
|
}
|
|
215
215
|
declare const VibezReceipt: React__default.FC<VibezReceiptProps>;
|
|
216
216
|
|
|
217
|
-
interface VibezBillingNotice {
|
|
218
|
-
status?: 'requires_payment' | 'limit_reached' | 'upgrade_required';
|
|
219
|
-
customerId?: string;
|
|
220
|
-
customerEmail?: string;
|
|
221
|
-
checkoutUrl?: string;
|
|
222
|
-
tokensUsed?: number;
|
|
223
|
-
costUSD?: number;
|
|
224
|
-
message?: string;
|
|
225
|
-
}
|
|
226
|
-
interface VibezBillingModalProps {
|
|
227
|
-
notice?: VibezBillingNotice | null;
|
|
228
|
-
isOpen?: boolean;
|
|
229
|
-
onClose?: () => void;
|
|
230
|
-
onSuccess?: () => void;
|
|
231
|
-
theme?: 'light' | 'dark';
|
|
232
|
-
testMode?: boolean;
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* Intuitive React Modal for Stripe Top-Up, Card Registration & Paywall
|
|
236
|
-
*/
|
|
237
|
-
declare const VibezBillingModal: React__default.FC<VibezBillingModalProps>;
|
|
238
|
-
|
|
239
217
|
interface ModelUsageDetail {
|
|
240
218
|
model: string;
|
|
241
219
|
displayName: string;
|
|
@@ -314,4 +292,4 @@ interface VibezCheckProps {
|
|
|
314
292
|
declare function VibezCheck({ messages, events, model, margin, showWholesale, showMargin, totalCostUSD: manualCost, totalTokens: manualTokens, remainingBalanceUSD, position, theme, devMode, className, title, onTopUp, onCostUpdate, defaultOpen, }: VibezCheckProps): React__default.JSX.Element;
|
|
315
293
|
declare const VibezPill: typeof VibezCheck;
|
|
316
294
|
|
|
317
|
-
export { type CustomStorageAdapter, type ModelUsageDetail, type SessionPersistenceMode, type SessionState, type SessionTurnRecord, type UseVibezChatOptions,
|
|
295
|
+
export { type CustomStorageAdapter, type ModelUsageDetail, type SessionPersistenceMode, type SessionState, type SessionTurnRecord, type UseVibezChatOptions, type VibezChatMessage, VibezCheck, type VibezCheckProps, VibezPill, VibezReceipt, type VibezReceiptProps, VibezSessionBadge, type VibezSessionBadgeProps, VibezSessionContext, type VibezSessionContextValue, VibezSessionProvider, type VibezSessionProviderProps, VibezSessionWidget, type VibezSessionWidgetProps, useVibez, useVibezChat, useVibezSession };
|
package/dist/react/index.d.ts
CHANGED
|
@@ -214,28 +214,6 @@ interface VibezReceiptProps {
|
|
|
214
214
|
}
|
|
215
215
|
declare const VibezReceipt: React__default.FC<VibezReceiptProps>;
|
|
216
216
|
|
|
217
|
-
interface VibezBillingNotice {
|
|
218
|
-
status?: 'requires_payment' | 'limit_reached' | 'upgrade_required';
|
|
219
|
-
customerId?: string;
|
|
220
|
-
customerEmail?: string;
|
|
221
|
-
checkoutUrl?: string;
|
|
222
|
-
tokensUsed?: number;
|
|
223
|
-
costUSD?: number;
|
|
224
|
-
message?: string;
|
|
225
|
-
}
|
|
226
|
-
interface VibezBillingModalProps {
|
|
227
|
-
notice?: VibezBillingNotice | null;
|
|
228
|
-
isOpen?: boolean;
|
|
229
|
-
onClose?: () => void;
|
|
230
|
-
onSuccess?: () => void;
|
|
231
|
-
theme?: 'light' | 'dark';
|
|
232
|
-
testMode?: boolean;
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
* Intuitive React Modal for Stripe Top-Up, Card Registration & Paywall
|
|
236
|
-
*/
|
|
237
|
-
declare const VibezBillingModal: React__default.FC<VibezBillingModalProps>;
|
|
238
|
-
|
|
239
217
|
interface ModelUsageDetail {
|
|
240
218
|
model: string;
|
|
241
219
|
displayName: string;
|
|
@@ -314,4 +292,4 @@ interface VibezCheckProps {
|
|
|
314
292
|
declare function VibezCheck({ messages, events, model, margin, showWholesale, showMargin, totalCostUSD: manualCost, totalTokens: manualTokens, remainingBalanceUSD, position, theme, devMode, className, title, onTopUp, onCostUpdate, defaultOpen, }: VibezCheckProps): React__default.JSX.Element;
|
|
315
293
|
declare const VibezPill: typeof VibezCheck;
|
|
316
294
|
|
|
317
|
-
export { type CustomStorageAdapter, type ModelUsageDetail, type SessionPersistenceMode, type SessionState, type SessionTurnRecord, type UseVibezChatOptions,
|
|
295
|
+
export { type CustomStorageAdapter, type ModelUsageDetail, type SessionPersistenceMode, type SessionState, type SessionTurnRecord, type UseVibezChatOptions, type VibezChatMessage, VibezCheck, type VibezCheckProps, VibezPill, VibezReceipt, type VibezReceiptProps, VibezSessionBadge, type VibezSessionBadgeProps, VibezSessionContext, type VibezSessionContextValue, VibezSessionProvider, type VibezSessionProviderProps, VibezSessionWidget, type VibezSessionWidgetProps, useVibez, useVibezChat, useVibezSession };
|