/**
 * Paddle client-side configuration.
 *
 * These values are read from NEXT_PUBLIC_* env vars so they are
 * available in the browser bundle.
 */

export const paddleConfig = {
  /** Paddle client-side token (public — safe for browser) */
  clientToken: process.env.NEXT_PUBLIC_PADDLE_CLIENT_TOKEN ?? "",

  /** 'sandbox' | 'production' */
  environment: (process.env.NEXT_PUBLIC_PADDLE_ENVIRONMENT ?? "sandbox") as
    | "sandbox"
    | "production",

  /** Paddle seller ID — used for Paddle.js initialization */
  sellerId: process.env.NEXT_PUBLIC_PADDLE_SELLER_ID ?? "",
} as const;
