@everymatrix/player-profile-info 1.17.3 → 1.17.5

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-profile-info",
3
- "version": "1.17.3",
3
+ "version": "1.17.5",
4
4
  "main": "dist/player-profile-info.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "89baba5648f1fb1c1ff4fbe9369eb83965480ce7"
38
+ "gitHead": "e558426aacbc1f9a28260526551afc6d4cf887b1"
39
39
  }
@@ -208,7 +208,7 @@
208
208
  }
209
209
 
210
210
  const getCountriesList = ():void => {
211
- fetch(`${endpoint}/v1/player/countries`)
211
+ fetch(`${endpoint}/player/countries`)
212
212
  .then((res:any) => {
213
213
  if (res.status >= 300) {
214
214
  return new Error('Error while fetching the countries');
@@ -217,7 +217,7 @@
217
217
  return res.json();
218
218
  })
219
219
  .then((countryList:any) => {
220
- fetch(`${endpoint}/v1/player/operatorSupportedCountries`).then((res:any) => {
220
+ fetch(`${endpoint}/player/operatorSupportedCountries`).then((res:any) => {
221
221
  if (res.status >= 300) {
222
222
  return new Error('Error while fetching the supported countries');
223
223
  }
@@ -236,7 +236,7 @@
236
236
  }
237
237
 
238
238
  const getPhoneCodes = ():void => {
239
- fetch(`${endpoint}/v1/player/phonecodes`)
239
+ fetch(`${endpoint}/player/phonecodes`)
240
240
  .then((res:any) => res.json())
241
241
  .then(data => {
242
242
  prefixesArray = data.phoneCodes;