@pooflabs/web 0.0.51 → 0.0.52
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-CBXqUvfd.esm.js → index-BTXyzHFt.esm.js} +13 -3
- package/dist/{index-CBXqUvfd.esm.js.map → index-BTXyzHFt.esm.js.map} +1 -1
- package/dist/{index-wKMEBSXZ.js → index-BbI_0NeF.js} +2 -2
- package/dist/{index-wKMEBSXZ.js.map → index-BbI_0NeF.js.map} +1 -1
- package/dist/{index-BhxonHm1.js → index-DXHYU-4l.js} +13 -3
- package/dist/{index-BhxonHm1.js.map → index-DXHYU-4l.js.map} +1 -1
- package/dist/{index-D2XrI-Bi.esm.js → index-Dd0iNy-b.esm.js} +2 -2
- package/dist/{index-D2XrI-Bi.esm.js.map → index-Dd0iNy-b.esm.js.map} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -13067,7 +13067,7 @@ async function loadDependencies() {
|
|
|
13067
13067
|
const [reactModule, reactDomModule, phantomModule] = await Promise.all([
|
|
13068
13068
|
import('react'),
|
|
13069
13069
|
import('react-dom/client'),
|
|
13070
|
-
import('./index-
|
|
13070
|
+
import('./index-Dd0iNy-b.esm.js')
|
|
13071
13071
|
]);
|
|
13072
13072
|
// Extract default export from ESM module namespace
|
|
13073
13073
|
// Dynamic import() returns { default: Module, ...exports }, not the module directly
|
|
@@ -13365,7 +13365,7 @@ class PhantomWalletProvider {
|
|
|
13365
13365
|
let socialBtnContainer = null;
|
|
13366
13366
|
let didAutoClick = false;
|
|
13367
13367
|
const enhanceModal = () => {
|
|
13368
|
-
var _a, _b;
|
|
13368
|
+
var _a, _b, _c;
|
|
13369
13369
|
const overlayEl = ((_a = that.containerElement) === null || _a === void 0 ? void 0 : _a.querySelector('div[style*="z-index"]'))
|
|
13370
13370
|
|| document.querySelector('div[style*="z-index: 9999"]');
|
|
13371
13371
|
const modalCard = overlayEl === null || overlayEl === void 0 ? void 0 : overlayEl.firstElementChild;
|
|
@@ -13398,6 +13398,16 @@ class PhantomWalletProvider {
|
|
|
13398
13398
|
break;
|
|
13399
13399
|
}
|
|
13400
13400
|
}
|
|
13401
|
+
// Hide the "OR" divider that appears between injected wallet and deeplink
|
|
13402
|
+
const allSpans = modalCard.querySelectorAll('span');
|
|
13403
|
+
for (const span of allSpans) {
|
|
13404
|
+
if (((_c = span.textContent) === null || _c === void 0 ? void 0 : _c.trim()) === 'OR') {
|
|
13405
|
+
const dividerContainer = span.parentElement;
|
|
13406
|
+
if (dividerContainer)
|
|
13407
|
+
dividerContainer.style.display = 'none';
|
|
13408
|
+
break;
|
|
13409
|
+
}
|
|
13410
|
+
}
|
|
13401
13411
|
// Inject the email login button if not already present
|
|
13402
13412
|
if (socialBtnContainer || modalCard.querySelector('[data-privy-fallback-btn]'))
|
|
13403
13413
|
return;
|
|
@@ -34166,4 +34176,4 @@ async function getIdToken() {
|
|
|
34166
34176
|
}
|
|
34167
34177
|
|
|
34168
34178
|
export { PrivyWalletProvider as A, buildSetDocumentsTransaction as B, clearCache as C, DEFAULT_TEST_ADDRESS as D, closeAllSubscriptions as E, convertRemainingAccounts as F, createSessionWithPrivy as G, createSessionWithSignature as H, genAuthNonce as I, genSolanaMessage as J, getCachedData as K, reconnectWithNewAuth as L, MockAuthProvider as M, refreshSession as N, OffchainAuthProvider as O, PhantomWalletProvider as P, signSessionCreateMessage as Q, ServerSessionManager as S, WebSessionManager as W, getCurrentUser as a, bufferExports as b, onAuthLoadingChanged as c, getAuthLoading as d, logout as e, getConfig as f, getDefaultExportFromCjs$1 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, subscribe as x, useAuth as y, getIdToken as z };
|
|
34169
|
-
//# sourceMappingURL=index-
|
|
34179
|
+
//# sourceMappingURL=index-BTXyzHFt.esm.js.map
|