@wopr-network/platform-ui-core 1.27.3 → 1.27.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wopr-network/platform-ui-core",
3
- "version": "1.27.3",
3
+ "version": "1.27.5",
4
4
  "description": "Brand-agnostic AI agent platform UI — deploy as any brand via env vars",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,7 +27,7 @@ export default function BillingLayout({
27
27
  useEffect(() => {
28
28
  getInferenceMode()
29
29
  .then(setMode)
30
- .catch(() => setMode("byok"));
30
+ .catch(() => setMode("hosted"));
31
31
  }, []);
32
32
 
33
33
  return (
@@ -1,6 +1,7 @@
1
1
  import { Check } from "lucide-react";
2
2
  import Link from "next/link";
3
- import { ByokCallout } from "@/components/billing/byok-callout";
3
+ import { BuyCreditsPanel } from "@/components/billing/buy-credits-panel";
4
+ import { CryptoCheckout } from "@/components/billing/crypto-checkout";
4
5
  import { Button } from "@/components/ui/button";
5
6
  import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
6
7
  import { productName } from "@/lib/brand-config";
@@ -14,8 +15,6 @@ export default function PlansPage() {
14
15
  <p className="text-sm text-muted-foreground">Simple pricing. No tiers. No gotchas.</p>
15
16
  </div>
16
17
 
17
- <ByokCallout />
18
-
19
18
  <Card className="border-terminal shadow-[0_0_12px_rgba(0,255,65,0.15)]">
20
19
  <CardHeader className="text-center">
21
20
  <CardTitle className="text-sm uppercase tracking-widest text-muted-foreground">
@@ -35,7 +34,7 @@ export default function PlansPage() {
35
34
  `$${pricingData.signup_credit} signup credit included`,
36
35
  "All channels",
37
36
  "All plugins",
38
- "All providers",
37
+ "Hosted AI — no API keys needed",
39
38
  ].map((feature) => (
40
39
  <li key={feature} className="flex items-center gap-2 text-muted-foreground">
41
40
  <Check className="size-4 shrink-0 text-terminal" />
@@ -52,7 +51,8 @@ export default function PlansPage() {
52
51
  </CardContent>
53
52
  </Card>
54
53
 
55
- <ByokCallout compact />
54
+ <BuyCreditsPanel />
55
+ <CryptoCheckout />
56
56
  </div>
57
57
  );
58
58
  }
@@ -2,6 +2,10 @@
2
2
  @import "tw-animate-css";
3
3
  @import "shadcn/tailwind.css";
4
4
 
5
+ /* Ensure Tailwind v4 scans this package's source for utility classes.
6
+ Required when consumed from node_modules by product shells. */
7
+ @source "..";
8
+
5
9
  @custom-variant dark (&:is(.dark *));
6
10
 
7
11
  @theme inline {
@@ -12,7 +12,7 @@ export function ByokCallout({ compact }: { compact?: boolean }) {
12
12
  useEffect(() => {
13
13
  getInferenceMode()
14
14
  .then(setMode)
15
- .catch(() => setMode("byok"));
15
+ .catch(() => setMode("hosted"));
16
16
  }, []);
17
17
 
18
18
  if (mode === null) {