@opexa/portal-sdk 0.59.78 → 0.59.79

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.
@@ -3359,13 +3359,13 @@ var RECENT_GAMES_QUERY = gql`
3359
3359
  }
3360
3360
  `;
3361
3361
  var ADD_FAVORITE_GAME_MUTATION = gql`
3362
- mutation AddFavoriteGame($game: ObjectId!) {
3363
- addFavoriteGame(input: { game: $game })
3362
+ mutation AddFavoriteGame($input: AddFavoriteGameInput!) {
3363
+ addFavoriteGame(input: $input)
3364
3364
  }
3365
3365
  `;
3366
3366
  var REMOVE_FAVORITE_GAME_MUTATION = gql`
3367
- mutation RemoveFavoriteGame($game: ObjectId!) {
3368
- removeFavoriteGame(input: { game: $game })
3367
+ mutation RemoveFavoriteGame($input: RemoveFavoriteGameInput!) {
3368
+ removeFavoriteGame(input: $input)
3369
3369
  }
3370
3370
  `;
3371
3371
  var WALLET_GAMES_QUERY = gql`
@@ -4662,6 +4662,12 @@ var AuthService = class {
4662
4662
  async destroySession(accessToken, version = 1) {
4663
4663
  const headers = new Headers(this.headers);
4664
4664
  headers.append("Authorization", `Bearer ${accessToken}`);
4665
+ if (version === 3 || version === 4) {
4666
+ const fingerprint = await getFingerPrint();
4667
+ if (fingerprint) {
4668
+ headers.append("Fingerprint", fingerprint);
4669
+ }
4670
+ }
4665
4671
  try {
4666
4672
  const res = await fetch(
4667
4673
  `${this.url}${version !== 1 ? `/v${version}/session` : "/session"}`,