MCPcopy Create free account
hub / github.com/CommE2E/comm / createScriptViewer

Function createScriptViewer

keyserver/src/session/scripts.js:8–23  ·  view source on GitHub ↗
(userID: string)

Source from the content-addressed store, hash-verified

6// sessionID, a lot of things can go wrong when trying to use it with certain
7// functions.
8function createScriptViewer(userID: string): Viewer {
9 return new Viewer({
10 isSocket: true,
11 loggedIn: true,
12 id: userID,
13 platformDetails: null,
14 deviceToken: null,
15 userID,
16 cookieID: null,
17 cookiePassword: null,
18 cookieHash: null,
19 sessionID: null,
20 sessionInfo: null,
21 isScriptViewer: true,
22 });
23}
24
25export { createScriptViewer };

Callers 15

createCastSidebarFunction · 0.90
createThreadsFunction · 0.90
postPhorgeLeaderboardFunction · 0.90
createDailyUpdatesThreadFunction · 0.90
postMetricsFunction · 0.90
addStaffFunction · 0.90
createThreadsFunction · 0.90
createCommunityFunction · 0.90
moveThreadsFunction · 0.90
deleteTargetAccountFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected