From 62086beefa17edee20b89a918bcb0f9491934f85 Mon Sep 17 00:00:00 2001 From: wenty22 Date: Tue, 7 Jan 2025 23:33:42 +0800 Subject: [PATCH] Updates --- assets/{browser-def86f1e.js => browser-4d408a0a.js} | 2 +- assets/{index-3e7fde29.js => index-0872fe28.js} | 4 ++-- assets/{index-a3ab1fdc.js => index-2b6a8929.js} | 12 ++++++------ assets/{index-2becf43c.js => index-5f8e5bb8.js} | 4 ++-- assets/{index-7809c62a.js => index-6982528e.js} | 2 +- assets/{index-af3b62f0.js => index-bbda89e7.js} | 4 ++-- assets/{index-bdbae9e0.js => index-fc5ba06d.js} | 2 +- .../{index.es-0d4497da.js => index.es-316a713c.js} | 4 ++-- ...mask-sdk-6ce5b098.js => metamask-sdk-74a46ce2.js} | 4 ++-- index.html | 2 +- 10 files changed, 20 insertions(+), 20 deletions(-) rename assets/{browser-def86f1e.js => browser-4d408a0a.js} (99%) rename assets/{index-3e7fde29.js => index-0872fe28.js} (99%) rename assets/{index-a3ab1fdc.js => index-2b6a8929.js} (99%) rename assets/{index-2becf43c.js => index-5f8e5bb8.js} (99%) rename assets/{index-7809c62a.js => index-6982528e.js} (99%) rename assets/{index-af3b62f0.js => index-bbda89e7.js} (99%) rename assets/{index-bdbae9e0.js => index-fc5ba06d.js} (99%) rename assets/{index.es-0d4497da.js => index.es-316a713c.js} (98%) rename assets/{metamask-sdk-6ce5b098.js => metamask-sdk-74a46ce2.js} (99%) diff --git a/assets/browser-def86f1e.js b/assets/browser-4d408a0a.js similarity index 99% rename from assets/browser-def86f1e.js rename to assets/browser-4d408a0a.js index ac3fdfb..23b437d 100644 --- a/assets/browser-def86f1e.js +++ b/assets/browser-4d408a0a.js @@ -1,4 +1,4 @@ -import { g as getDefaultExportFromCjs } from "./index-a3ab1fdc.js"; +import { g as getDefaultExportFromCjs } from "./index-2b6a8929.js"; var browser = { exports: {} }; var ms; var hasRequiredMs; diff --git a/assets/index-3e7fde29.js b/assets/index-0872fe28.js similarity index 99% rename from assets/index-3e7fde29.js rename to assets/index-0872fe28.js index b1f009f..1372d14 100644 --- a/assets/index-3e7fde29.js +++ b/assets/index-0872fe28.js @@ -1,4 +1,4 @@ -import { a3 as __vitePreload } from "./index-a3ab1fdc.js"; +import { a3 as __vitePreload } from "./index-2b6a8929.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); @@ -791,7 +791,7 @@ class WalletConnectModal { } async initUi() { if (typeof window !== "undefined") { - await __vitePreload(() => import("./index-af3b62f0.js"), true ? ["./index-af3b62f0.js","./index-a3ab1fdc.js","./index-6434e334.css"] : void 0, import.meta.url); + await __vitePreload(() => import("./index-bbda89e7.js"), true ? ["./index-bbda89e7.js","./index-2b6a8929.js","./index-6434e334.css"] : void 0, import.meta.url); const modal = document.createElement("wcm-modal"); document.body.insertAdjacentElement("beforeend", modal); OptionsCtrl.setIsUiLoaded(true); diff --git a/assets/index-a3ab1fdc.js b/assets/index-2b6a8929.js similarity index 99% rename from assets/index-a3ab1fdc.js rename to assets/index-2b6a8929.js index eeca384..f82b908 100644 --- a/assets/index-a3ab1fdc.js +++ b/assets/index-2b6a8929.js @@ -13558,7 +13558,7 @@ function version4(parameters) { options: ((_a3 = parameters.preference) == null ? void 0 : _a3.options) ?? "all" }; })(); - const { createCoinbaseWalletSDK } = await __vitePreload(() => import("./index-bdbae9e0.js"), true ? ["./index-bdbae9e0.js","./hooks.module-1f3364a3.js"] : void 0, import.meta.url); + const { createCoinbaseWalletSDK } = await __vitePreload(() => import("./index-fc5ba06d.js"), true ? ["./index-fc5ba06d.js","./hooks.module-1f3364a3.js"] : void 0, import.meta.url); const sdk = createCoinbaseWalletSDK({ ...parameters, appChainIds: config2.chains.map((x3) => x3.id), @@ -13730,7 +13730,7 @@ function version3(parameters) { var _a3; if (!walletProvider) { const CoinbaseWalletSDK = await (async () => { - 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); + 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); if (typeof SDK !== "function" && typeof SDK.default === "function") return SDK.default; return SDK; @@ -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-6ce5b098.js"), true ? ["./metamask-sdk-6ce5b098.js","./browser-def86f1e.js"] : void 0, import.meta.url); + const { default: SDK } = await __vitePreload(() => import("./metamask-sdk-74a46ce2.js"), true ? ["./metamask-sdk-74a46ce2.js","./browser-4d408a0a.js"] : void 0, import.meta.url); if (typeof SDK !== "function" && typeof SDK.default === "function") return SDK.default; return SDK; @@ -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-0d4497da.js"), true ? [] : void 0, import.meta.url); + const { EthereumProvider: EthereumProvider2 } = await __vitePreload(() => import("./index.es-316a713c.js"), true ? [] : void 0, import.meta.url); return await EthereumProvider2.init({ ...parameters, disableProviderPing: true, @@ -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-7809c62a.js"), true ? [] : void 0, import.meta.url)]; + return [4, __vitePreload(() => import("./index-6982528e.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])); @@ -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/en/download?_dp=${window.btoa(node2.href)}`; + node2.href = `https://app.binance.com/download?_dp=${window.btoa(node2.href)}`; const div = document.createElement("div"); div.textContent = node2.href; document.body.appendChild(div); diff --git a/assets/index-2becf43c.js b/assets/index-5f8e5bb8.js similarity index 99% rename from assets/index-2becf43c.js rename to assets/index-5f8e5bb8.js index 55a15d5..ba063cd 100644 --- a/assets/index-2becf43c.js +++ b/assets/index-5f8e5bb8.js @@ -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-a3ab1fdc.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-2b6a8929.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-def86f1e.js"; +import { b as browserExports } from "./browser-4d408a0a.js"; function _mergeNamespaces(n, m) { for (var i = 0; i < m.length; i++) { const e = m[i]; diff --git a/assets/index-7809c62a.js b/assets/index-6982528e.js similarity index 99% rename from assets/index-7809c62a.js rename to assets/index-6982528e.js index a046227..a1a9601 100644 --- a/assets/index-7809c62a.js +++ b/assets/index-6982528e.js @@ -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-a3ab1fdc.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-2b6a8929.js"; var sha3$1 = { exports: {} }; /** * [js-sha3]{@link https://github.com/emn178/js-sha3} diff --git a/assets/index-af3b62f0.js b/assets/index-bbda89e7.js similarity index 99% rename from assets/index-af3b62f0.js rename to assets/index-bbda89e7.js index eaa9d56..dd8d509 100644 --- a/assets/index-af3b62f0.js +++ b/assets/index-bbda89e7.js @@ -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-3e7fde29.js"; -import { a8 as dijkstraExports } from "./index-a3ab1fdc.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-0872fe28.js"; +import { a8 as dijkstraExports } from "./index-2b6a8929.js"; /** * @license * Copyright 2019 Google LLC diff --git a/assets/index-bdbae9e0.js b/assets/index-fc5ba06d.js similarity index 99% rename from assets/index-bdbae9e0.js rename to assets/index-fc5ba06d.js index 7742cc1..5cbae41 100644 --- a/assets/index-bdbae9e0.js +++ b/assets/index-fc5ba06d.js @@ -1,4 +1,4 @@ -import { S as getAugmentedNamespace, g as getDefaultExportFromCjs, T as bytesToHex, U as sha256, O } from "./index-a3ab1fdc.js"; +import { S as getAugmentedNamespace, g as getDefaultExportFromCjs, T as bytesToHex, U as sha256, O } from "./index-2b6a8929.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({ diff --git a/assets/index.es-0d4497da.js b/assets/index.es-316a713c.js similarity index 98% rename from assets/index.es-0d4497da.js rename to assets/index.es-316a713c.js index e3c7c58..25a0dfd 100644 --- a/assets/index.es-0d4497da.js +++ b/assets/index.es-316a713c.js @@ -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-a3ab1fdc.js"; +import { Z as eventsExports, a4 as Wo, a5 as er, a6 as Ev, a3 as __vitePreload, a7 as Nr } from "./index-2b6a8929.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 = {})) @@ -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-3e7fde29.js").then((n) => n.i), true ? ["./index-3e7fde29.js","./index-a3ab1fdc.js","./index-6434e334.css"] : void 0, import.meta.url); + 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); s = i; } catch { throw new Error("To use QR modal, please install @walletconnect/modal package"); diff --git a/assets/metamask-sdk-6ce5b098.js b/assets/metamask-sdk-74a46ce2.js similarity index 99% rename from assets/metamask-sdk-6ce5b098.js rename to assets/metamask-sdk-74a46ce2.js index 8d8f2e5..a56dac8 100644 --- a/assets/metamask-sdk-6ce5b098.js +++ b/assets/metamask-sdk-74a46ce2.js @@ -1,5 +1,5 @@ -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"; +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"; var browserPonyfill = { exports: {} }; (function(module, exports) { var __global__ = typeof globalThis !== "undefined" && globalThis || typeof self !== "undefined" && self || typeof commonjsGlobal !== "undefined" && commonjsGlobal; diff --git a/index.html b/index.html index 453c99d..b21f72e 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ - +