@aurigami/sdk 1.19.3 → 1.19.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.
package/dist/sdk.esm.js CHANGED
@@ -4784,8 +4784,10 @@ var StakingRead = /*#__PURE__*/function (_BlockchainEntityRead) {
4784
4784
  _context.next = 2;
4785
4785
  return this.env.auriFairLaunch.getPoolInfo(PLYWNEAR_POOL_ID).then(function (res) {
4786
4786
  var endedTime = res.endTime;
4787
- // If the pool has ended, return 0 reward per second
4788
- if (endedTime < Date.now() / 1000) {
4787
+ var startTime = res.startTime;
4788
+ var now = Date.now() / 1000;
4789
+ // If the pool has ended or not started, return 0 reward per second
4790
+ if (endedTime < now || startTime > now) {
4789
4791
  return {
4790
4792
  stakedLiquidity: res.totalStake,
4791
4793
  rewardPerSeconds: res.rewardPerSeconds.map(function (_) {