@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
|
@@ -13087,7 +13087,7 @@ async function loadDependencies() {
|
|
|
13087
13087
|
const [reactModule, reactDomModule, phantomModule] = await Promise.all([
|
|
13088
13088
|
import('react'),
|
|
13089
13089
|
import('react-dom/client'),
|
|
13090
|
-
Promise.resolve().then(function () { return require('./index-
|
|
13090
|
+
Promise.resolve().then(function () { return require('./index-BbI_0NeF.js'); })
|
|
13091
13091
|
]);
|
|
13092
13092
|
// Extract default export from ESM module namespace
|
|
13093
13093
|
// Dynamic import() returns { default: Module, ...exports }, not the module directly
|
|
@@ -13385,7 +13385,7 @@ class PhantomWalletProvider {
|
|
|
13385
13385
|
let socialBtnContainer = null;
|
|
13386
13386
|
let didAutoClick = false;
|
|
13387
13387
|
const enhanceModal = () => {
|
|
13388
|
-
var _a, _b;
|
|
13388
|
+
var _a, _b, _c;
|
|
13389
13389
|
const overlayEl = ((_a = that.containerElement) === null || _a === void 0 ? void 0 : _a.querySelector('div[style*="z-index"]'))
|
|
13390
13390
|
|| document.querySelector('div[style*="z-index: 9999"]');
|
|
13391
13391
|
const modalCard = overlayEl === null || overlayEl === void 0 ? void 0 : overlayEl.firstElementChild;
|
|
@@ -13418,6 +13418,16 @@ class PhantomWalletProvider {
|
|
|
13418
13418
|
break;
|
|
13419
13419
|
}
|
|
13420
13420
|
}
|
|
13421
|
+
// Hide the "OR" divider that appears between injected wallet and deeplink
|
|
13422
|
+
const allSpans = modalCard.querySelectorAll('span');
|
|
13423
|
+
for (const span of allSpans) {
|
|
13424
|
+
if (((_c = span.textContent) === null || _c === void 0 ? void 0 : _c.trim()) === 'OR') {
|
|
13425
|
+
const dividerContainer = span.parentElement;
|
|
13426
|
+
if (dividerContainer)
|
|
13427
|
+
dividerContainer.style.display = 'none';
|
|
13428
|
+
break;
|
|
13429
|
+
}
|
|
13430
|
+
}
|
|
13421
13431
|
// Inject the email login button if not already present
|
|
13422
13432
|
if (socialBtnContainer || modalCard.querySelector('[data-privy-fallback-btn]'))
|
|
13423
13433
|
return;
|
|
@@ -34230,4 +34240,4 @@ exports.signSessionCreateMessage = signSessionCreateMessage;
|
|
|
34230
34240
|
exports.signTransaction = signTransaction;
|
|
34231
34241
|
exports.subscribe = subscribe;
|
|
34232
34242
|
exports.useAuth = useAuth;
|
|
34233
|
-
//# sourceMappingURL=index-
|
|
34243
|
+
//# sourceMappingURL=index-DXHYU-4l.js.map
|