@trifle/trifle-hub 1.0.159 → 1.0.161

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.
Files changed (65) hide show
  1. package/dist/{AccountIndex-I_m-xJA2.js → AccountIndex-BEX1k5b6.js} +50 -41
  2. package/dist/{Earn-eUazTpJq.js → Earn-CgpWSs87.js} +163 -163
  3. package/dist/{ExchangeController-DV12Cckz.js → ExchangeController-D9_uwgvR.js} +1 -1
  4. package/dist/{Games-_af0-zsI.js → Games-M9GlINCE.js} +16 -16
  5. package/dist/{HelpersUtil-DffXsS4s.js → HelpersUtil-3kK0MJ3p.js} +2 -2
  6. package/dist/{Leaderboard-CdNJ6RpN.js → Leaderboard-B7Mh8DS-.js} +1 -1
  7. package/dist/{Profile-DQwKnS5C.js → Profile-Ct-mDc2u.js} +728 -651
  8. package/dist/{ReownAuthentication-4hJzNS3a.js → ReownAuthentication-CVPDiHcH.js} +1 -1
  9. package/dist/{SocialsButtons-BXUP5WJn.js → SocialsButtons-aWpzKjcb.js} +1 -1
  10. package/dist/{SwapController-RS74Rf8y.js → SwapController-BeK9JnGm.js} +1 -1
  11. package/dist/{TrifleGuide-DV95aOiF.js → TrifleGuide-CR0Ozy_0.js} +1 -1
  12. package/dist/config/pointsConfig.d.ts +13 -0
  13. package/dist/config/socialsConfig.d.ts +32 -18
  14. package/dist/{data-capture-4Zt7Mh-x.js → data-capture-SpEqbF3k.js} +4 -4
  15. package/dist/{email-keN3MwiL.js → email-nGysUKxe.js} +8 -8
  16. package/dist/{embedded-wallet-4uVCFENX.js → embedded-wallet-CVRT-KKq.js} +12 -12
  17. package/dist/{features-DP96zO-E.js → features-ltH2yyBF.js} +1 -1
  18. package/dist/{if-defined-DWpQnkBo.js → if-defined-Dy4LSJRL.js} +1 -1
  19. package/dist/{index-C8z4JeX0.js → index-356dXR_D.js} +3 -3
  20. package/dist/{index-BBl5qF2M.js → index-5j1niEF0.js} +3 -3
  21. package/dist/{index-B6qbfcv3.js → index-B5tdNBnN.js} +3 -3
  22. package/dist/{index-CfQ4XGey.js → index-B6EegOWr.js} +3 -3
  23. package/dist/{index-E6-HL-vX.js → index-B6ReSoq4.js} +3 -3
  24. package/dist/{index-QJqrYOWX.js → index-BHFhjWws.js} +3 -3
  25. package/dist/{index-UnIJhvbF.js → index-BIohKOaQ.js} +1 -1
  26. package/dist/{index-D1PtCSNo.js → index-BPEOHrMY.js} +2 -2
  27. package/dist/{index-DDxhg6X6.js → index-Br4pPBw3.js} +2 -2
  28. package/dist/{index-Bs_op1YX.js → index-C2PmirTf.js} +3 -3
  29. package/dist/{index-CyTfW7bb.js → index-C2ffuAYb.js} +4 -4
  30. package/dist/{index-SB-6jek0.js → index-C2kYO0cy.js} +4 -4
  31. package/dist/{index-CcH4ohJ_.js → index-CABGgn9P.js} +2 -2
  32. package/dist/{index-QxHb_qeo.js → index-CAqkQtOq.js} +2 -2
  33. package/dist/{index-CpFp2zWs.js → index-CGTgmNWF.js} +2 -2
  34. package/dist/{index-DKPj-Jsc.js → index-Ce6TjHV2.js} +3 -3
  35. package/dist/{index-BO7qLY_A.js → index-Cx-FU6Gm.js} +7 -7
  36. package/dist/{index-DhdIiv9I.js → index-D0PeBPfJ.js} +4 -4
  37. package/dist/{index-C1P1tCug.js → index-D7KogVqW.js} +3 -3
  38. package/dist/{index-DnZf5kFT.js → index-D8jtytdS.js} +4 -4
  39. package/dist/{index-Csp20V_C.js → index-DB2RGu8K.js} +5147 -4917
  40. package/dist/{index-dR4kMyJ7.js → index-DFRmrUjX.js} +1 -1
  41. package/dist/{index-B8IL-7_U.js → index-DHWhyTIK.js} +4 -4
  42. package/dist/{index-G7BEtCTt.js → index-DUlBiQtl.js} +3 -3
  43. package/dist/{index-CWQmRKXJ.js → index-D_P4Urp2.js} +4 -4
  44. package/dist/{index-DOVqr745.js → index-Dg7OV12A.js} +31 -31
  45. package/dist/{index-BxFE2Unj.js → index-Dpn8_aG_.js} +13 -13
  46. package/dist/{index-DPm1qXRL.js → index-Dvj2aQzS.js} +2 -2
  47. package/dist/{index-CIz85z2d.js → index-JL3Wermk.js} +2 -2
  48. package/dist/{index-BPs0GUi0.js → index-Ry5qK6ET.js} +4 -4
  49. package/dist/{index-C0G7EHjl.js → index-cQyA4S9L.js} +7 -7
  50. package/dist/{index-DlHufcDq.js → index-el2rRTti.js} +7 -7
  51. package/dist/{index-DN-NdrN8.js → index-fMGZyGCM.js} +3 -3
  52. package/dist/{index-gjTnuwmH.js → index-fsHFGWT7.js} +2 -2
  53. package/dist/{index-DaRwVfNh.js → index-vWXwGhx5.js} +3 -3
  54. package/dist/{index-B5bAjn80.js → index-zrzeJIBS.js} +2 -2
  55. package/dist/index.es.js +2 -2
  56. package/dist/{onramp-BfgwVaz4.js → onramp-DqtQTg4r.js} +14 -14
  57. package/dist/{pay-with-exchange-IINfHruD.js → pay-with-exchange-C0oNjyvj.js} +15 -15
  58. package/dist/{receive-tK9feGwv.js → receive-Bb7EcFWE.js} +5 -5
  59. package/dist/{ref-CDkfw-zs.js → ref-CujhPCia.js} +2 -2
  60. package/dist/{send-mES3HGGI.js → send-DGTDv4Th.js} +15 -15
  61. package/dist/{socials-U7A0qfan.js → socials-Cp4djpe9.js} +10 -10
  62. package/dist/{swaps-CVIliCpc.js → swaps-DD8uJyu7.js} +11 -11
  63. package/dist/{transactions-C1kMLLvz.js → transactions-DYOP0lkN.js} +3 -3
  64. package/dist/{w3m-modal-DYHBxO0T.js → w3m-modal-JJJ6hUHU.js} +12 -12
  65. package/package.json +8 -7
