@buildbase/sdk 0.0.80 → 0.0.82

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/index.d.ts +4 -0
  3. package/dist/react/chunks/{SettingsDialog-oJ031H7P.cjs → SettingsDialog-B0s01DfC.cjs} +1 -1
  4. package/dist/react/chunks/{SettingsDialog-jJxOT6-j.mjs → SettingsDialog-BDzOpoTW.mjs} +1 -1
  5. package/dist/react/chunks/SubscriptionDialog-ClWD2NgN.mjs +2 -0
  6. package/dist/react/chunks/SubscriptionDialog-CuUoM9hd.cjs +2 -0
  7. package/dist/react/chunks/{ar-DFPDdu2U.mjs → ar-4O9xrkV6.mjs} +1 -1
  8. package/dist/react/chunks/{ar-CRVhjpVE.cjs → ar-Dcph0Rl-.cjs} +1 -1
  9. package/dist/react/chunks/de-D0wYkKfr.cjs +2 -0
  10. package/dist/react/chunks/de-ITC4I4gE.mjs +2 -0
  11. package/dist/react/chunks/es-D4d7IQzB.cjs +2 -0
  12. package/dist/react/chunks/es-DDUCoxrg.mjs +2 -0
  13. package/dist/react/chunks/fr-BomsBzOa.cjs +2 -0
  14. package/dist/react/chunks/fr-BsWwwise.mjs +2 -0
  15. package/dist/react/chunks/hi-BmpRGcI3.cjs +2 -0
  16. package/dist/react/chunks/hi-D5uXZGQc.mjs +2 -0
  17. package/dist/react/chunks/ja-D5amIGZT.cjs +2 -0
  18. package/dist/react/chunks/ja-DkMcdOxv.mjs +2 -0
  19. package/dist/react/chunks/react-Cs1KN_wQ.mjs +2 -0
  20. package/dist/react/chunks/react-DWVzbgNV.cjs +2 -0
  21. package/dist/react/chunks/zh-BRYcvEMm.cjs +2 -0
  22. package/dist/react/chunks/zh-C8cgAVXA.mjs +2 -0
  23. package/dist/react/index.cjs +1 -1
  24. package/dist/react/index.d.ts +4 -0
  25. package/dist/react/index.mjs +1 -1
  26. package/package.json +1 -1
  27. package/dist/react/chunks/SubscriptionDialog-CDBtbbJi.mjs +0 -2
  28. package/dist/react/chunks/SubscriptionDialog-DgBEfcU8.cjs +0 -2
  29. package/dist/react/chunks/de-BGhzn711.cjs +0 -2
  30. package/dist/react/chunks/de-Bqi8scew.mjs +0 -2
  31. package/dist/react/chunks/es-D_Eqhob3.mjs +0 -2
  32. package/dist/react/chunks/es-DyrMaeUp.cjs +0 -2
  33. package/dist/react/chunks/fr-C0SkloRr.cjs +0 -2
  34. package/dist/react/chunks/fr-DkZpFQ1Q.mjs +0 -2
  35. package/dist/react/chunks/hi-B9TK87T8.cjs +0 -2
  36. package/dist/react/chunks/hi-DrTcPkiY.mjs +0 -2
  37. package/dist/react/chunks/ja-Dgahn--0.mjs +0 -2
  38. package/dist/react/chunks/ja-LjzlAhAT.cjs +0 -2
  39. package/dist/react/chunks/react-4qMM6kB7.mjs +0 -2
  40. package/dist/react/chunks/react-6MIS8oUC.cjs +0 -2
  41. package/dist/react/chunks/zh-BezRHDHs.mjs +0 -2
  42. package/dist/react/chunks/zh-CcodKi4U.cjs +0 -2
package/CHANGELOG.md CHANGED
@@ -5,6 +5,38 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.0.82] - 2026-10-12
9
+
10
+ ### Fixed
11
+
12
+ - **The plan comparison table printed `-1` for a plan with no ceiling, and `0`
13
+ for a capability the plan does not include.** A limit's value went to the
14
+ number formatter whatever it held, so the two values that are not quantities
15
+ were formatted as quantities. Read from the live plans, that was seven cells
16
+ reading `-1` where the plan means unlimited, all of them on the most
17
+ expensive tier, and seventeen reading `0` where the feature rows on the same
18
+ table already render an em-dash for exactly that state. A negative ceiling is
19
+ the catalog's "no ceiling" and now reads as "Unlimited", added as
20
+ `subscription.items.unlimited` across all eight locales; `0` is the absence
21
+ of the capability and now reads as the same em-dash every absent feature row
22
+ uses. Both branches live in one `formatLimitCeiling`, which the per-plan
23
+ cards share with the comparison table - the cards carried the same bug by way
24
+ of a second copy of the same expression.
25
+
26
+ ## [0.0.81] - 2026-10-10
27
+
28
+ ### Fixed
29
+
30
+ - **A freemium plan's call to action no longer reads "Subscribe".** The pricing
31
+ table gave the $0 column the same button as a paid plan without a trial, and
32
+ there is nothing to subscribe to there: no Stripe object, no payment method
33
+ and nothing to cancel. It is also the first word a free customer reads, on
34
+ the one column meant to feel like no commitment. `startFree` is added across
35
+ all eight locales and used when the plan is freemium and there is no current
36
+ subscription. The paid columns are unchanged - a plan with a trial still
37
+ reads "Start 7-day Free Trial", and one without still reads "Subscribe",
38
+ which for them is accurate.
39
+
8
40
  ## [0.0.80] - 2026-10-09
9
41
 
10
42
  ### Fixed
package/dist/index.d.ts CHANGED
@@ -3053,6 +3053,8 @@ interface SDKMessages {
3053
3053
  viewPlans: string;
3054
3054
  upgradePlan: string;
3055
3055
  subscribe: string;
3056
+ /** CTA for a freemium plan: $0, no Stripe object, nothing to cancel. */
3057
+ startFree: string;
3056
3058
  currentPlan: string;
3057
3059
  noSubscription: string;
3058
3060
  choosePlan: string;
@@ -3121,6 +3123,8 @@ interface SDKMessages {
3121
3123
  unlimited: string;
3122
3124
  };
3123
3125
  items: {
3126
+ /** A limit with no ceiling. The catalog stores -1. */
3127
+ unlimited: string;
3124
3128
  features: string;
3125
3129
  limits: string;
3126
3130
  quotas: string;