Skip to content

Commit

Permalink
Build: (fc78587) comment nft checkout debug card
Browse files Browse the repository at this point in the history
  • Loading branch information
pkieltyka committed May 2, 2024
1 parent d11fcd2 commit 10df120
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 29 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { b as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./index-CxBFk7Wx.js";
import { b as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./index-i15188YT.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-CuVMY2KP.js → assets/ccip-B0R-pgIQ.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-CxBFk7Wx.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-i15188YT.js";
class OffchainLookupError extends BaseError {
constructor({ callbackSelector, cause, data, extraData, sender, urls }) {
var _a;
Expand Down
4 changes: 2 additions & 2 deletions assets/index-Cciix7G_.js → assets/index-BO0-STCu.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-CxBFk7Wx.js";
import { e as eventsExports, r as require$$1$2 } from "./___vite-browser-external_commonjs-proxy-B9iy6y7f.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-i15188YT.js";
import { e as eventsExports, r as require$$1$2 } from "./___vite-browser-external_commonjs-proxy-BIsBx5OR.js";
function _mergeNamespaces(n2, m2) {
for (var i = 0; i < m2.length; i++) {
const e2 = m2[i];
Expand Down
4 changes: 2 additions & 2 deletions assets/index-Cm51OdWP.js → assets/index-BTnIrqVS.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-CWRctDr9.js";
import "./index-CxBFk7Wx.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-BllVXnlW.js";
import "./index-i15188YT.js";
function addUniqueItem(array, item) {
array.indexOf(item) === -1 && array.push(item);
}
Expand Down
6 changes: 3 additions & 3 deletions assets/index-CWRctDr9.js → assets/index-BllVXnlW.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const __vite__fileDeps=["./index-Cm51OdWP.js","./index-CxBFk7Wx.js","./index-D-Tlm5BR.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
import { _ as __vitePreload } from "./index-CxBFk7Wx.js";
const __vite__fileDeps=["./index-BTnIrqVS.js","./index-i15188YT.js","./index-D-Tlm5BR.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
import { _ as __vitePreload } from "./index-i15188YT.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-Cm51OdWP.js"), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url);
await __vitePreload(() => import("./index-BTnIrqVS.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
19 changes: 4 additions & 15 deletions assets/index-CxBFk7Wx.js → assets/index-i15188YT.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const __vite__fileDeps=["./index-Cciix7G_.js","./___vite-browser-external_commonjs-proxy-B9iy6y7f.js","./index.es-JJ3zRExn.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
const __vite__fileDeps=["./index-BO0-STCu.js","./___vite-browser-external_commonjs-proxy-BIsBx5OR.js","./index.es-BeZIU5nh.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-CuVMY2KP.js"), true ? [] : void 0, import.meta.url);
const { offchainLookup, offchainLookupSignature } = await __vitePreload(() => import("./ccip-B0R-pgIQ.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 @@ -91759,7 +91759,7 @@ function coinbaseWallet$1(parameters) {
async getProvider() {
var _a2;
if (!walletProvider) {
const { default: CoinbaseWalletSDK } = await __vitePreload(() => import("./index-Cciix7G_.js").then((n2) => n2.i), true ? __vite__mapDeps([0,1]) : void 0, import.meta.url);
const { default: CoinbaseWalletSDK } = await __vitePreload(() => import("./index-BO0-STCu.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 @@ -91945,7 +91945,7 @@ function walletConnect$1(parameters) {
const optionalChains = config2.chains.map((x) => x.id);
if (!optionalChains.length)
return;
const { EthereumProvider } = await __vitePreload(() => import("./index.es-JJ3zRExn.js"), true ? __vite__mapDeps([2,1]) : void 0, import.meta.url);
const { EthereumProvider } = await __vitePreload(() => import("./index.es-BeZIU5nh.js"), true ? __vite__mapDeps([2,1]) : void 0, import.meta.url);
return await EthereumProvider.init({
...parameters,
disableProviderPing: true,
Expand Down Expand Up @@ -112612,9 +112612,6 @@ const Homepage = () => {
const onClickConnect = () => {
setOpenConnectModal(true);
};
const onClickCheckout = () => {
setIsCheckoutInfoModalOpen(true);
};
const onCheckoutInfoConfirm = () => {
setIsCheckoutInfoModalOpen(false);
if (checkoutOrderId !== "" && checkoutTokenContractAddress !== "" && checkoutTokenId !== "") {
Expand Down Expand Up @@ -112741,14 +112738,6 @@ const Homepage = () => {
onClick: generateEthAuthProof
}
),
/* @__PURE__ */ jsxRuntimeExports$1.jsx(
ClickableCard,
{
title: "NFT Checkout",
description: "Set orderbook order id, token contract address and token id to test checkout (on Polygon)",
onClick: onClickCheckout
}
),
/* @__PURE__ */ jsxRuntimeExports$1.jsx(
ClickableCard,
{
Expand Down
8 changes: 4 additions & 4 deletions assets/index.es-JJ3zRExn.js → assets/index.es-BeZIU5nh.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const __vite__fileDeps=["./index-CWRctDr9.js","./index-CxBFk7Wx.js","./index-D-Tlm5BR.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-CxBFk7Wx.js";
import { r as require$$1, e as eventsExports, U as Ug } from "./___vite-browser-external_commonjs-proxy-B9iy6y7f.js";
const __vite__fileDeps=["./index-BllVXnlW.js","./index-i15188YT.js","./index-D-Tlm5BR.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-i15188YT.js";
import { r as require$$1, e as eventsExports, U as Ug } from "./___vite-browser-external_commonjs-proxy-BIsBx5OR.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-CWRctDr9.js").then((n2) => n2.i), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url);
const { WalletConnectModal: i2 } = await __vitePreload(() => import("./index-BllVXnlW.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-CxBFk7Wx.js"></script>
<script type="module" crossorigin src="./assets/index-i15188YT.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-D-Tlm5BR.css">
</head>
<body>
Expand Down

0 comments on commit 10df120

Please sign in to comment.