solotto 1.3.0 → 1.3.1

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/solotto.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solotto",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Solana lottery client",
5
5
  "type": "module",
6
6
  "types": "./solotto.d.ts",
package/solotto.js CHANGED
@@ -532,7 +532,7 @@ if(encoded){
532
532
  }
533
533
  return result.sort((a, b) => b.lotteryId - a.lotteryId);
534
534
  }
535
- catch(err){return result;}
535
+ catch(err){return [];}
536
536
  }
537
537
 
538
538
  async DecodeLotteryState(buffer, fees = true){