Name logicsrc apps in the User-Agent of CoinPay calls

logicsrc.com (Next), app.logicsrc.com (pwa) and the rotation CLI now send a
descriptive User-Agent on every server-side CoinPay request, so CoinPay's
logs and throttle can tell them apart from the other apps on dev2:

- logicsrc.com: logicsrc.com/<version> (+https://logicsrc.com) on merchant
  eligibility, checkout sessions, OAuth token and userinfo; x402-gateway
  ^0.18.2 names the site on crawl-gateway calls.
- app.logicsrc.com: app.logicsrc.com/<version> on the CoinPay OAuth calls and,
  through coinpay-onboard 0.3.1's fetch hook, on the auto-rotation client.
- logicsrc CLI rotators: logicsrc-cli/<version> (+https://logicsrc.com).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
riotcoder 2026-11-22 11:20:34 +00:00
parent d8a08c006b
commit 78bc2eb858
10 changed files with 44 additions and 12 deletions

View file

@ -17,7 +17,7 @@
"@profullstack/autoblog": "^0.5.0",
"@profullstack/footer": "latest",
"@profullstack/stack": "^0.5.0",
"@profullstack/x402-gateway": "^0.18.1",
"@profullstack/x402-gateway": "^0.18.2",
"@supabase/supabase-js": "^2.118.0",
"marked": "^18.1.1",
"next": "16.4.3",