@pooflabs/web 0.0.68 → 0.0.69

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.
@@ -13543,7 +13543,7 @@ async function loadDependencies() {
13543
13543
  const [reactModule, reactDomModule, phantomModule] = await Promise.all([
13544
13544
  import('react'),
13545
13545
  import('react-dom/client'),
13546
- import('./index-CzcmQ2iE.esm.js')
13546
+ import('./index-CitlpjWv.esm.js')
13547
13547
  ]);
13548
13548
  // Extract default export from ESM module namespace
13549
13549
  // Dynamic import() returns { default: Module, ...exports }, not the module directly
@@ -13655,9 +13655,15 @@ class PhantomWalletProvider {
13655
13655
  this.containerElement.setAttribute('data-phantom-provider', 'true');
13656
13656
  // Keep Phantom UI above host overlays while avoiding global click-capture.
13657
13657
  this.containerElement.style.position = 'fixed';
13658
- this.containerElement.style.inset = '0';
13659
13658
  this.containerElement.style.zIndex = '2147483647';
13660
- this.containerElement.style.pointerEvents = 'none';
13659
+ if (this.config.enablePrivyFallback) {
13660
+ // Full-viewport overlay for custom modal; pointer-events: none lets
13661
+ // clicks pass through to page except where the modal sets 'auto'
13662
+ this.containerElement.style.inset = '0';
13663
+ this.containerElement.style.pointerEvents = 'none';
13664
+ }
13665
+ // When Privy fallback is off, the container just hosts PhantomProvider
13666
+ // without covering the viewport or blocking pointer events
13661
13667
  document.body.appendChild(this.containerElement);
13662
13668
  const that = this;
13663
13669
  const { PhantomProvider: ReactPhantomProvider, usePhantom, useConnect, useDisconnect, useModal, useSolana, useDiscoveredWallets, AddressType, darkTheme, lightTheme } = phantomReactSdk;
@@ -35209,4 +35215,4 @@ async function getIdToken() {
35209
35215
  }
35210
35216
 
35211
35217
  export { useAuth as A, getIdToken as B, PrivyWalletProvider as C, DEFAULT_TEST_ADDRESS as D, EventEmitter3 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, onAuthLoadingChanged as c, getAuthLoading as d, logout as e, getConfig as f, getCurrentUser as g, getAuthProvider as h, init as i, get$2 as j, setMany as k, login as l, setFile as m, getFiles as n, onAuthStateChanged as o, runQueryMany as p, runExpression as q, runQuery as r, set$1 as s, runExpressionMany as t, signMessage as u, signTransaction as v, signAndSubmitTransaction as w, count as x, aggregate as y, subscribe as z };
35212
- //# sourceMappingURL=index-DVa7oS4V.esm.js.map
35218
+ //# sourceMappingURL=index-BMWeM64T.esm.js.map