seedcord 0.21.2 → 0.21.3
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/README.md
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
<div align="center">
|
|
9
9
|
<h3>The whole Discord bot, typed end to end</h3>
|
|
10
10
|
<a href="https://seedcord.org">Website</a> ·
|
|
11
|
-
<a href="https://
|
|
12
|
-
<a href="https://
|
|
11
|
+
<a href="https://seedcord.org/guide">Guide</a> ·
|
|
12
|
+
<a href="https://seedcord.org/docs">Reference</a> ·
|
|
13
13
|
<a href="https://discord.gg/DzFxY58WXf">Discord</a>
|
|
14
14
|
</div>
|
|
15
15
|
|
package/dist/cli.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as SEEDCORD_CONFIG_FILENAMES, t as version } from "./src-
|
|
1
|
+
import { n as SEEDCORD_CONFIG_FILENAMES, t as version } from "./src-CUR3x9pA.mjs";
|
|
2
2
|
import { createRequire, findPackageJSON } from "node:module";
|
|
3
3
|
import { Command } from "@commander-js/extra-typings";
|
|
4
4
|
import { LEVEL_COLOR, Logger, LoggerChannelRegistry } from "@seedcord/logger";
|
|
@@ -1040,7 +1040,7 @@ async function confirm$1(opts) {
|
|
|
1040
1040
|
}
|
|
1041
1041
|
|
|
1042
1042
|
//#endregion
|
|
1043
|
-
//#region \0@oxc-project+runtime@0.
|
|
1043
|
+
//#region \0@oxc-project+runtime@0.152.0/helpers/esm/usingCtx.js
|
|
1044
1044
|
function _usingCtx() {
|
|
1045
1045
|
var r = "function" == typeof SuppressedError ? SuppressedError : function(r, e) {
|
|
1046
1046
|
var n = Error();
|
|
@@ -1640,10 +1640,9 @@ function useRailWidth(railRef, phase, rows, columns) {
|
|
|
1640
1640
|
}
|
|
1641
1641
|
if (!needsMeasureRef.current || !railRef.current) return;
|
|
1642
1642
|
const measured = measureElement(railRef.current).width;
|
|
1643
|
-
if (measured > 0)
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
}
|
|
1643
|
+
if (!(measured > 0)) return;
|
|
1644
|
+
needsMeasureRef.current = false;
|
|
1645
|
+
setRailWidth(measured);
|
|
1647
1646
|
}, [
|
|
1648
1647
|
rows,
|
|
1649
1648
|
columns,
|
|
@@ -3576,7 +3575,7 @@ var CloudflaredTunnel = class {
|
|
|
3576
3575
|
}
|
|
3577
3576
|
const cause = this.failure;
|
|
3578
3577
|
this.stop();
|
|
3579
|
-
throw new SeedcordError(SeedcordErrorCode.CliTunnelUrlUnavailable, [
|
|
3578
|
+
throw new SeedcordError(SeedcordErrorCode.CliTunnelUrlUnavailable, [60], { cause });
|
|
3580
3579
|
}
|
|
3581
3580
|
async pollOnce(metricsPort, signal) {
|
|
3582
3581
|
try {
|