@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 (!country) {
74
- throw new Error('country is required');
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');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/connect",
3
- "version": "2.6.59-test",
3
+ "version": "2.6.61-test",
4
4
  "description": "Tap Connect",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.js",