19 lines
609 B
TypeScript
19 lines
609 B
TypeScript
// Module ID: 14706
|
|
// Function ID: 14707
|
|
// Name: generateSessionId
|
|
// Dependencies: [2]
|
|
|
|
// Module 14706 (generateSessionId)
|
|
import set from "set" /* 2 */;
|
|
|
|
const result = set.fileFinishedImporting("modules/video-qoe/utils/SessionManager.tsx");
|
|
const prototype = function SessionManager() {
|
|
return Object.create(new.target.prototype);
|
|
}.prototype;
|
|
prototype["generateSessionId"] = function generateSessionId() {
|
|
const timestamp = Date.now();
|
|
const str = Math.random();
|
|
return "discord-video-" + timestamp + "-" + Math.random().toString(36).substr(2, 9);
|
|
};
|
|
|
|
export const SessionManager = prototype;
|