From 87eb5f0b696d8f67f679f3bf1e9f49e3864592d9 Mon Sep 17 00:00:00 2001 From: "kiloconnect[bot]" <240665456+kiloconnect[bot]@users.noreply.github.com> Date: Mon, 30 Mar 2026 13:54:53 +0000 Subject: [PATCH 1/2] feat(promo): add new encrypted promo credit category Add a new self-service encrypted promo code entry for an upcoming event promotion. 0 credits, 1050 max redemptions, expires 2026-04-13. --- src/lib/promoCreditCategories.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/lib/promoCreditCategories.ts b/src/lib/promoCreditCategories.ts index beb4a57e6..52bcac65f 100644 --- a/src/lib/promoCreditCategories.ts +++ b/src/lib/promoCreditCategories.ts @@ -684,6 +684,18 @@ const encryptedSelfServicePromos: readonly EncryptedSelfServicePromoCreditCatego description: 'Creator promo', total_redemptions_allowed: 30, }, + { + // TODO: Replace encrypted_credit_category with production-encrypted value. + // Run: vercel env run -e production -- pnpm promo encrypt CLAW_MIA + encrypted_credit_category: 'a1o0/So4YgGvB+ABnOOqAw==:qlVqBAHvDFjp4npGlFnwqg==:q+0OuXzZu6E=', + is_user_selfservicable: true, + is_idempotent: true, + amount_usd: 50, + description: 'KiloClaw Miami event promotion', + promotion_ends_at: new Date('2026-04-13T23:59:59Z'), + total_redemptions_allowed: 1050, + customer_requirement: has_holdOrPayment, + }, ]; const selfServicePromos: readonly SelfServicePromoCreditCategoryConfig[] = From 45c51b30722b1326c220ca455c4e6d5f485010a0 Mon Sep 17 00:00:00 2001 From: "kiloconnect[bot]" <240665456+kiloconnect[bot]@users.noreply.github.com> Date: Mon, 30 Mar 2026 14:04:03 +0000 Subject: [PATCH 2/2] fix(promo): remove sensitive references from promo entry --- src/lib/promoCreditCategories.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/promoCreditCategories.ts b/src/lib/promoCreditCategories.ts index 52bcac65f..45329458d 100644 --- a/src/lib/promoCreditCategories.ts +++ b/src/lib/promoCreditCategories.ts @@ -685,14 +685,14 @@ const encryptedSelfServicePromos: readonly EncryptedSelfServicePromoCreditCatego total_redemptions_allowed: 30, }, { - // TODO: Replace encrypted_credit_category with production-encrypted value. - // Run: vercel env run -e production -- pnpm promo encrypt CLAW_MIA - encrypted_credit_category: 'a1o0/So4YgGvB+ABnOOqAw==:qlVqBAHvDFjp4npGlFnwqg==:q+0OuXzZu6E=', + // TODO: Replace with production-encrypted value. + // Run: vercel env run -e production -- pnpm promo encrypt + encrypted_credit_category: 'PLACEHOLDER', is_user_selfservicable: true, is_idempotent: true, amount_usd: 50, - description: 'KiloClaw Miami event promotion', - promotion_ends_at: new Date('2026-04-13T23:59:59Z'), + promotion_ends_at: new Date('2026-04-13'), + description: 'Promotional credit', total_redemptions_allowed: 1050, customer_requirement: has_holdOrPayment, },