Skip to content

Commit 865d890

Browse files
committed
Build: (56087c4) fixed descriptive socials showing in rows (#384)
1 parent a0f78a3 commit 865d890

File tree

10 files changed

+23
-23
lines changed

10 files changed

+23
-23
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { p as process$1, g as getDefaultExportFromCjs } from "./index-BWiksjJw.js";
1+
import { p as process$1, g as getDefaultExportFromCjs } from "./index-DPAKKArX.js";
22
var browser = { exports: {} };
33
var ms;
44
var hasRequiredMs;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { q as BaseError, u as getUrl, x as stringify, y as decodeErrorResult, z as isAddressEqual, A as call, C as concat, D as encodeAbiParameters, H as HttpRequestError, F as isHex } from "./index-BWiksjJw.js";
1+
import { q as BaseError, u as getUrl, x as stringify, y as decodeErrorResult, z as isAddressEqual, A as call, C as concat, D as encodeAbiParameters, H as HttpRequestError, F as isHex } from "./index-DPAKKArX.js";
22
class OffchainLookupError extends BaseError {
33
constructor({ callbackSelector, cause, data, extraData, sender, urls }) {
44
var _a;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { T as ThemeCtrl, M as ModalCtrl, R as RouterCtrl, E as ExplorerCtrl, C as CoreUtil, a as ToastCtrl, b as EventsCtrl, O as OptionsCtrl, c as ConfigCtrl } from "./index-cduB6tOG.js";
2-
import "./index-BWiksjJw.js";
1+
import { T as ThemeCtrl, M as ModalCtrl, R as RouterCtrl, E as ExplorerCtrl, C as CoreUtil, a as ToastCtrl, b as EventsCtrl, O as OptionsCtrl, c as ConfigCtrl } from "./index-9BrpcuLA.js";
2+
import "./index-DPAKKArX.js";
33
/**
44
* @license
55
* Copyright 2019 Google LLC
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BSXX62rD.js","./index-BWiksjJw.js","./index-BHwcnrtI.css"])))=>i.map(i=>d[i]);
2-
import { B as Buffer, _ as __vitePreload } from "./index-BWiksjJw.js";
1+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-7CyD6brG.js","./index-DPAKKArX.js","./index-BHwcnrtI.css"])))=>i.map(i=>d[i]);
2+
import { B as Buffer, _ as __vitePreload } from "./index-DPAKKArX.js";
33
const t = Symbol();
44
const s = Object.getPrototypeOf, c = /* @__PURE__ */ new WeakMap(), l = (e) => e && (c.has(e) ? c.get(e) : s(e) === Object.prototype || s(e) === Array.prototype), y = (e) => l(e) && e[t] || null, h = (e, t2 = true) => {
55
c.set(e, t2);
@@ -776,7 +776,7 @@ class WalletConnectModal {
776776
}
777777
async initUi() {
778778
if (typeof window !== "undefined") {
779-
await __vitePreload(() => import("./index-BSXX62rD.js"), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url);
779+
await __vitePreload(() => import("./index-7CyD6brG.js"), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url);
780780
const modal = document.createElement("wcm-modal");
781781
document.body.insertAdjacentElement("beforeend", modal);
782782
OptionsCtrl.setIsUiLoaded(true);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { B as Buffer, g as getDefaultExportFromCjs, b as bytesToHex, s as sha256, E as EventEmitter } from "./index-BWiksjJw.js";
1+
import { B as Buffer, g as getDefaultExportFromCjs, b as bytesToHex, s as sha256, E as EventEmitter } from "./index-DPAKKArX.js";
22
import { D, g, c as clsx, h, y } from "./hooks.module-B8FgZbnF.js";
33
class ScopedLocalStorage {
44
constructor(scope, module) {
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-yJzvLFJZ.js","./hooks.module-B8FgZbnF.js","./index-CyZ7OY38.js","./browser-k3ynsqRe.js","./metamask-sdk-IbR9q8mu.js"])))=>i.map(i=>d[i]);
1+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-CNnPzrfV.js","./hooks.module-B8FgZbnF.js","./index-g4GLwoz5.js","./browser-6GWTxzMJ.js","./metamask-sdk-Cxv_UPKP.js"])))=>i.map(i=>d[i]);
22
var __defProp = Object.defineProperty;
33
var __typeError = (msg) => {
44
throw TypeError(msg);
@@ -20450,7 +20450,7 @@ async function call(client2, args) {
2045020450
} catch (err2) {
2045120451
const data3 = getRevertErrorData(err2);
2045220452
const { offchainLookup, offchainLookupSignature } = await __vitePreload(async () => {
20453-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-DSoI-I7d.js");
20453+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-ClGv8uWl.js");
2045420454
return { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 };
2045520455
}, true ? [] : void 0, import.meta.url);
2045620456
if (client2.ccipRead !== false && (data3 == null ? void 0 : data3.slice(0, 10)) === offchainLookupSignature && to)
@@ -130436,7 +130436,7 @@ const Connect = (props) => {
130436130436
}
130437130437
return jsxRuntimeExports.jsxs("div", { className: "p-4", children: [jsxRuntimeExports.jsxs("div", { className: "flex flex-col justify-center text-primary items-center font-medium", style: {
130438130438
marginTop: "2px"
130439-
}, children: [jsxRuntimeExports.jsx(TitleWrapper, { isPreview, children: jsxRuntimeExports.jsx(Text, { color: "secondary", children: isLoading ? `Connecting...` : hasConnectedSocialOrSequenceUniversal ? "Wallets" : `Connect ${projectName ? `to ${projectName}` : ""}` }) }), isSigningLinkMessage && jsxRuntimeExports.jsx("div", { className: "mt-4", children: jsxRuntimeExports.jsx(Text, { variant: "small", color: "muted", children: "Confirm the signature request to link your account" }) })] }), isLoading ? jsxRuntimeExports.jsx("div", { className: "flex justify-center items-center pt-4", children: jsxRuntimeExports.jsx(Spinner, {}) }) : jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [wallets.length > 0 && !showEmailWaasPinInput && jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(ConnectedWallets, { wallets, linkedWallets, disconnectWallet, unlinkWallet: handleUnlinkWallet }), jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(Divider, { className: "text-background-raised w-full" }), jsxRuntimeExports.jsx("div", { className: "flex justify-center", children: jsxRuntimeExports.jsx(Text, { variant: "small", color: "muted", children: !hasConnectedSocialOrSequenceUniversal ? "Connect with a social account" : "Connect another wallet" }) })] })] }), showEmailWaasPinInput ? jsxRuntimeExports.jsx(EmailWaasVerify, { sendEmailCode, error: emailAuthError, isLoading: emailAuthLoading, onConfirm: sendChallengeAnswer, resetError }) : jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [!hasConnectedSocialOrSequenceUniversal && jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(Banner, { config: config2 }), jsxRuntimeExports.jsx("div", { className: "flex mt-6 gap-6 flex-col", children: jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [showSocialConnectorSection && jsxRuntimeExports.jsxs("div", { className: "flex gap-2 justify-center items-center", children: [socialAuthConnectors.slice(0, socialConnectorsPerRow).map((connector) => {
130439+
}, children: [jsxRuntimeExports.jsx(TitleWrapper, { isPreview, children: jsxRuntimeExports.jsx(Text, { color: "secondary", children: isLoading ? `Connecting...` : hasConnectedSocialOrSequenceUniversal ? "Wallets" : `Connect ${projectName ? `to ${projectName}` : ""}` }) }), isSigningLinkMessage && jsxRuntimeExports.jsx("div", { className: "mt-4", children: jsxRuntimeExports.jsx(Text, { variant: "small", color: "muted", children: "Confirm the signature request to link your account" }) })] }), isLoading ? jsxRuntimeExports.jsx("div", { className: "flex justify-center items-center pt-4", children: jsxRuntimeExports.jsx(Spinner, {}) }) : jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [wallets.length > 0 && !showEmailWaasPinInput && jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(ConnectedWallets, { wallets, linkedWallets, disconnectWallet, unlinkWallet: handleUnlinkWallet }), jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(Divider, { className: "text-background-raised w-full" }), jsxRuntimeExports.jsx("div", { className: "flex justify-center", children: jsxRuntimeExports.jsx(Text, { variant: "small", color: "muted", children: !hasConnectedSocialOrSequenceUniversal ? "Connect with a social account" : "Connect another wallet" }) })] })] }), showEmailWaasPinInput ? jsxRuntimeExports.jsx(EmailWaasVerify, { sendEmailCode, error: emailAuthError, isLoading: emailAuthLoading, onConfirm: sendChallengeAnswer, resetError }) : jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [!hasConnectedSocialOrSequenceUniversal && jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [jsxRuntimeExports.jsx(Banner, { config: config2 }), jsxRuntimeExports.jsx("div", { className: "flex mt-6 gap-6 flex-col", children: jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [showSocialConnectorSection && jsxRuntimeExports.jsxs("div", { className: `flex gap-2 justify-center items-center ${descriptiveSocials ? "flex-col" : "flex-row"}`, children: [socialAuthConnectors.slice(0, socialConnectorsPerRow).map((connector) => {
130440130440
return jsxRuntimeExports.jsx("div", { className: "w-full", children: connector._wallet.id === "google-waas" ? jsxRuntimeExports.jsx(GoogleWaasConnectButton, { isDescriptive: descriptiveSocials, connector, onConnect }) : connector._wallet.id === "apple-waas" ? jsxRuntimeExports.jsx(AppleWaasConnectButton, { isDescriptive: descriptiveSocials, connector, onConnect }) : jsxRuntimeExports.jsx(ConnectButton, { isDescriptive: descriptiveSocials, connector, onConnect }) }, connector.uid);
130441130441
}), showMoreSocialOptions && jsxRuntimeExports.jsx("div", { className: "w-full", children: jsxRuntimeExports.jsx(ShowAllWalletsButton, { onClick: () => setShowExtendedList("social") }) })] }), showSocialConnectorSection && showEmailInputSection && jsxRuntimeExports.jsxs("div", { className: "flex gap-4 flex-row justify-center items-center", children: [jsxRuntimeExports.jsx(Divider, { className: "mx-0 my-0 text-background-secondary grow" }), jsxRuntimeExports.jsx(Text, { className: "leading-4 h-4 text-sm", variant: "normal", fontWeight: "medium", color: "muted", children: "or" }), jsxRuntimeExports.jsx(Divider, { className: "mx-0 my-0 text-background-secondary grow" })] }), showEmailInputSection && jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: jsxRuntimeExports.jsx("form", { onSubmit: onConnectInlineEmail, children: jsxRuntimeExports.jsx(TextInput, { autoFocus: true, onChange: onChangeEmail, value: email2, name: "email", placeholder: "Email address", controls: jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: emailAuthInProgress ? jsxRuntimeExports.jsx(Spinner, {}) : jsxRuntimeExports.jsx(IconButton, { type: "submit", size: "xs", icon: ArrowRightIcon_default, disabled: !isEmailValid(email2) }) }), "data-1p-ignore": true }) }) })] }) })] }), walletConnectors.length > 0 && jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: jsxRuntimeExports.jsxs("div", { className: clsx("flex gap-2 flex-row justify-center items-center", hasConnectedSequenceUniversal ? "mt-4" : "mt-6"), children: [walletConnectors.slice(0, walletConnectorsPerRow).map((connector) => {
130442130442
return jsxRuntimeExports.jsx(ConnectButton, { connector, onConnect }, connector.uid);
@@ -133526,7 +133526,7 @@ function version4(parameters) {
133526133526
};
133527133527
})();
133528133528
const { createCoinbaseWalletSDK } = await __vitePreload(async () => {
133529-
const { createCoinbaseWalletSDK: createCoinbaseWalletSDK2 } = await import("./index-yJzvLFJZ.js");
133529+
const { createCoinbaseWalletSDK: createCoinbaseWalletSDK2 } = await import("./index-CNnPzrfV.js");
133530133530
return { createCoinbaseWalletSDK: createCoinbaseWalletSDK2 };
133531133531
}, true ? __vite__mapDeps([0,1]) : void 0, import.meta.url);
133532133532
const sdk = createCoinbaseWalletSDK({
@@ -133701,7 +133701,7 @@ function version3(parameters) {
133701133701
if (!walletProvider) {
133702133702
const CoinbaseWalletSDK = await (async () => {
133703133703
const { default: SDK } = await __vitePreload(async () => {
133704-
const { default: SDK2 } = await import("./index-CyZ7OY38.js").then((n2) => n2.i);
133704+
const { default: SDK2 } = await import("./index-g4GLwoz5.js").then((n2) => n2.i);
133705133705
return { default: SDK2 };
133706133706
}, true ? __vite__mapDeps([2,1,3]) : void 0, import.meta.url);
133707133707
if (typeof SDK !== "function" && typeof SDK.default === "function")
@@ -133941,7 +133941,7 @@ function metaMask$1(parameters = {}) {
133941133941
var _a4, _b2, _c2, _d3, _e6;
133942133942
const MetaMaskSDK = await (async () => {
133943133943
const { default: SDK } = await __vitePreload(async () => {
133944-
const { default: SDK2 } = await import("./metamask-sdk-IbR9q8mu.js");
133944+
const { default: SDK2 } = await import("./metamask-sdk-Cxv_UPKP.js");
133945133945
return { default: SDK2 };
133946133946
}, true ? __vite__mapDeps([4,3]) : void 0, import.meta.url);
133947133947
if (typeof SDK !== "function" && typeof SDK.default === "function")
@@ -134293,7 +134293,7 @@ function walletConnect$1(parameters) {
134293134293
if (!optionalChains.length)
134294134294
return;
134295134295
const { EthereumProvider } = await __vitePreload(async () => {
134296-
const { EthereumProvider: EthereumProvider2 } = await import("./index.es-DkukpNzU.js");
134296+
const { EthereumProvider: EthereumProvider2 } = await import("./index.es-CnKjB0tB.js");
134297134297
return { EthereumProvider: EthereumProvider2 };
134298134298
}, true ? [] : void 0, import.meta.url);
134299134299
return await EthereumProvider.init({
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { c as commonjsGlobal, a as bnExports, B as Buffer$7, r as require$$2$1, i as inherits_browserExports, d as getAugmentedNamespace, e as eventsExports, f as require$$3, p as process$1, t as tslib_es6, h as eventemitter3Exports, g as getDefaultExportFromCjs } from "./index-BWiksjJw.js";
1+
import { c as commonjsGlobal, a as bnExports, B as Buffer$7, r as require$$2$1, i as inherits_browserExports, d as getAugmentedNamespace, e as eventsExports, f as require$$3, p as process$1, t as tslib_es6, h as eventemitter3Exports, g as getDefaultExportFromCjs } from "./index-DPAKKArX.js";
22
import { p as preact_module, a as clsx_m, b as hooks_module } from "./hooks.module-B8FgZbnF.js";
3-
import { b as browserExports } from "./browser-k3ynsqRe.js";
3+
import { b as browserExports } from "./browser-6GWTxzMJ.js";
44
var dist$5 = {};
55
var CoinbaseWalletSDK$1 = {};
66
var walletLogo$1 = {};
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-cduB6tOG.js","./index-BWiksjJw.js","./index-BHwcnrtI.css"])))=>i.map(i=>d[i]);
2-
import { p as process$1, d as getAugmentedNamespace, j as global, B as Buffer, m as recoverAddress, o as elliptic, e as eventsExports, g as getDefaultExportFromCjs, c as commonjsGlobal, w as wt$4, _ as __vitePreload } from "./index-BWiksjJw.js";
1+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-9BrpcuLA.js","./index-DPAKKArX.js","./index-BHwcnrtI.css"])))=>i.map(i=>d[i]);
2+
import { p as process$1, d as getAugmentedNamespace, j as global, B as Buffer, m as recoverAddress, o as elliptic, e as eventsExports, g as getDefaultExportFromCjs, c as commonjsGlobal, w as wt$4, _ as __vitePreload } from "./index-DPAKKArX.js";
33
var __spreadArray = function(to2, from2, pack) {
44
if (pack || arguments.length === 2) for (var i3 = 0, l2 = from2.length, ar2; i3 < l2; i3++) {
55
if (ar2 || !(i3 in from2)) {
@@ -11759,7 +11759,7 @@ class w {
1175911759
if (this.rpc = this.getRpcConfig(t), this.chainId = this.rpc.chains.length ? v(this.rpc.chains) : v(this.rpc.optionalChains), this.signer = await oh.init({ projectId: this.rpc.projectId, metadata: this.rpc.metadata, disableProviderPing: t.disableProviderPing, relayUrl: t.relayUrl, storage: t.storage, storageOptions: t.storageOptions, customStoragePrefix: t.customStoragePrefix, telemetryEnabled: t.telemetryEnabled, logger: t.logger }), this.registerEventListeners(), await this.loadPersistedSession(), this.rpc.showQrModal) {
1176011760
let s2;
1176111761
try {
11762-
const { WalletConnectModal: i3 } = await __vitePreload(() => import("./index-cduB6tOG.js").then((n3) => n3.i), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url);
11762+
const { WalletConnectModal: i3 } = await __vitePreload(() => import("./index-9BrpcuLA.js").then((n3) => n3.i), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url);
1176311763
s2 = i3;
1176411764
} catch {
1176511765
throw new Error("To use QR modal, please install @walletconnect/modal package");
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { c as commonjsGlobal, g as getDefaultExportFromCjs, n, j as global, v as v4, k as eventemitter2Exports, l as validate, _ as __vitePreload } from "./index-BWiksjJw.js";
2-
import { t } from "./browser-k3ynsqRe.js";
1+
import { c as commonjsGlobal, g as getDefaultExportFromCjs, n, j as global, v as v4, k as eventemitter2Exports, l as validate, _ as __vitePreload } from "./index-DPAKKArX.js";
2+
import { t } from "./browser-6GWTxzMJ.js";
33
var browserPonyfill = { exports: {} };
44
(function(module, exports) {
55
var __global__ = typeof globalThis !== "undefined" && globalThis || typeof self !== "undefined" && self || typeof commonjsGlobal !== "undefined" && commonjsGlobal;

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
Learn how to configure a non-root public URL by running `npm run build`.
2222
-->
2323
<title>Sequence Web SDK Demo</title>
24-
<script type="module" crossorigin src="./assets/index-BWiksjJw.js"></script>
24+
<script type="module" crossorigin src="./assets/index-DPAKKArX.js"></script>
2525
<link rel="stylesheet" crossorigin href="./assets/index-BHwcnrtI.css">
2626
</head>
2727
<body>

0 commit comments

Comments
 (0)