Returns Promise<
{
notifications: {
commands?: string[];
cta?: { label: string; url: string };
frequency: "always" | "once" | "once_a_day" | "once_a_week";
id: string;
maxDate?: string;
maxVersion?: string;
message: string;
minDate?: string;
minVersion?: string;
ownerChannel: string;
surface?: string;
title?: string;
type: "error" | "info" | "warning";
}[];
},
>
A string with the notifications.
Fetch notifications from the CDN and chache them.