@pooflabs/web 0.0.49 → 0.0.50

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.
@@ -13052,7 +13052,7 @@ async function loadDependencies() {
13052
13052
  const [reactModule, reactDomModule, phantomModule] = await Promise.all([
13053
13053
  import('react'),
13054
13054
  import('react-dom/client'),
13055
- import('./index-B-RIRJEL.esm.js')
13055
+ import('./index-DvBYeZDH.esm.js')
13056
13056
  ]);
13057
13057
  // Extract default export from ESM module namespace
13058
13058
  // Dynamic import() returns { default: Module, ...exports }, not the module directly
@@ -13350,7 +13350,7 @@ class PhantomWalletProvider {
13350
13350
  let socialBtnContainer = null;
13351
13351
  let didAutoClick = false;
13352
13352
  const enhanceModal = () => {
13353
- var _a, _b;
13353
+ var _a, _b, _c;
13354
13354
  const overlayEl = ((_a = that.containerElement) === null || _a === void 0 ? void 0 : _a.querySelector('div[style*="z-index"]'))
13355
13355
  || document.querySelector('div[style*="z-index: 9999"]');
13356
13356
  const modalCard = overlayEl === null || overlayEl === void 0 ? void 0 : overlayEl.firstElementChild;
@@ -13383,6 +13383,16 @@ class PhantomWalletProvider {
13383
13383
  break;
13384
13384
  }
13385
13385
  }
13386
+ // Hide the "OR" divider that appears between injected wallet and deeplink
13387
+ const allSpans = modalCard.querySelectorAll('span');
13388
+ for (const span of allSpans) {
13389
+ if (((_c = span.textContent) === null || _c === void 0 ? void 0 : _c.trim()) === 'OR') {
13390
+ const dividerContainer = span.parentElement;
13391
+ if (dividerContainer)
13392
+ dividerContainer.style.display = 'none';
13393
+ break;
13394
+ }
13395
+ }
13386
13396
  // Inject the email login button if not already present
13387
13397
  if (socialBtnContainer || modalCard.querySelector('[data-privy-fallback-btn]'))
13388
13398
  return;
@@ -34439,4 +34449,4 @@ async function getIdToken() {
34439
34449
  }
34440
34450
 
34441
34451
  export { useAuth as A, getIdToken as B, PrivyWalletProvider as C, DEFAULT_TEST_ADDRESS as D, EventEmitter4 as E, buildSetDocumentsTransaction as F, clearCache as G, closeAllSubscriptions as H, convertRemainingAccounts as I, createSessionWithPrivy as J, createSessionWithSignature as K, genAuthNonce as L, MockAuthProvider as M, genSolanaMessage as N, OffchainAuthProvider as O, PhantomWalletProvider as P, getCachedData as Q, reconnectWithNewAuth as R, ServerSessionManager as S, refreshSession as T, signSessionCreateMessage as U, WebSessionManager as W, bs58 as a, bufferExports as b, commonjsRequire as c, onAuthLoadingChanged as d, getAuthLoading as e, logout as f, getCurrentUser as g, getConfig as h, init as i, getAuthProvider as j, get$2 as k, login as l, setMany as m, setFile as n, onAuthStateChanged as o, getFiles as p, runQuery as q, require$$0$1 as r, set$1 as s, runQueryMany as t, runExpression as u, runExpressionMany as v, signMessage as w, signTransaction as x, signAndSubmitTransaction as y, subscribe as z };
34442
- //# sourceMappingURL=index-DbpX94X9.esm.js.map
34452
+ //# sourceMappingURL=index-NRbP_-4R.esm.js.map