@dubsdotapp/expo 0.5.34 → 0.5.35

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.mjs CHANGED
@@ -2132,6 +2132,7 @@ function useCreateGame() {
2132
2132
  const away = event?.opponents?.[1]?.name ?? null;
2133
2133
  const teamLabel = params.teamChoice === "home" ? teamNickname(home) : params.teamChoice === "away" ? teamNickname(away) : "Draw";
2134
2134
  const message = `I just placed a ${wagerAmount} SOL bet on ${teamLabel} - Join me!`;
2135
+ const strTimestamp = typeof event?.startTime === "string" ? event.startTime.replace(/Z$/, "") : null;
2135
2136
  const gameInvite = {
2136
2137
  gameId: createResult.gameId,
2137
2138
  gameAddress: createResult.gameAddress,
@@ -2147,7 +2148,7 @@ function useCreateGame() {
2147
2148
  imageUrl: event?.media?.thumbnail ?? null,
2148
2149
  strThumb: event?.media?.thumbnail ?? null,
2149
2150
  strPoster: event?.media?.poster ?? null,
2150
- strTimestamp: event?.startTime ?? null,
2151
+ strTimestamp,
2151
2152
  creatorTeam: params.teamChoice,
2152
2153
  creatorWallet: params.playerWallet
2153
2154
  };