@trifle/trifle-hub 1.0.22 → 1.0.23
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/index.es.js +14 -4
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -194,6 +194,16 @@ const N = /* @__PURE__ */ Z(LA, [["render", $A]]), Ae = { class: "_flex-1 _overf
|
|
|
194
194
|
enabled: !0,
|
|
195
195
|
link: Q
|
|
196
196
|
},
|
|
197
|
+
{
|
|
198
|
+
name: "Authenticate Farcaster",
|
|
199
|
+
id: "auth-farcaster",
|
|
200
|
+
description: "Authenticate with Farcaster to earn 10 pachinko balls.",
|
|
201
|
+
pachinkoBalls: 10,
|
|
202
|
+
kudzuBurn: 0,
|
|
203
|
+
claimed: !1,
|
|
204
|
+
once: !0,
|
|
205
|
+
enabled: !1
|
|
206
|
+
},
|
|
197
207
|
// {
|
|
198
208
|
// name: 'Authenticate Email',
|
|
199
209
|
// id: 'auth-email',
|
|
@@ -207,7 +217,7 @@ const N = /* @__PURE__ */ Z(LA, [["render", $A]]), Ae = { class: "_flex-1 _overf
|
|
|
207
217
|
// },
|
|
208
218
|
// {
|
|
209
219
|
// name: 'Retweet First Announcement Tweet',
|
|
210
|
-
// id: 'retweet-announcement',
|
|
220
|
+
// id: 'retweet-0-announcement',
|
|
211
221
|
// description: 'Retweet the First Announcement Tweet to earn 5 kudzu burn.',
|
|
212
222
|
// pachinkoBalls: 5,
|
|
213
223
|
// kudzuBurn: 5,
|
|
@@ -340,7 +350,7 @@ const N = /* @__PURE__ */ Z(LA, [["render", $A]]), Ae = { class: "_flex-1 _overf
|
|
|
340
350
|
},
|
|
341
351
|
{
|
|
342
352
|
name: "Follow Trifle on Farcaster",
|
|
343
|
-
id: "follow-trifle",
|
|
353
|
+
id: "follow-trifle-farcaster",
|
|
344
354
|
description: "Follow Trifle on Farcaster to earn 10 pachinko balls.",
|
|
345
355
|
pachinkoBalls: 25,
|
|
346
356
|
kudzuBurn: 0,
|
|
@@ -701,7 +711,7 @@ const N = /* @__PURE__ */ Z(LA, [["render", $A]]), Ae = { class: "_flex-1 _overf
|
|
|
701
711
|
try {
|
|
702
712
|
await A.connectDiscord();
|
|
703
713
|
} catch (x) {
|
|
704
|
-
console.error("Discord connection failed:", x);
|
|
714
|
+
x.message.includes("Authentication window closed") && alert("Sorry, can you try that again?"), console.error("Discord connection failed:", x);
|
|
705
715
|
}
|
|
706
716
|
}, H = async () => {
|
|
707
717
|
d.value && console.log("Farcaster connect clicked (feature not fully implemented yet)");
|
|
@@ -878,7 +888,7 @@ const N = /* @__PURE__ */ Z(LA, [["render", $A]]), Ae = { class: "_flex-1 _overf
|
|
|
878
888
|
}, null, -1)),
|
|
879
889
|
t("span", zt, "Authenticate " + P(O(u(A).accountAddress)), 1)
|
|
880
890
|
])
|
|
881
|
-
])) : u(n) &&
|
|
891
|
+
])) : u(n) && !u(A).accountConnected ? (a(), o("button", {
|
|
882
892
|
key: 1,
|
|
883
893
|
onClick: c,
|
|
884
894
|
class: "_bubble-btn _p-3.5 _w-full",
|