Skip to content

Commit

Permalink
Build: (244e696) Examples reference workpace:* packages
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed Apr 23, 2024
1 parent f448aa7 commit 3ed6e02
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { a as getDefaultExportFromCjs, g as getAugmentedNamespace } from "./index-DYekXZIz.js";
import { a as getDefaultExportFromCjs, g as getAugmentedNamespace } from "./index-njHJLhCg.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-dHlFoYWI.js → assets/ccip-Bv86Sg6O.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { f as BaseError, h as getUrl, s as stringify, j as isAddress, I as InvalidAddressError, k as decodeErrorResult, l as call, m as concat, n as encodeAbiParameters, H as HttpRequestError, o as isHex } from "./index-DYekXZIz.js";
import { f as BaseError, h as getUrl, s as stringify, j as isAddress, I as InvalidAddressError, k as decodeErrorResult, l as call, m as concat, n as encodeAbiParameters, H as HttpRequestError, o as isHex } from "./index-njHJLhCg.js";
class OffchainLookupError extends BaseError {
constructor({ callbackSelector, cause, data, extraData, sender, urls }) {
var _a;
Expand Down
4 changes: 2 additions & 2 deletions assets/index-BIyMJyuS.js → assets/index-D2Y8TxHV.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-TCKOc0rw.js";
import "./index-DYekXZIz.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-D_DBtlUn.js";
import "./index-njHJLhCg.js";
function addUniqueItem(array, item) {
array.indexOf(item) === -1 && array.push(item);
}
Expand Down
6 changes: 3 additions & 3 deletions assets/index-TCKOc0rw.js → assets/index-D_DBtlUn.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { _ as __vitePreload } from "./index-DYekXZIz.js";
import { _ as __vitePreload } from "./index-njHJLhCg.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 @@ -490,7 +490,7 @@ class d {
}
async initUi() {
if (typeof window < "u") {
await __vitePreload(() => import("./index-BIyMJyuS.js"), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url);
await __vitePreload(() => import("./index-D2Y8TxHV.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 All @@ -514,7 +514,7 @@ export {
};
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = ["./index-BIyMJyuS.js","./index-DYekXZIz.js","./index-Dur59DTw.css"]
__vite__mapDeps.viteFileDeps = ["./index-D2Y8TxHV.js","./index-njHJLhCg.js","./index-Dur59DTw.css"]
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
4 changes: 2 additions & 2 deletions assets/index-Spuu50bp.js → assets/index-DcHPcN7y.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { c as commonjsGlobal, b as bnExports, B as Buffer$7, r as require$$2$1, i as inherits_browserExports, g as getAugmentedNamespace, p as process$1, t as tslib_es6, e as eventemitter3Exports, a as getDefaultExportFromCjs } from "./index-DYekXZIz.js";
import { e as eventsExports, r as require$$1$2 } from "./___vite-browser-external_commonjs-proxy-B_SxTE4g.js";
import { c as commonjsGlobal, b as bnExports, B as Buffer$7, r as require$$2$1, i as inherits_browserExports, g as getAugmentedNamespace, p as process$1, t as tslib_es6, e as eventemitter3Exports, a as getDefaultExportFromCjs } from "./index-njHJLhCg.js";
import { e as eventsExports, r as require$$1$2 } from "./___vite-browser-external_commonjs-proxy-WYJohmSn.js";
function _mergeNamespaces(n2, m2) {
for (var i = 0; i < m2.length; i++) {
const e2 = m2[i];
Expand Down
15 changes: 8 additions & 7 deletions assets/index-DYekXZIz.js → assets/index-njHJLhCg.js
Original file line number Diff line number Diff line change
Expand Up @@ -69226,7 +69226,7 @@ async function call(client2, args) {
return { data: response };
} catch (err) {
const data2 = getRevertErrorData(err);
const { offchainLookup, offchainLookupSignature } = await __vitePreload(() => import("./ccip-dHlFoYWI.js"), true ? __vite__mapDeps([]) : void 0, import.meta.url);
const { offchainLookup, offchainLookupSignature } = await __vitePreload(() => import("./ccip-Bv86Sg6O.js"), true ? __vite__mapDeps([]) : void 0, import.meta.url);
if ((data2 == null ? void 0 : data2.slice(0, 10)) === offchainLookupSignature && to) {
return { data: await offchainLookup(client2, { data: data2, to }) };
}
Expand Down Expand Up @@ -77372,7 +77372,7 @@ function coinbaseWallet$1(parameters) {
async getProvider() {
var _a;
if (!walletProvider) {
const { default: CoinbaseWalletSDK } = await __vitePreload(() => import("./index-Spuu50bp.js").then((n2) => n2.i), true ? __vite__mapDeps([0,1]) : void 0, import.meta.url);
const { default: CoinbaseWalletSDK } = await __vitePreload(() => import("./index-DcHPcN7y.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 @@ -77540,7 +77540,7 @@ function walletConnect$1(parameters) {
const optionalChains = config2.chains.map((x) => x.id);
if (!optionalChains.length)
return;
const { EthereumProvider } = await __vitePreload(() => import("./index.es-CCdPp9UK.js"), true ? __vite__mapDeps([2,1]) : void 0, import.meta.url);
const { EthereumProvider } = await __vitePreload(() => import("./index.es-CbmGpx0f.js"), true ? __vite__mapDeps([2,1]) : void 0, import.meta.url);
return await EthereumProvider.init({
...parameters,
disableProviderPing: true,
Expand Down Expand Up @@ -100891,7 +100891,7 @@ function Homepage() {
setFeeOptionBalances(balances);
}
};
const networkForCurrentChainId = sequence$1.network.allNetworks.find((n2) => n2.chainId === chainId);
const networkForCurrentChainId = allNetworks.find((n2) => n2.chainId === chainId);
const publicClient = usePublicClient({ chainId });
const generateEthAuthProof = async () => {
if (!walletClient || !publicClient) {
Expand Down Expand Up @@ -101391,14 +101391,14 @@ const isDebugMode = searchParams.has("debug");
const projectAccessKey = "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI";
const chains = [arbitrumNova, arbitrumSepolia, mainnet, polygon];
const transports = chains.reduce((acc, chain) => {
const network2 = sequence$1.network.findNetworkConfig(sequence$1.network.allNetworks, chain.id);
const network2 = findNetworkConfig(allNetworks, chain.id);
if (network2) {
acc[chain.id] = http(network2.rpcUrl);
}
return acc;
}, {});
chains.forEach((chain) => {
const network2 = sequence$1.network.findNetworkConfig(sequence$1.network.allNetworks, chain.id);
const network2 = findNetworkConfig(allNetworks, chain.id);
if (!network2)
return;
transports[chain.id] = http(network2.rpcUrl);
Expand Down Expand Up @@ -101460,6 +101460,7 @@ const queryClient = new QueryClient();
function App() {
return /* @__PURE__ */ jsxRuntimeExports$1.jsx(WagmiProvider, { config: wagmiConfig, children: /* @__PURE__ */ jsxRuntimeExports$1.jsx(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsxRuntimeExports$1.jsx(KitProvider, { config: kitConfig, children: /* @__PURE__ */ jsxRuntimeExports$1.jsx(KitWalletProvider, { children: /* @__PURE__ */ jsxRuntimeExports$1.jsx(KitCheckoutProvider, { children: /* @__PURE__ */ jsxRuntimeExports$1.jsx("div", { id: "app", children: /* @__PURE__ */ jsxRuntimeExports$1.jsx(ThemeProvider, { root: "#app", scope: "app", theme: "dark", children: /* @__PURE__ */ jsxRuntimeExports$1.jsx(Homepage, {}) }) }) }) }) }) }) });
}
console.log("VERSION:", "0.1.1");
const root = client.createRoot(document.getElementById("root"));
root.render(
/* @__PURE__ */ jsxRuntimeExports$1.jsx(React.StrictMode, { children: /* @__PURE__ */ jsxRuntimeExports$1.jsx(App, {}) })
Expand Down Expand Up @@ -101491,7 +101492,7 @@ export {
};
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = ["./index-Spuu50bp.js","./___vite-browser-external_commonjs-proxy-B_SxTE4g.js","./index.es-CCdPp9UK.js"]
__vite__mapDeps.viteFileDeps = ["./index-DcHPcN7y.js","./___vite-browser-external_commonjs-proxy-WYJohmSn.js","./index.es-CbmGpx0f.js"]
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
8 changes: 4 additions & 4 deletions assets/index.es-CCdPp9UK.js → assets/index.es-CbmGpx0f.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { g as getAugmentedNamespace, p as process$1, d as global, B as Buffer, c as commonjsGlobal, a as getDefaultExportFromCjs, _ as __vitePreload } from "./index-DYekXZIz.js";
import { r as require$$1, e as eventsExports, U as Ug } from "./___vite-browser-external_commonjs-proxy-B_SxTE4g.js";
import { g as getAugmentedNamespace, p as process$1, d as global, B as Buffer, c as commonjsGlobal, a as getDefaultExportFromCjs, _ as __vitePreload } from "./index-njHJLhCg.js";
import { r as require$$1, e as eventsExports, U as Ug } from "./___vite-browser-external_commonjs-proxy-WYJohmSn.js";
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Expand Down Expand Up @@ -16224,7 +16224,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: i } = await __vitePreload(() => import("./index-TCKOc0rw.js").then((n2) => n2.i), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url);
const { WalletConnectModal: i } = await __vitePreload(() => import("./index-D_DBtlUn.js").then((n2) => n2.i), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url);
s = i;
} catch {
throw new Error("To use QR modal, please install @walletconnect/modal package");
Expand Down Expand Up @@ -16278,7 +16278,7 @@ export {
};
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = ["./index-TCKOc0rw.js","./index-DYekXZIz.js","./index-Dur59DTw.css"]
__vite__mapDeps.viteFileDeps = ["./index-D_DBtlUn.js","./index-njHJLhCg.js","./index-Dur59DTw.css"]
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
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-DYekXZIz.js"></script>
<script type="module" crossorigin src="./assets/index-njHJLhCg.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-Dur59DTw.css">
</head>
<body>
Expand Down

0 comments on commit 3ed6e02

Please sign in to comment.