Deploy GitHub main 41f2529 (PR #1) (part 2)
Browse filesSync the Space with mindtdilly/ProjectOS main after merging the wallet service and monorepo. README keeps the existing Docker Space card. WALLET_STORE=memory remains a Space variable.
8 unmodified lines91011121314158 unmodified linesimport { parseInvoiceQr, payInvoice, InvoiceSchema } from "./routing.js";import { createFundingCheckout, createFundingPaymentIntent, handleWebhook } from "./stripe.js";export function buildApp(cfg: Config, ledger: Ledger, stripe: Stripe | null) {const app = express();const stripeReady = (needWebhook = false): Stripe | null =>stripe && (!needWebhook || cfg.STRIPE_WEBHOOK_SECRET) ? stripe : null;8 unmodified lines91011121314158 unmodified linesimport { parseInvoiceQr, payInvoice, InvoiceSchema } from "./routing.js";import { createFundingCheckout, createFundingPaymentIntent, handleWebhook } from "./stripe.js";export function buildApp(cfg: Config, ledger: Ledger, stripe: Stripe | null): express.Application {const app = express();const stripeReady = (needWebhook = false): Stripe | null =>stripe && (!needWebhook || cfg.STRIPE_WEBHOOK_SECRET) ? stripe : null;
services/wallet/src/app.ts+1-1