@tap-payments/connect 2.6.59-test → 2.6.61-test
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.
|
@@ -70,8 +70,8 @@ export var validateConnectAuthProps = function (props) {
|
|
|
70
70
|
if (!publicKey) {
|
|
71
71
|
throw new Error('publicKey is required');
|
|
72
72
|
}
|
|
73
|
-
if (
|
|
74
|
-
throw new Error('country
|
|
73
|
+
if (typeof country !== 'string') {
|
|
74
|
+
throw new Error('country should be from type string');
|
|
75
75
|
}
|
|
76
76
|
if (!language) {
|
|
77
77
|
throw new Error('language is required');
|