nara-sdk 1.0.42 → 1.0.43

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/package.json +1 -1
  2. package/src/quest.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nara-sdk",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
4
4
  "description": "SDK for the Nara chain (Solana-compatible)",
5
5
  "module": "index.ts",
6
6
  "main": "index.ts",
package/src/quest.ts CHANGED
@@ -278,8 +278,8 @@ export async function getQuestInfo(
278
278
  deadline,
279
279
  timeRemaining: secsLeft,
280
280
  expired: secsLeft <= 0,
281
- stakeRequirement: pool.stakeRequirement.toNumber() / LAMPORTS_PER_SOL,
282
- minWinnerStake: pool.minWinnerStake.toNumber() / LAMPORTS_PER_SOL,
281
+ stakeRequirement: Number(pool.stakeRequirement.toString()) / LAMPORTS_PER_SOL,
282
+ minWinnerStake: Number(pool.minWinnerStake.toString()) / LAMPORTS_PER_SOL,
283
283
  };
284
284
  }
285
285