openmates 0.11.0-alpha.25 → 0.11.0-alpha.26
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.
|
@@ -10170,7 +10170,9 @@ async function handleE2E(client, subcommand, rest, flags) {
|
|
|
10170
10170
|
}
|
|
10171
10171
|
if (flags.password !== void 0) throw new Error("Use generated passwords or OPENMATES_CLI_SIGNUP_PASSWORD, not --password.");
|
|
10172
10172
|
const slot = parseRequiredNumber(flags.slot, "--slot");
|
|
10173
|
-
if (![15, 17].includes(slot))
|
|
10173
|
+
if (![15, 16, 17, 18, 19, 20].includes(slot)) {
|
|
10174
|
+
throw new Error("Only reserved slots 15-20 are supported.");
|
|
10175
|
+
}
|
|
10174
10176
|
const artifact = typeof flags.artifact === "string" ? flags.artifact : `test-results/credential-updates/slot-${slot}.env`;
|
|
10175
10177
|
const domain = typeof flags.domain === "string" ? flags.domain : process.env.OPENMATES_CLI_E2E_EMAIL_DOMAIN;
|
|
10176
10178
|
const email = typeof flags.email === "string" ? flags.email : domain ? `cli-e2e-slot-${slot}-${Date.now()}@${domain}` : await promptLine("E2E account email: ");
|
|
@@ -12512,7 +12514,7 @@ Creates local ignored credential artifacts for reserved E2E auth accounts. The
|
|
|
12512
12514
|
command refuses production API URLs and does not upload GitHub secrets.
|
|
12513
12515
|
|
|
12514
12516
|
Options:
|
|
12515
|
-
--slot <15
|
|
12517
|
+
--slot <15-20> Reserved auth-account slot
|
|
12516
12518
|
--artifact <path> Output .env artifact path
|
|
12517
12519
|
--email <email> Test email; prompted/generated when omitted
|
|
12518
12520
|
--domain <mail-domain> Generate email at this domain
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED