@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.
- package/dist/{index-BluuzeCc.js → index-6xbUpF_l.js} +13 -3
- package/dist/{index-BluuzeCc.js.map → index-6xbUpF_l.js.map} +1 -1
- package/dist/{index-BM6eGmtn.js → index-CcTRxMfo.js} +2 -2
- package/dist/{index-BM6eGmtn.js.map → index-CcTRxMfo.js.map} +1 -1
- package/dist/{index-B-RIRJEL.esm.js → index-DvBYeZDH.esm.js} +2 -2
- package/dist/{index-B-RIRJEL.esm.js.map → index-DvBYeZDH.esm.js.map} +1 -1
- package/dist/{index-DbpX94X9.esm.js → index-NRbP_-4R.esm.js} +13 -3
- package/dist/{index-DbpX94X9.esm.js.map → index-NRbP_-4R.esm.js.map} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
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-
|
|
34452
|
+
//# sourceMappingURL=index-NRbP_-4R.esm.js.map
|