@nurix/apollo 0.4.2 → 0.4.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.
package/README.md CHANGED
@@ -72,7 +72,7 @@ The CLI owns **only** the delimited block — everything outside it is yours and
72
72
  MY_OWN_SECRET=untouched
73
73
 
74
74
  # >>> apollo:managed — do not edit by hand; the apollo CLI rewrites this block >>>
75
- APOLLO_APP_KEY=apollo_app_
75
+ APOLLO_APP_KEY=018f # opaque app id (UUID), no fixed prefix
76
76
  EMAIL_ENDPOINT=https://…
77
77
  EMAIL_KEY=apollo_svc_…
78
78
  # <<< apollo:managed <<<
@@ -43,7 +43,9 @@ export async function runInit(options) {
43
43
  }
44
44
  const appKey = await p.password({
45
45
  message: `Paste your APOLLO_APP_KEY (create an application in the Apollo console: ${baseUrl})`,
46
- validate: (value) => value?.startsWith("apollo_app_") ? undefined : "Expected a key starting with apollo_app_",
46
+ // The key is an opaque app id (a high-entropy UUID, no fixed prefix); the
47
+ // authoritative check is the server probe below, so only reject empties here.
48
+ validate: (value) => (value?.trim() ? undefined : "Paste your APOLLO_APP_KEY"),
47
49
  });
48
50
  if (p.isCancel(appKey)) {
49
51
  p.cancel("init cancelled — nothing written.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nurix/apollo",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "The apollo CLI — bootstrap NuStack services into a repo via the Apollo discovery plane.",
5
5
  "type": "module",
6
6
  "private": false,