kasy-cli 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -117,11 +117,12 @@ async function ensureLicenseKey(options = {}) {
117
117
 
118
118
  // Key not found or deactivated
119
119
  if (!result.valid) {
120
- setStoredLicenseKey('');
121
- setCachedValidation({ valid: false });
122
120
  if (result.reason === 'inactive') {
121
+ // Admin deactivated this key (fraud/chargeback) — clear it so user can enter a new one
122
+ setStoredLicenseKey('');
123
123
  throw new Error(t('license.inactive'));
124
124
  }
125
+ // Not found: keep the stored key (might not be in DB yet), never cache failures
125
126
  throw new Error(t('license.invalid'));
126
127
  }
127
128
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kasy-cli",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "CLI for scaffolding production-ready Flutter SaaS apps with Firebase, Supabase, or API REST backends.",
5
5
  "bin": {
6
6
  "kasy": "./bin/kasy.js"