Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
wenty22 committed Dec 2, 2024
1 parent 36f9f6d commit ccec6fb
Show file tree
Hide file tree
Showing 9 changed files with 193 additions and 41,495 deletions.
709 changes: 183 additions & 526 deletions assets/index-b3e54596.js → assets/index-41ab2228.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/index-0ae37e35.js → assets/index-595e3080.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-99acfce7.js";
import { ac as browser } from "./index-b3e54596.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-7d77428c.js";
import { ac as browser } from "./index-41ab2228.js";
/**
* @license
* Copyright 2019 Google LLC
Expand Down
4 changes: 2 additions & 2 deletions assets/index-99acfce7.js → assets/index-7d77428c.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { aa as __vitePreload } from "./index-b3e54596.js";
import { aa as __vitePreload } from "./index-41ab2228.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-0ae37e35.js"), true ? ["./index-0ae37e35.js","./index-b3e54596.js","./index-51b56c12.css"] : void 0, import.meta.url);
await __vitePreload(() => import("./index-595e3080.js"), true ? ["./index-595e3080.js","./index-41ab2228.js","./index-51b56c12.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-2798e905.js → assets/index-aca78992.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { R as Hash, S as createView, T as exists$1, U as toBytes, V as output$1, X as wrapConstructor, Y as rotr, Z as getAugmentedNamespace, k as getDefaultExportFromCjs, $ as bytesToHex, O } from "./index-b3e54596.js";
import { R as Hash, S as createView, T as exists$1, U as toBytes, V as output$1, X as wrapConstructor, Y as rotr, Z as getAugmentedNamespace, k as getDefaultExportFromCjs, $ as bytesToHex, O } from "./index-41ab2228.js";
import { q, _, c as clsx, h, y } from "./hooks.module-2202d2c9.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
2 changes: 1 addition & 1 deletion assets/index-ef588c81.js → assets/index-f5557791.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { n as commonjsGlobal, a0 as bnExports, a1 as safeBufferExports, a2 as inherits_browserExports, Z as getAugmentedNamespace, a3 as eventsExports, a4 as buffer, a5 as require$$3, a6 as eventemitter3Exports, k as getDefaultExportFromCjs } from "./index-b3e54596.js";
import { n as commonjsGlobal, a0 as bnExports, a1 as safeBufferExports, a2 as inherits_browserExports, Z as getAugmentedNamespace, a3 as eventsExports, a4 as buffer, a5 as require$$3, a6 as eventemitter3Exports, k as getDefaultExportFromCjs } from "./index-41ab2228.js";
import { p as preact_module, a as clsx_m, b as hooks_module } from "./hooks.module-2202d2c9.js";
function _mergeNamespaces(n, m) {
for (var i = 0; i < m.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion assets/index-e4a8cc1b.js → assets/index-f97303f4.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { O, e as ea$2, Q as Q$2, z as z$1, a as ep$1, r as rm, b as ed$1, m, W as W$1, c as reactExports, d as eh$1, f as createRoot, g as rP, h as rT, i as rj, j as rC, k as getDefaultExportFromCjs, l as rh, _ as _BN, n as commonjsGlobal, o as eD, p as ej, q as q$1, s as rl, t as rd, u as rp, v as r_, w as rA, x as rS, y as rs, A as W$2, B as rN, C as rc, D as rf, G as G$1, E as eM, F as decode, H as et$1, I as ef$1, J as rx, K as rD, L as ey$1, M as ev$1, N as ee$1, P as eC } from "./index-b3e54596.js";
import { O, e as ea$2, Q as Q$2, z as z$1, a as ep$1, r as rm, b as ed$1, m, W as W$1, c as reactExports, d as eh$1, f as createRoot, g as rP, h as rT, i as rj, j as rC, k as getDefaultExportFromCjs, l as rh, _ as _BN, n as commonjsGlobal, o as eD, p as ej, q as q$1, s as rl, t as rd, u as rp, v as r_, w as rA, x as rS, y as rs, A as W$2, B as rN, C as rc, D as rf, G as G$1, E as eM, F as decode, H as et$1, I as ef$1, J as rx, K as rD, L as ey$1, M as ev$1, N as ee$1, P as eC } from "./index-41ab2228.js";
function e$6(e2, t3, r2, n11, i2, o2, s2) {
try {
var u2 = e2[o2](s2);
Expand Down
4 changes: 2 additions & 2 deletions assets/index.es-79983d7d.js → assets/index.es-09a48935.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { a3 as eventsExports, a7 as Wo, a8 as er, a9 as Ev, aa as __vitePreload, ab as Nr } from "./index-b3e54596.js";
import { a3 as eventsExports, a7 as Wo, a8 as er, a9 as Ev, aa as __vitePreload, ab as Nr } from "./index-41ab2228.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-99acfce7.js").then((n) => n.i), true ? ["./index-99acfce7.js","./index-b3e54596.js","./index-51b56c12.css"] : void 0, import.meta.url);
const { WalletConnectModal: i } = await __vitePreload(() => import("./index-7d77428c.js").then((n) => n.i), true ? ["./index-7d77428c.js","./index-41ab2228.js","./index-51b56c12.css"] : void 0, import.meta.url);
s = i;
} catch {
throw new Error("To use QR modal, please install @walletconnect/modal package");
Expand Down
Loading

0 comments on commit ccec6fb

Please sign in to comment.