@tap-payments/auth-jsconnect 2.7.9-test → 2.7.10-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.
@@ -85,8 +85,8 @@ var ConnectExpress = memo(function (_a) {
85
85
  dispatch(setIsLeadIdPassed(true));
86
86
  dispatch(setLeadId(lead.id));
87
87
  }
88
- if (typeof (board === null || board === void 0 ? void 0 : board.display) === 'boolean')
89
- dispatch(setShowBoard(board === null || board === void 0 ? void 0 : board.display));
88
+ if (showBoard === false || (board === null || board === void 0 ? void 0 : board.display) === false)
89
+ dispatch(setShowBoard(false));
90
90
  return [2];
91
91
  });
92
92
  }); };
@@ -95,7 +95,7 @@ var ConnectExpress = memo(function (_a) {
95
95
  useStepStartedListener();
96
96
  var activeScreen = data.activeScreen, isTapOrigin = data.isTapOrigin, open = data.open, merchant = data.merchant;
97
97
  React.useEffect(function () {
98
- if (typeof showBoard === 'boolean')
98
+ if (typeof showBoard === 'boolean' && !configToken)
99
99
  dispatch(setShowBoard(showBoard));
100
100
  sendPageView({
101
101
  title: 'Connect Express'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.7.9-test",
3
+ "version": "2.7.10-test",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",