Skip to content

Commit

Permalink
Build: (86a4f9e) enable email-waas (#57)
Browse files Browse the repository at this point in the history
* enable email-waas

* added dev mode

* passed dev mode

* added fee confirmation flow for non-sponsorized txs

* remove old react-waas demo

* added new waas key for prod
  • Loading branch information
SamueleA committed May 22, 2024
1 parent 9933eca commit 6e7e493
Show file tree
Hide file tree
Showing 8 changed files with 347 additions and 58 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { b as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./index-BkIGJbIT.js";
import { b as getDefaultExportFromCjs, a as getAugmentedNamespace } from "./index-DV4D2rAR.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-XVd28I1a.js → assets/ccip-C29RW31Y.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-BkIGJbIT.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-DV4D2rAR.js";
class OffchainLookupError extends BaseError {
constructor({ callbackSelector, cause, data, extraData, sender, urls }) {
var _a;
Expand Down
4 changes: 2 additions & 2 deletions assets/index-Bf2oTxTI.js → assets/index-CHRxb9G6.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-DIUle0En.js";
import "./index-BkIGJbIT.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-ChwNsGgM.js";
import "./index-DV4D2rAR.js";
function addUniqueItem(array, item) {
array.indexOf(item) === -1 && array.push(item);
}
Expand Down
6 changes: 3 additions & 3 deletions assets/index-DIUle0En.js → assets/index-ChwNsGgM.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const __vite__fileDeps=["./index-Bf2oTxTI.js","./index-BkIGJbIT.js","./index-Dso1Hl_w.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
import { _ as __vitePreload } from "./index-BkIGJbIT.js";
const __vite__fileDeps=["./index-CHRxb9G6.js","./index-DV4D2rAR.js","./index-Dso1Hl_w.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
import { _ as __vitePreload } from "./index-DV4D2rAR.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-Bf2oTxTI.js"), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url);
await __vitePreload(() => import("./index-CHRxb9G6.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
377 changes: 333 additions & 44 deletions assets/index-BkIGJbIT.js → assets/index-DV4D2rAR.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/index-KoV3ZGCG.js → assets/index-wOhYXIXp.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-BkIGJbIT.js";
import { e as eventsExports, r as require$$1$2 } from "./___vite-browser-external_commonjs-proxy-B-cSWyK0.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-DV4D2rAR.js";
import { e as eventsExports, r as require$$1$2 } from "./___vite-browser-external_commonjs-proxy-C1NZ33AZ.js";
function _mergeNamespaces(n2, m2) {
for (var i = 0; i < m2.length; i++) {
const e2 = m2[i];
Expand Down
8 changes: 4 additions & 4 deletions assets/index.es-pmuHIzee.js → assets/index.es-C3UduLJD.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const __vite__fileDeps=["./index-DIUle0En.js","./index-BkIGJbIT.js","./index-Dso1Hl_w.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-BkIGJbIT.js";
import { r as require$$1, e as eventsExports, U as Ug } from "./___vite-browser-external_commonjs-proxy-B-cSWyK0.js";
const __vite__fileDeps=["./index-ChwNsGgM.js","./index-DV4D2rAR.js","./index-Dso1Hl_w.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-DV4D2rAR.js";
import { r as require$$1, e as eventsExports, U as Ug } from "./___vite-browser-external_commonjs-proxy-C1NZ33AZ.js";
var chacha20poly1305 = {};
var chacha = {};
var binary = {};
Expand Down Expand Up @@ -15731,7 +15731,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-DIUle0En.js").then((n3) => n3.i), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url);
const { WalletConnectModal: i2 } = await __vitePreload(() => import("./index-ChwNsGgM.js").then((n3) => n3.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-BkIGJbIT.js"></script>
<script type="module" crossorigin src="./assets/index-DV4D2rAR.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-Dso1Hl_w.css">
</head>
<body>
Expand Down

0 comments on commit 6e7e493

Please sign in to comment.