@b3dotfun/sdk 0.0.78-alpha.1 → 0.0.78-alpha.2

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.
@@ -165,7 +165,7 @@ function SignInWithB3Flow({ strategies, onLoginSuccess, onSessionKeySuccess, onE
165
165
  isOpen,
166
166
  source,
167
167
  });
168
- if (isConnected && isAuthenticated && user) {
168
+ if (isConnected && isAuthenticated) {
169
169
  // Mark that login just completed BEFORE opening manage account or closing modal
170
170
  // This allows Turnkey modal to show (if enableTurnkey is true)
171
171
  if (closeAfterLogin) {
@@ -162,7 +162,7 @@ export function SignInWithB3Flow({ strategies, onLoginSuccess, onSessionKeySucce
162
162
  isOpen,
163
163
  source,
164
164
  });
165
- if (isConnected && isAuthenticated && user) {
165
+ if (isConnected && isAuthenticated) {
166
166
  // Mark that login just completed BEFORE opening manage account or closing modal
167
167
  // This allows Turnkey modal to show (if enableTurnkey is true)
168
168
  if (closeAfterLogin) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b3dotfun/sdk",
3
- "version": "0.0.78-alpha.1",
3
+ "version": "0.0.78-alpha.2",
4
4
  "source": "src/index.ts",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "react-native": "./dist/cjs/index.native.js",
@@ -198,7 +198,7 @@ export function SignInWithB3Flow({
198
198
  source,
199
199
  });
200
200
 
201
- if (isConnected && isAuthenticated && user) {
201
+ if (isConnected && isAuthenticated) {
202
202
  // Mark that login just completed BEFORE opening manage account or closing modal
203
203
  // This allows Turnkey modal to show (if enableTurnkey is true)
204
204
  if (closeAfterLogin) {