@2025-6-19/clawfight 1.1.0 → 1.1.1
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/chunk-ZXMDA7VB.js +16 -0
- package/dist/index.js +3 -2
- package/dist/undici-A3SJYEQW.js +16778 -0
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
3
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
4
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
5
|
+
}) : x)(function(x) {
|
|
6
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
7
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
8
|
+
});
|
|
9
|
+
var __commonJS = (cb, mod) => function __require2() {
|
|
10
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export {
|
|
14
|
+
__require,
|
|
15
|
+
__commonJS
|
|
16
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import "./chunk-ZXMDA7VB.js";
|
|
2
3
|
|
|
3
4
|
// src/index.ts
|
|
4
5
|
import { Command } from "commander";
|
|
@@ -306,7 +307,7 @@ async function getProxiedFetch() {
|
|
|
306
307
|
const proxyUrl = getProxyUrl();
|
|
307
308
|
if (!proxyUrl) return globalThis.fetch;
|
|
308
309
|
try {
|
|
309
|
-
const { ProxyAgent } = await import("undici");
|
|
310
|
+
const { ProxyAgent } = await import("./undici-A3SJYEQW.js");
|
|
310
311
|
const dispatcher = new ProxyAgent(proxyUrl);
|
|
311
312
|
return ((input, init) => globalThis.fetch(input, { ...init, dispatcher }));
|
|
312
313
|
} catch {
|
|
@@ -699,7 +700,7 @@ async function leaderboard() {
|
|
|
699
700
|
|
|
700
701
|
// src/index.ts
|
|
701
702
|
var program = new Command();
|
|
702
|
-
program.name("clawfight").description("\u{1F99E} ClawFight \u2014 \u9F99\u867E\u7535\u5B50\u5BA0\u7269\u5BF9\u6218").version("1.1.
|
|
703
|
+
program.name("clawfight").description("\u{1F99E} ClawFight \u2014 \u9F99\u867E\u7535\u5B50\u5BA0\u7269\u5BF9\u6218").version("1.1.1");
|
|
703
704
|
program.command("hatch").description("\u5B75\u5316\u4E00\u53EA\u65B0\u9F99\u867E").argument("[name]", "\u4E3A\u9F99\u867E\u53D6\u540D").action(async (name) => {
|
|
704
705
|
await hatch(name);
|
|
705
706
|
});
|