@tap-payments/auth-jsconnect 2.4.53-test → 2.4.54-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.
@@ -41,7 +41,6 @@ var ConnectExpress = memo(function (_a) {
41
41
  var dispatch = useAppDispatch();
42
42
  var _b = useAppSelector(settingsSelector), data = _b.data, error = _b.error, settingLoading = _b.loading;
43
43
  var _c = useAppSelector(connectExpressSelector), connectExpressError = _c.error, loading = _c.loading, customLoading = _c.customLoading;
44
- var token = getParameterByName('token');
45
44
  useAppConfig(__assign({ navigation: CONNECT_EXPRESS_SCREENS_NAVIGATION, maturity: 'express' }, props));
46
45
  useErrorListener(connectExpressError || error);
47
46
  useStepStartedListener();
@@ -50,7 +49,7 @@ var ConnectExpress = memo(function (_a) {
50
49
  if (!postURL)
51
50
  throw new Error('postURL is required and you ave to pass it in the lib configuration!');
52
51
  dispatch(setPostUrl(postURL));
53
- if (token)
52
+ if (verifyToken)
54
53
  dispatch(setShowBoard(true));
55
54
  if (typeof showBoard === 'boolean')
56
55
  dispatch(setShowBoard(showBoard));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.4.53-test",
3
+ "version": "2.4.54-test",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",