UNPKG

@speckle/shared

Version:

Shared code between various Speckle JS packages

14 lines 599 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resolveDistinctId = void 0; exports.resolveMixpanelUserId = resolveMixpanelUserId; exports.resolveMixpanelServerId = resolveMixpanelServerId; const md5_js_1 = require("../utils/md5.js"); function resolveMixpanelUserId(email) { return '@' + (0, md5_js_1.md5)(email.toLowerCase()).toUpperCase(); } function resolveMixpanelServerId(serverHostname) { return (0, md5_js_1.md5)(serverHostname.toLowerCase()).toUpperCase(); } exports.resolveDistinctId = resolveMixpanelUserId; //# sourceMappingURL=tracking.js.map