@tempoxyz/patron 0.0.15 → 0.0.16
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/bin.js
CHANGED
|
@@ -4,10 +4,10 @@ const require = __patronCreateRequire(import.meta.url)
|
|
|
4
4
|
|
|
5
5
|
// src/bin.ts
|
|
6
6
|
if (process.argv[2] === "hook") {
|
|
7
|
-
const { runHookProcess } = await import("./chunks/hook-process-
|
|
7
|
+
const { runHookProcess } = await import("./chunks/hook-process-GKUDU2B3.js");
|
|
8
8
|
await runHookProcess().catch(() => void 0);
|
|
9
9
|
process.exit(0);
|
|
10
10
|
} else {
|
|
11
|
-
const { run } = await import("./chunks/-
|
|
11
|
+
const { run } = await import("./chunks/-UIKBA3CN.js");
|
|
12
12
|
process.exitCode = await run(process.argv.slice(2));
|
|
13
13
|
}
|
|
@@ -28477,11 +28477,25 @@ var SiteInfo = external_exports.object({
|
|
|
28477
28477
|
});
|
|
28478
28478
|
var LeaderboardResponse = external_exports.object({
|
|
28479
28479
|
patrons: external_exports.array(external_exports.object({ name: external_exports.string(), tokens: external_exports.number().int(), usd })),
|
|
28480
|
+
/** Claimed sites and unclaimed ones past the listing threshold, by earnings. */
|
|
28480
28481
|
sites: external_exports.array(
|
|
28481
|
-
external_exports.object({
|
|
28482
|
+
external_exports.object({
|
|
28483
|
+
domain: external_exports.string(),
|
|
28484
|
+
earnedUsd: usd,
|
|
28485
|
+
visits: external_exports.number().int(),
|
|
28486
|
+
/** Whether the owner proved the domain; older gateways listed only claimed sites. */
|
|
28487
|
+
claimed: external_exports.boolean().default(true)
|
|
28488
|
+
})
|
|
28482
28489
|
),
|
|
28483
|
-
/**
|
|
28484
|
-
creators: external_exports.array(
|
|
28490
|
+
/** X profiles, claimed or past the listing threshold, by earnings: their own leaderboard. */
|
|
28491
|
+
creators: external_exports.array(
|
|
28492
|
+
external_exports.object({
|
|
28493
|
+
handle: external_exports.string(),
|
|
28494
|
+
earnedUsd: usd,
|
|
28495
|
+
visits: external_exports.number().int(),
|
|
28496
|
+
claimed: external_exports.boolean().default(true)
|
|
28497
|
+
})
|
|
28498
|
+
).default([]),
|
|
28485
28499
|
totals: external_exports.object({ tokens: external_exports.number().int(), sites: external_exports.number().int(), usd })
|
|
28486
28500
|
});
|
|
28487
28501
|
var ClaimRequest = external_exports.object({
|