From df703689f23732c6c3f6e564900d9ddb5a1611a5 Mon Sep 17 00:00:00 2001 From: SamueleA Date: Tue, 7 May 2024 14:46:42 +0000 Subject: [PATCH] Build: (16d7b71) Merge pull request #38 from 0xsequence/2406-nft-checkout-fixes kit fixes --- ..._vite-browser-external_commonjs-proxy-Cp_JekuJ.js} | 2 +- assets/{ccip-5Q-6OH__.js => ccip-BF4Lsffy.js} | 2 +- assets/{index-CEuOE5Ue.js => index-D4BjuBLS.js} | 4 ++-- assets/{index-CArpG4E8.js => index-DxKizXZQ.js} | 6 +++--- assets/{index-h3WCoqgS.js => index-DzVkZDWS.js} | 4 ++-- assets/{index--unRzoqU.js => index-dY-7UIE-.js} | 11 +++++------ assets/{index.es-BxN38SBl.js => index.es-DnHUvTmI.js} | 8 ++++---- index.html | 2 +- 8 files changed, 19 insertions(+), 20 deletions(-) rename assets/{___vite-browser-external_commonjs-proxy-Bgzvstd4.js => ___vite-browser-external_commonjs-proxy-Cp_JekuJ.js} (99%) rename assets/{ccip-5Q-6OH__.js => ccip-BF4Lsffy.js} (99%) rename assets/{index-CEuOE5Ue.js => index-D4BjuBLS.js} (99%) rename assets/{index-CArpG4E8.js => index-DxKizXZQ.js} (99%) rename assets/{index-h3WCoqgS.js => index-DzVkZDWS.js} (99%) rename assets/{index--unRzoqU.js => index-dY-7UIE-.js} (99%) rename assets/{index.es-BxN38SBl.js => index.es-DnHUvTmI.js} (99%) diff --git a/assets/___vite-browser-external_commonjs-proxy-Bgzvstd4.js b/assets/___vite-browser-external_commonjs-proxy-Cp_JekuJ.js similarity index 99% rename from assets/___vite-browser-external_commonjs-proxy-Bgzvstd4.js rename to assets/___vite-browser-external_commonjs-proxy-Cp_JekuJ.js index bf35e149..8b18b492 100644 --- a/assets/___vite-browser-external_commonjs-proxy-Bgzvstd4.js +++ b/assets/___vite-browser-external_commonjs-proxy-Cp_JekuJ.js @@ -1,4 +1,4 @@ -import { b as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./index--unRzoqU.js"; +import { b as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./index-dY-7UIE-.js"; var events = { exports: {} }; var R = typeof Reflect === "object" ? Reflect : null; var ReflectApply = R && typeof R.apply === "function" ? R.apply : function ReflectApply2(target, receiver, args) { diff --git a/assets/ccip-5Q-6OH__.js b/assets/ccip-BF4Lsffy.js similarity index 99% rename from assets/ccip-5Q-6OH__.js rename to assets/ccip-BF4Lsffy.js index fa95ba28..bbadf09b 100644 --- a/assets/ccip-5Q-6OH__.js +++ b/assets/ccip-BF4Lsffy.js @@ -1,4 +1,4 @@ -import { h as BaseError, j as getUrl, s as stringify, k as isAddress, I as InvalidAddressError, l as decodeErrorResult, m as call, n as concat, o as encodeAbiParameters, H as HttpRequestError, q as isHex } from "./index--unRzoqU.js"; +import { h as BaseError, j as getUrl, s as stringify, k as isAddress, I as InvalidAddressError, l as decodeErrorResult, m as call, n as concat, o as encodeAbiParameters, H as HttpRequestError, q as isHex } from "./index-dY-7UIE-.js"; class OffchainLookupError extends BaseError { constructor({ callbackSelector, cause, data, extraData, sender, urls }) { var _a; diff --git a/assets/index-CEuOE5Ue.js b/assets/index-D4BjuBLS.js similarity index 99% rename from assets/index-CEuOE5Ue.js rename to assets/index-D4BjuBLS.js index 6279d628..2e49ce42 100644 --- a/assets/index-CEuOE5Ue.js +++ b/assets/index-D4BjuBLS.js @@ -1,5 +1,5 @@ -import { c as commonjsGlobal, d as bnExports, B as Buffer$7, e as require$$2$1, i as inherits_browserExports, a as getAugmentedNamespace, p as process$1, t as tslib_es6, f as eventemitter3Exports, b as getDefaultExportFromCjs } from "./index--unRzoqU.js"; -import { e as eventsExports, r as require$$1$2 } from "./___vite-browser-external_commonjs-proxy-Bgzvstd4.js"; +import { c as commonjsGlobal, d as bnExports, B as Buffer$7, e as require$$2$1, i as inherits_browserExports, a as getAugmentedNamespace, p as process$1, t as tslib_es6, f as eventemitter3Exports, b as getDefaultExportFromCjs } from "./index-dY-7UIE-.js"; +import { e as eventsExports, r as require$$1$2 } from "./___vite-browser-external_commonjs-proxy-Cp_JekuJ.js"; function _mergeNamespaces(n2, m2) { for (var i = 0; i < m2.length; i++) { const e2 = m2[i]; diff --git a/assets/index-CArpG4E8.js b/assets/index-DxKizXZQ.js similarity index 99% rename from assets/index-CArpG4E8.js rename to assets/index-DxKizXZQ.js index 73a310f6..49f7e48f 100644 --- a/assets/index-CArpG4E8.js +++ b/assets/index-DxKizXZQ.js @@ -1,5 +1,5 @@ -const __vite__fileDeps=["./index-h3WCoqgS.js","./index--unRzoqU.js","./index-DRneY2rd.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import { _ as __vitePreload } from "./index--unRzoqU.js"; +const __vite__fileDeps=["./index-DzVkZDWS.js","./index-dY-7UIE-.js","./index-DRneY2rd.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import { _ as __vitePreload } from "./index-dY-7UIE-.js"; const t = Symbol(); const s = Object.getPrototypeOf, c$1 = /* @__PURE__ */ new WeakMap(), l = (e) => e && (c$1.has(e) ? c$1.get(e) : s(e) === Object.prototype || s(e) === Array.prototype), y$1 = (e) => l(e) && e[t] || null, h = (e, t2 = true) => { c$1.set(e, t2); @@ -487,7 +487,7 @@ class d { } async initUi() { if (typeof window < "u") { - await __vitePreload(() => import("./index-h3WCoqgS.js"), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url); + await __vitePreload(() => import("./index-DzVkZDWS.js"), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url); const e = document.createElement("wcm-modal"); document.body.insertAdjacentElement("beforeend", e), p.setIsUiLoaded(true); } diff --git a/assets/index-h3WCoqgS.js b/assets/index-DzVkZDWS.js similarity index 99% rename from assets/index-h3WCoqgS.js rename to assets/index-DzVkZDWS.js index 2268d9b7..013a19b9 100644 --- a/assets/index-h3WCoqgS.js +++ b/assets/index-DzVkZDWS.js @@ -1,5 +1,5 @@ -import { n as ne$1, s as se$1, T as T$2, t as te$1, a as a$2, o as oe$1, R as R$1, p as p$1, y as y$1 } from "./index-CArpG4E8.js"; -import "./index--unRzoqU.js"; +import { n as ne$1, s as se$1, T as T$2, t as te$1, a as a$2, o as oe$1, R as R$1, p as p$1, y as y$1 } from "./index-DxKizXZQ.js"; +import "./index-dY-7UIE-.js"; function addUniqueItem(array, item) { array.indexOf(item) === -1 && array.push(item); } diff --git a/assets/index--unRzoqU.js b/assets/index-dY-7UIE-.js similarity index 99% rename from assets/index--unRzoqU.js rename to assets/index-dY-7UIE-.js index 2b1991c7..755d90ef 100644 --- a/assets/index--unRzoqU.js +++ b/assets/index-dY-7UIE-.js @@ -1,4 +1,4 @@ -const __vite__fileDeps=["./index-CEuOE5Ue.js","./___vite-browser-external_commonjs-proxy-Bgzvstd4.js","./index.es-BxN38SBl.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +const __vite__fileDeps=["./index-D4BjuBLS.js","./___vite-browser-external_commonjs-proxy-Cp_JekuJ.js","./index.es-DnHUvTmI.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); var __defProp = Object.defineProperty; var __defNormalProp = (obj, key2, value) => key2 in obj ? __defProp(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value; var __publicField = (obj, key2, value) => { @@ -71634,7 +71634,7 @@ async function call(client2, args) { return { data: response }; } catch (err) { const data2 = getRevertErrorData(err); - const { offchainLookup, offchainLookupSignature } = await __vitePreload(() => import("./ccip-5Q-6OH__.js"), true ? [] : void 0, import.meta.url); + const { offchainLookup, offchainLookupSignature } = await __vitePreload(() => import("./ccip-BF4Lsffy.js"), true ? [] : void 0, import.meta.url); if (client2.ccipRead !== false && (data2 == null ? void 0 : data2.slice(0, 10)) === offchainLookupSignature && to) return { data: await offchainLookup(client2, { data: data2, to }) }; throw getCallError(err, { @@ -99569,7 +99569,7 @@ const CheckoutSelection = () => { }, "Order summary"), /* @__PURE__ */ React.createElement(Tooltip, { vOffset: -2, side: "bottom", - message: /* @__PURE__ */ React.createElement(React.Fragment, null, "Please note that NFTs are digital assets", /* @__PURE__ */ React.createElement("br", null), " and as such cannot delivered physically.") + message: /* @__PURE__ */ React.createElement(React.Fragment, null, "Please note that NFTs are digital assets", /* @__PURE__ */ React.createElement("br", null), " ,and as such, cannot be delivered physically.") }, /* @__PURE__ */ React.createElement(Box, { width: "5", height: "5" @@ -99827,7 +99827,6 @@ const KitCheckoutContent = ({ }, getModalPositionCss(position)) }, scroll: false, - isDismissible: navigation.location !== "transaction-pending", backdropColor: "backgroundBackdrop", onClose: () => setOpenCheckoutModal(false) }, /* @__PURE__ */ React.createElement(Box, { @@ -111041,7 +111040,7 @@ function coinbaseWallet$1(parameters) { async getProvider() { var _a2; if (!walletProvider) { - const { default: CoinbaseWalletSDK } = await __vitePreload(() => import("./index-CEuOE5Ue.js").then((n2) => n2.i), true ? __vite__mapDeps([0,1]) : void 0, import.meta.url); + const { default: CoinbaseWalletSDK } = await __vitePreload(() => import("./index-D4BjuBLS.js").then((n2) => n2.i), true ? __vite__mapDeps([0,1]) : void 0, import.meta.url); let SDK; if (typeof CoinbaseWalletSDK !== "function" && typeof CoinbaseWalletSDK.default === "function") SDK = CoinbaseWalletSDK.default; @@ -111227,7 +111226,7 @@ function walletConnect$1(parameters) { const optionalChains = config2.chains.map((x) => x.id); if (!optionalChains.length) return; - const { EthereumProvider } = await __vitePreload(() => import("./index.es-BxN38SBl.js"), true ? __vite__mapDeps([2,1]) : void 0, import.meta.url); + const { EthereumProvider } = await __vitePreload(() => import("./index.es-DnHUvTmI.js"), true ? __vite__mapDeps([2,1]) : void 0, import.meta.url); return await EthereumProvider.init({ ...parameters, disableProviderPing: true, diff --git a/assets/index.es-BxN38SBl.js b/assets/index.es-DnHUvTmI.js similarity index 99% rename from assets/index.es-BxN38SBl.js rename to assets/index.es-DnHUvTmI.js index e6226f93..35e4ca91 100644 --- a/assets/index.es-BxN38SBl.js +++ b/assets/index.es-DnHUvTmI.js @@ -1,6 +1,6 @@ -const __vite__fileDeps=["./index-CArpG4E8.js","./index--unRzoqU.js","./index-DRneY2rd.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -import { p as process$1, r as require$$0$2, g as global, B as Buffer, a as getAugmentedNamespace, b as getDefaultExportFromCjs, c as commonjsGlobal, _ as __vitePreload } from "./index--unRzoqU.js"; -import { r as require$$1, e as eventsExports, U as Ug } from "./___vite-browser-external_commonjs-proxy-Bgzvstd4.js"; +const __vite__fileDeps=["./index-DxKizXZQ.js","./index-dY-7UIE-.js","./index-DRneY2rd.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +import { p as process$1, r as require$$0$2, g as global, B as Buffer, a as getAugmentedNamespace, b as getDefaultExportFromCjs, c as commonjsGlobal, _ as __vitePreload } from "./index-dY-7UIE-.js"; +import { r as require$$1, e as eventsExports, U as Ug } from "./___vite-browser-external_commonjs-proxy-Cp_JekuJ.js"; var chacha20poly1305 = {}; var chacha = {}; var binary = {}; @@ -15763,7 +15763,7 @@ class v2 { if (this.rpc = this.getRpcConfig(t), this.chainId = this.rpc.chains.length ? g2(this.rpc.chains) : g2(this.rpc.optionalChains), this.signer = await hv.init({ projectId: this.rpc.projectId, metadata: this.rpc.metadata, disableProviderPing: t.disableProviderPing, relayUrl: t.relayUrl, storageOptions: t.storageOptions }), this.registerEventListeners(), await this.loadPersistedSession(), this.rpc.showQrModal) { let s; try { - const { WalletConnectModal: i2 } = await __vitePreload(() => import("./index-CArpG4E8.js").then((n2) => n2.i), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url); + const { WalletConnectModal: i2 } = await __vitePreload(() => import("./index-DxKizXZQ.js").then((n2) => n2.i), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url); s = i2; } catch { throw new Error("To use QR modal, please install @walletconnect/modal package"); diff --git a/index.html b/index.html index 14a3acef..1dd8e9be 100644 --- a/index.html +++ b/index.html @@ -24,7 +24,7 @@ Learn how to configure a non-root public URL by running `npm run build`. --> Sequence Kit Demo - +