@bytexbyte/berifyme-react-sdk 1.0.14 → 1.0.15

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.
@@ -186,11 +186,8 @@ var HomeModal = function (_a) {
186
186
  if (res.token) {
187
187
  checkToken(res.token);
188
188
  }
189
- else if (apiKeyId && secretKey && redirectUrl) {
190
- createToken({ apiKeyId: apiKeyId, secretKey: secretKey, redirectUrl: redirectUrl });
191
- }
192
189
  else {
193
- setError('Token is required to access this page. Please include a valid token in the URL.');
190
+ createToken({ apiKeyId: apiKeyId, secretKey: secretKey, redirectUrl: redirectUrl });
194
191
  }
195
192
  //[Web] if (res.token) {
196
193
  // checkToken(res.token);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytexbyte/berifyme-react-sdk",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/index.d.ts",