MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / notify

Function notify

src/lib/adRewards.js:96–102  ·  view source on GitHub ↗
(title, message, type = "info")

Source from the content-addressed store, hash-verified

94}
95
96function notify(title, message, type = "info") {
97 toast(message, 4000);
98 window.acode?.pushNotification?.(title, message, {
99 icon: type === "success" ? "verified" : "notifications",
100 type,
101 });
102}
103
104function normalizeStatus(status) {
105 const fallback = getDefaultState();

Callers 2

refreshStateFunction · 0.70
watchOfferFunction · 0.70

Calls 1

pushNotificationMethod · 0.80

Tested by

no test coverage detected