update BEP typing for metadata

Signed-off-by: Frank Ye <franky@spotify.com>
This commit is contained in:
Frank Ye
2025-08-14 16:26:29 -04:00
parent 50319c04bb
commit 17b34e585f
+1 -4
View File
@@ -211,10 +211,7 @@ export type NotificationPayload = {
topic?: string;
scope?: string;
icon?: string;
metadata?: Array<{
type: string;
value: JsonValue;
}>;
metadata?: { [KMetadataKey in string]?: JsonValue };
};
export type Notification = {