Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
wenty22 committed Jan 7, 2025
1 parent 62086be commit f254e79
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion assets/browser-4d408a0a.js → assets/browser-def86f1e.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { g as getDefaultExportFromCjs } from "./index-2b6a8929.js";
import { g as getDefaultExportFromCjs } from "./index-a3ab1fdc.js";
var browser = { exports: {} };
var ms;
var hasRequiredMs;
Expand Down
4 changes: 2 additions & 2 deletions assets/index-5f8e5bb8.js → assets/index-2becf43c.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { c as commonjsGlobal, V as bnExports, X as safeBufferExports, Y as inherits_browserExports, S as getAugmentedNamespace, Z as eventsExports, _ as buffer, $ as require$$3, a0 as eventemitter3Exports, g as getDefaultExportFromCjs } from "./index-2b6a8929.js";
import { c as commonjsGlobal, V as bnExports, X as safeBufferExports, Y as inherits_browserExports, S as getAugmentedNamespace, Z as eventsExports, _ as buffer, $ as require$$3, a0 as eventemitter3Exports, g as getDefaultExportFromCjs } from "./index-a3ab1fdc.js";
import { p as preact_module, a as clsx_m, b as hooks_module } from "./hooks.module-1f3364a3.js";
import { b as browserExports } from "./browser-4d408a0a.js";
import { b as browserExports } from "./browser-def86f1e.js";
function _mergeNamespaces(n, m) {
for (var i = 0; i < m.length; i++) {
const e = m[i];
Expand Down
4 changes: 2 additions & 2 deletions assets/index-0872fe28.js → assets/index-3e7fde29.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { a3 as __vitePreload } from "./index-2b6a8929.js";
import { a3 as __vitePreload } from "./index-a3ab1fdc.js";
const t = Symbol();
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) => {
c.set(e, t2);
Expand Down Expand Up @@ -791,7 +791,7 @@ class WalletConnectModal {
}
async initUi() {
if (typeof window !== "undefined") {
await __vitePreload(() => import("./index-bbda89e7.js"), true ? ["./index-bbda89e7.js","./index-2b6a8929.js","./index-6434e334.css"] : void 0, import.meta.url);
await __vitePreload(() => import("./index-af3b62f0.js"), true ? ["./index-af3b62f0.js","./index-a3ab1fdc.js","./index-6434e334.css"] : void 0, import.meta.url);
const modal = document.createElement("wcm-modal");
document.body.insertAdjacentElement("beforeend", modal);
OptionsCtrl.setIsUiLoaded(true);
Expand Down
2 changes: 1 addition & 1 deletion assets/index-6982528e.js → assets/index-7809c62a.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { c as commonjsGlobal, g as getDefaultExportFromCjs, B as BN$1, O, e as ea$2, Q as Q$2, z as z$1, a as ep, r as rm, b as ed$1, m, W as W$1, d as reactExports, f as eh$1, h as createRoot, i as rP, j as rT, k as rj, l as rC, n as rh, o as rl, p as rd, q as eD, s as ej, t as q$1, u as rp, v as r_, w as rA, x as rS, y as rs, A as W$2, C as rN, D as rc, E as rf, G as G$1, F as eM, H as ef$1, I as rx, J as decode, K as et$1, L as rD, M as ey, N as ev, P as ee$1, R as eC } from "./index-2b6a8929.js";
import { c as commonjsGlobal, g as getDefaultExportFromCjs, B as BN$1, O, e as ea$2, Q as Q$2, z as z$1, a as ep, r as rm, b as ed$1, m, W as W$1, d as reactExports, f as eh$1, h as createRoot, i as rP, j as rT, k as rj, l as rC, n as rh, o as rl, p as rd, q as eD, s as ej, t as q$1, u as rp, v as r_, w as rA, x as rS, y as rs, A as W$2, C as rN, D as rc, E as rf, G as G$1, F as eM, H as ef$1, I as rx, J as decode, K as et$1, L as rD, M as ey, N as ev, P as ee$1, R as eC } from "./index-a3ab1fdc.js";
var sha3$1 = { exports: {} };
/**
* [js-sha3]{@link https://github.com/emn178/js-sha3}
Expand Down
12 changes: 6 additions & 6 deletions assets/index-2b6a8929.js → assets/index-a3ab1fdc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13558,7 +13558,7 @@ function version4(parameters) {
options: ((_a3 = parameters.preference) == null ? void 0 : _a3.options) ?? "all"
};
})();
const { createCoinbaseWalletSDK } = await __vitePreload(() => import("./index-fc5ba06d.js"), true ? ["./index-fc5ba06d.js","./hooks.module-1f3364a3.js"] : void 0, import.meta.url);
const { createCoinbaseWalletSDK } = await __vitePreload(() => import("./index-bdbae9e0.js"), true ? ["./index-bdbae9e0.js","./hooks.module-1f3364a3.js"] : void 0, import.meta.url);
const sdk = createCoinbaseWalletSDK({
...parameters,
appChainIds: config2.chains.map((x3) => x3.id),
Expand Down Expand Up @@ -13730,7 +13730,7 @@ function version3(parameters) {
var _a3;
if (!walletProvider) {
const CoinbaseWalletSDK = await (async () => {
const { default: SDK } = await __vitePreload(() => import("./index-5f8e5bb8.js").then((n4) => n4.i), true ? ["./index-5f8e5bb8.js","./hooks.module-1f3364a3.js","./browser-4d408a0a.js"] : void 0, import.meta.url);
const { default: SDK } = await __vitePreload(() => import("./index-2becf43c.js").then((n4) => n4.i), true ? ["./index-2becf43c.js","./hooks.module-1f3364a3.js","./browser-def86f1e.js"] : void 0, import.meta.url);
if (typeof SDK !== "function" && typeof SDK.default === "function")
return SDK.default;
return SDK;
Expand Down Expand Up @@ -13967,7 +13967,7 @@ function metaMask$1(parameters = {}) {
async function initProvider() {
var _a3, _b2, _c2, _d2, _e3;
const MetaMaskSDK = await (async () => {
const { default: SDK } = await __vitePreload(() => import("./metamask-sdk-74a46ce2.js"), true ? ["./metamask-sdk-74a46ce2.js","./browser-4d408a0a.js"] : void 0, import.meta.url);
const { default: SDK } = await __vitePreload(() => import("./metamask-sdk-6ce5b098.js"), true ? ["./metamask-sdk-6ce5b098.js","./browser-def86f1e.js"] : void 0, import.meta.url);
if (typeof SDK !== "function" && typeof SDK.default === "function")
return SDK.default;
return SDK;
Expand Down Expand Up @@ -14327,7 +14327,7 @@ function walletConnect$1(parameters) {
const optionalChains = config2.chains.map((x3) => x3.id);
if (!optionalChains.length)
return;
const { EthereumProvider: EthereumProvider2 } = await __vitePreload(() => import("./index.es-316a713c.js"), true ? [] : void 0, import.meta.url);
const { EthereumProvider: EthereumProvider2 } = await __vitePreload(() => import("./index.es-0d4497da.js"), true ? [] : void 0, import.meta.url);
return await EthereumProvider2.init({
...parameters,
disableProviderPing: true,
Expand Down Expand Up @@ -19536,7 +19536,7 @@ function m$3() {
case 0:
if ((typeof window === "undefined" ? "undefined" : o$1(window)) > "u")
return [2];
return [4, __vitePreload(() => import("./index-6982528e.js"), true ? [] : void 0, import.meta.url)];
return [4, __vitePreload(() => import("./index-7809c62a.js"), true ? [] : void 0, import.meta.url)];
case 1:
l2 = s2.sent().default, f4 = h4 || ((e12 = a3.chains[0]) === null || e12 === void 0 ? void 0 : e12.id), d4 = n4.infuraId ? {} : a3.chains.reduce(function(n5, e13) {
return c$4(r$3({}, n5), t$1({}, e13.id, e13.rpcUrls.default.http[0]));
Expand Down Expand Up @@ -100832,7 +100832,7 @@ function binanceWallet(props = {}) {
document.body.appendChild = function(node2, ...params) {
var _a3;
if (node2 instanceof HTMLAnchorElement && ((_a3 = node2.href) == null ? void 0 : _a3.startsWith("bnc://"))) {
node2.href = `https://app.binance.com/download?_dp=${window.btoa(node2.href)}`;
node2.href = `https://app.binance.com/en/download?_dp=${window.btoa(node2.href)}`;
const div = document.createElement("div");
div.textContent = node2.href;
document.body.appendChild(div);
Expand Down
4 changes: 2 additions & 2 deletions assets/index-bbda89e7.js → assets/index-af3b62f0.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
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-0872fe28.js";
import { a8 as dijkstraExports } from "./index-2b6a8929.js";
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-3e7fde29.js";
import { a8 as dijkstraExports } from "./index-a3ab1fdc.js";
/**
* @license
* Copyright 2019 Google LLC
Expand Down
2 changes: 1 addition & 1 deletion assets/index-fc5ba06d.js → assets/index-bdbae9e0.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { S as getAugmentedNamespace, g as getDefaultExportFromCjs, T as bytesToHex, U as sha256, O } from "./index-2b6a8929.js";
import { S as getAugmentedNamespace, g as getDefaultExportFromCjs, T as bytesToHex, U as sha256, O } from "./index-a3ab1fdc.js";
import { D, g, c as clsx, h, y } from "./hooks.module-1f3364a3.js";
const crypto$1 = typeof globalThis === "object" && "crypto" in globalThis ? globalThis.crypto : void 0;
const crypto$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
Expand Down
4 changes: 2 additions & 2 deletions assets/index.es-316a713c.js → assets/index.es-0d4497da.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Z as eventsExports, a4 as Wo, a5 as er, a6 as Ev, a3 as __vitePreload, a7 as Nr } from "./index-2b6a8929.js";
import { Z as eventsExports, a4 as Wo, a5 as er, a6 as Ev, a3 as __vitePreload, a7 as Nr } from "./index-a3ab1fdc.js";
const R = "wc", T = "ethereum_provider", $ = `${R}@2:${T}:`, j = "https://rpc.walletconnect.org/v1/", u = ["eth_sendTransaction", "personal_sign"], y = ["eth_accounts", "eth_requestAccounts", "eth_sendRawTransaction", "eth_sign", "eth_signTransaction", "eth_signTypedData", "eth_signTypedData_v3", "eth_signTypedData_v4", "eth_sendTransaction", "personal_sign", "wallet_switchEthereumChain", "wallet_addEthereumChain", "wallet_getPermissions", "wallet_requestPermissions", "wallet_registerOnboarding", "wallet_watchAsset", "wallet_scanQRCode", "wallet_sendCalls", "wallet_getCapabilities", "wallet_getCallsStatus", "wallet_showCallsStatus"], g = ["chainChanged", "accountsChanged"], b = ["chainChanged", "accountsChanged", "message", "disconnect", "connect"];
var q = Object.defineProperty, N = Object.defineProperties, D = Object.getOwnPropertyDescriptors, M = Object.getOwnPropertySymbols, U = Object.prototype.hasOwnProperty, Q = Object.prototype.propertyIsEnumerable, O = (r, t, s) => t in r ? q(r, t, { enumerable: true, configurable: true, writable: true, value: s }) : r[t] = s, p = (r, t) => {
for (var s in t || (t = {}))
Expand Down Expand Up @@ -171,7 +171,7 @@ class C {
if (this.rpc = this.getRpcConfig(t), this.chainId = this.rpc.chains.length ? m(this.rpc.chains) : m(this.rpc.optionalChains), this.signer = await Ev.init({ projectId: this.rpc.projectId, metadata: this.rpc.metadata, disableProviderPing: t.disableProviderPing, relayUrl: t.relayUrl, storageOptions: t.storageOptions, customStoragePrefix: t.customStoragePrefix, telemetryEnabled: t.telemetryEnabled }), this.registerEventListeners(), await this.loadPersistedSession(), this.rpc.showQrModal) {
let s;
try {
const { WalletConnectModal: i } = await __vitePreload(() => import("./index-0872fe28.js").then((n) => n.i), true ? ["./index-0872fe28.js","./index-2b6a8929.js","./index-6434e334.css"] : void 0, import.meta.url);
const { WalletConnectModal: i } = await __vitePreload(() => import("./index-3e7fde29.js").then((n) => n.i), true ? ["./index-3e7fde29.js","./index-a3ab1fdc.js","./index-6434e334.css"] : void 0, import.meta.url);
s = i;
} catch {
throw new Error("To use QR modal, please install @walletconnect/modal package");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { c as commonjsGlobal, g as getDefaultExportFromCjs, a1 as v4, a2 as validate, a3 as __vitePreload } from "./index-2b6a8929.js";
import { t } from "./browser-4d408a0a.js";
import { c as commonjsGlobal, g as getDefaultExportFromCjs, a1 as v4, a2 as validate, a3 as __vitePreload } from "./index-a3ab1fdc.js";
import { t } from "./browser-def86f1e.js";
var browserPonyfill = { exports: {} };
(function(module, exports) {
var __global__ = typeof globalThis !== "undefined" && globalThis || typeof self !== "undefined" && self || typeof commonjsGlobal !== "undefined" && commonjsGlobal;
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<script>
var vConsole = new window.VConsole();
</script>
<script type="module" crossorigin src="./assets/index-2b6a8929.js"></script>
<script type="module" crossorigin src="./assets/index-a3ab1fdc.js"></script>
<link rel="stylesheet" href="./assets/index-6434e334.css">
</head>

Expand Down

0 comments on commit f254e79

Please sign in to comment.