naracli 1.0.85 → 1.0.87
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/dist/nara-cli-bundle.cjs +51365 -50853
- package/package.json +2 -2
- package/src/cli/commands/dex.ts +618 -25
- package/src/cli/commands/quest.ts +2 -10
|
@@ -107,16 +107,8 @@ async function handleQuestGet(options: GlobalOptions & { verbose?: boolean }) {
|
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
// Stake is required
|
|
111
|
-
|
|
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;
|