Initial commit
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user