@everymatrix/player-profile-info 1.43.4 → 1.44.0

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.43.4",
3
+ "version": "1.44.0",
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": "8464c47cb49b4ffa1c9debfac3a7dfc3097cf57a"
38
+ "gitHead": "701410f2b76dfe1ee4038f799b1e8e340c85cdb5"
39
39
  }
@@ -79,7 +79,7 @@
79
79
  readOnlyValues.iban = profileInfo.iban;
80
80
  readOnlyValues.userTitles = profileInfo.title;
81
81
  readOnlyValues.countryCode = profileInfo.country;
82
- readOnlyValues.countryName = countriesArray.find((country:any) => country.Alpha2Code === profileInfo.country).Name || 'I.E. Ireland';
82
+ readOnlyValues.countryName = countriesArray.find((country:any) => country.Alpha2Code === profileInfo.country)?.Name || 'I.E. Ireland';
83
83
 
84
84
  updatedEditableValues.address1 = profileInfo.address1;
85
85
  updatedEditableValues.city = profileInfo.city;