fluncle 0.180.0 → 0.181.0
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/bin/fluncle.mjs +31 -2
- package/package.json +1 -1
package/bin/fluncle.mjs
CHANGED
|
@@ -561,7 +561,7 @@ function parseVersion(version) {
|
|
|
561
561
|
var currentVersion;
|
|
562
562
|
var init_version = __esm(() => {
|
|
563
563
|
init_output();
|
|
564
|
-
currentVersion = "0.
|
|
564
|
+
currentVersion = "0.181.0".trim() ? "0.181.0".trim() : "0.1.0";
|
|
565
565
|
});
|
|
566
566
|
|
|
567
567
|
// src/update-notifier.ts
|
|
@@ -2260,7 +2260,7 @@ function parseVersion2(version) {
|
|
|
2260
2260
|
var currentVersion2, latestReleaseUrl = "https://api.github.com/repos/mauricekleine/fluncle/releases/latest";
|
|
2261
2261
|
var init_version2 = __esm(() => {
|
|
2262
2262
|
init_output();
|
|
2263
|
-
currentVersion2 = "0.
|
|
2263
|
+
currentVersion2 = "0.181.0".trim() ? "0.181.0".trim() : "0.1.0";
|
|
2264
2264
|
});
|
|
2265
2265
|
|
|
2266
2266
|
// ../../packages/registry/src/index.ts
|
|
@@ -2504,6 +2504,14 @@ var init_src = __esm(() => {
|
|
|
2504
2504
|
url: `${SITE}/privacy`,
|
|
2505
2505
|
weights: { web: "tertiary" }
|
|
2506
2506
|
},
|
|
2507
|
+
{
|
|
2508
|
+
exposedContent: ["the terms of use"],
|
|
2509
|
+
kind: "web_route",
|
|
2510
|
+
name: "web.terms",
|
|
2511
|
+
route: "/terms",
|
|
2512
|
+
url: `${SITE}/terms`,
|
|
2513
|
+
weights: { web: "tertiary" }
|
|
2514
|
+
},
|
|
2507
2515
|
{
|
|
2508
2516
|
exposedContent: ["the Galaxy game's front door (root rewrites to /galaxy)"],
|
|
2509
2517
|
kind: "subdomain",
|
|
@@ -6108,6 +6116,23 @@ var init_mixtape_mixcloud2 = __esm(() => {
|
|
|
6108
6116
|
PICTURE_MAX_BYTES2 = 10 * 1024 * 1024;
|
|
6109
6117
|
});
|
|
6110
6118
|
|
|
6119
|
+
// src/commands/auth-tiktok.ts
|
|
6120
|
+
var exports_auth_tiktok = {};
|
|
6121
|
+
__export(exports_auth_tiktok, {
|
|
6122
|
+
authTikTokCommand: () => authTikTokCommand
|
|
6123
|
+
});
|
|
6124
|
+
async function authTikTokCommand() {
|
|
6125
|
+
const response = await adminApiGet("/api/admin/tiktok/auth/start");
|
|
6126
|
+
console.log(`Open this TikTok authorization URL:
|
|
6127
|
+
|
|
6128
|
+
${response.authUrl}
|
|
6129
|
+
|
|
6130
|
+
After approving access, TikTok returns to the Fluncle admin callback and stores the refresh token server-side.`);
|
|
6131
|
+
}
|
|
6132
|
+
var init_auth_tiktok = __esm(() => {
|
|
6133
|
+
init_api();
|
|
6134
|
+
});
|
|
6135
|
+
|
|
6111
6136
|
// src/commands/auth-lastfm.ts
|
|
6112
6137
|
var exports_auth_lastfm = {};
|
|
6113
6138
|
__export(exports_auth_lastfm, {
|
|
@@ -9433,6 +9458,10 @@ function addAdminCommands(program2) {
|
|
|
9433
9458
|
const { authMixcloudCommand: authMixcloudCommand3 } = await Promise.resolve().then(() => (init_mixtape_mixcloud2(), exports_mixtape_mixcloud2));
|
|
9434
9459
|
await authMixcloudCommand3();
|
|
9435
9460
|
});
|
|
9461
|
+
auth.command("tiktok").description("Authorize TikTok access (Display API per-video metrics)").action(async () => {
|
|
9462
|
+
const { authTikTokCommand: authTikTokCommand2 } = await Promise.resolve().then(() => (init_auth_tiktok(), exports_auth_tiktok));
|
|
9463
|
+
await authTikTokCommand2();
|
|
9464
|
+
});
|
|
9436
9465
|
auth.command("lastfm").description("Authorize Last.fm access (love-on-add). Run once for the URL, then again with --token").option("--token <token>", "The approved request token, to mint the session key").action(async (options) => {
|
|
9437
9466
|
const { authLastfmCommand: authLastfmCommand2 } = await Promise.resolve().then(() => (init_auth_lastfm(), exports_auth_lastfm));
|
|
9438
9467
|
await authLastfmCommand2(options);
|
package/package.json
CHANGED