@opexa/portal-sdk 0.35.13 → 0.35.14

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/index.cjs CHANGED
@@ -2141,6 +2141,7 @@ var TOURNAMENTS_QUERY = gql`
2141
2141
  url
2142
2142
  mimeType
2143
2143
  }
2144
+ rewardSettings
2144
2145
  }
2145
2146
  }
2146
2147
  }
@@ -5956,15 +5957,10 @@ var Transformer = class {
5956
5957
  status: data.status,
5957
5958
  activationEndDateTime: new Date(data.activationEndDateTime),
5958
5959
  activationStartDateTime: new Date(data.activationStartDateTime),
5959
- topPayouts: {
5960
- id: data.topPayouts.id,
5961
- multiplier: parseDecimal(data.topPayouts.multiplier, 0),
5962
- amount: parseDecimal(data.topPayouts.amount, 0),
5963
- member: {
5964
- id: data.topPayouts.member?.id,
5965
- name: data.topPayouts.member?.name
5966
- }
5967
- },
5960
+ topPayouts: data.topPayouts.map((payout) => ({
5961
+ ...payout,
5962
+ amount: parseDecimal(payout.amount, 0)
5963
+ })),
5968
5964
  enabledGameProviders: data.enabledGameProviders,
5969
5965
  frequency: data.frequency,
5970
5966
  mode: data.mode,
@@ -5978,6 +5974,7 @@ var Transformer = class {
5978
5974
  url: data.webBanner?.url,
5979
5975
  mimeType: data.webBanner?.mimeType
5980
5976
  },
5977
+ rewardSettings: data.rewardSettings,
5981
5978
  currentLeaderboard: {
5982
5979
  currentLeaderboard: data.currentLeaderboard?.edges.map(({ cursor, node }) => ({
5983
5980
  cursor,