enton-cli 0.1.2 → 0.1.3
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.
|
@@ -172,8 +172,9 @@ async function handleLogin() {
|
|
|
172
172
|
validate: (input) => {
|
|
173
173
|
if (!input)
|
|
174
174
|
return 'API key is required';
|
|
175
|
-
if (!input.startsWith('
|
|
176
|
-
return 'API key should start with ent_live_ or
|
|
175
|
+
if (!input.startsWith('ent') && !input.startsWith('enton_')) {
|
|
176
|
+
return 'API key should start with ent_live_, ent_test_, enton_live_, or enton_test_';
|
|
177
|
+
}
|
|
177
178
|
return true;
|
|
178
179
|
}
|
|
179
180
|
}
|