@bpinternal/billing-ui 0.15.0 → 0.16.0
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/index.d.ts +6 -3
- package/dist/index.js +407 -402
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -255,9 +255,9 @@ export declare type BillingProviderProps = {
|
|
|
255
255
|
featureLabels?: Record<string, (quantity: number) => string>;
|
|
256
256
|
/**
|
|
257
257
|
* Workspace billing version (from the generic client's `getWorkspace().billingVersion`).
|
|
258
|
-
* Smaug
|
|
259
|
-
*
|
|
260
|
-
* Omit if the host app gates on the version itself.
|
|
258
|
+
* Pre-Smaug versions (v1-v3) make the dialogs render a "manage billing in
|
|
259
|
+
* Dashboard" gate instead of the self-serve flow; v4 (Smaug) and later render
|
|
260
|
+
* the self-serve flow. Omit if the host app gates on the version itself.
|
|
261
261
|
*/
|
|
262
262
|
billingVersion?: string;
|
|
263
263
|
/**
|
|
@@ -491,6 +491,9 @@ export declare type InvoicesDialogProps = {
|
|
|
491
491
|
onOpenChange: (open: boolean) => void;
|
|
492
492
|
};
|
|
493
493
|
|
|
494
|
+
/** v4 (Smaug) and later (e.g. v5) are all self-serve — only v1-v3 are legacy. */
|
|
495
|
+
export declare function isLegacyBillingVersion(version: string): boolean;
|
|
496
|
+
|
|
494
497
|
export declare const LayersIcon: ({ size, ...props }: IconProps) => JSX.Element;
|
|
495
498
|
|
|
496
499
|
export declare type LimitPreviewRow = {
|