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/dist/components/billing-info-container/utils.d.ts +1 -0
- package/dist/tf-checkout-react.cjs.development.js +1 -1
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +1 -1
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/billing-info-container/utils.ts +2 -1
package/package.json
CHANGED
|
@@ -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 || '',
|