naracli 1.0.85 → 1.0.86

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.
@@ -271184,14 +271184,7 @@ async function handleQuestGet(options) {
271184
271184
  }
271185
271185
  return;
271186
271186
  }
271187
- let stakeRequired = true;
271188
- try {
271189
- const config2 = await getQuestConfig(connection);
271190
- if (quest.rewardCount < config2.maxRewardCount) {
271191
- stakeRequired = false;
271192
- }
271193
- } catch {
271194
- }
271187
+ const stakeRequired = true;
271195
271188
  let freeCredits = 0;
271196
271189
  try {
271197
271190
  const stakeInfo = await getStakeInfo(connection, wallet.publicKey);
@@ -276221,7 +276214,7 @@ function registerCommands(program3) {
276221
276214
  }
276222
276215
 
276223
276216
  // bin/nara-cli.ts
276224
- var version2 = true ? "1.0.85" : "dev";
276217
+ var version2 = true ? "1.0.86" : "dev";
276225
276218
  var program2 = new Command();
276226
276219
  program2.name("naracli").description("CLI for the Nara chain. Native coin is NARA (not SOL). Mine NARA for free via PoMI quests, manage wallets, register agents, and more. Run 'naracli <command> --help' for details on any command.").version(version2);
276227
276220
  program2.option("-r, --rpc-url <url>", "RPC endpoint (default: https://mainnet-api.nara.build/)").option("-w, --wallet <path>", "Path to wallet keypair JSON file (default: ~/.config/nara/id.json)").option("-j, --json", "Output in JSON format");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "naracli",
3
- "version": "1.0.85",
3
+ "version": "1.0.86",
4
4
  "description": "CLI for the Nara chain (Solana-compatible)",
5
5
  "homepage": "https://nara.build",
6
6
  "repository": {
@@ -107,16 +107,8 @@ async function handleQuestGet(options: GlobalOptions & { verbose?: boolean }) {
107
107
  return;
108
108
  }
109
109
 
110
- // Stake is required once reward slots have reached maxRewardCount
111
- let stakeRequired = true;
112
- try {
113
- const config = await getQuestConfig(connection);
114
- if (quest.rewardCount < config.maxRewardCount) {
115
- stakeRequired = false;
116
- }
117
- } catch {
118
- // If config fetch fails, default to requiring stake
119
- }
110
+ // Stake is always required to answer quests
111
+ const stakeRequired = true;
120
112
 
121
113
  // Fetch free credits (stake-free answer quota)
122
114
  let freeCredits = 0;