chofex-cli 0.1.29 → 0.1.31

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -61229,12 +61229,16 @@ var registerCommand = exports_Command.make("register", { input: inputFlag }, exp
61229
61229
  return exports_Effect.fail(error2);
61230
61230
  }));
61231
61231
  if (exports_Option.isSome(current)) {
61232
- const { status } = current.value.data.registration;
61232
+ const { registration, requirements } = current.value.data;
61233
+ const { status } = registration;
61233
61234
  const registrationAlreadyExists = status === "submitted" || status === "under_review" || status === "waitlisted" || status === "accepted";
61234
61235
  if (registrationAlreadyExists) {
61235
61236
  let message = "Already registered. Wait for approval.";
61236
61237
  if (status === "accepted") {
61237
- message = "Already accepted. Use `chofex status` to view your next steps.";
61238
+ message = "Already accepted. Your registration is complete.";
61239
+ if (requirements.stage === "accepted") {
61240
+ message = "Already accepted. Run `chofex confirm` to complete your registration.";
61241
+ }
61238
61242
  }
61239
61243
  return yield* cliError("ACTIVE_APPLICATION_EXISTS", message, false, {
61240
61244
  currentStatus: status
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chofex-cli",
3
- "version": "0.1.29",
3
+ "version": "0.1.31",
4
4
  "description": "Command-line client for the Chofex Hackathon",
5
5
  "type": "module",
6
6
  "bin": {