@trifle/trifle-hub 1.0.151 → 1.0.155
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AccountIndex-B_Ou0TFB.js → AccountIndex-YrPi721v.js} +96 -97
- package/dist/{Earn-kDxqogx4.js → Earn-BlYIICid.js} +23 -24
- package/dist/{ExchangeController-gSxJHdQt.js → ExchangeController-xrxTf_4J.js} +1 -1
- package/dist/{Games-CTYGxgX0.js → Games-By5tfwPB.js} +6 -6
- package/dist/{HelpersUtil-5nQJ6wY6.js → HelpersUtil-VYb3QTi_.js} +2 -2
- package/dist/{Leaderboard-sRL2OCQL.js → Leaderboard-CuvGS8Cx.js} +8 -8
- package/dist/{Profile-E4ZcU8CN.js → Profile-CHnET1Ff.js} +23 -24
- package/dist/{ReownAuthentication-Di8rcCeN.js → ReownAuthentication-D2w7LfWh.js} +1 -1
- package/dist/{SocialsButtons-DuKNWWyT.js → SocialsButtons-BF5TmRzK.js} +1 -1
- package/dist/{SwapController-1hNCImxA.js → SwapController-qUgCNjVB.js} +1 -1
- package/dist/{TrifleGuide-CM28xPeI.js → TrifleGuide-DwoHh1Cq.js} +3 -4
- package/dist/{data-capture-C8gBcUAz.js → data-capture-BEmU10T1.js} +4 -4
- package/dist/{email-47OWR5ic.js → email-DfEdJHst.js} +8 -8
- package/dist/{embedded-wallet-CioJEeZc.js → embedded-wallet-BIG0kHBf.js} +24 -24
- package/dist/{features-C0dlIrw9.js → features-CJPpVW5N.js} +1 -1
- package/dist/{if-defined-B43-_6p0.js → if-defined-DDgSr3C6.js} +1 -1
- package/dist/{index-CNddgQsA.js → index-4bFuZvNx.js} +23 -23
- package/dist/{index-Q36WAF-v.js → index-B-xKsdFm.js} +12 -12
- package/dist/{index-DM3eGdgR.js → index-B0HF93xb.js} +8 -8
- package/dist/{index-BGxaoVbI.js → index-B4KhgW1d.js} +5 -5
- package/dist/{index-BJGcUhRN.js → index-BDp58n2G.js} +6 -6
- package/dist/{index-DDHCcAv8.js → index-BLa8buGY.js} +5 -5
- package/dist/{index-BugNi7pt.js → index-BQ3qMC2-.js} +5 -5
- package/dist/{index-CWJdZnF1.js → index-BSSpW4xs.js} +4 -4
- package/dist/{index-CzDOsElk.js → index-BZ7aZYh3.js} +1 -1
- package/dist/{index-Bow_YVA5.js → index-BjpiNDWi.js} +29 -29
- package/dist/{index-Bd8P9SAB.js → index-BlJNrb7f.js} +3 -3
- package/dist/{index-D0c7If0w.js → index-BuF8eQ74.js} +2 -2
- package/dist/{index-DjaghxYb.js → index-BwjrMjSO.js} +4 -4
- package/dist/{index-T_37mhlM.js → index-Bwue9aTA.js} +15 -15
- package/dist/{index-pUaszRcx.js → index-C0tQJeZu.js} +4 -4
- package/dist/{index-D8S3Fcb1.js → index-CGCmhAMN.js} +3 -3
- package/dist/{index-DQH0MrgS.js → index-Cci4MQxP.js} +7 -7
- package/dist/{index-C4zYI_FR.js → index-CeMFyXpq.js} +4 -4
- package/dist/{index-CRKGT_Oy.js → index-CpcP3x77.js} +3 -3
- package/dist/{index-BCsUxxKH.js → index-CsmtMpN9.js} +101 -101
- package/dist/{index-DP6kY3tX.js → index-CvmwPLPj.js} +3 -3
- package/dist/{index-DjRjpqXH.js → index-CzMxR05g.js} +5 -5
- package/dist/{index-C1jrG5gq.js → index-D9LtJEAO.js} +8 -8
- package/dist/{index-CMcvsDWI.js → index-DaRSs8F7.js} +3 -3
- package/dist/{index-C9c4QYTu.js → index-DdsB8GW7.js} +7 -7
- package/dist/{index-B29R3Z3w.js → index-DfMagXp8.js} +2 -2
- package/dist/{index-29kdY3cx.js → index-DnPy-Kl0.js} +1 -1
- package/dist/{index-B4zPt8Wh.js → index-DtMWja4_.js} +2 -2
- package/dist/{index-Cjaeoc9N.js → index-InzBQrAt.js} +5 -5
- package/dist/{index-BSHLBMZ5.js → index-XappdgAK.js} +4 -4
- package/dist/{index-DtYMR-pV.js → index-ZOEVhNOD.js} +86 -86
- package/dist/{index-ooJHEF0X.js → index-ZkvK46XQ.js} +3 -3
- package/dist/{index-CN62y8bC.js → index-d19LWgx9.js} +3 -3
- package/dist/{index-DlXWWIlL.js → index-fwmjM8ZD.js} +4 -4
- package/dist/{index-Bat0p7Dx.js → index-kLBd9cxY.js} +6275 -5862
- package/dist/{index-BJlnvJo0.js → index-wHSaDI-h.js} +5 -5
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +7 -6
- package/dist/{onramp-BDBBJfrQ.js → onramp-Dy-VYsLS.js} +24 -24
- package/dist/{pay-with-exchange-W2K9vGVg.js → pay-with-exchange-Bq5BVURv.js} +15 -15
- package/dist/{receive-BuIzazj_.js → receive-DJdIe2Xc.js} +7 -7
- package/dist/{ref-DTrRiGBQ.js → ref-CnuHukZ4.js} +2 -2
- package/dist/{send-CZrTx0nY.js → send-DFNxE3LQ.js} +20 -20
- package/dist/{socials-Bx0qKu0v.js → socials-BgRVrAjp.js} +29 -29
- package/dist/{swaps-Dh2kSVyN.js → swaps-CmwEyl-N.js} +11 -11
- package/dist/{transactions-C0pjJ6C7.js → transactions-CoPRcbHQ.js} +5 -5
- package/dist/{w3m-modal-CXpZ9dMX.js → w3m-modal-BWRHlp8D.js} +14 -14
- package/package.json +5 -1
- package/dist/pointsConfig-YhvcEO5L.js +0 -357
- package/dist/socialsConfig-BKT8EAyu.js +0 -63
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as l, c as g, n as p } from "./index-
|
|
3
|
-
import { o as m } from "./if-defined-
|
|
4
|
-
import "./index-
|
|
5
|
-
import { O as j } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
15
|
-
const
|
|
1
|
+
import { r as O, v as b, ah as c, ai as C, O as T, x as u, T as $, C as I, X as E, R as S, b as B, E as z, F as V, W as K, A as M, Y as F, S as W } from "./index-kLBd9cxY.js";
|
|
2
|
+
import { r as l, c as g, n as p } from "./index-BZ7aZYh3.js";
|
|
3
|
+
import { o as m } from "./if-defined-DDgSr3C6.js";
|
|
4
|
+
import "./index-CeMFyXpq.js";
|
|
5
|
+
import { O as j } from "./index-D9LtJEAO.js";
|
|
6
|
+
import "./index-ZkvK46XQ.js";
|
|
7
|
+
import "./index-DfMagXp8.js";
|
|
8
|
+
import "./index-B-xKsdFm.js";
|
|
9
|
+
import "./index-CpcP3x77.js";
|
|
10
|
+
import "./index-BQ3qMC2-.js";
|
|
11
|
+
import "./index-BlJNrb7f.js";
|
|
12
|
+
import "./index-wHSaDI-h.js";
|
|
13
|
+
import "./index-B0HF93xb.js";
|
|
14
|
+
import "./index-BSSpW4xs.js";
|
|
15
|
+
const Y = O`
|
|
16
16
|
:host > wui-grid {
|
|
17
17
|
max-height: 360px;
|
|
18
18
|
overflow: auto;
|
|
@@ -85,7 +85,7 @@ let P = class extends b {
|
|
|
85
85
|
e && (c.setPaymentCurrency(e), $.close());
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
|
-
P.styles =
|
|
88
|
+
P.styles = Y;
|
|
89
89
|
A([
|
|
90
90
|
l()
|
|
91
91
|
], P.prototype, "selectedCurrency", void 0);
|
|
@@ -101,7 +101,7 @@ A([
|
|
|
101
101
|
P = A([
|
|
102
102
|
g("w3m-onramp-fiat-select-view")
|
|
103
103
|
], P);
|
|
104
|
-
const
|
|
104
|
+
const N = O`
|
|
105
105
|
button {
|
|
106
106
|
padding: ${({ spacing: t }) => t[3]};
|
|
107
107
|
border-radius: ${({ borderRadius: t }) => t[4]};
|
|
@@ -202,7 +202,7 @@ let h = class extends b {
|
|
|
202
202
|
`;
|
|
203
203
|
}
|
|
204
204
|
};
|
|
205
|
-
h.styles = [
|
|
205
|
+
h.styles = [N];
|
|
206
206
|
v([
|
|
207
207
|
p({ type: Boolean })
|
|
208
208
|
], h.prototype, "disabled", void 0);
|
|
@@ -262,12 +262,12 @@ let U = class extends b {
|
|
|
262
262
|
}
|
|
263
263
|
onClickProvider(e) {
|
|
264
264
|
var i;
|
|
265
|
-
c.setSelectedProvider(e), S.push("BuyInProgress"), B.openHref(((i = c.state.selectedProvider) == null ? void 0 : i.url) || e.url, "popupWindow", "width=600,height=800,scrollbars=yes"),
|
|
265
|
+
c.setSelectedProvider(e), S.push("BuyInProgress"), B.openHref(((i = c.state.selectedProvider) == null ? void 0 : i.url) || e.url, "popupWindow", "width=600,height=800,scrollbars=yes"), z.sendEvent({
|
|
266
266
|
type: "track",
|
|
267
267
|
event: "SELECT_BUY_PROVIDER",
|
|
268
268
|
properties: {
|
|
269
269
|
provider: e.name,
|
|
270
|
-
isSmartAccount:
|
|
270
|
+
isSmartAccount: V(I.state.activeChain) === K.ACCOUNT_TYPES.SMART_ACCOUNT
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
273
|
}
|
|
@@ -370,7 +370,7 @@ _([
|
|
|
370
370
|
R = _([
|
|
371
371
|
g("w3m-onramp-token-select-view")
|
|
372
372
|
], R);
|
|
373
|
-
const
|
|
373
|
+
const X = O`
|
|
374
374
|
@keyframes shake {
|
|
375
375
|
0% {
|
|
376
376
|
transform: translateX(0);
|
|
@@ -543,7 +543,7 @@ let d = class extends b {
|
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
545
|
};
|
|
546
|
-
d.styles =
|
|
546
|
+
d.styles = X;
|
|
547
547
|
y([
|
|
548
548
|
l()
|
|
549
549
|
], d.prototype, "intervalId", void 0);
|
|
@@ -574,7 +574,7 @@ y([
|
|
|
574
574
|
d = y([
|
|
575
575
|
g("w3m-buy-in-progress-view")
|
|
576
576
|
], d);
|
|
577
|
-
var
|
|
577
|
+
var Q = function(t, e, i, o) {
|
|
578
578
|
var n = arguments.length, r = n < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, i) : o, s;
|
|
579
579
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") r = Reflect.decorate(t, e, i, o);
|
|
580
580
|
else for (var a = t.length - 1; a >= 0; a--) (s = t[a]) && (r = (n < 3 ? s(r) : n > 3 ? s(e, i, r) : s(e, i)) || r);
|
|
@@ -607,7 +607,7 @@ let D = class extends b {
|
|
|
607
607
|
`;
|
|
608
608
|
}
|
|
609
609
|
};
|
|
610
|
-
D =
|
|
610
|
+
D = Q([
|
|
611
611
|
g("w3m-what-is-a-buy-view")
|
|
612
612
|
], D);
|
|
613
613
|
const H = O`
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as h, c as v, r as d } from "./index-
|
|
3
|
-
import { o as P } from "./if-defined-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import { E as r } from "./ExchangeController-
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
15
|
-
import "./index-
|
|
1
|
+
import { r as A, t as D, u as E, v as $, x as u, C as y, R as f, X as z, S as b, A as S, b as _ } from "./index-kLBd9cxY.js";
|
|
2
|
+
import { n as h, c as v, r as d } from "./index-BZ7aZYh3.js";
|
|
3
|
+
import { o as P } from "./if-defined-DDgSr3C6.js";
|
|
4
|
+
import "./index-ZkvK46XQ.js";
|
|
5
|
+
import "./index-fwmjM8ZD.js";
|
|
6
|
+
import "./index-CeMFyXpq.js";
|
|
7
|
+
import "./index-Bwue9aTA.js";
|
|
8
|
+
import "./index-BQ3qMC2-.js";
|
|
9
|
+
import "./index-BLa8buGY.js";
|
|
10
|
+
import "./index-wHSaDI-h.js";
|
|
11
|
+
import { E as r } from "./ExchangeController-xrxTf_4J.js";
|
|
12
|
+
import "./index-BlJNrb7f.js";
|
|
13
|
+
import "./index-BSSpW4xs.js";
|
|
14
|
+
import "./index-DaRSs8F7.js";
|
|
15
|
+
import "./index-DtMWja4_.js";
|
|
16
16
|
const T = A`
|
|
17
17
|
button {
|
|
18
18
|
border: none;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as $, c as C, U as T, r as b } from "./index-
|
|
3
|
-
import { o as O } from "./if-defined-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./index-
|
|
1
|
+
import { r as y, t as v, u as N, v as k, x as u, C as c, S as w, X as h, Y as f, F as R, W as A, R as S, b as I } from "./index-kLBd9cxY.js";
|
|
2
|
+
import { n as $, c as C, U as T, r as b } from "./index-BZ7aZYh3.js";
|
|
3
|
+
import { o as O } from "./if-defined-DDgSr3C6.js";
|
|
4
|
+
import "./index-ZkvK46XQ.js";
|
|
5
|
+
import "./index-CGCmhAMN.js";
|
|
6
6
|
const _ = y`
|
|
7
7
|
button {
|
|
8
8
|
width: 100%;
|
|
@@ -103,7 +103,7 @@ g([
|
|
|
103
103
|
p = g([
|
|
104
104
|
C("wui-compatible-network")
|
|
105
105
|
], p);
|
|
106
|
-
const
|
|
106
|
+
const E = y`
|
|
107
107
|
wui-compatible-network {
|
|
108
108
|
margin-top: ${({ spacing: e }) => e[4]};
|
|
109
109
|
width: 100%;
|
|
@@ -214,7 +214,7 @@ let d = class extends k {
|
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
};
|
|
217
|
-
d.styles =
|
|
217
|
+
d.styles = E;
|
|
218
218
|
m([
|
|
219
219
|
b()
|
|
220
220
|
], d.prototype, "address", void 0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as $, t as a, e as f } from "./index-
|
|
1
|
+
import { k as l } from "./index-kLBd9cxY.js";
|
|
2
|
+
import { i as $, t as a, e as f } from "./index-BZ7aZYh3.js";
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
5
|
* Copyright 2020 Google LLC
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as d, r as u, c as v, U as E } from "./index-
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import { e as
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import { S as Y } from "./SwapController-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
15
|
-
import { o as te } from "./if-defined-
|
|
1
|
+
import { r as x, v as b, b as D, C as w, A as j, af as l, x as c, R as h, N as F, T as L, S as y, e as J, I as G, X as M, t as q, u as K, aj as Q, ak as X, D as Z, E as ee } from "./index-kLBd9cxY.js";
|
|
2
|
+
import { n as d, r as u, c as v, U as E } from "./index-BZ7aZYh3.js";
|
|
3
|
+
import "./index-BQ3qMC2-.js";
|
|
4
|
+
import "./index-BlJNrb7f.js";
|
|
5
|
+
import "./index-DtMWja4_.js";
|
|
6
|
+
import { e as z, n as H } from "./ref-CnuHukZ4.js";
|
|
7
|
+
import "./index-BLa8buGY.js";
|
|
8
|
+
import "./index-wHSaDI-h.js";
|
|
9
|
+
import "./index-C0tQJeZu.js";
|
|
10
|
+
import { S as Y } from "./SwapController-qUgCNjVB.js";
|
|
11
|
+
import "./index-BSSpW4xs.js";
|
|
12
|
+
import "./index-DaRSs8F7.js";
|
|
13
|
+
import "./index-ZkvK46XQ.js";
|
|
14
|
+
import "./index-d19LWgx9.js";
|
|
15
|
+
import { o as te } from "./if-defined-DDgSr3C6.js";
|
|
16
16
|
const ie = x`
|
|
17
17
|
:host {
|
|
18
18
|
width: 100%;
|
|
@@ -82,7 +82,7 @@ var P = function(e, t, i, r) {
|
|
|
82
82
|
};
|
|
83
83
|
let $ = class extends b {
|
|
84
84
|
constructor() {
|
|
85
|
-
super(...arguments), this.inputElementRef =
|
|
85
|
+
super(...arguments), this.inputElementRef = z(), this.instructionElementRef = z(), this.readOnly = !1, this.instructionHidden = !!this.value, this.pasting = !1, this.onDebouncedSearch = D.debounce(async (t) => {
|
|
86
86
|
if (!t.length) {
|
|
87
87
|
this.setReceiverAddress("");
|
|
88
88
|
return;
|
|
@@ -311,7 +311,7 @@ let A = class extends b {
|
|
|
311
311
|
if (!this.readOnly && this.token && this.sendTokenAmount) {
|
|
312
312
|
const i = this.token.price * this.sendTokenAmount;
|
|
313
313
|
return c`<wui-text class="totalValue" variant="sm-regular" color="secondary"
|
|
314
|
-
>${i ? `$${
|
|
314
|
+
>${i ? `$${F.formatNumberToLocalString(i, 2)}` : "Incorrect value"}</wui-text
|
|
315
315
|
>`;
|
|
316
316
|
}
|
|
317
317
|
return null;
|
|
@@ -337,7 +337,7 @@ let A = class extends b {
|
|
|
337
337
|
}
|
|
338
338
|
onMaxClick() {
|
|
339
339
|
if (this.token) {
|
|
340
|
-
const t =
|
|
340
|
+
const t = F.bigNumber(this.token.quantity.numeric);
|
|
341
341
|
l.setTokenAmount(Number(t.toFixed(20)));
|
|
342
342
|
}
|
|
343
343
|
}
|
|
@@ -523,7 +523,7 @@ let f = class extends b {
|
|
|
523
523
|
return;
|
|
524
524
|
}
|
|
525
525
|
const { namespace: i, chainId: r, assetAddress: o } = this.params;
|
|
526
|
-
if (!
|
|
526
|
+
if (!J.SEND_PARAMS_SUPPORTED_CHAINS.includes(i)) {
|
|
527
527
|
y.showError(`Chain "${i}" is not supported for send parameters`), this.loading = !1;
|
|
528
528
|
return;
|
|
529
529
|
}
|
|
@@ -533,7 +533,7 @@ let f = class extends b {
|
|
|
533
533
|
return;
|
|
534
534
|
}
|
|
535
535
|
try {
|
|
536
|
-
const { balance: s, name: a, symbol: W, decimals: V } = await
|
|
536
|
+
const { balance: s, name: a, symbol: W, decimals: V } = await G.fetchERC20Balance({
|
|
537
537
|
caipAddress: this.caipAddress,
|
|
538
538
|
assetAddress: o,
|
|
539
539
|
caipNetwork: n
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as
|
|
3
|
-
import { o as $ } from "./if-defined-
|
|
4
|
-
import { O as U } from "./index-
|
|
5
|
-
import { e as q } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
1
|
+
import { r as O, v as _, J as S, O as h, Q as W, R as f, e as T, x as c, b as C, a8 as F, H as D, C as d, A as P, U as N, E as u, $ as A, S as v, a9 as j, T as R, Y as y } from "./index-kLBd9cxY.js";
|
|
2
|
+
import { n as M, r as l, c as I } from "./index-BZ7aZYh3.js";
|
|
3
|
+
import { o as $ } from "./if-defined-DDgSr3C6.js";
|
|
4
|
+
import { O as U } from "./index-D9LtJEAO.js";
|
|
5
|
+
import { e as q } from "./index-DdsB8GW7.js";
|
|
6
|
+
import "./index-BlJNrb7f.js";
|
|
7
|
+
import "./index-B0HF93xb.js";
|
|
8
|
+
import "./index-BQ3qMC2-.js";
|
|
9
|
+
import "./index-CGCmhAMN.js";
|
|
10
|
+
import "./index-Bwue9aTA.js";
|
|
11
11
|
const z = O`
|
|
12
12
|
:host {
|
|
13
13
|
margin-top: ${({ spacing: t }) => t[1]};
|
|
@@ -78,7 +78,7 @@ let p = class extends _ {
|
|
|
78
78
|
};
|
|
79
79
|
p.styles = z;
|
|
80
80
|
g([
|
|
81
|
-
|
|
81
|
+
M()
|
|
82
82
|
], p.prototype, "tabIdx", void 0);
|
|
83
83
|
g([
|
|
84
84
|
l()
|
|
@@ -98,7 +98,7 @@ g([
|
|
|
98
98
|
p = g([
|
|
99
99
|
I("w3m-social-login-list")
|
|
100
100
|
], p);
|
|
101
|
-
const
|
|
101
|
+
const B = O`
|
|
102
102
|
wui-flex {
|
|
103
103
|
max-height: clamp(360px, 540px, 80vh);
|
|
104
104
|
overflow: scroll;
|
|
@@ -149,14 +149,14 @@ let L = class extends _ {
|
|
|
149
149
|
`;
|
|
150
150
|
}
|
|
151
151
|
};
|
|
152
|
-
L.styles =
|
|
152
|
+
L.styles = B;
|
|
153
153
|
k([
|
|
154
154
|
l()
|
|
155
155
|
], L.prototype, "checked", void 0);
|
|
156
156
|
L = k([
|
|
157
157
|
I("w3m-connect-socials-view")
|
|
158
158
|
], L);
|
|
159
|
-
const
|
|
159
|
+
const G = O`
|
|
160
160
|
wui-logo {
|
|
161
161
|
width: 80px;
|
|
162
162
|
height: 80px;
|
|
@@ -266,7 +266,7 @@ let m = class extends _ {
|
|
|
266
266
|
message: "Untrusted Origin"
|
|
267
267
|
}
|
|
268
268
|
});
|
|
269
|
-
},
|
|
269
|
+
}, j.EmbeddedWalletAbortController.signal.addEventListener("abort", () => {
|
|
270
270
|
this.closeSocialWindow();
|
|
271
271
|
}), this.unsubscribe.push(d.subscribeChainProp("accountState", (i) => {
|
|
272
272
|
var s;
|
|
@@ -312,7 +312,7 @@ let m = class extends _ {
|
|
|
312
312
|
`;
|
|
313
313
|
}
|
|
314
314
|
loaderTemplate() {
|
|
315
|
-
const e =
|
|
315
|
+
const e = y.state.themeVariables["--w3m-border-radius-master"], o = e ? parseInt(e.replace("px", ""), 10) : 4;
|
|
316
316
|
return c`<wui-loading-thumbnail radius=${o * 9}></wui-loading-thumbnail>`;
|
|
317
317
|
}
|
|
318
318
|
parseURLError(e) {
|
|
@@ -344,7 +344,7 @@ let m = class extends _ {
|
|
|
344
344
|
this.socialWindow && (this.socialWindow.close(), d.setAccountProp("socialWindow", void 0, d.state.activeChain));
|
|
345
345
|
}
|
|
346
346
|
};
|
|
347
|
-
m.styles =
|
|
347
|
+
m.styles = G;
|
|
348
348
|
b([
|
|
349
349
|
l()
|
|
350
350
|
], m.prototype, "socialProvider", void 0);
|
|
@@ -366,7 +366,7 @@ b([
|
|
|
366
366
|
m = b([
|
|
367
367
|
I("w3m-connecting-social-view")
|
|
368
368
|
], m);
|
|
369
|
-
const
|
|
369
|
+
const V = O`
|
|
370
370
|
wui-shimmer {
|
|
371
371
|
width: 100%;
|
|
372
372
|
aspect-ratio: 1 / 1;
|
|
@@ -417,7 +417,7 @@ const G = O`
|
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
419
|
`;
|
|
420
|
-
var
|
|
420
|
+
var x = function(t, e, o, r) {
|
|
421
421
|
var n = arguments.length, i = n < 3 ? e : r === null ? r = Object.getOwnPropertyDescriptor(e, o) : r, s;
|
|
422
422
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(t, e, o, r);
|
|
423
423
|
else for (var a = t.length - 1; a >= 0; a--) (s = t[a]) && (i = (n < 3 ? s(i) : n > 3 ? s(e, o, i) : s(e, o)) || i);
|
|
@@ -515,7 +515,7 @@ let w = class extends _ {
|
|
|
515
515
|
</wui-flex>`;
|
|
516
516
|
}
|
|
517
517
|
loaderTemplate() {
|
|
518
|
-
const e =
|
|
518
|
+
const e = y.state.themeVariables["--w3m-border-radius-master"], o = e ? parseInt(e.replace("px", ""), 10) : 4;
|
|
519
519
|
return c`<wui-loading-thumbnail radius=${o * 9}></wui-loading-thumbnail>`;
|
|
520
520
|
}
|
|
521
521
|
async connectFarcaster() {
|
|
@@ -563,10 +563,10 @@ let w = class extends _ {
|
|
|
563
563
|
qrCodeTemplate() {
|
|
564
564
|
if (!this.uri || !this.ready)
|
|
565
565
|
return null;
|
|
566
|
-
const e = this.getBoundingClientRect().width - 40, o =
|
|
566
|
+
const e = this.getBoundingClientRect().width - 40, o = y.state.themeVariables["--apkt-qr-color"] ?? y.state.themeVariables["--w3m-qr-color"];
|
|
567
567
|
return c` <wui-qr-code
|
|
568
568
|
size=${e}
|
|
569
|
-
theme=${
|
|
569
|
+
theme=${y.state.themeMode}
|
|
570
570
|
uri=${this.uri}
|
|
571
571
|
?farcaster=${!0}
|
|
572
572
|
data-testid="wui-qr-code"
|
|
@@ -594,23 +594,23 @@ let w = class extends _ {
|
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
596
|
};
|
|
597
|
-
w.styles =
|
|
598
|
-
|
|
597
|
+
w.styles = V;
|
|
598
|
+
x([
|
|
599
599
|
l()
|
|
600
600
|
], w.prototype, "socialProvider", void 0);
|
|
601
|
-
|
|
601
|
+
x([
|
|
602
602
|
l()
|
|
603
603
|
], w.prototype, "uri", void 0);
|
|
604
|
-
|
|
604
|
+
x([
|
|
605
605
|
l()
|
|
606
606
|
], w.prototype, "ready", void 0);
|
|
607
|
-
|
|
607
|
+
x([
|
|
608
608
|
l()
|
|
609
609
|
], w.prototype, "loading", void 0);
|
|
610
|
-
|
|
610
|
+
x([
|
|
611
611
|
l()
|
|
612
612
|
], w.prototype, "remoteFeatures", void 0);
|
|
613
|
-
w =
|
|
613
|
+
w = x([
|
|
614
614
|
I("w3m-connecting-farcaster-view")
|
|
615
615
|
], w);
|
|
616
616
|
export {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as l, n as w, c as C } from "./index-
|
|
3
|
-
import "./index-
|
|
4
|
-
import "./index-
|
|
5
|
-
import { M as _ } from "./index-
|
|
6
|
-
import "./index-
|
|
7
|
-
import { S as s } from "./SwapController-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
1
|
+
import { r as A, v as D, C as $, N as h, x as u, e as V, E as N, R as S, b as M, T as K, F, W as Q, t as W, u as q } from "./index-kLBd9cxY.js";
|
|
2
|
+
import { r as l, n as w, c as C } from "./index-BZ7aZYh3.js";
|
|
3
|
+
import "./index-BQ3qMC2-.js";
|
|
4
|
+
import "./index-BlJNrb7f.js";
|
|
5
|
+
import { M as _ } from "./index-CvmwPLPj.js";
|
|
6
|
+
import "./index-B4KhgW1d.js";
|
|
7
|
+
import { S as s } from "./SwapController-qUgCNjVB.js";
|
|
8
|
+
import "./index-Bwue9aTA.js";
|
|
9
|
+
import "./index-C0tQJeZu.js";
|
|
10
|
+
import "./index-BSSpW4xs.js";
|
|
11
|
+
import "./index-ZkvK46XQ.js";
|
|
12
12
|
const H = {
|
|
13
13
|
numericInputKeyDown(e, t, o) {
|
|
14
14
|
const i = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as
|
|
3
|
-
import "./index-
|
|
1
|
+
import { y as f, v as a, x as d } from "./index-kLBd9cxY.js";
|
|
2
|
+
import { c as u } from "./index-BZ7aZYh3.js";
|
|
3
|
+
import "./index-BjpiNDWi.js";
|
|
4
4
|
const w = f`
|
|
5
5
|
:host > wui-flex:first-child {
|
|
6
6
|
height: 500px;
|
|
@@ -21,7 +21,7 @@ var m = function(n, t, i, o) {
|
|
|
21
21
|
};
|
|
22
22
|
let s = class extends a {
|
|
23
23
|
render() {
|
|
24
|
-
return
|
|
24
|
+
return d`
|
|
25
25
|
<wui-flex flexDirection="column" .padding=${["0", "3", "3", "3"]} gap="3">
|
|
26
26
|
<w3m-activity-list page="activity"></w3m-activity-list>
|
|
27
27
|
</wui-flex>
|
|
@@ -30,7 +30,7 @@ let s = class extends a {
|
|
|
30
30
|
};
|
|
31
31
|
s.styles = w;
|
|
32
32
|
s = m([
|
|
33
|
-
|
|
33
|
+
u("w3m-transactions-view")
|
|
34
34
|
], s);
|
|
35
35
|
export {
|
|
36
36
|
s as W3mTransactionsView
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as w, n as l, r as u, U as ne } from "./index-
|
|
3
|
-
import { o as W } from "./if-defined-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./index-
|
|
6
|
-
import { H as ee } from "./HelpersUtil-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import { S as be } from "./SwapController-
|
|
12
|
-
import "./index-
|
|
1
|
+
import { T as x, al as ae, R as c, A as de, r as C, t as L, v as y, x as d, H as _, u as ue, w as D, C as g, X as j, ai as he, U as V, E as U, O as R, J as F, y as pe, S as O, Q as z, Y as me, am as fe, an as we } from "./index-kLBd9cxY.js";
|
|
2
|
+
import { c as w, n as l, r as u, U as ne } from "./index-BZ7aZYh3.js";
|
|
3
|
+
import { o as W } from "./if-defined-DDgSr3C6.js";
|
|
4
|
+
import "./index-InzBQrAt.js";
|
|
5
|
+
import "./index-ZkvK46XQ.js";
|
|
6
|
+
import { H as ee } from "./HelpersUtil-VYb3QTi_.js";
|
|
7
|
+
import "./index-DfMagXp8.js";
|
|
8
|
+
import "./index-BlJNrb7f.js";
|
|
9
|
+
import "./index-B4KhgW1d.js";
|
|
10
|
+
import "./index-Cci4MQxP.js";
|
|
11
|
+
import { S as be } from "./SwapController-qUgCNjVB.js";
|
|
12
|
+
import "./index-BQ3qMC2-.js";
|
|
13
13
|
const se = {
|
|
14
14
|
isUnsupportedChainView() {
|
|
15
15
|
return c.state.view === "UnsupportedChain" || c.state.view === "SwitchNetwork" && c.state.history.includes("UnsupportedChain");
|
|
@@ -528,8 +528,8 @@ const Ee = ["SmartSessionList"], Re = {
|
|
|
528
528
|
PayWithExchange: D.tokens.theme.foregroundPrimary
|
|
529
529
|
};
|
|
530
530
|
function te() {
|
|
531
|
-
var m, b, P, G, q, Z,
|
|
532
|
-
const e = (b = (m = c.state.data) == null ? void 0 : m.connector) == null ? void 0 : b.name, t = (G = (P = c.state.data) == null ? void 0 : P.wallet) == null ? void 0 : G.name, i = (Z = (q = c.state.data) == null ? void 0 : q.network) == null ? void 0 : Z.name, r = t ?? e, a = F.getConnectors(), o = a.length === 1 && ((
|
|
531
|
+
var m, b, P, G, q, Z, J, Q;
|
|
532
|
+
const e = (b = (m = c.state.data) == null ? void 0 : m.connector) == null ? void 0 : b.name, t = (G = (P = c.state.data) == null ? void 0 : P.wallet) == null ? void 0 : G.name, i = (Z = (q = c.state.data) == null ? void 0 : q.network) == null ? void 0 : Z.name, r = t ?? e, a = F.getConnectors(), o = a.length === 1 && ((J = a[0]) == null ? void 0 : J.id) === "w3m-email", n = (Q = g.getAccountData()) == null ? void 0 : Q.socialProvider, s = n ? n.charAt(0).toUpperCase() + n.slice(1) : "Connect Social";
|
|
533
533
|
return {
|
|
534
534
|
Connect: `Connect ${o ? "Email" : ""} Wallet`,
|
|
535
535
|
Create: "Create Wallet",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trifle/trifle-hub",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.155",
|
|
4
4
|
"description": "Vue component library for Trifle Hub",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
"types": "./dist/index.d.ts",
|
|
21
21
|
"import": "./dist/index.es.js"
|
|
22
22
|
},
|
|
23
|
+
"./dist/config/pointsConfig": {
|
|
24
|
+
"types": "./dist/config/pointsConfig.d.ts",
|
|
25
|
+
"import": "./dist/index.es.js"
|
|
26
|
+
},
|
|
23
27
|
"./dist/*": "./dist/*"
|
|
24
28
|
},
|
|
25
29
|
"main": "dist/index.es.js",
|