solotto 1.1.3 → 1.1.4

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 (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/solotto.js +1 -1
package/README.md CHANGED
@@ -312,7 +312,7 @@ const result = await lottery.Boost(authority, lotteryId, booster, 1.0, "Good luc
312
312
 
313
313
  #### GetBoosters
314
314
 
315
- Retrieves boost history by scanning on-chain program logs for boost transactions. Filters out errored and non-finalized transactions, and only includes boosts of at least 0.0001 SOL. Can filter by authority, lottery ID, or both, and optionally group results by booster wallet address.
315
+ Retrieves boost history by scanning on-chain program logs for boost transactions. Filters out errored and non-finalized transactions. Can filter by authority, lottery ID, or both, and optionally group results by booster wallet address.
316
316
 
317
317
  ```js
318
318
  // Get all boosters for a specific lottery
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solotto",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Solana lottery client",
5
5
  "type": "module",
6
6
  "types": "./solotto.d.ts",
package/solotto.js CHANGED
@@ -746,7 +746,7 @@ class Lottery extends EventEmitter {
746
746
  // Apply filters with safety checks
747
747
  const matchesAuthority = authority ? (item.authority && authority.publicKey.toString() === item.authority) : true;
748
748
  const matchesLotteryId = lotteryId ? (item.lotteryId !== undefined && lotteryId.toString() === item.lotteryId.toString()) : true;
749
- if(matchesAuthority && matchesLotteryId && item.amount >= 0.0001){
749
+ if(matchesAuthority && matchesLotteryId){
750
750
  item.time = init.blockTime;
751
751
  item.signature = init.signature;
752
752
  result.push(item);