From 44220b1e4c72dc82d7186fcb7ad785ea11920db6 Mon Sep 17 00:00:00 2001 From: LukasExists <91223726+lukasexists@users.noreply.github.com> Date: Wed, 19 Apr 2023 18:07:15 -0400 Subject: [PATCH] Update clockwork.js --- clockwork.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clockwork.js b/clockwork.js index 5084d99..0128341 100644 --- a/clockwork.js +++ b/clockwork.js @@ -15,9 +15,9 @@ class Clockwork { this.isEmbedded = (window !== window.parent); } installApp(url) { - window.parent.postMessage(["install_app","installApp",url,clockwork_my_id], "*"); + window.parent.postMessage(["installApp","installApp",url,clockwork_my_id], "*"); } - installTheme(url) { - window.parent.postMessage(["install_app","installApp",url,clockwork_my_id], "*"); + sendNotification(description) { + window.parent.postMessage(["notifications","sendNotification",description,clockwork_my_id], "*"); } }