arc402-cli 0.9.8 → 0.9.10

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.
@@ -1 +1 @@
1
- {"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../src/commands/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA8kBpC,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA82F7D"}
1
+ {"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../src/commands/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA8kBpC,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAq3F7D"}
@@ -854,8 +854,8 @@ export function registerWalletCommands(program) {
854
854
  .option("--force", "Deploy even if a wallet is already configured")
855
855
  .action(async (opts) => {
856
856
  const config = loadConfig();
857
- // ── Check for existing wallet ──────────────────────────────────────────
858
- if (config.walletContractAddress) {
857
+ // ── Check for existing wallet (allow resume if onboarding incomplete) ──
858
+ if (config.walletContractAddress && !config.onboardingProgress) {
859
859
  const addr = config.walletContractAddress;
860
860
  console.log();
861
861
  console.log(` ${c.mark} Wallet already deployed at ${c.white(addr)}`);
@@ -867,6 +867,14 @@ export function registerWalletCommands(program) {
867
867
  console.log(` ${c.warning} Deploying a second wallet (--force)...`);
868
868
  console.log();
869
869
  }
870
+ else if (config.walletContractAddress && config.onboardingProgress) {
871
+ const step = config.onboardingProgress.step ?? 0;
872
+ const completed = config.onboardingProgress.completedSteps ?? [];
873
+ console.log();
874
+ console.log(` ${c.dim("◈")} Resuming onboarding for ${c.white(config.walletContractAddress)}`);
875
+ console.log(` Completed: ${completed.join(", ") || "none"} (step ${step})`);
876
+ console.log();
877
+ }
870
878
  if (opts.dryRun) {
871
879
  const factoryAddr = config.walletFactoryAddress ?? NETWORK_DEFAULTS[config.network]?.walletFactoryAddress ?? "(not configured)";
872
880
  const chainId = config.network === "base-mainnet" ? 8453 : 84532;