Skip to content

Commit

Permalink
Build: (ed07708) Refine Package Exports (#51)
Browse files Browse the repository at this point in the history
* Move TxnDetails into KitProvider dir

* packages/kit: Remove barrel files and place explicit exports in root index

* Fixing imports

* package/connectors: Remove barrel file and explicity export each connector and types

* packages/wallet: Only export KitWalletProvider and openWalletModal hook

* packages/checkout: Exporting KitCheckoutProvider and openCheckoutModal

* Export CheckoutSettings
  • Loading branch information
corbanbrook committed May 15, 2024
1 parent afc3904 commit 440bfd9
Show file tree
Hide file tree
Showing 8 changed files with 2,830 additions and 2,819 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { b as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./index-DqCT1ITd.js";
import { b as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./index-Cxl3IicQ.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-CmnA0pd8.js → assets/ccip-CDaY4MT7.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-DqCT1ITd.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-Cxl3IicQ.js";
class OffchainLookupError extends BaseError {
constructor({ callbackSelector, cause, data, extraData, sender, urls }) {
var _a;
Expand Down
6 changes: 3 additions & 3 deletions assets/index-DHJfoLjp.js → assets/index-Ce2ShpVb.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const __vite__fileDeps=["./index-ChcgEu4C.js","./index-DqCT1ITd.js","./index-Dso1Hl_w.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
import { _ as __vitePreload } from "./index-DqCT1ITd.js";
const __vite__fileDeps=["./index-DKuTBAvq.js","./index-Cxl3IicQ.js","./index-Dso1Hl_w.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
import { _ as __vitePreload } from "./index-Cxl3IicQ.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-ChcgEu4C.js"), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url);
await __vitePreload(() => import("./index-DKuTBAvq.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-Cz8OgDyI.js → assets/index-CkoyNBtk.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-DqCT1ITd.js";
import { e as eventsExports, r as require$$1$2 } from "./___vite-browser-external_commonjs-proxy-Cuf2cN5b.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-Cxl3IicQ.js";
import { e as eventsExports, r as require$$1$2 } from "./___vite-browser-external_commonjs-proxy-D4uAlCUH.js";
function _mergeNamespaces(n2, m2) {
for (var i = 0; i < m2.length; i++) {
const e2 = m2[i];
Expand Down
Loading

0 comments on commit 440bfd9

Please sign in to comment.