Skip to content

Open-source status page, incident response and uptime monitoring

whatsapp notification (#1651)

Thibault Le Ouay175ecb24f926
diff --git a/apps/dashboard/package.json b/apps/dashboard/package.json
index 4af54dee7..c7ac173d5 100644
--- a/apps/dashboard/package.json
+++ b/apps/dashboard/package.json
@@ -37,6 +37,7 @@
"@openstatus/notification-pagerduty": "workspace:*",
"@openstatus/notification-slack": "workspace:*",
"@openstatus/notification-telegram": "workspace:*",
+ "@openstatus/notification-twillio-whatsapp": "workspace:*",
"@openstatus/notification-webhook": "workspace:*",
"@openstatus/react": "workspace:*",
"@openstatus/regions": "workspace:*",
diff --git a/apps/dashboard/src/app/(dashboard)/notifications/client.tsx b/apps/dashboard/src/app/(dashboard)/notifications/client.tsx
index d0e5908f2..58ac0bbfe 100644
--- a/apps/dashboard/src/app/(dashboard)/notifications/client.tsx
+++ b/apps/dashboard/src/app/(dashboard)/notifications/client.tsx
@@ -93,7 +93,9 @@ export function Client() {
if (key in workspace.limits) {
enabled =
- workspace.limits[key as "opsgenie" | "sms" | "opsgenie"];
+ workspace.limits[
+ key as "opsgenie" | "sms" | "opsgenie" | "whatsapp"
+ ];
}
if (limitReached) {
diff --git a/apps/dashboard/src/components/forms/notifications/form-whatsapp.tsx b/apps/dashboard/src/components/forms/notifications/form-whatsapp.tsx
new file mode 100644
index 000000000..c8fa753ea
--- /dev/null
+++ b/apps/dashboard/src/components/forms/notifications/form-whatsapp.tsx
@@ -0,0 +1,231 @@
+"use client";
+
+import { Checkbox } from "@/components/ui/checkbox";
+import {
+ FormControl,
+ FormDescription,
+ FormField,
+ FormItem,
+ FormLabel,
+ FormMessage,
+} from "@/components/ui/form";
+
+import {
+ FormCardContent,
+ FormCardSeparator,
+} from "@/components/forms/form-card";
+import { useFormSheetDirty } from "@/components/forms/form-sheet";
+import { Button } from "@/components/ui/button";
+import { Form } from "@/components/ui/form";
+import { Input } from "@/components/ui/input";
+import { Label } from "@/components/ui/label";
+
+import { useTRPC } from "@/lib/trpc/client";
+import { cn } from "@/lib/utils";
+import { zodResolver } from "@hookform/resolvers/zod";
+import { useMutation } from "@tanstack/react-query";
+import { isTRPCClientError } from "@trpc/client";
+import React, { useTransition } from "react";
+import { useForm } from "react-hook-form";
+import { toast } from "sonner";
+import { z } from "zod";
+
+const schema = z.object({
+ name: z.string(),
+ provider: z.literal("whatsapp"),
+ data: z.string(),
+ monitors: z.array(z.number()),
+});
+
+type FormValues = z.infer<typeof schema>;
+
+export function FormWhatsApp({
+ defaultValues,
+ onSubmit,
+ className,
+ monitors,
+ ...props
+}: Omit<React.ComponentProps<"form">, "onSubmit"> & {
+ defaultValues?: FormValues;
+ onSubmit: (values: FormValues) => Promise<void>;
+ monitors: { id: number; name: string }[];
+}) {
+ const form = useForm<FormValues>({
+ resolver: zodResolver(schema),
+ defaultValues: defaultValues ?? {
+ name: "",
+ provider: "whatsapp",
+ data: "",
+ monitors: [],
+ },
+ });
+ const [isPending, startTransition] = useTransition();
+ const { setIsDirty } = useFormSheetDirty();
+ const trpc = useTRPC();
+
+ const sendTestMutation = useMutation(
+ trpc.notification.sendTest.mutationOptions(),
+ );
+
+ const formIsDirty = form.formState.isDirty;
+ React.useEffect(() => {
+ setIsDirty(formIsDirty);
+ }, [formIsDirty, setIsDirty]);
+
+ function submitAction(values: FormValues) {
+ if (isPending) return;
+
+ startTransition(async () => {
+ try {
+ const promise = onSubmit(values);
+ toast.promise(promise, {
+ loading: "Saving...",
+ success: "Saved",
+ error: (error) => {
+ if (isTRPCClientError(error)) {
+ return error.message;
+ }
+ return "Failed to save";
+ },
+ });
+ await promise;
+ } catch (error) {
+ console.error(error);
+ }
+ });
+ }
+
+ function testAction() {
+ if (isPending) return;
+
+ startTransition(async () => {
+ try {
+ const provider = form.getValues("provider");
+ const data = form.getValues("data");
+ const promise = sendTestMutation.mutateAsync({
+ provider,
+ data: {
+ whatsapp: data,
+ },
+ });
+ toast.promise(promise, {
+ loading: "Sending test...",
+ success: "Test sent",
+ error: (error) => {
+ if (error instanceof Error) {
+ return error.message;
+ }
+ return "Failed to send test";
+ },
+ });
+ await promise;
+ } catch (error) {
+ console.error(error);
+ }
+ });
+ }
+
+ return (
+ <Form {...form}>
+ <form
+ className={cn("grid gap-4", className)}
+ onSubmit={form.handleSubmit(submitAction)}
+ {...props}
+ >
+ <FormCardContent className="grid gap-4">
+ <FormField
+ control={form.control}
+ name="name"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>Name</FormLabel>
+ <FormControl>
+ <Input placeholder="My Notifier" {...field} />
+ </FormControl>
+ <FormMessage />
+ <FormDescription>
+ Enter a descriptive name for your notifier.
+ </FormDescription>
+ </FormItem>
+ )}
+ />
+ <FormField
+ control={form.control}
+ name="data"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>WhatsApp</FormLabel>
+ <FormControl>
+ <Input placeholder="+1234567890" type="tel" {...field} />
+ </FormControl>
+ <FormMessage />
+ <FormDescription>
+ Enter the phone number to send notifications to.
+ </FormDescription>
+ </FormItem>
+ )}
+ />
+ <div>
+ <Button
+ variant="outline"
+ size="sm"
+ type="button"
+ onClick={testAction}
+ >
+ Send Test
+ </Button>
+ </div>
+ </FormCardContent>
+ <FormCardSeparator />
+ <FormCardContent>
+ <FormField
+ control={form.control}
+ name="monitors"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>Monitors</FormLabel>
+ <FormDescription>
+ Select the monitors you want to notify.
+ </FormDescription>
+ <div className="grid gap-3">
+ <div className="flex items-center gap-2">
+ <FormControl>
+ <Checkbox
+ id="all"
+ checked={field.value?.length === monitors.length}
+ onCheckedChange={(checked) => {
+ field.onChange(
+ checked ? monitors.map((m) => m.id) : [],
+ );
+ }}
+ />
+ </FormControl>
+ <Label htmlFor="all">Select all</Label>
+ </div>
+ {monitors.map((item) => (
+ <div key={item.id} className="flex items-center gap-2">
+ <FormControl>
+ <Checkbox
+ id={String(item.id)}
+ checked={field.value?.includes(item.id)}
+ onCheckedChange={(checked) => {
+ const newValue = checked
+ ? [...(field.value || []), item.id]
+ : field.value?.filter((id) => id !== item.id);
+ field.onChange(newValue);
+ }}
+ />
+ </FormControl>
+ <Label htmlFor={String(item.id)}>{item.name}</Label>
+ </div>
+ ))}
+ </div>
+ <FormMessage />
+ </FormItem>
+ )}
+ />
+ </FormCardContent>
+ </form>
+ </Form>
+ );
+}
diff --git a/apps/dashboard/src/components/forms/notifications/form.tsx b/apps/dashboard/src/components/forms/notifications/form.tsx
index d258430c0..5a4e0b92b 100644
--- a/apps/dashboard/src/components/forms/notifications/form.tsx
+++ b/apps/dashboard/src/components/forms/notifications/form.tsx
@@ -32,6 +32,7 @@ const schema = z.object({
"pagerduty",
"ntfy",
"telegram",
+ "whatsapp",
]),
data: z.record(z.string(), z.string()).or(z.string()),
monitors: z.array(z.number()),
diff --git a/apps/dashboard/src/data/notifications.client.ts b/apps/dashboard/src/data/notifications.client.ts
index f93de98fd..aa8d3b231 100644
--- a/apps/dashboard/src/data/notifications.client.ts
+++ b/apps/dashboard/src/data/notifications.client.ts
@@ -7,7 +7,8 @@ import { FormSlack } from "@/components/forms/notifications/form-slack";
import { FormSms } from "@/components/forms/notifications/form-sms";
import { FormTelegram } from "@/components/forms/notifications/form-telegram";
import { FormWebhook } from "@/components/forms/notifications/form-webhook";
-import { DiscordIcon, TelegramIcon } from "@openstatus/icons";
+import { FormWhatsApp } from "@/components/forms/notifications/form-whatsapp";
+import { DiscordIcon, TelegramIcon, WhatsappIcon } from "@openstatus/icons";
import { OpsGenieIcon } from "@openstatus/icons";
import { PagerDutyIcon } from "@openstatus/icons";
import { SlackIcon } from "@openstatus/icons";
@@ -17,6 +18,7 @@ import { sendTest as sendTestOpsGenie } from "@openstatus/notification-opsgenie"
import { sendTest as sendTestPagerDuty } from "@openstatus/notification-pagerduty";
import { sendTestSlackMessage as sendTestSlack } from "@openstatus/notification-slack";
import { sendTest as sendTestTelegram } from "@openstatus/notification-telegram";
+import { sendTest as sendWhatsAppTest } from "@openstatus/notification-twillio-whatsapp";
import { sendTest as sendTestWebhook } from "@openstatus/notification-webhook";
import {
BellIcon,
@@ -112,6 +114,12 @@ export const config = {
form: FormTelegram,
sendTest: sendTestTelegram,
},
+ whatsapp: {
+ icon: WhatsappIcon,
+ label: "WhatsApp",
+ form: FormWhatsApp,
+ sendTest: sendWhatsAppTest,
+ },
};
export type NotifierProvider = keyof typeof config;
diff --git a/apps/docs/src/content/docs/reference/notification.mdx b/apps/docs/src/content/docs/reference/notification.mdx
index 347ef0d3d..406932474 100644
--- a/apps/docs/src/content/docs/reference/notification.mdx
+++ b/apps/docs/src/content/docs/reference/notification.mdx
@@ -22,7 +22,14 @@ Require a [discord webhook](https://support.discord.com/hc/en-us/articles/228383
### SMS
-Require a phone number
+Require a phone number (international format e.g. +14155552671)
+
+Due to provider routing, SMS may not be delivered to all countries. Please contact support if you encounter any issues. Or use whatsapp notification instead.
+
+### WhatsApp
+
+Require a phone number (international format e.g. +14155552671)
+
### Telegram
@@ -32,8 +39,6 @@ Requires to know the chat id.
The bot's id is `@openstatushq_bot` to make sure you are getting the correct notifications.
-Please
-
### Webhook
- URL (require)
diff --git a/apps/web/public/assets/changelog/whatsapp.png b/apps/web/public/assets/changelog/whatsapp.png
new file mode 100644
index 000000000..e03543a12
Binary files /dev/null and b/apps/web/public/assets/changelog/whatsapp.png differ
diff --git a/apps/web/src/content/pages/changelog/whatsapp-notifications.mdx b/apps/web/src/content/pages/changelog/whatsapp-notifications.mdx
new file mode 100644
index 000000000..5c7aaad9d
--- /dev/null
+++ b/apps/web/src/content/pages/changelog/whatsapp-notifications.mdx
@@ -0,0 +1,10 @@
+---
+title: "WhatsApp Notifications"
+description: ""
+image: "/assets/changelog/whatsapp.png"
+publishedAt: "2025-12-16"
+author: "openstatus"
+category: "notifications"
+---
+
+You can now receive your uptime notifications via WhatsApp. It more reliable than SMS and works worldwide.
diff --git a/apps/web/src/content/pages/unrelated/pricing.mdx b/apps/web/src/content/pages/unrelated/pricing.mdx
index 389e8164a..b3621e9a7 100644
--- a/apps/web/src/content/pages/unrelated/pricing.mdx
+++ b/apps/web/src/content/pages/unrelated/pricing.mdx
@@ -35,6 +35,7 @@ category: "Company"
["Password-protected", "", "+", "+"],
[<strong>Alerts</strong>, "", "", ""],
["Slack, Discord, Email, Webhook, ntfy.sh", "+", "+", "+"],
+ ["WhatsApp", "", "+", "+"],
["SMS", "", "+", "+"],
["PagerDuty", "", "+", "+"],
["Number of notification channels", "1", "10", "20"],
@@ -52,4 +53,4 @@ Go to the dashboard and get started
<ButtonLink href="https://app.openstatus.dev">Create Account</ButtonLink>
----
\ No newline at end of file
+---
diff --git a/apps/workflows/.dockerignore b/apps/workflows/.dockerignore
index c304379d7..5dad7bbcf 100644
--- a/apps/workflows/.dockerignore
+++ b/apps/workflows/.dockerignore
@@ -1,4 +1,4 @@
-# This file is generated by Dofigen v2.5.0
+# This file is generated by Dofigen v2.5.1
# See https://github.com/lenra-io/dofigen
node_modules
diff --git a/apps/workflows/Dockerfile b/apps/workflows/Dockerfile
index a610f4a52..fdfd756a4 100644
--- a/apps/workflows/Dockerfile
+++ b/apps/workflows/Dockerfile
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.11
-# This file is generated by Dofigen v2.5.0
+# This file is generated by Dofigen v2.5.1
# See https://github.com/lenra-io/dofigen
# ca-certs
@@ -41,6 +41,7 @@ RUN \
--mount=type=bind,target=packages/notifications/pagerduty/package.json,source=packages/notifications/pagerduty/package.json \
--mount=type=bind,target=packages/notifications/slack/package.json,source=packages/notifications/slack/package.json \
--mount=type=bind,target=packages/notifications/telegram/package.json,source=packages/notifications/telegram/package.json \
+ --mount=type=bind,target=packages/notifications/twillio-whatsapp/package.json,source=packages/notifications/twillio-whatsapp/package.json \
--mount=type=bind,target=packages/notifications/twillio-sms/package.json,source=packages/notifications/twillio-sms/package.json \
--mount=type=bind,target=packages/notifications/webhook/package.json,source=packages/notifications/webhook/package.json \
--mount=type=bind,target=packages/regions/package.json,source=packages/regions/package.json \
@@ -84,7 +85,7 @@ RUN bun install
# runtime
FROM debian@sha256:530a3348fc4b5734ffe1a137ddbcee6850154285251b53c3425c386ea8fac77b AS runtime
LABEL \
- io.dofigen.version="2.5.0" \
+ io.dofigen.version="2.5.1" \
org.opencontainers.image.authors="OpenStatus Team" \
org.opencontainers.image.base.digest="sha256:530a3348fc4b5734ffe1a137ddbcee6850154285251b53c3425c386ea8fac77b" \
org.opencontainers.image.base.name="docker.io/debian:bullseye-slim" \
diff --git a/apps/workflows/dofigen.lock b/apps/workflows/dofigen.lock
index 482430636..ff685d36f 100644
--- a/apps/workflows/dofigen.lock
+++ b/apps/workflows/dofigen.lock
@@ -12,27 +12,35 @@ effective: |
- /packages/error
- /packages/tracker
builders:
- build:
+ docker:
fromImage:
path: oven/bun
digest: sha256:fbf8e67e9d3b806c86be7a2f2e9bae801f2d9212a21db4dcf8cc9889f5a3c9c4
label:
org.opencontainers.image.base.name: docker.io/oven/bun:1.3.3
- org.opencontainers.image.stage: build
org.opencontainers.image.base.digest: sha256:fbf8e67e9d3b806c86be7a2f2e9bae801f2d9212a21db4dcf8cc9889f5a3c9c4
workdir: /app/apps/workflows
- env:
- NODE_ENV: production
copy:
- paths:
- .
target: /app/
- - fromBuilder: install
+ run:
+ - bun run src/build-docker.ts
+ libsql:
+ fromImage:
+ path: oven/bun
+ digest: sha256:fbf8e67e9d3b806c86be7a2f2e9bae801f2d9212a21db4dcf8cc9889f5a3c9c4
+ label:
+ org.opencontainers.image.base.name: docker.io/oven/bun:1.3.3
+ org.opencontainers.image.base.digest: sha256:fbf8e67e9d3b806c86be7a2f2e9bae801f2d9212a21db4dcf8cc9889f5a3c9c4
+ workdir: /app/
+ copy:
+ - fromBuilder: docker
paths:
- - /app/node_modules
- target: /app/node_modules
+ - /app/apps/build-docker/package.json
+ target: /app/package.json
run:
- - bun build --compile --target bun --sourcemap --format=cjs src/index.ts --outfile=app --external '@libsql/*' --external libsql
+ - bun install
install:
fromImage:
path: oven/bun
@@ -73,6 +81,8 @@ effective: |
source: packages/notifications/slack/package.json
- target: packages/notifications/telegram/package.json
source: packages/notifications/telegram/package.json
+ - target: packages/notifications/twillio-whatsapp/package.json
+ source: packages/notifications/twillio-whatsapp/package.json
- target: packages/notifications/twillio-sms/package.json
source: packages/notifications/twillio-sms/package.json
- target: packages/notifications/webhook/package.json
@@ -89,20 +99,27 @@ effective: |
source: packages/upstash/package.json
- target: packages/theme-store/package.json
source: packages/theme-store/package.json
- docker:
+ build:
fromImage:
path: oven/bun
digest: sha256:fbf8e67e9d3b806c86be7a2f2e9bae801f2d9212a21db4dcf8cc9889f5a3c9c4
label:
org.opencontainers.image.base.name: docker.io/oven/bun:1.3.3
org.opencontainers.image.base.digest: sha256:fbf8e67e9d3b806c86be7a2f2e9bae801f2d9212a21db4dcf8cc9889f5a3c9c4
+ org.opencontainers.image.stage: build
workdir: /app/apps/workflows
+ env:
+ NODE_ENV: production
copy:
- paths:
- .
target: /app/
+ - fromBuilder: install
+ paths:
+ - /app/node_modules
+ target: /app/node_modules
run:
- - bun run src/build-docker.ts
+ - bun build --compile --target bun --sourcemap --format=cjs src/index.ts --outfile=app --external '@libsql/*' --external libsql
ca-certs:
fromImage:
path: debian
@@ -112,33 +129,18 @@ effective: |
org.opencontainers.image.base.digest: sha256:530a3348fc4b5734ffe1a137ddbcee6850154285251b53c3425c386ea8fac77b
run:
- apt update && apt install -y ca-certificates && update-ca-certificates
- libsql:
- fromImage:
- path: oven/bun
- digest: sha256:fbf8e67e9d3b806c86be7a2f2e9bae801f2d9212a21db4dcf8cc9889f5a3c9c4
- label:
- org.opencontainers.image.base.name: docker.io/oven/bun:1.3.3
- org.opencontainers.image.base.digest: sha256:fbf8e67e9d3b806c86be7a2f2e9bae801f2d9212a21db4dcf8cc9889f5a3c9c4
- workdir: /app/
- copy:
- - fromBuilder: docker
- paths:
- - /app/apps/build-docker/package.json
- target: /app/package.json
- run:
- - bun install
fromImage:
path: debian
digest: sha256:530a3348fc4b5734ffe1a137ddbcee6850154285251b53c3425c386ea8fac77b
label:
+ org.opencontainers.image.description: Background job processing and probe scheduling for OpenStatus
+ org.opencontainers.image.authors: OpenStatus Team
+ io.dofigen.version: 2.5.1
org.opencontainers.image.source: https://github.com/openstatusHQ/openstatus
+ org.opencontainers.image.base.digest: sha256:530a3348fc4b5734ffe1a137ddbcee6850154285251b53c3425c386ea8fac77b
org.opencontainers.image.vendor: OpenStatus
- org.opencontainers.image.title: OpenStatus Workflows
org.opencontainers.image.base.name: docker.io/debian:bullseye-slim
- org.opencontainers.image.base.digest: sha256:530a3348fc4b5734ffe1a137ddbcee6850154285251b53c3425c386ea8fac77b
- org.opencontainers.image.authors: OpenStatus Team
- io.dofigen.version: 2.5.1
- org.opencontainers.image.description: Background job processing and probe scheduling for OpenStatus
+ org.opencontainers.image.title: OpenStatus Workflows
workdir: /app/
copy:
- fromBuilder: build
@@ -174,7 +176,7 @@ images:
digest: sha256:530a3348fc4b5734ffe1a137ddbcee6850154285251b53c3425c386ea8fac77b
resources:
dofigen.yml:
- hash: 297382ef47be04c67f610380fadff8e2b9333ab28594ff6e0512b75a23d4c3b0
+ hash: 7e59e1efd94f649c01720f89c8966945798a8a0c4572e2fb783d6e406e5384c4
content: |
ignore:
- node_modules
@@ -208,6 +210,7 @@ resources:
- packages/notifications/pagerduty/package.json
- packages/notifications/slack/package.json
- packages/notifications/telegram/package.json
+ - packages/notifications/twillio-whatsapp/package.json
- packages/notifications/twillio-sms/package.json
- packages/notifications/webhook/package.json
- packages/regions/package.json
@@ -284,5 +287,5 @@ resources:
- fromBuilder: ca-certs
source: /etc/ssl/certs/ca-certificates.crt
target: /etc/ssl/certs/
- expose: 3000
+ expose: "3000"
entrypoint: /app/apps/workflows/app
diff --git a/apps/workflows/dofigen.yml b/apps/workflows/dofigen.yml
index 5795361b2..625c24a7e 100644
--- a/apps/workflows/dofigen.yml
+++ b/apps/workflows/dofigen.yml
@@ -30,6 +30,7 @@ builders:
- packages/notifications/pagerduty/package.json
- packages/notifications/slack/package.json
- packages/notifications/telegram/package.json
+ - packages/notifications/twillio-whatsapp/package.json
- packages/notifications/twillio-sms/package.json
- packages/notifications/webhook/package.json
- packages/regions/package.json
@@ -106,5 +107,5 @@ copy:
- fromBuilder: ca-certs
source: /etc/ssl/certs/ca-certificates.crt
target: /etc/ssl/certs/
-expose: 3000
+expose: "3000"
entrypoint: /app/apps/workflows/app
diff --git a/apps/workflows/package.json b/apps/workflows/package.json
index 1ec136118..c53ef502b 100644
--- a/apps/workflows/package.json
+++ b/apps/workflows/package.json
@@ -21,6 +21,7 @@
"@openstatus/notification-slack": "workspace:*",
"@openstatus/notification-telegram": "workspace:*",
"@openstatus/notification-twillio-sms": "workspace:*",
+ "@openstatus/notification-twillio-whatsapp": "workspace:*",
"@openstatus/notification-webhook": "workspace:*",
"@openstatus/regions": "workspace:*",
"@openstatus/tinybird": "workspace:*",
diff --git a/apps/workflows/src/checker/utils.ts b/apps/workflows/src/checker/utils.ts
index 413222fb1..d905920bd 100644
--- a/apps/workflows/src/checker/utils.ts
+++ b/apps/workflows/src/checker/utils.ts
@@ -44,6 +44,11 @@ import {
sendDegraded as sendSmsDegraded,
sendRecovery as sendSmsRecovery,
} from "@openstatus/notification-twillio-sms";
+import {
+ sendAlert as sendWhatsappAlert,
+ sendDegraded as sendWhatsappDegraded,
+ sendRecovery as sendWhatsappRecovery,
+} from "@openstatus/notification-twillio-whatsapp";
import {
sendAlert as sendWebhookAlert,
sendDegraded as sendWebhookDegraded,
@@ -117,6 +122,11 @@ export const providerToFunction = {
sendRecovery: sendWebhookRecovery,
sendDegraded: sendWebhookDegraded,
},
+ whatsapp: {
+ sendAlert: sendWhatsappAlert,
+ sendRecovery: sendWhatsappRecovery,
+ sendDegraded: sendWhatsappDegraded,
+ },
telegram: {
sendAlert: sendTelegramAlert,
sendRecovery: sendTelegramRecovery,
diff --git a/packages/api/package.json b/packages/api/package.json
index 7257ad0af..effd32665 100644
--- a/packages/api/package.json
+++ b/packages/api/package.json
@@ -14,6 +14,7 @@
"@openstatus/emails": "workspace:*",
"@openstatus/error": "workspace:*",
"@openstatus/notification-telegram": "workspace:*",
+ "@openstatus/notification-twillio-whatsapp": "workspace:*",
"@openstatus/regions": "workspace:*",
"@openstatus/tinybird": "workspace:*",
"@openstatus/upstash": "workspace:*",
diff --git a/packages/api/src/router/notification.ts b/packages/api/src/router/notification.ts
index 74598f216..198a4a4ff 100644
--- a/packages/api/src/router/notification.ts
+++ b/packages/api/src/router/notification.ts
@@ -12,11 +12,13 @@ import {
selectMonitorSchema,
selectNotificationSchema,
telegramDataSchema,
+ whatsappDataSchema,
} from "@openstatus/db/src/schema";
import { Events } from "@openstatus/analytics";
import { SchemaError } from "@openstatus/error";
import { sendTest as sendTelegramTest } from "@openstatus/notification-telegram";
+import { sendTest as sendWhatsAppTest } from "@openstatus/notification-twillio-whatsapp";
import { createTRPCRouter, protectedProcedure } from "../trpc";
export const notificationRouter = createTRPCRouter({
@@ -476,6 +478,18 @@ export const notificationRouter = createTRPCRouter({
return;
}
+ if (opts.input.provider === "whatsapp") {
+ const _data = whatsappDataSchema.safeParse(opts.input.data);
+ if (!_data.success) {
+ throw new TRPCError({
+ code: "BAD_REQUEST",
+ message: SchemaError.fromZod(_data.error, opts.input).message,
+ });
+ }
+ await sendWhatsAppTest({ phoneNumber: _data.data.whatsapp });
+
+ return;
+ }
throw new TRPCError({
code: "BAD_REQUEST",
diff --git a/packages/db/src/schema/notifications/constants.ts b/packages/db/src/schema/notifications/constants.ts
index 4d840ba82..fbc194e1d 100644
--- a/packages/db/src/schema/notifications/constants.ts
+++ b/packages/db/src/schema/notifications/constants.ts
@@ -1,11 +1,12 @@
export const notificationProvider = [
- "email",
"discord",
+ "email",
"ntfy",
"pagerduty",
"opsgenie",
"slack",
"sms",
- "webhook",
"telegram",
+ "webhook",
+ "whatsapp",
] as const;
diff --git a/packages/db/src/schema/notifications/validation.ts b/packages/db/src/schema/notifications/validation.ts
index 33b5e5c3e..861cd95cf 100644
--- a/packages/db/src/schema/notifications/validation.ts
+++ b/packages/db/src/schema/notifications/validation.ts
@@ -66,16 +66,21 @@ export const telegramDataSchema = z.object({
telegram: z.object({ chatId: z.string() }),
});
+export const whatsappDataSchema = z.object({
+ whatsapp: phoneSchema,
+});
+
export const NotificationDataSchema = z.union([
+ discordDataSchema,
emailDataSchema,
+ ntfyDataSchema,
+ opsgenieDataSchema,
+ pagerdutyDataSchema,
phoneDataSchema,
+ telegramDataSchema,
slackDataSchema,
- discordDataSchema,
- pagerdutyDataSchema,
- opsgenieDataSchema,
- ntfyDataSchema,
webhookDataSchema,
- telegramDataSchema,
+ whatsappDataSchema,
]);
export const InsertNotificationWithDataSchema = z.discriminatedUnion(
@@ -129,6 +134,12 @@ export const InsertNotificationWithDataSchema = z.discriminatedUnion(
data: webhookDataSchema,
}),
),
+ insertNotificationSchema.merge(
+ z.object({
+ provider: z.literal("whatsapp"),
+ data: whatsappDataSchema,
+ }),
+ ),
],
);
diff --git a/packages/db/src/schema/plan/config.ts b/packages/db/src/schema/plan/config.ts
index 4d045f281..619b8ef48 100644
--- a/packages/db/src/schema/plan/config.ts
+++ b/packages/db/src/schema/plan/config.ts
@@ -54,6 +54,7 @@ export const allPlans: Record<
"audit-log": false,
regions: [...FREE_FLY_REGIONS],
"private-locations": false,
+ whatsapp: false,
},
},
starter: {
@@ -93,6 +94,7 @@ export const allPlans: Record<
"audit-log": false,
regions: [...AVAILABLE_REGIONS],
"private-locations": false,
+ whatsapp: true,
},
},
team: {
@@ -132,6 +134,7 @@ export const allPlans: Record<
"audit-log": true,
regions: [...AVAILABLE_REGIONS],
"private-locations": true,
+ whatsapp: true,
},
},
};
diff --git a/packages/db/src/schema/plan/schema.ts b/packages/db/src/schema/plan/schema.ts
index d40e58f03..d20e0ac8b 100644
--- a/packages/db/src/schema/plan/schema.ts
+++ b/packages/db/src/schema/plan/schema.ts
@@ -39,6 +39,7 @@ export const limitsSchema = z.object({
notifications: z.boolean().default(true),
pagerduty: z.boolean().default(false),
opsgenie: z.boolean().default(false),
+ whatsapp: z.boolean().default(false),
sms: z.boolean().default(false),
"sms-limit": z.number().default(0),
"notification-channels": z.number().default(1),
diff --git a/packages/icons/src/index.tsx b/packages/icons/src/index.tsx
index a013b6a86..553ab2bb4 100644
--- a/packages/icons/src/index.tsx
+++ b/packages/icons/src/index.tsx
@@ -8,3 +8,4 @@ export * from "./fly";
export * from "./railway";
export * from "./koyeb";
export * from "./telegram";
+export * from "./whatsapp";
diff --git a/packages/icons/src/whatsapp.tsx b/packages/icons/src/whatsapp.tsx
new file mode 100644
index 000000000..1d4735756
--- /dev/null
+++ b/packages/icons/src/whatsapp.tsx
@@ -0,0 +1,15 @@
+export function WhatsappIcon(props: React.ComponentProps<"svg">) {
+ return (
+ <svg
+ role="img"
+ viewBox="0 0 24 24"
+ xmlns="http://www.w3.org/2000/svg"
+ stroke="currentColor"
+ fill="currentColor"
+ {...props}
+ >
+ <title>WhatsApp</title>
+ <path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z" />
+ </svg>
+ );
+}
diff --git a/packages/notifications/twillio-whatsapp/.env.example b/packages/notifications/twillio-whatsapp/.env.example
new file mode 100644
index 000000000..07a929433
--- /dev/null
+++ b/packages/notifications/twillio-whatsapp/.env.example
@@ -0,0 +1,2 @@
+TWILLIO_AUTH_TOKEN=your_auth_token
+TWILLIO_ACCOUNT_ID=your_account_id
diff --git a/packages/notifications/twillio-whatsapp/package.json b/packages/notifications/twillio-whatsapp/package.json
new file mode 100644
index 000000000..944ddb8e9
--- /dev/null
+++ b/packages/notifications/twillio-whatsapp/package.json
@@ -0,0 +1,21 @@
+{
+ "name": "@openstatus/notification-twillio-whatsapp",
+ "version": "0.0.0",
+ "main": "src/index.ts",
+ "scripts": {
+ "test": "bun test"
+ },
+ "dependencies": {
+ "@openstatus/db": "workspace:*",
+ "@t3-oss/env-core": "0.7.1",
+ "validator": "13.12.0",
+ "zod": "3.25.76"
+ },
+ "devDependencies": {
+ "@openstatus/tsconfig": "workspace:*",
+ "@types/node": "22.10.2",
+ "@types/validator": "13.12.0",
+ "bun-types": "1.3.1",
+ "typescript": "5.7.2"
+ }
+}
diff --git a/packages/notifications/twillio-whatsapp/src/env.ts b/packages/notifications/twillio-whatsapp/src/env.ts
new file mode 100644
index 000000000..49035cca7
--- /dev/null
+++ b/packages/notifications/twillio-whatsapp/src/env.ts
@@ -0,0 +1,30 @@
+import { createEnv } from "@t3-oss/env-core";
+import { z } from "zod";
+
+export const env = createEnv({
+ server: {
+ TWILLIO_AUTH_TOKEN: z.string(),
+ TWILLIO_ACCOUNT_ID: z.string(),
+ },
+
+ /**
+ * What object holds the environment variables at runtime. This is usually
+ * `process.env` or `import.meta.env`.
+ */
+ runtimeEnv: process.env,
+
+ /**
+ * By default, this library will feed the environment variables directly to
+ * the Zod validator.
+ *
+ * This means that if you have an empty string for a value that is supposed
+ * to be a number (e.g. `PORT=` in a ".env" file), Zod will incorrectly flag
+ * it as a type mismatch violation. Additionally, if you have an empty string
+ * for a value that is supposed to be a string with a default value (e.g.
+ * `DOMAIN=` in an ".env" file), the default value will never be applied.
+ *
+ * In order to solve these issues, we recommend that all new projects
+ * explicitly specify this option as true.
+ */
+ skipValidation: true,
+});
diff --git a/packages/notifications/twillio-whatsapp/src/index.test.ts b/packages/notifications/twillio-whatsapp/src/index.test.ts
new file mode 100644
index 000000000..7b680a79b
--- /dev/null
+++ b/packages/notifications/twillio-whatsapp/src/index.test.ts
@@ -0,0 +1,132 @@
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ jest,
+ spyOn,
+ test,
+} from "bun:test";
+import { selectNotificationSchema } from "@openstatus/db/src/schema";
+import { sendAlert, sendDegraded, sendRecovery } from "./index";
+
+describe("whatsapp Notifications", () => {
+ // biome-ignore lint/suspicious/noExplicitAny: <explanation>
+ let fetchMock: any = undefined;
+
+ beforeEach(() => {
+ // @ts-expect-error
+ fetchMock = spyOn(global, "fetch").mockImplementation(() =>
+ Promise.resolve(new Response(null, { status: 200 })),
+ );
+ });
+
+ afterEach(() => {
+ jest.resetAllMocks();
+ });
+
+ test("Send degraded", async () => {
+ const monitor = {
+ id: "monitor-1",
+ name: "API Health Check",
+ url: "https://api.example.com/health",
+ jobType: "http" as const,
+ periodicity: "5m" as const,
+ status: "active" as const, // or "down", "degraded"
+ createdAt: new Date(),
+ updatedAt: new Date(),
+ region: "us-east-1",
+ };
+
+ const a = {
+ id: 1,
+ name: "slack Notification",
+ provider: "slack",
+ workspaceId: 1,
+ createdAt: new Date(),
+ updatedAt: new Date(),
+ data: '{"whatsapp":"+33623456789"}',
+ };
+
+ const n = selectNotificationSchema.parse(a);
+ await sendDegraded({
+ // @ts-expect-error
+ monitor,
+ notification: n,
+ statusCode: 500,
+ message: "Something went wrong",
+ cronTimestamp: Date.now(),
+ });
+ expect(fetchMock).toHaveBeenCalled();
+ });
+
+ test("Send Recovered", async () => {
+ const monitor = {
+ id: "monitor-1",
+ name: "API Health Check",
+ url: "https://api.example.com/health",
+ jobType: "http" as const,
+ periodicity: "5m" as const,
+ status: "active" as const, // or "down", "degraded"
+ createdAt: new Date(),
+ updatedAt: new Date(),
+ region: "us-east-1",
+ };
+
+ const a = {
+ id: 1,
+ name: "slack Notification",
+ provider: "slack",
+ workspaceId: 1,
+ createdAt: new Date(),
+ updatedAt: new Date(),
+ data: '{"whatsapp":"+33623456789"}',
+ };
+
+ const n = selectNotificationSchema.parse(a);
+ await sendRecovery({
+ // @ts-expect-error
+ monitor,
+ notification: n,
+ statusCode: 500,
+ message: "Something went wrong",
+ cronTimestamp: Date.now(),
+ });
+ expect(fetchMock).toHaveBeenCalled();
+ });
+
+ test("Send Alert", async () => {
+ const monitor = {
+ id: "monitor-1",
+ name: "API Health Check",
+ url: "https://api.example.com/health",
+ jobType: "http" as const,
+ periodicity: "5m" as const,
+ status: "active" as const, // or "down", "degraded"
+ createdAt: new Date(),
+ updatedAt: new Date(),
+ region: "us-east-1",
+ };
+ const a = {
+ id: 1,
+ name: "slack Notification",
+ provider: "slack",
+ workspaceId: 1,
+ createdAt: new Date(),
+ updatedAt: new Date(),
+ data: '{"whatsapp":"+33623456789"}',
+ };
+
+ const n = selectNotificationSchema.parse(a);
+
+ await sendAlert({
+ // @ts-expect-error
+ monitor,
+ notification: n,
+ statusCode: 500,
+ message: "Something went wrong",
+ cronTimestamp: Date.now(),
+ });
+ expect(fetchMock).toHaveBeenCalled();
+ });
+});
diff --git a/packages/notifications/twillio-whatsapp/src/index.ts b/packages/notifications/twillio-whatsapp/src/index.ts
new file mode 100644
index 000000000..89ae4071b
--- /dev/null
+++ b/packages/notifications/twillio-whatsapp/src/index.ts
@@ -0,0 +1,175 @@
+import type { Monitor, Notification } from "@openstatus/db/src/schema";
+import { whatsappDataSchema } from "@openstatus/db/src/schema";
+import type { Region } from "@openstatus/db/src/schema/constants";
+import { env } from "./env";
+
+export const sendAlert = async ({
+ monitor,
+ notification,
+ statusCode,
+ message,
+ // biome-ignore lint/correctness/noUnusedVariables: <explanation>
+ incidentId,
+}: {
+ monitor: Monitor;
+ notification: Notification;
+ statusCode?: number;
+ message?: string;
+ incidentId?: string;
+ cronTimestamp: number;
+ latency?: number;
+ region?: Region;
+}) => {
+ const notificationData = whatsappDataSchema.parse(
+ JSON.parse(notification.data),
+ );
+ const contentVariables = JSON.stringify({ url: monitor.url });
+
+ const body = new FormData();
+ body.set("To", `whatsapp:${notificationData.whatsapp}`);
+ body.set("From", "whatsapp:+14807252613");
+ body.set("ContentSid", "HX8282106bfaecb7939e69f9c5564babe5");
+ body.set("ContentVariables", contentVariables);
+
+ try {
+ await fetch(
+ `https://api.twilio.com/2010-04-01/Accounts/${env.TWILLIO_ACCOUNT_ID}/Messages.json`,
+ {
+ method: "post",
+ body,
+ headers: {
+ Authorization: `Basic ${btoa(
+ `${env.TWILLIO_ACCOUNT_ID}:${env.TWILLIO_AUTH_TOKEN}`,
+ )}`,
+ },
+ },
+ );
+ } catch (err) {
+ console.log(err);
+ // Do something
+ }
+};
+
+export const sendRecovery = async ({
+ monitor,
+ notification,
+ // biome-ignore lint/correctness/noUnusedVariables: <explanation>
+ statusCode,
+ // biome-ignore lint/correctness/noUnusedVariables: <explanation>
+ message,
+ // biome-ignore lint/correctness/noUnusedVariables: <explanation>
+ incidentId,
+}: {
+ monitor: Monitor;
+ notification: Notification;
+ statusCode?: number;
+ message?: string;
+ incidentId?: string;
+ cronTimestamp: number;
+ latency?: number;
+ region?: Region;
+}) => {
+ const notificationData = whatsappDataSchema.parse(
+ JSON.parse(notification.data),
+ );
+ const contentVariables = JSON.stringify({ url: monitor.url });
+
+ const body = new FormData();
+ body.set("To", `whatsapp:${notificationData.whatsapp}`);
+ body.set("From", "whatsapp:+14807252613");
+ body.set("ContentSid", "HX8fdeb4201bed18ac8838b3c0135bbf28");
+ body.set("ContentVariables", contentVariables);
+
+ try {
+ await fetch(
+ `https://api.twilio.com/2010-04-01/Accounts/${env.TWILLIO_ACCOUNT_ID}/Messages.json`,
+ {
+ method: "post",
+ body,
+ headers: {
+ Authorization: `Basic ${btoa(
+ `${env.TWILLIO_ACCOUNT_ID}:${env.TWILLIO_AUTH_TOKEN}`,
+ )}`,
+ },
+ },
+ );
+ } catch (err) {
+ console.log(err);
+ // Do something
+ }
+};
+
+export const sendDegraded = async ({
+ monitor,
+ notification,
+ // biome-ignore lint/correctness/noUnusedVariables: <explanation>
+ statusCode,
+ // biome-ignore lint/correctness/noUnusedVariables: <explanation>
+ message,
+}: {
+ monitor: Monitor;
+ notification: Notification;
+ statusCode?: number;
+ message?: string;
+ incidentId?: string;
+ cronTimestamp: number;
+ latency?: number;
+ region?: Region;
+}) => {
+ const notificationData = whatsappDataSchema.parse(
+ JSON.parse(notification.data),
+ );
+ const contentVariables = JSON.stringify({ url: monitor.url });
+
+ const body = new FormData();
+ body.set("To", `whatsapp:${notificationData.whatsapp}`);
+ body.set("From", "whatsapp:+14807252613");
+ body.set("ContentSid", "HX35589f2e7ac8b8be63f4bd62a60e435f");
+ body.set("ContentVariables", contentVariables);
+
+ try {
+ await fetch(
+ `https://api.twilio.com/2010-04-01/Accounts/${env.TWILLIO_ACCOUNT_ID}/Messages.json`,
+ {
+ method: "post",
+ body,
+ headers: {
+ Authorization: `Basic ${btoa(
+ `${env.TWILLIO_ACCOUNT_ID}:${env.TWILLIO_AUTH_TOKEN}`,
+ )}`,
+ },
+ },
+ );
+ } catch (err) {
+ console.log(err);
+ // Do something
+ }
+};
+
+export const sendTest = async ({ phoneNumber }: { phoneNumber: string }) => {
+ const contentVariables = JSON.stringify({ url: "https://openstat.us" });
+ const body = new FormData();
+ body.set("To", `whatsapp:${phoneNumber}`);
+ body.set("ContentSid", "HX36ac9074ebda4376c7d6ddd1690b5291");
+ body.set("From", "whatsapp:+14807252613");
+ body.set("ContentVariables", contentVariables);
+
+ console.log("send data");
+ try {
+ await fetch(
+ `https://api.twilio.com/2010-04-01/Accounts/${env.TWILLIO_ACCOUNT_ID}/Messages.json`,
+ {
+ method: "post",
+ body,
+ headers: {
+ Authorization: `Basic ${btoa(
+ `${env.TWILLIO_ACCOUNT_ID}:${env.TWILLIO_AUTH_TOKEN}`,
+ )}`,
+ },
+ },
+ );
+ } catch (err) {
+ console.log(err);
+ // Do something
+ }
+};
diff --git a/packages/notifications/twillio-whatsapp/tsconfig.json b/packages/notifications/twillio-whatsapp/tsconfig.json
new file mode 100644
index 000000000..b4382e67e
--- /dev/null
+++ b/packages/notifications/twillio-whatsapp/tsconfig.json
@@ -0,0 +1,7 @@
+{
+ "extends": "@openstatus/tsconfig/nextjs.json",
+ "include": ["src", "*.ts"],
+ "compilerOptions": {
+ "types": ["bun-types"]
+ }
+}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 5f879ee2f..fe4432b30 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -110,6 +110,9 @@ importers:
'@openstatus/notification-telegram':
specifier: workspace:*
version: link:../../packages/notifications/telegram
+ '@openstatus/notification-twillio-whatsapp':
+ specifier: workspace:*
+ version: link:../../packages/notifications/twillio-whatsapp
'@openstatus/notification-webhook':
specifier: workspace:*
version: link:../../packages/notifications/webhook
@@ -1091,6 +1094,9 @@ importers:
'@openstatus/notification-twillio-sms':
specifier: workspace:*
version: link:../../packages/notifications/twillio-sms
+ '@openstatus/notification-twillio-whatsapp':
+ specifier: workspace:*
+ version: link:../../packages/notifications/twillio-whatsapp
'@openstatus/notification-webhook':
specifier: workspace:*
version: link:../../packages/notifications/webhook
@@ -1174,6 +1180,9 @@ importers:
'@openstatus/notification-telegram':
specifier: workspace:*
version: link:../notifications/telegram
+ '@openstatus/notification-twillio-whatsapp':
+ specifier: workspace:*
+ version: link:../notifications/twillio-whatsapp
'@openstatus/regions':
specifier: workspace:*
version: link:../regions
@@ -1642,6 +1651,37 @@ importers:
specifier: 5.7.2
version: 5.7.2
+ packages/notifications/twillio-whatsapp:
+ dependencies:
+ '@openstatus/db':
+ specifier: workspace:*
+ version: link:../../db
+ '@t3-oss/env-core':
+ specifier: 0.7.1
+ validator:
+ specifier: 13.12.0
+ version: 13.12.0
+ zod:
+ specifier: 3.25.76
+ version: 3.25.76
+ devDependencies:
+ '@openstatus/tsconfig':
+ specifier: workspace:*
+ version: link:../../tsconfig
+ '@types/node':
+ specifier: 22.10.2
+ version: 22.10.2
+ '@types/validator':
+ specifier: 13.12.0
+ version: 13.12.0
+ bun-types:
+ specifier: 1.3.1
+ version: 1.3.1(@types/[email protected])
+ typescript:
+ specifier: 5.7.2
+ version: 5.7.2
+
packages/notifications/webhook:
dependencies:
'@openstatus/db':
@@ -2704,7 +2744,6 @@ packages:
'@ericcornelissen/[email protected]':
resolution: {integrity: sha512-4pIMTa1nEFfMXitv7oaNEWOdM+zpOZavesa5GaiWTgda6Zk32CFGxjUp/iIaN0PwgUW1yTq/fztSjbpE8SLGZQ==}
engines: {node: '>=4'}
- deprecated: Support for this package will stop 2025-12-31
'@esbuild-kit/[email protected]':
resolution: {integrity: sha512-sPRAnw9CdSsRmEtnsl2WXWdyquogVpB3yZ3dgwJfe8zrOzTsV7cJvmwrKVa+0ma5BoiGJ+BoqkMvawbayKUsqQ==}
@@ -6832,7 +6871,6 @@ packages:
'@upstash/[email protected]':
resolution: {integrity: sha512-CIr657FZuK+IMuwcxkj3oCB6xKO+LMlHd4BL4J/Lwbpj6+5YHO+5ZcpdMIQhbcemthJcRtE0gDUfZEnrfb3Rjg==}
engines: {node: '>=10'}
- deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
'@upstash/[email protected]':
resolution: {integrity: sha512-aB/1yqMJTRyOt7Go2Db1ZIVnmTPpsc2KGY5jpLVcegNtjksaPTJF6fmITxos5HVvsQhS8IB3gvF/+gQfRQlPLQ==}
@@ -13385,7 +13423,7 @@ snapshots:
'@floating-ui/core': 1.7.3
'@floating-ui/utils': 0.2.10
dependencies:
'@floating-ui/dom': 1.7.4
react: 19.0.0
@@ -14540,9 +14578,9 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.1.9(@types/[email protected])
dependencies:
react: 19.0.0
react-dom: 19.0.0([email protected])
optionalDependencies:
@@ -14631,14 +14669,14 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.2.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.3
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
react: 19.0.0
@@ -14675,11 +14713,11 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.1.9(@types/[email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
react: 19.0.0
react-dom: 19.0.0([email protected])
@@ -14859,11 +14897,11 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.2.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.3
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-escape-keydown': 1.1.1(@types/[email protected])([email protected])
react: 19.0.0
@@ -14900,14 +14938,14 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.2.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.3
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
react: 19.0.0
react-dom: 19.0.0([email protected])
@@ -14959,10 +14997,10 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.1.9(@types/[email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
react: 19.0.0
react-dom: 19.0.0([email protected])
@@ -15091,22 +15129,22 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.2.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.3
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
aria-hidden: 1.2.6
@@ -15188,19 +15226,19 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.2.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.3
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
aria-hidden: 1.2.6
@@ -15270,13 +15308,13 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.2.2(@types/[email protected])
dependencies:
- '@floating-ui/react-dom': 2.1.6([email protected]([email protected]))([email protected])
+ '@floating-ui/react-dom': 2.1.6([email protected]([email protected]))([email protected])
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-rect': 1.1.1(@types/[email protected])([email protected])
@@ -15298,9 +15336,9 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.1.9(@types/[email protected])
dependencies:
'@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
react: 19.0.0
react-dom: 19.0.0([email protected])
@@ -15358,7 +15396,7 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.2.2(@types/[email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
@@ -15377,7 +15415,7 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.1.9(@types/[email protected])
dependencies:
'@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
react: 19.0.0
@@ -15512,15 +15550,15 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.2.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.3
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
react: 19.0.0
@@ -15717,15 +15755,15 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.2.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.3
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
react: 19.0.0
react-dom: 19.0.0([email protected])
@@ -15749,14 +15787,14 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.1.9(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.3
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
react: 19.0.0
react-dom: 19.0.0([email protected])
@@ -15775,10 +15813,10 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.1.9(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.3
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
react: 19.0.0
react-dom: 19.0.0([email protected])
@@ -15826,20 +15864,20 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.2.2(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.3
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
- '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
react: 19.0.0
react-dom: 19.0.0([email protected])
optionalDependencies:
@@ -16010,9 +16048,9 @@ snapshots:
'@types/react': 19.2.2
'@types/react-dom': 19.1.9(@types/[email protected])
dependencies:
react: 19.0.0
react-dom: 19.0.0([email protected])
optionalDependencies:
@@ -16153,13 +16191,13 @@ snapshots:
'@babel/traverse': 7.27.0
'@lottiefiles/dotlottie-react': 0.13.3([email protected])
'@radix-ui/colors': 3.0.0
- '@radix-ui/react-collapsible': 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
- '@radix-ui/react-dropdown-menu': 2.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-collapsible': 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dropdown-menu': 2.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
- '@radix-ui/react-toggle-group': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-toggle-group': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@types/node': 22.14.1
'@types/normalize-path': 3.0.2
'@types/react': 19.0.10
@@ -16168,7 +16206,7 @@ snapshots:
autoprefixer: 10.4.21([email protected])
clsx: 2.1.1
esbuild: 0.25.10
json5: 2.2.3
log-symbols: 4.1.0
module-punycode: [email protected]
@@ -16181,7 +16219,7 @@ snapshots:
react-dom: 19.0.0([email protected])
sharp: 0.34.4
socket.io-client: 4.8.1
source-map-js: 1.2.1
spamc: 0.0.5
stacktrace-parser: 0.1.11
@@ -19175,7 +19213,7 @@ snapshots:
dependencies:
motion-dom: 12.23.23
motion-utils: 12.23.6
@@ -22433,7 +22471,7 @@ snapshots:
react: 19.2.2
react-dom: 19.2.2([email protected])
dependencies:
react: 19.0.0
react-dom: 19.0.0([email protected])