tf-checkout-react 1.0.99 → 1.0.100

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,5 +1,5 @@
1
1
  {
2
- "version": "1.0.99",
2
+ "version": "1.0.100",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -84,6 +84,7 @@ interface IUserData {
84
84
  email: string;
85
85
  city?: string;
86
86
  country?: string;
87
+ countryId?: string;
87
88
  phone?: string;
88
89
  streetAddress?: string;
89
90
  state?: string;
@@ -106,7 +107,7 @@ export const setLoggedUserData = (data: IUserData) => ({
106
107
  email: data.email,
107
108
  confirmEmail: data.email,
108
109
  city: data?.city || '',
109
- country: data?.country || '',
110
+ country: data?.countryId || data?.country || '',
110
111
  phone: data?.phone || '',
111
112
  street_address: data?.streetAddress || '',
112
113
  state: data?.stateId || '',