@golstats/gsc-top-player 1.1.9 → 1.1.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golstats/gsc-top-player",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "main": "dist/gsc-top-player.umd.js",
5
5
  "module": "dist/gsc-top-player.es.js",
6
6
  "exports": {
@@ -869,10 +869,12 @@ export default {
869
869
  var dataRow = {
870
870
  position: index + 1,
871
871
  player_name: this.abrevName(data[index].name),
872
- player_photo:
872
+ player_photo: getImageUrl(
873
873
  'https://golstatsimages.blob.core.windows.net/players-profile/' +
874
- data[index].player_id +
875
- '.png',
874
+ data[index].player_id +
875
+ '.png',
876
+ this.provider
877
+ ),
876
878
  total: data[index].total.toFixed(0),
877
879
  id: data[index].player_id,
878
880
  player_age: this.calcularEdad(data[index].dob),