@wednesdayai/whatsapp 0.4.12-dev.664 → 0.4.12-dev.703
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/index.js +4 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3033,7 +3033,7 @@ async function promptWhatsAppAllowFrom(cfg, _runtime, prompter, options) {
|
|
|
3033
3033
|
"- disabled: ignore WhatsApp DMs",
|
|
3034
3034
|
"",
|
|
3035
3035
|
`Current: dmPolicy=${existingPolicy}, allowFrom=${existingLabel}`,
|
|
3036
|
-
`Docs: ${formatDocsLink("/whatsapp", "whatsapp")}`
|
|
3036
|
+
`Docs: ${formatDocsLink("/admin/channels/whatsapp", "whatsapp")}`
|
|
3037
3037
|
].join("\n"), "WhatsApp DM access");
|
|
3038
3038
|
if (await prompter.select({
|
|
3039
3039
|
message: "WhatsApp phone setup",
|
|
@@ -3177,7 +3177,7 @@ const whatsappOnboardingAdapter = {
|
|
|
3177
3177
|
if (!linked) await prompter.note([
|
|
3178
3178
|
"Scan the QR with WhatsApp on your phone.",
|
|
3179
3179
|
`Credentials are stored under ${authDir}/ for future runs.`,
|
|
3180
|
-
`Docs: ${formatDocsLink("/whatsapp", "whatsapp")}`
|
|
3180
|
+
`Docs: ${formatDocsLink("/admin/channels/whatsapp", "whatsapp")}`
|
|
3181
3181
|
].join("\n"), "WhatsApp linking");
|
|
3182
3182
|
if (await prompter.confirm({
|
|
3183
3183
|
message: linked ? "WhatsApp already linked. Re-link now?" : "Link WhatsApp now (QR)?",
|
|
@@ -3186,7 +3186,7 @@ const whatsappOnboardingAdapter = {
|
|
|
3186
3186
|
await loginWeb(false, void 0, runtime, accountId);
|
|
3187
3187
|
} catch (err) {
|
|
3188
3188
|
runtime.error(`WhatsApp login failed: ${String(err)}`);
|
|
3189
|
-
await prompter.note(`Docs: ${formatDocsLink("/whatsapp", "whatsapp")}`, "WhatsApp help");
|
|
3189
|
+
await prompter.note(`Docs: ${formatDocsLink("/admin/channels/whatsapp", "whatsapp")}`, "WhatsApp help");
|
|
3190
3190
|
}
|
|
3191
3191
|
else if (!linked) await prompter.note(`Run \`${formatCliCommand("openclaw channels login")}\` later to link WhatsApp.`, "WhatsApp");
|
|
3192
3192
|
next = await promptWhatsAppAllowFrom(next, runtime, prompter, { forceAllowlist: forceAllowFrom });
|
|
@@ -3332,7 +3332,7 @@ const meta = {
|
|
|
3332
3332
|
label: "WhatsApp",
|
|
3333
3333
|
selectionLabel: "WhatsApp (QR link)",
|
|
3334
3334
|
detailLabel: "WhatsApp Web",
|
|
3335
|
-
docsPath: "/channels/whatsapp",
|
|
3335
|
+
docsPath: "/admin/channels/whatsapp",
|
|
3336
3336
|
docsLabel: "whatsapp",
|
|
3337
3337
|
blurb: "works with your own number; recommend a separate phone + eSIM.",
|
|
3338
3338
|
systemImage: "message"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wednesdayai/whatsapp",
|
|
3
|
-
"version": "0.4.12-dev.
|
|
3
|
+
"version": "0.4.12-dev.703+da431ae90",
|
|
4
4
|
"description": "WednesdayAI WhatsApp channel plugin",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"label": "WhatsApp",
|
|
39
39
|
"selectionLabel": "WhatsApp (QR link)",
|
|
40
40
|
"detailLabel": "WhatsApp Web",
|
|
41
|
-
"docsPath": "/channels/whatsapp",
|
|
41
|
+
"docsPath": "/admin/channels/whatsapp",
|
|
42
42
|
"docsLabel": "whatsapp",
|
|
43
43
|
"blurb": "works with your own number; recommend a separate phone + eSIM.",
|
|
44
44
|
"systemImage": "message"
|