Skip to content

Commit

Permalink
Build: (16d7b71) Merge pull request #38 from 0xsequence/2406-nft-chec…
Browse files Browse the repository at this point in the history
…kout-fixes

kit fixes
  • Loading branch information
SamueleA committed May 7, 2024
1 parent 47bc689 commit df70368
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion assets/ccip-5Q-6OH__.js → assets/ccip-BF4Lsffy.js
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
4 changes: 2 additions & 2 deletions assets/index-CEuOE5Ue.js → assets/index-D4BjuBLS.js
Original file line number Diff line number Diff line change
@@ -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];
Expand Down
6 changes: 3 additions & 3 deletions assets/index-CArpG4E8.js → assets/index-DxKizXZQ.js
Original file line number Diff line number Diff line change
@@ -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);
Expand Down Expand Up @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions assets/index-h3WCoqgS.js → assets/index-DzVkZDWS.js
Original file line number Diff line number Diff line change
@@ -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);
}
Expand Down
11 changes: 5 additions & 6 deletions assets/index--unRzoqU.js → assets/index-dY-7UIE-.js
Original file line number Diff line number Diff line change
@@ -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) => {
Expand Down Expand Up @@ -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, {
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -99827,7 +99827,6 @@ const KitCheckoutContent = ({
}, getModalPositionCss(position))
},
scroll: false,
isDismissible: navigation.location !== "transaction-pending",
backdropColor: "backgroundBackdrop",
onClose: () => setOpenCheckoutModal(false)
}, /* @__PURE__ */ React.createElement(Box, {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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,
Expand Down
8 changes: 4 additions & 4 deletions assets/index.es-BxN38SBl.js → assets/index.es-DnHUvTmI.js
Original file line number Diff line number Diff line change
@@ -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 = {};
Expand Down Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Sequence Kit Demo</title>
<script type="module" crossorigin src="./assets/index--unRzoqU.js"></script>
<script type="module" crossorigin src="./assets/index-dY-7UIE-.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-DRneY2rd.css">
</head>
<body>
Expand Down

0 comments on commit df70368

Please sign in to comment.