Initial commit

This commit is contained in:
hibna
2026-04-25 23:58:58 +03:00
commit 9d06660901
13 changed files with 528 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
// Runtime stand-in for `@source/presence-sdk` when bundling presences.
// definePresence is just identity; the extension's content-script runtime
// passes a PresenceContext to lifecycle methods, so the package itself only
// needs to export constants and a pass-through helper.
export const ActivityType = Object.freeze({
PLAYING: 0,
LISTENING: 2,
WATCHING: 3,
});
export function definePresence(def) {
return def;
}