Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CapSoftware/Cap
/ key
Function
key
packages/utils/src/lib/stripe/stripe.ts:4–4 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2
import
Stripe from
"stripe"
;
3
4
const
key = () => serverEnv().STRIPE_SECRET_KEY ??
""
;
5
export
const
STRIPE_AVAILABLE = () => key() !==
""
;
6
export
const
stripe = () =>
7
new
Stripe(key(), {
Callers
3
STRIPE_AVAILABLE
Function · 0.85
stripe
Function · 0.85
createFakeWindowBounds
Function · 0.85
Calls
1
serverEnv
Function · 0.90
Tested by
no test coverage detected