@@ -1,29 +1,29 @@
1
- import { inject as y, computed as c, createBlock as m, openBlock as _, withCtx as t, createElementVNode as o, createVNode as f, createTextVNode as l, normalizeClass as L, unref as v, toDisplayString as b, onMounted as k, watch as g } from "vue";
1
+ import { inject as y, computed as c, createBlock as f, openBlock as _, withCtx as t, createElementVNode as r, createVNode as m, createTextVNode as l, normalizeClass as A, unref as v, toDisplayString as b, onMounted as k, watch as g } from "vue";
2
2
  import { storeToRefs as C } from "pinia";
3
- import { A as T, S as N, _ as d, a as W } from "./Profile-DQwKnS5C.js";
4
- import { m as B } from "./index-Csp20V_C.js";
5
- const S = ["data"], $ = { class: "_w-full _max-w-[22em] _mx-auto _px-1.5 sm:_px-8 _flex _flex-col _gap-4 _items-center" }, h = { class: "_flex _flex-col _w-full _leading-none" }, D = {
3
+ import { A as T, S as N, _ as n, a as S } from "./Profile-Ct-mDc2u.js";
4
+ import { m as W } from "./index-DB2RGu8K.js";
5
+ const B = ["data"], $ = { class: "_w-full _max-w-[22em] _mx-auto _px-1.5 sm:_px-8 _flex _flex-col _gap-4 _items-center" }, D = { class: "_flex _flex-col _w-full _leading-none" }, F = {
6
6
  __name: "ConnectAccount",
7
- setup(A) {
8
- const a = y("TrifleHub/store"), n = c(() => a.getPlatformData("wallet")), r = c(() => a.accountConnected), u = c(() => a.currentWalletNeedsAuth), s = c(() => a.accountAddress), p = c(() => s.value ? n.value.find((w) => {
9
- var e, i;
10
- return ((e = w.id) == null ? void 0 : e.toLowerCase()) === ((i = s.value) == null ? void 0 : i.toLowerCase());
7
+ setup(L) {
8
+ const a = y("TrifleHub/store"), u = c(() => a.getPlatformData("wallet")), o = c(() => a.accountConnected), i = c(() => a.currentWalletNeedsAuth), s = c(() => a.accountAddress), p = c(() => s.value ? u.value.find((w) => {
9
+ var e, d;
10
+ return ((e = w.id) == null ? void 0 : e.toLowerCase()) === ((d = s.value) == null ? void 0 : d.toLowerCase());
11
11
  }) : null);
12
- return (w, e) => (_(), m(T, null, {
12
+ return (w, e) => (_(), f(T, null, {
13
13
  avatar: t(() => [
14
- o("object", {
15
- data: v(B),
14
+ r("object", {
15
+ data: v(W),
16
16
  alt: "smiley face with dashed outline",
17
17
  class: "_w-full _block _transform _origin-center _scale-[1.35] sm:_scale-[1.45]"
18
- }, null, 8, S)
18
+ }, null, 8, B)
19
19
  ]),
20
20
  title: t(() => e[0] || (e[0] = [
21
- o("div", { class: "_text-stroke-2xl" }, b("who r u??"), -1)
21
+ r("div", { class: "_text-stroke-2xl" }, b("who r u??"), -1)
22
22
  ])),
23
23
  description: t(() => e[1] || (e[1] = [
24
- o("p", { class: "_-mt-2" }, [
24
+ r("p", { class: "_-mt-2" }, [
25
25
  l(" Link identities → "),
26
- o("span", {
26
+ r("span", {
27
27
  class: "_ffborder-b _border-current",
28
28
  style: { "border-style": "dashed" }
29
29
  }, " earn BALL$"),
@@ -31,17 +31,17 @@ const S = ["data"], $ = { class: "_w-full _max-w-[22em] _mx-auto _px-1.5 sm:_px-
31
31
  ], -1)
32
32
  ])),
33
33
  default: t(() => {
34
- var i, x;
34
+ var d, x;
35
35
  return [
36
- o("section", $, [
37
- o("nav", h, [
38
- r.value && u.value ? (_(), m(N, {
36
+ r("section", $, [
37
+ r("nav", D, [
38
+ o.value && i.value ? (_(), f(N, {
39
39
  key: 0,
40
40
  "wallet-address": s.value,
41
- "wallet-avatar": (i = p.value) == null ? void 0 : i.avatar,
41
+ "wallet-avatar": (d = p.value) == null ? void 0 : d.avatar,
42
42
  "display-name": ((x = p.value) == null ? void 0 : x.username) || s.value,
43
43
  class: "_mb-1"
44
- }, null, 8, ["wallet-address", "wallet-avatar", "display-name"])) : (_(), m(d, {
44
+ }, null, 8, ["wallet-address", "wallet-avatar", "display-name"])) : (_(), f(n, {
45
45
  key: 1,
46
46
  platform: "wallet",
47
47
  points: "+10"
@@ -51,39 +51,48 @@ const S = ["data"], $ = { class: "_w-full _max-w-[22em] _mx-auto _px-1.5 sm:_px-
51
51
  ])),
52
52
  _: 1
53
53
  })),
54
- f(d, {
55
- platform: "discord",
54
+ m(n, {
55
+ platform: "solana",
56
56
  points: "+10"
57
57
  }, {
58
58
  default: t(() => e[3] || (e[3] = [
59
+ l(" Solana Login ")
60
+ ])),
61
+ _: 1
62
+ }),
63
+ m(n, {
64
+ platform: "discord",
65
+ points: "+10"
66
+ }, {
67
+ default: t(() => e[4] || (e[4] = [
59
68
  l(" Discord Login ")
60
69
  ])),
61
70
  _: 1
62
71
  }),
63
- f(d, {
72
+ m(n, {
64
73
  platform: "twitter",
65
74
  points: "+10"
66
75
  }, {
67
- default: t(() => e[4] || (e[4] = [
76
+ default: t(() => e[5] || (e[5] = [
68
77
  l(" TwitterX Login ")
69
78
  ])),
70
79
  _: 1
71
80
  }),
72
- f(d, {
81
+ m(n, {
73
82
  platform: "telegram",
74
83
  points: "+10"
75
84
  }, {
76
- default: t(() => e[5] || (e[5] = [
85
+ default: t(() => e[6] || (e[6] = [
77
86
  l(" Telegram Login ")
78
87
  ])),
79
88
  _: 1
80
89
  }),
81
- f(d, {
90
+ m(n, {
82
91
  platform: "farcaster",
83
92
  points: "+10",
84
- class: L({ "_order-first": v(a).isFarcaster })
93
+ class: A({ "_order-first": v(a).isFarcaster })
85
94
  }, {
86
- default: t(() => e[6] || (e[6] = [
95
+ default: t(() => e[7] || (e[7] = [
87
96
  l(" Farcaster Login ")
88
97
  ])),
89
98
  _: 1
@@ -95,25 +104,25 @@ const S = ["data"], $ = { class: "_w-full _max-w-[22em] _mx-auto _px-1.5 sm:_px-
95
104
  _: 1
96
105
  }));
97
106
  }
98
- }, H = {
107
+ }, U = {
99
108
  __name: "AccountIndex",
100
- setup(A) {
101
- const a = y("TrifleHub/store"), { isAuthenticated: n, user: r } = C(a), u = () => {
109
+ setup(L) {
110
+ const a = y("TrifleHub/store"), { isAuthenticated: u, user: o } = C(a), i = () => {
102
111
  var s;
103
- n.value && ((s = r.value) != null && s.username) && a.setProfileUsername(r.value.username);
112
+ u.value && ((s = o.value) != null && s.username) && a.setProfileUsername(o.value.username);
104
113
  };
105
114
  return k(() => {
106
- u();
107
- }), g(n, () => {
108
- u();
115
+ i();
116
+ }), g(u, () => {
117
+ i();
109
118
  }), g(
110
- () => r.value && r.value.username,
119
+ () => o.value && o.value.username,
111
120
  () => {
112
- u();
121
+ i();
113
122
  }
114
- ), (s, p) => v(n) ? (_(), m(W, { key: 0 })) : (_(), m(D, { key: 1 }));
123
+ ), (s, p) => v(u) ? (_(), f(S, { key: 0 })) : (_(), f(F, { key: 1 }));
115
124
  }
116
125
  };
117
126
  export {
118
- H as default
127
+ U as default
119
128
  };