Repository navigation
feat: Profullstack Pass pays the Starter pack's credits once per pass on CoinPay sign-in - #435
Merged
Merged
Conversation
… on CoinPay sign-in fetchCoinpayClaims reads the userinfo pass claim (coinpay-onboard ^0.5.0 passFromUserinfo); the callback stores coinpay_identities.pass_until and grants the cheapest pack's credits through grant_code_credits() (promo, never cash-backed) with source coinpay-pass:<sub>:<expires_at>. A partial unique index keeps it to one grant per pass even when several accounts link the same CoinPay sub. Pricing page links CoinPay Pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
ThreatCrush Security Scan50 finding(s) HIGH/CRITICAL: 2 | MEDIUM: 30 | LOW: 18
Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Profullstack Pass on crawlproof (pay-as-you-go): an active CoinPay pass pays the cheapest credit pack (Starter, 20 credits = 1 scan) once per pass.
@profullstack/coinpay-onboard0.4.0 -> ^0.5.0;fetchCoinpayClaimsaddspass: passFromUserinfo(info).lib/coinpay-pass.ts: storescoinpay_identities.pass_until, grants throughgrant_code_credits()(addspromo_creditstoo, so pass credits never pay a publisher) with sourcecoinpay-pass:<sub>:<expires_at>. Failure never blocks sign-in. Binding unchanged (sub only).20261107160000_coinpay_pass.sql(additive):pass_untilcolumn + partial unique index oncode_credit_grants(source)forcoinpay-pass:%, so several crawlproof accounts linked to one CoinPay sub get one grant.tests/coinpay-pass.test.ts, signin test covers the claim. vitest, tsc, next build pass locally.🤖 Generated with Claude Code