closeclaw 3.0.11 → 3.0.13
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/cli.cjs +2 -2
- package/dist/cli.jsc +0 -0
- package/dist/index.jsc +0 -0
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -7815,6 +7815,7 @@ var import_node_fs7 = require("fs");
|
|
|
7815
7815
|
var import_node_path6 = require("path");
|
|
7816
7816
|
var import_node_child_process3 = require("child_process");
|
|
7817
7817
|
var import_node_readline = require("readline");
|
|
7818
|
+
var import_node_crypto17 = require("crypto");
|
|
7818
7819
|
var c = {
|
|
7819
7820
|
reset: "\x1B[0m",
|
|
7820
7821
|
bold: "\x1B[1m",
|
|
@@ -8138,8 +8139,7 @@ async function commandOnboard() {
|
|
|
8138
8139
|
config.github.appId = appId;
|
|
8139
8140
|
const installationId = await ask(` Installation ID: `);
|
|
8140
8141
|
if (installationId) config.github.installationId = installationId;
|
|
8141
|
-
const
|
|
8142
|
-
const secret = randomBytes2(32).toString("hex");
|
|
8142
|
+
const secret = (0, import_node_crypto17.randomBytes)(32).toString("hex");
|
|
8143
8143
|
config.github.webhookSecret = secret;
|
|
8144
8144
|
result(PASS, `Webhook secret generated: ${c.dim}${secret.substring(0, 16)}...${c.reset}`);
|
|
8145
8145
|
result(INFO, `${c.yellow}Copy this secret to your GitHub App's webhook settings${c.reset}`);
|
package/dist/cli.jsc
CHANGED
|
Binary file
|
package/dist/index.jsc
CHANGED
|
Binary file
|