create-mastra 1.37.0-alpha.0 → 1.37.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +93 -89
- package/package.json +2 -2
- package/dist/esm-Db8i8YTn.js +0 -1411
package/dist/index.js
CHANGED
|
@@ -3176,7 +3176,7 @@ var require_picocolors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3176
3176
|
module.exports = createColors();
|
|
3177
3177
|
module.exports.createColors = createColors;
|
|
3178
3178
|
}));
|
|
3179
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
3179
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/module.node.mjs
|
|
3180
3180
|
function createModulerModifier() {
|
|
3181
3181
|
const getModuleFromFileName = createGetModuleFromFilename();
|
|
3182
3182
|
return async (frames) => {
|
|
@@ -3205,7 +3205,7 @@ function createGetModuleFromFilename(basePath = process.argv[1] ? dirname$1(proc
|
|
|
3205
3205
|
function normalizeWindowsPath(path) {
|
|
3206
3206
|
return path.replace(/^[A-Z]:/, "").replace(/\\/g, "/");
|
|
3207
3207
|
}
|
|
3208
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
3208
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/types.mjs
|
|
3209
3209
|
var types_PostHogPersistedProperty = /*#__PURE__*/ function(PostHogPersistedProperty) {
|
|
3210
3210
|
PostHogPersistedProperty["AnonymousId"] = "anonymous_id";
|
|
3211
3211
|
PostHogPersistedProperty["DistinctId"] = "distinct_id";
|
|
@@ -3243,7 +3243,7 @@ var types_PostHogPersistedProperty = /*#__PURE__*/ function(PostHogPersistedProp
|
|
|
3243
3243
|
PostHogPersistedProperty["DeviceId"] = "device_id";
|
|
3244
3244
|
return PostHogPersistedProperty;
|
|
3245
3245
|
}({});
|
|
3246
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
3246
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/utils/string-utils.mjs
|
|
3247
3247
|
function safeJsonStringify(value) {
|
|
3248
3248
|
const ancestors = [];
|
|
3249
3249
|
return JSON.stringify(value, function(_key, replacementValue) {
|
|
@@ -3262,7 +3262,7 @@ function safeJsonStringify(value) {
|
|
|
3262
3262
|
return replacementValue;
|
|
3263
3263
|
}) ?? "null";
|
|
3264
3264
|
}
|
|
3265
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
3265
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/utils/type-utils.mjs
|
|
3266
3266
|
const nativeIsArray = Array.isArray;
|
|
3267
3267
|
const ObjProto = Object.prototype;
|
|
3268
3268
|
ObjProto.hasOwnProperty;
|
|
@@ -3307,7 +3307,7 @@ function isInstanceOf(candidate, base) {
|
|
|
3307
3307
|
return false;
|
|
3308
3308
|
}
|
|
3309
3309
|
}
|
|
3310
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
3310
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/utils/bot-detection.mjs
|
|
3311
3311
|
const DEFAULT_BLOCKED_UA_STRS = [
|
|
3312
3312
|
"amazonbot",
|
|
3313
3313
|
"amazonproductbot",
|
|
@@ -3408,7 +3408,7 @@ const isBlockedUA = function(ua, customBlockedUserAgents = []) {
|
|
|
3408
3408
|
UA_CACHE.set(key, result);
|
|
3409
3409
|
return result;
|
|
3410
3410
|
};
|
|
3411
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
3411
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/utils/number-utils.mjs
|
|
3412
3412
|
function clampToRange(value, min, max, logger, fallbackValue) {
|
|
3413
3413
|
if (min > max) {
|
|
3414
3414
|
logger.warn("min cannot be greater than max.");
|
|
@@ -3425,7 +3425,7 @@ function clampToRange(value, min, max, logger, fallbackValue) {
|
|
|
3425
3425
|
logger.warn(" must be a number. using max or fallback. max: " + max + ", fallback: " + fallbackValue);
|
|
3426
3426
|
return clampToRange(fallbackValue ?? max, min, max, logger);
|
|
3427
3427
|
}
|
|
3428
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
3428
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/utils/bucketed-rate-limiter.mjs
|
|
3429
3429
|
const ONE_DAY_IN_MS = 864e5;
|
|
3430
3430
|
function resolveExceptionRateLimiterConfig(config = {}) {
|
|
3431
3431
|
return {
|
|
@@ -3471,7 +3471,7 @@ var BucketedRateLimiter = class {
|
|
|
3471
3471
|
this._buckets = {};
|
|
3472
3472
|
}
|
|
3473
3473
|
};
|
|
3474
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
3474
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/vendor/uuidv7.mjs
|
|
3475
3475
|
/*! LICENSE: uuidv7.mjs.LICENSE.txt */
|
|
3476
3476
|
/**
|
|
3477
3477
|
* uuidv7: An experimental implementation of the proposed UUID Version 7
|
|
@@ -3633,7 +3633,7 @@ const getDefaultRandom = () => ({ nextUint32: () => 65536 * Math.trunc(65536 * M
|
|
|
3633
3633
|
let defaultGenerator;
|
|
3634
3634
|
const uuidv7 = () => uuidv7obj().toString();
|
|
3635
3635
|
const uuidv7obj = () => (defaultGenerator || (defaultGenerator = new V7Generator())).generate();
|
|
3636
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
3636
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/utils/promise-queue.mjs
|
|
3637
3637
|
var PromiseQueue = class {
|
|
3638
3638
|
add(promise) {
|
|
3639
3639
|
const promiseUUID = uuidv7();
|
|
@@ -3671,7 +3671,7 @@ var PromiseQueue = class {
|
|
|
3671
3671
|
this.nextId = 0;
|
|
3672
3672
|
}
|
|
3673
3673
|
};
|
|
3674
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
3674
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/utils/logger.mjs
|
|
3675
3675
|
function createConsole(consoleLike = console) {
|
|
3676
3676
|
return {
|
|
3677
3677
|
log: consoleLike.log.bind(consoleLike),
|
|
@@ -3710,7 +3710,7 @@ const passThrough = (fn) => fn();
|
|
|
3710
3710
|
function createLogger(prefix, maybeCall = passThrough) {
|
|
3711
3711
|
return _createLogger(prefix, maybeCall, createConsole());
|
|
3712
3712
|
}
|
|
3713
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
3713
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/utils/user-agent-utils.mjs
|
|
3714
3714
|
const MOBILE = "Mobile";
|
|
3715
3715
|
const TABLET = "Tablet";
|
|
3716
3716
|
const NINTENDO = "Nintendo";
|
|
@@ -3721,7 +3721,7 @@ const WINDOWS = "Windows";
|
|
|
3721
3721
|
"" + TABLET.toLowerCase();
|
|
3722
3722
|
new RegExp(XBOX, "i");
|
|
3723
3723
|
new RegExp(NINTENDO, "i"), new RegExp(PLAYSTATION, "i"), new RegExp(WINDOWS, "i");
|
|
3724
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
3724
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/utils/json-utils.mjs
|
|
3725
3725
|
const MAX_JSON_SAFE_VALUE_ITEMS = 1e3;
|
|
3726
3726
|
const MAX_JSON_SAFE_VALUE_NODES = 1e4;
|
|
3727
3727
|
const CIRCULAR_VALUE = "[Circular]";
|
|
@@ -3768,7 +3768,7 @@ function assignUserAttributes(target, source) {
|
|
|
3768
3768
|
}
|
|
3769
3769
|
return target;
|
|
3770
3770
|
}
|
|
3771
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
3771
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/utils/retry-after.mjs
|
|
3772
3772
|
const MAX_RETRY_AFTER_MS = 3e5;
|
|
3773
3773
|
const CLOCK_STEP_TOLERANCE_MS = 5e3;
|
|
3774
3774
|
function parseRetryAfterMs(value, now = Date.now()) {
|
|
@@ -3822,7 +3822,7 @@ var RetryAfterWindow = class {
|
|
|
3822
3822
|
this._installedAt = 0;
|
|
3823
3823
|
}
|
|
3824
3824
|
};
|
|
3825
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
3825
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/utils/index.mjs
|
|
3826
3826
|
const STRING_FORMAT = "utf8";
|
|
3827
3827
|
const UUID_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
3828
3828
|
function isValidUUID(value) {
|
|
@@ -3894,7 +3894,7 @@ function allSettled(promises) {
|
|
|
3894
3894
|
reason
|
|
3895
3895
|
}))));
|
|
3896
3896
|
}
|
|
3897
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
3897
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/chunk-ids.mjs
|
|
3898
3898
|
let parsedStackResults;
|
|
3899
3899
|
let lastPostHogChunkIds;
|
|
3900
3900
|
let lastNativeDebugIds;
|
|
@@ -3938,7 +3938,7 @@ function matchesSnapshot(chunkIds, keys, snapshot) {
|
|
|
3938
3938
|
if (!chunkIds || !snapshot) return chunkIds === snapshot;
|
|
3939
3939
|
return keys.length === Object.keys(snapshot).length && keys.every((key) => chunkIds[key] === snapshot[key]);
|
|
3940
3940
|
}
|
|
3941
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
3941
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/error-properties-builder.mjs
|
|
3942
3942
|
const MAX_EXCEPTIONS = 50;
|
|
3943
3943
|
const MAX_AGGREGATE_MEMBER_INSPECTIONS = 1e3;
|
|
3944
3944
|
const MAX_ERROR_PROTOTYPE_DEPTH = 100;
|
|
@@ -4166,13 +4166,13 @@ function createFrame(platform, filename, func, lineno, colno) {
|
|
|
4166
4166
|
if (!isUndefined(colno)) frame.colno = colno;
|
|
4167
4167
|
return frame;
|
|
4168
4168
|
}
|
|
4169
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4169
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/parsers/safari.mjs
|
|
4170
4170
|
const extractSafariExtensionDetails = (func, filename) => {
|
|
4171
4171
|
const isSafariExtension = -1 !== func.indexOf("safari-extension");
|
|
4172
4172
|
const isSafariWebExtension = -1 !== func.indexOf("safari-web-extension");
|
|
4173
4173
|
return isSafariExtension || isSafariWebExtension ? [-1 !== func.indexOf("@") ? func.split("@")[0] : "?", isSafariExtension ? `safari-extension:${filename}` : `safari-web-extension:${filename}`] : [func, filename];
|
|
4174
4174
|
};
|
|
4175
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4175
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/parsers/chrome.mjs
|
|
4176
4176
|
const chromeRegexNoFnName = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i;
|
|
4177
4177
|
const chromeRegex = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i;
|
|
4178
4178
|
const chromeEvalRegex = /\((\S*)(?::(\d+))(?::(\d+))\)/;
|
|
@@ -4196,7 +4196,7 @@ const chromeStackLineParser = (line, platform) => {
|
|
|
4196
4196
|
return createFrame(platform, filename, func, parts[3] ? +parts[3] : void 0, parts[4] ? +parts[4] : void 0);
|
|
4197
4197
|
}
|
|
4198
4198
|
};
|
|
4199
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4199
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/parsers/gecko.mjs
|
|
4200
4200
|
const geckoREgex = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i;
|
|
4201
4201
|
const geckoEvalRegex = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;
|
|
4202
4202
|
const geckoStackLineParser = (line, platform) => {
|
|
@@ -4217,7 +4217,7 @@ const geckoStackLineParser = (line, platform) => {
|
|
|
4217
4217
|
return createFrame(platform, filename, func, parts[4] ? +parts[4] : void 0, parts[5] ? +parts[5] : void 0);
|
|
4218
4218
|
}
|
|
4219
4219
|
};
|
|
4220
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4220
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/parsers/node.mjs
|
|
4221
4221
|
const FILENAME_MATCH = /^\s*[-]{4,}$/;
|
|
4222
4222
|
const FULL_MATCH = /at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;
|
|
4223
4223
|
const PROMISE_COMBINATOR = /^Promise\.(?:all|any)$/;
|
|
@@ -4284,7 +4284,7 @@ function filenameIsInApp(filename, isNative = false) {
|
|
|
4284
4284
|
function _parseIntOrUndefined(input) {
|
|
4285
4285
|
return parseInt(input || "", 10) || void 0;
|
|
4286
4286
|
}
|
|
4287
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4287
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/parsers/index.mjs
|
|
4288
4288
|
const WEBPACK_ERROR_REGEXP = /\(error: (.*)\)/;
|
|
4289
4289
|
const STACKTRACE_FRAME_LIMIT = 50;
|
|
4290
4290
|
const MAX_REPEATED_CYCLE_LENGTH = 10;
|
|
@@ -4408,7 +4408,7 @@ function createStackParser(platform, ...parsers) {
|
|
|
4408
4408
|
return reverseAndStripFrames(frames);
|
|
4409
4409
|
};
|
|
4410
4410
|
}
|
|
4411
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4411
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/coercers/error-coercer.mjs
|
|
4412
4412
|
var ErrorCoercer = class {
|
|
4413
4413
|
match(err) {
|
|
4414
4414
|
return isError(err);
|
|
@@ -4444,7 +4444,7 @@ var ErrorCoercer = class {
|
|
|
4444
4444
|
}
|
|
4445
4445
|
}
|
|
4446
4446
|
};
|
|
4447
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4447
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/coercers/string-coercer.mjs
|
|
4448
4448
|
const ERROR_TYPES_PATTERN = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;
|
|
4449
4449
|
var StringCoercer = class {
|
|
4450
4450
|
match(input) {
|
|
@@ -4470,7 +4470,7 @@ var StringCoercer = class {
|
|
|
4470
4470
|
return [type, value];
|
|
4471
4471
|
}
|
|
4472
4472
|
};
|
|
4473
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4473
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/types.mjs
|
|
4474
4474
|
const severityLevels = [
|
|
4475
4475
|
"fatal",
|
|
4476
4476
|
"error",
|
|
@@ -4479,7 +4479,7 @@ const severityLevels = [
|
|
|
4479
4479
|
"info",
|
|
4480
4480
|
"debug"
|
|
4481
4481
|
];
|
|
4482
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4482
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/coercers/utils.mjs
|
|
4483
4483
|
function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
4484
4484
|
const keys = Object.keys(err);
|
|
4485
4485
|
keys.sort();
|
|
@@ -4493,7 +4493,7 @@ function extractExceptionKeysForMessage(err, maxLength = 40) {
|
|
|
4493
4493
|
}
|
|
4494
4494
|
return "";
|
|
4495
4495
|
}
|
|
4496
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4496
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/coercers/object-coercer.mjs
|
|
4497
4497
|
var ObjectCoercer = class {
|
|
4498
4498
|
match(candidate) {
|
|
4499
4499
|
return "object" == typeof candidate && null !== candidate;
|
|
@@ -4551,7 +4551,7 @@ var ObjectCoercer = class {
|
|
|
4551
4551
|
}
|
|
4552
4552
|
}
|
|
4553
4553
|
};
|
|
4554
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4554
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/coercers/event-coercer.mjs
|
|
4555
4555
|
var EventCoercer = class {
|
|
4556
4556
|
match(err) {
|
|
4557
4557
|
return isEvent(err);
|
|
@@ -4566,7 +4566,7 @@ var EventCoercer = class {
|
|
|
4566
4566
|
};
|
|
4567
4567
|
}
|
|
4568
4568
|
};
|
|
4569
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4569
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/coercers/primitive-coercer.mjs
|
|
4570
4570
|
var PrimitiveCoercer = class {
|
|
4571
4571
|
match(candidate) {
|
|
4572
4572
|
return isPrimitive(candidate);
|
|
@@ -4580,7 +4580,7 @@ var PrimitiveCoercer = class {
|
|
|
4580
4580
|
};
|
|
4581
4581
|
}
|
|
4582
4582
|
};
|
|
4583
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4583
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/utils.mjs
|
|
4584
4584
|
var ReduceableCache = class {
|
|
4585
4585
|
constructor(_maxSize) {
|
|
4586
4586
|
this._maxSize = _maxSize;
|
|
@@ -4603,13 +4603,13 @@ var ReduceableCache = class {
|
|
|
4603
4603
|
}
|
|
4604
4604
|
}
|
|
4605
4605
|
};
|
|
4606
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4606
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/exception-steps.mjs
|
|
4607
4607
|
const EXCEPTION_STEP_INTERNAL_FIELDS = {
|
|
4608
4608
|
MESSAGE: "$message",
|
|
4609
4609
|
TIMESTAMP: "$timestamp"
|
|
4610
4610
|
};
|
|
4611
4611
|
EXCEPTION_STEP_INTERNAL_FIELDS.MESSAGE, EXCEPTION_STEP_INTERNAL_FIELDS.TIMESTAMP;
|
|
4612
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4612
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/error-tracking/release.mjs
|
|
4613
4613
|
function getInjectedReleaseId() {
|
|
4614
4614
|
if ("u" > typeof process) {
|
|
4615
4615
|
const fromEnvironment = process.env.POSTHOG_RELEASE_ID?.trim();
|
|
@@ -4618,7 +4618,7 @@ function getInjectedReleaseId() {
|
|
|
4618
4618
|
const injected = globalThis._posthogReleaseId;
|
|
4619
4619
|
return "string" == typeof injected && injected.length > 0 ? injected : void 0;
|
|
4620
4620
|
}
|
|
4621
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4621
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/featureFlagUtils.mjs
|
|
4622
4622
|
const normalizeFlagsResponse = (flagsResponse) => {
|
|
4623
4623
|
if ("flags" in flagsResponse) {
|
|
4624
4624
|
const featureFlags = getFlagValuesFromFlags(flagsResponse.flags);
|
|
@@ -4736,7 +4736,7 @@ const minimizeFlagCalledEventProperties = (properties, transportKeys = []) => {
|
|
|
4736
4736
|
transportKeys.forEach(copyKey);
|
|
4737
4737
|
return minimal;
|
|
4738
4738
|
};
|
|
4739
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4739
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/eventemitter.mjs
|
|
4740
4740
|
var SimpleEventEmitter = class {
|
|
4741
4741
|
constructor() {
|
|
4742
4742
|
this.events = {};
|
|
@@ -4754,7 +4754,7 @@ var SimpleEventEmitter = class {
|
|
|
4754
4754
|
for (const listener of this.events["*"] || []) listener(event, payload);
|
|
4755
4755
|
}
|
|
4756
4756
|
};
|
|
4757
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4757
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/gzip.mjs
|
|
4758
4758
|
function isGzipSupported() {
|
|
4759
4759
|
return "CompressionStream" in globalThis && "TextEncoder" in globalThis && "Response" in globalThis && "function" == typeof Response.prototype.blob;
|
|
4760
4760
|
}
|
|
@@ -4813,7 +4813,7 @@ async function gzipCompress$1(input, isDebug = true, options) {
|
|
|
4813
4813
|
return null;
|
|
4814
4814
|
}
|
|
4815
4815
|
}
|
|
4816
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
4816
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/posthog-core-stateless.mjs
|
|
4817
4817
|
var PostHogFetchHttpError = class extends Error {
|
|
4818
4818
|
constructor(response, reqByteLength, responseBodyDeadline, abortController) {
|
|
4819
4819
|
super("HTTP error while fetching PostHog: status=" + response.status + ", reqByteLength=" + reqByteLength), this.response = response, this.reqByteLength = reqByteLength, this.responseBodyDeadline = responseBodyDeadline, this.abortController = abortController, this.name = "PostHogFetchHttpError", this._bodyReadTimedOut = false;
|
|
@@ -4936,7 +4936,10 @@ var PostHogCoreStateless = class {
|
|
|
4936
4936
|
], createDefaultStackParser());
|
|
4937
4937
|
}
|
|
4938
4938
|
getEvaluationRuntime() {}
|
|
4939
|
-
|
|
4939
|
+
get apiKey() {
|
|
4940
|
+
return this.projectToken;
|
|
4941
|
+
}
|
|
4942
|
+
constructor(projectToken, options = {}) {
|
|
4940
4943
|
this.flushPromise = null;
|
|
4941
4944
|
this.pendingFlushPromise = null;
|
|
4942
4945
|
this.flushPromises = /* @__PURE__ */ new Set();
|
|
@@ -4945,12 +4948,12 @@ var PostHogCoreStateless = class {
|
|
|
4945
4948
|
this.promiseQueue = new PromiseQueue();
|
|
4946
4949
|
this._events = new SimpleEventEmitter();
|
|
4947
4950
|
this._isInitialized = false;
|
|
4948
|
-
const
|
|
4951
|
+
const normalizedProjectToken = "string" == typeof projectToken ? projectToken.trim() : "";
|
|
4949
4952
|
const normalizedHost = "string" == typeof options.host ? options.host.trim() : "";
|
|
4950
|
-
const
|
|
4953
|
+
const missingProjectToken = !normalizedProjectToken;
|
|
4951
4954
|
this._logger = createLogger("[PostHog]", this.logMsgIfDebug.bind(this));
|
|
4952
|
-
if (
|
|
4953
|
-
this.
|
|
4955
|
+
if (missingProjectToken) this._logger.error("You must pass your PostHog project token. The client will be disabled.");
|
|
4956
|
+
this.projectToken = normalizedProjectToken;
|
|
4954
4957
|
this.host = removeTrailingSlash(normalizedHost || "https://us.i.posthog.com");
|
|
4955
4958
|
this.flushAt = options.flushAt ? Math.max(options.flushAt, 1) : 20;
|
|
4956
4959
|
this.maxBatchSize = Math.max(this.flushAt, options.maxBatchSize ?? 100);
|
|
@@ -4969,7 +4972,7 @@ var PostHogCoreStateless = class {
|
|
|
4969
4972
|
this.featureFlagsRequestMaxRetries = options.featureFlagsRequestMaxRetries ?? 1;
|
|
4970
4973
|
this.remoteConfigRequestTimeoutMs = options.remoteConfigRequestTimeoutMs ?? 3e3;
|
|
4971
4974
|
this.disableGeoip = options.disableGeoip ?? true;
|
|
4972
|
-
this.disabled = (options.disabled ?? false) ||
|
|
4975
|
+
this.disabled = (options.disabled ?? false) || missingProjectToken;
|
|
4973
4976
|
this.historicalMigration = options?.historicalMigration ?? false;
|
|
4974
4977
|
this._initPromise = Promise.resolve();
|
|
4975
4978
|
this._isInitialized = true;
|
|
@@ -5141,7 +5144,7 @@ var PostHogCoreStateless = class {
|
|
|
5141
5144
|
let host = this.host;
|
|
5142
5145
|
if ("https://us.i.posthog.com" === host) host = "https://us-assets.i.posthog.com";
|
|
5143
5146
|
else if ("https://eu.i.posthog.com" === host) host = "https://eu-assets.i.posthog.com";
|
|
5144
|
-
const url = `${host}/array/${this.
|
|
5147
|
+
const url = `${host}/array/${this.projectToken}/config`;
|
|
5145
5148
|
const fetchOptions = {
|
|
5146
5149
|
method: "GET",
|
|
5147
5150
|
headers: {
|
|
@@ -5162,7 +5165,7 @@ var PostHogCoreStateless = class {
|
|
|
5162
5165
|
const configParam = fetchConfig ? "&config=true" : "";
|
|
5163
5166
|
const url = `${this.host}/flags/?v=2${configParam}`;
|
|
5164
5167
|
const requestData = {
|
|
5165
|
-
token: this.
|
|
5168
|
+
token: this.projectToken,
|
|
5166
5169
|
distinct_id: distinctId,
|
|
5167
5170
|
groups,
|
|
5168
5171
|
person_properties: personProperties,
|
|
@@ -5292,7 +5295,7 @@ var PostHogCoreStateless = class {
|
|
|
5292
5295
|
this._logger.info("Loading surveys is disabled.");
|
|
5293
5296
|
return [];
|
|
5294
5297
|
}
|
|
5295
|
-
const url = `${this.host}/api/surveys/?token=${this.
|
|
5298
|
+
const url = `${this.host}/api/surveys/?token=${this.projectToken}`;
|
|
5296
5299
|
const fetchOptions = {
|
|
5297
5300
|
method: "GET",
|
|
5298
5301
|
headers: {
|
|
@@ -5497,7 +5500,7 @@ var PostHogCoreStateless = class {
|
|
|
5497
5500
|
}
|
|
5498
5501
|
async sendBatch(batchMessages, retryOptions, route = DEFAULT_QUEUE_ROUTE) {
|
|
5499
5502
|
const data = {
|
|
5500
|
-
api_key: this.
|
|
5503
|
+
api_key: this.projectToken,
|
|
5501
5504
|
batch: batchMessages.map((message) => {
|
|
5502
5505
|
if (!message) return message;
|
|
5503
5506
|
const timestamp = this.normalizeTimestampForWire(message.timestamp);
|
|
@@ -5606,7 +5609,7 @@ var PostHogCoreStateless = class {
|
|
|
5606
5609
|
measuredLocally: true
|
|
5607
5610
|
};
|
|
5608
5611
|
}
|
|
5609
|
-
const url = "bearer" === auth ? `${this.host}/i/v1/${path}` : `${this.host}/i/v1/${path}?token=${encodeURIComponent(this.
|
|
5612
|
+
const url = "bearer" === auth ? `${this.host}/i/v1/${path}` : `${this.host}/i/v1/${path}?token=${encodeURIComponent(this.projectToken)}`;
|
|
5610
5613
|
const gzippedPayload = this.disableCompression ? null : await this.compressPayload(serialized);
|
|
5611
5614
|
const body = gzippedPayload || serialized;
|
|
5612
5615
|
const fetchOptions = {
|
|
@@ -5614,7 +5617,7 @@ var PostHogCoreStateless = class {
|
|
|
5614
5617
|
headers: {
|
|
5615
5618
|
...this.getCustomHeaders(),
|
|
5616
5619
|
"Content-Type": "application/json",
|
|
5617
|
-
..."bearer" === auth && { Authorization: `Bearer ${this.
|
|
5620
|
+
..."bearer" === auth && { Authorization: `Bearer ${this.projectToken}` },
|
|
5618
5621
|
...null !== gzippedPayload && { "Content-Encoding": "gzip" }
|
|
5619
5622
|
},
|
|
5620
5623
|
body
|
|
@@ -5778,7 +5781,7 @@ new RegExp(/[a-z][a-z0-9+.-]{0,63}:[^\s<>"]+/gi.source, "i");
|
|
|
5778
5781
|
const URL_AUTHORITY_SEARCH = /[a-z][a-z0-9+.-]{0,63}:\/\//i;
|
|
5779
5782
|
new RegExp(`^${URL_AUTHORITY_SEARCH.source}`, "i");
|
|
5780
5783
|
new RegExp(URL_AUTHORITY_SEARCH.source, "gi");
|
|
5781
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
5784
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/featureFlagLocalEvaluation.mjs
|
|
5782
5785
|
const NULL_VALUES_ALLOWED_OPERATORS = [
|
|
5783
5786
|
"exact",
|
|
5784
5787
|
"is_not",
|
|
@@ -6347,7 +6350,7 @@ function resolveFeatureFlagPayload(payloads, flagValue) {
|
|
|
6347
6350
|
const payload = payloads["boolean" == typeof flagValue ? flagValue.toString() : flagValue] || null;
|
|
6348
6351
|
return null == payload ? null : parsePayload(payload);
|
|
6349
6352
|
}
|
|
6350
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
6353
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/utils/otlp-any-value.mjs
|
|
6351
6354
|
const INT64_RANGE_LIMIT = 0x8000000000000000;
|
|
6352
6355
|
const INT64_RANGE_LIMIT_DECIMAL = "9223372036854775808";
|
|
6353
6356
|
const propertyIsEnumerable = Object.prototype.propertyIsEnumerable;
|
|
@@ -6458,7 +6461,7 @@ function encodeKeyValueList(attrs, logger, state, depth) {
|
|
|
6458
6461
|
}
|
|
6459
6462
|
return result;
|
|
6460
6463
|
}
|
|
6461
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
6464
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/utils/otlp-resource.mjs
|
|
6462
6465
|
function buildOtlpResourceAttributes(config, sdkName, sdkVersion) {
|
|
6463
6466
|
return {
|
|
6464
6467
|
...assignUserAttributes({}, config.resourceAttributes),
|
|
@@ -6536,7 +6539,7 @@ function osResourceAttributes(name, version) {
|
|
|
6536
6539
|
number: 21
|
|
6537
6540
|
}
|
|
6538
6541
|
}).info;
|
|
6539
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
6542
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/utils/flush-timer.mjs
|
|
6540
6543
|
var FlushTimer = class {
|
|
6541
6544
|
constructor(_onFire) {
|
|
6542
6545
|
this._onFire = _onFire;
|
|
@@ -6573,7 +6576,7 @@ function backoffDelayMs(baseMs, failures, jitter, maxMs) {
|
|
|
6573
6576
|
const delay = baseMs * 2 ** Math.min(Math.max(0, failures - 1), 6);
|
|
6574
6577
|
return Math.round((void 0 === maxMs ? delay : Math.min(delay, Math.max(maxMs, baseMs))) * jitter);
|
|
6575
6578
|
}
|
|
6576
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
6579
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/traces/ids.mjs
|
|
6577
6580
|
const TRACE_ID_BYTES = 16;
|
|
6578
6581
|
const SPAN_ID_BYTES = 8;
|
|
6579
6582
|
const TRACE_ID_HEX = 32;
|
|
@@ -6615,7 +6618,7 @@ function isValidTraceId(value) {
|
|
|
6615
6618
|
function isValidSpanId(value) {
|
|
6616
6619
|
return isValidHexId(value, SPAN_ID_HEX, INVALID_SPAN_ID);
|
|
6617
6620
|
}
|
|
6618
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
6621
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/traces/traceparent.mjs
|
|
6619
6622
|
const TRACEPARENT_RE = /^([0-9a-f]{2})-([0-9a-f]{32})-([0-9a-f]{16})-([0-9a-f]{2})(-.*)?$/;
|
|
6620
6623
|
function parseTraceparent(value) {
|
|
6621
6624
|
const fields = matchTraceparent(value);
|
|
@@ -6674,7 +6677,7 @@ function trimToLength(members) {
|
|
|
6674
6677
|
while (kept.length && joinedLength() > TRACESTATE_MAX_LENGTH) kept.pop();
|
|
6675
6678
|
return kept.length ? kept.join(",") : void 0;
|
|
6676
6679
|
}
|
|
6677
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
6680
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/metrics/metrics-utils.mjs
|
|
6678
6681
|
const DEFAULT_HISTOGRAM_BOUNDS = [
|
|
6679
6682
|
0,
|
|
6680
6683
|
5,
|
|
@@ -6719,7 +6722,7 @@ function buildOtlpMetricsPayload(metrics, resourceAttributes, scopeName, scopeVe
|
|
|
6719
6722
|
}]
|
|
6720
6723
|
}] };
|
|
6721
6724
|
}
|
|
6722
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
6725
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/metrics/config.mjs
|
|
6723
6726
|
const DEFAULT_FLUSH_INTERVAL_MS$1 = 1e4;
|
|
6724
6727
|
const DEFAULT_MAX_SERIES_PER_FLUSH = 1e3;
|
|
6725
6728
|
function resolveMetricsConfig(config) {
|
|
@@ -6734,7 +6737,7 @@ function resolveMetricsConfig(config) {
|
|
|
6734
6737
|
maxSeriesPerFlush: config?.maxSeriesPerFlush ?? DEFAULT_MAX_SERIES_PER_FLUSH
|
|
6735
6738
|
};
|
|
6736
6739
|
}
|
|
6737
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
6740
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/metrics/index.mjs
|
|
6738
6741
|
const OTLP_TEMPORALITY_DELTA = 1;
|
|
6739
6742
|
var PostHogMetrics = class {
|
|
6740
6743
|
constructor(_instance, _config, _logger) {
|
|
@@ -7058,7 +7061,7 @@ function toOtlpExemplars(exemplar) {
|
|
|
7058
7061
|
spanId: exemplar.spanId
|
|
7059
7062
|
}] };
|
|
7060
7063
|
}
|
|
7061
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
7064
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/traces/sanitize.mjs
|
|
7062
7065
|
const FALLBACK_SPAN_NAME = "unknown";
|
|
7063
7066
|
const MAX_TIMESTAMP_MS = 9223372036854;
|
|
7064
7067
|
const MIN_TIMESTAMP_MS = 0;
|
|
@@ -7101,7 +7104,7 @@ function resolveSuppliedTime(value, derived, label, logger) {
|
|
|
7101
7104
|
}
|
|
7102
7105
|
return supplied;
|
|
7103
7106
|
}
|
|
7104
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
7107
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/traces/span.mjs
|
|
7105
7108
|
function monotonicNow() {
|
|
7106
7109
|
const perf = globalThis.performance;
|
|
7107
7110
|
return "function" == typeof perf?.now ? perf.now() : void 0;
|
|
@@ -7536,7 +7539,7 @@ function describeError(error) {
|
|
|
7536
7539
|
};
|
|
7537
7540
|
}
|
|
7538
7541
|
}
|
|
7539
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
7542
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/traces/otlp.mjs
|
|
7540
7543
|
const SPAN_KIND_TO_OTLP = {
|
|
7541
7544
|
internal: 1,
|
|
7542
7545
|
server: 2,
|
|
@@ -7629,7 +7632,7 @@ function buildOtlpTracesPayload(spans, resourceAttributes, scopeName, scopeVersi
|
|
|
7629
7632
|
}]
|
|
7630
7633
|
}] };
|
|
7631
7634
|
}
|
|
7632
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
7635
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/traces/index.mjs
|
|
7633
7636
|
const MAX_RETRIES_PER_BATCH = 8;
|
|
7634
7637
|
function clockNow() {
|
|
7635
7638
|
return monotonicNow() ?? Date.now();
|
|
@@ -8122,7 +8125,7 @@ var PostHogTraces = class {
|
|
|
8122
8125
|
return Math.max(backoffDelayMs(this._config.flushIntervalMs, this._consecutiveFlushFailures, this._flushJitter, MAX_FLUSH_BACKOFF_MS), this._retryAfter.remainingMs());
|
|
8123
8126
|
}
|
|
8124
8127
|
};
|
|
8125
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
8128
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/traces/context.mjs
|
|
8126
8129
|
var SyncSpanContextManager = class {
|
|
8127
8130
|
active() {
|
|
8128
8131
|
return this._active;
|
|
@@ -8137,7 +8140,7 @@ var SyncSpanContextManager = class {
|
|
|
8137
8140
|
}
|
|
8138
8141
|
}
|
|
8139
8142
|
};
|
|
8140
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.
|
|
8143
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@posthog/core/1.61.1/46837a55d21f7d7d7c995d295adf5adcdd769cc0c6559b49515dad1b2be84490/node_modules/@posthog/core/dist/traces/config.mjs
|
|
8141
8144
|
const DEFAULT_FLUSH_INTERVAL_MS = 5e3;
|
|
8142
8145
|
const DEFAULT_MAX_EXPORT_BATCH_SIZE = 512;
|
|
8143
8146
|
const DEFAULT_MAX_QUEUE_SIZE = 2048;
|
|
@@ -8193,7 +8196,7 @@ function resolveTracesConfig(config, hostResourceAttributes, logger) {
|
|
|
8193
8196
|
maxSpanAgeMs: positiveInteger(config?.maxSpanAgeMs, DEFAULT_MAX_SPAN_AGE_MS)
|
|
8194
8197
|
};
|
|
8195
8198
|
}
|
|
8196
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
8199
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/context-lines.node.mjs
|
|
8197
8200
|
const LRU_FILE_CONTENTS_CACHE = new ReduceableCache(25);
|
|
8198
8201
|
const LRU_FILE_CONTENTS_FS_READ_FAILED = new ReduceableCache(20);
|
|
8199
8202
|
const DEFAULT_LINES_OF_CONTEXT = 7;
|
|
@@ -8422,7 +8425,7 @@ function snipLine(line, colno) {
|
|
|
8422
8425
|
if (end < lineLength) newLine += "...";
|
|
8423
8426
|
return newLine;
|
|
8424
8427
|
}
|
|
8425
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
8428
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/extensions/error-tracking/modifiers/relative-path.node.mjs
|
|
8426
8429
|
function createRelativePathModifier(basePath = process.cwd()) {
|
|
8427
8430
|
const isWindows = "\\" === sep;
|
|
8428
8431
|
const toUnix = (p) => isWindows ? p.replace(/\\/g, "/") : p;
|
|
@@ -8434,9 +8437,9 @@ function createRelativePathModifier(basePath = process.cwd()) {
|
|
|
8434
8437
|
return frames;
|
|
8435
8438
|
};
|
|
8436
8439
|
}
|
|
8437
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
8438
|
-
const version$1 = "5.57.
|
|
8439
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
8440
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/version.mjs
|
|
8441
|
+
const version$1 = "5.57.2";
|
|
8442
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/types.mjs
|
|
8440
8443
|
const FeatureFlagError = {
|
|
8441
8444
|
ERRORS_WHILE_COMPUTING: "errors_while_computing_flags",
|
|
8442
8445
|
FLAG_MISSING: "flag_missing",
|
|
@@ -8444,7 +8447,7 @@ const FeatureFlagError = {
|
|
|
8444
8447
|
QUOTA_LIMITED: "quota_limited",
|
|
8445
8448
|
UNKNOWN_ERROR: "unknown_error"
|
|
8446
8449
|
};
|
|
8447
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
8450
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/feature-flag-evaluations.mjs
|
|
8448
8451
|
var FeatureFlagEvaluations = class FeatureFlagEvaluations {
|
|
8449
8452
|
constructor(init) {
|
|
8450
8453
|
this._host = init.host;
|
|
@@ -8565,7 +8568,7 @@ var FeatureFlagEvaluations = class FeatureFlagEvaluations {
|
|
|
8565
8568
|
});
|
|
8566
8569
|
}
|
|
8567
8570
|
};
|
|
8568
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
8571
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/extensions/feature-flags/feature-flags.mjs
|
|
8569
8572
|
const SIXTY_SECONDS = 6e4;
|
|
8570
8573
|
function normalizeEvaluationRuntime(value) {
|
|
8571
8574
|
return "client" === value || "server" === value ? value : "all";
|
|
@@ -9265,7 +9268,7 @@ async function matchPropertyGroup(propertyGroup, propertyValues, cohortPropertie
|
|
|
9265
9268
|
if (inconclusiveReason) throw preserveRegexUncertainty(new InconclusiveMatchError("can't match cohort without a given cohort property value", inconclusiveReason), regexError);
|
|
9266
9269
|
return "AND" === propertyGroupType;
|
|
9267
9270
|
}
|
|
9268
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
9271
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/extensions/error-tracking/autocapture.mjs
|
|
9269
9272
|
const UNHANDLED_REJECTION_OPTION_NAMES = ["--unhandled-rejections", "--unhandled_rejections"];
|
|
9270
9273
|
const UNHANDLED_REJECTION_MODES = /* @__PURE__ */ new Set([
|
|
9271
9274
|
"throw",
|
|
@@ -9341,7 +9344,7 @@ function addUnhandledRejectionListener(captureFn, mode = STARTUP_UNHANDLED_REJEC
|
|
|
9341
9344
|
} });
|
|
9342
9345
|
});
|
|
9343
9346
|
}
|
|
9344
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
9347
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/extensions/error-tracking/index.mjs
|
|
9345
9348
|
const SHUTDOWN_TIMEOUT = 2e3;
|
|
9346
9349
|
var error_tracking_ErrorTracking = class error_tracking_ErrorTracking {
|
|
9347
9350
|
constructor(client, options, _logger) {
|
|
@@ -9402,13 +9405,14 @@ var error_tracking_ErrorTracking = class error_tracking_ErrorTracking {
|
|
|
9402
9405
|
this._rateLimiter.stop();
|
|
9403
9406
|
}
|
|
9404
9407
|
};
|
|
9405
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
9408
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/extensions/error-tracking/trace-context.mjs
|
|
9406
9409
|
const TRACE_ID_PATTERN = /^[0-9a-f]{32}$/i;
|
|
9407
9410
|
const SPAN_ID_PATTERN = /^[0-9a-f]{16}$/i;
|
|
9408
|
-
|
|
9411
|
+
const OTEL_API_GLOBAL_KEY = Symbol.for("opentelemetry.js.api.1");
|
|
9412
|
+
const SPAN_CONTEXT_KEY = Symbol.for("OpenTelemetry Context Key SPAN");
|
|
9409
9413
|
async function getActiveTraceProperties() {
|
|
9410
9414
|
try {
|
|
9411
|
-
const spanContext = (
|
|
9415
|
+
const spanContext = (globalThis[OTEL_API_GLOBAL_KEY]?.context?.active().getValue(SPAN_CONTEXT_KEY))?.spanContext();
|
|
9412
9416
|
const traceId = spanContext?.traceId;
|
|
9413
9417
|
const spanId = spanContext?.spanId;
|
|
9414
9418
|
if ("string" == typeof traceId && "string" == typeof spanId && TRACE_ID_PATTERN.test(traceId) && SPAN_ID_PATTERN.test(spanId) && !/^0+$/.test(traceId) && !/^0+$/.test(spanId)) return {
|
|
@@ -9418,7 +9422,7 @@ async function getActiveTraceProperties() {
|
|
|
9418
9422
|
} catch {}
|
|
9419
9423
|
return {};
|
|
9420
9424
|
}
|
|
9421
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
9425
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/storage-memory.mjs
|
|
9422
9426
|
var PostHogMemoryStorage = class {
|
|
9423
9427
|
getProperty(key) {
|
|
9424
9428
|
return this._memoryStorage[key];
|
|
@@ -9430,7 +9434,7 @@ var PostHogMemoryStorage = class {
|
|
|
9430
9434
|
this._memoryStorage = {};
|
|
9431
9435
|
}
|
|
9432
9436
|
};
|
|
9433
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
9437
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/capture-v1/config.mjs
|
|
9434
9438
|
function isCaptureMode(value) {
|
|
9435
9439
|
return "v0" === value || "v1" === value;
|
|
9436
9440
|
}
|
|
@@ -9438,13 +9442,13 @@ function resolveCaptureMode() {
|
|
|
9438
9442
|
const envMode = "u" > typeof process ? process.env?.POSTHOG_CAPTURE_MODE : void 0;
|
|
9439
9443
|
return isCaptureMode(envMode) ? envMode : "v0";
|
|
9440
9444
|
}
|
|
9441
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
9445
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/capture-v1/routing.mjs
|
|
9442
9446
|
const AI_EVENT_PREFIX = "$ai_";
|
|
9443
9447
|
const ANALYTICS_ROUTE = "analytics";
|
|
9444
9448
|
function isLegacyOnlyEvent(message) {
|
|
9445
9449
|
return "string" == typeof message.event && message.event.startsWith(AI_EVENT_PREFIX);
|
|
9446
9450
|
}
|
|
9447
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
9451
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/capture-v1/errors.mjs
|
|
9448
9452
|
var CaptureV1Error = class CaptureV1Error extends Error {
|
|
9449
9453
|
constructor({ requestId, drops, retryExhausted, cause }) {
|
|
9450
9454
|
super(CaptureV1Error.buildMessage(requestId, drops, retryExhausted, cause)), this.name = "CaptureV1Error";
|
|
@@ -9459,7 +9463,7 @@ var CaptureV1Error = class CaptureV1Error extends Error {
|
|
|
9459
9463
|
return message;
|
|
9460
9464
|
}
|
|
9461
9465
|
};
|
|
9462
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
9466
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/capture-v1/transform.mjs
|
|
9463
9467
|
function coerceBool(value) {
|
|
9464
9468
|
if ("boolean" == typeof value) return value;
|
|
9465
9469
|
if ("number" == typeof value) return 0 !== value;
|
|
@@ -9555,7 +9559,7 @@ function buildV1Batch(messages, { createdAt, historicalMigration }) {
|
|
|
9555
9559
|
if (historicalMigration) batch.historical_migration = true;
|
|
9556
9560
|
return batch;
|
|
9557
9561
|
}
|
|
9558
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
9562
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/capture-v1/sender.mjs
|
|
9559
9563
|
const V1_ANALYTICS_PATH = "/i/v1/analytics/events";
|
|
9560
9564
|
const DEFAULT_MAX_BACKOFF_MS = 3e4;
|
|
9561
9565
|
const RETRYABLE_STATUSES = /* @__PURE__ */ new Set([
|
|
@@ -9776,12 +9780,12 @@ var V1CaptureSender = class {
|
|
|
9776
9780
|
} catch {}
|
|
9777
9781
|
}
|
|
9778
9782
|
};
|
|
9779
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
9783
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/ai-capture/routing.mjs
|
|
9780
9784
|
const AI_CAPTURE_ROUTE = "ai-capture";
|
|
9781
9785
|
const AI_CAPTURE_ENDPOINT_PATH = "/i/v0/ai/batch/";
|
|
9782
9786
|
const AI_MAX_EVENT_BYTES = 8388608;
|
|
9783
9787
|
const AI_BATCH_TARGET_BYTES = 5242880;
|
|
9784
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
9788
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/ai-capture/batching.mjs
|
|
9785
9789
|
const encoder = new TextEncoder();
|
|
9786
9790
|
function eventByteSize(message) {
|
|
9787
9791
|
return encoder.encode(safeJsonStringify(message)).length;
|
|
@@ -9815,7 +9819,7 @@ function partitionAiBatch(messages, maxEventBytes = AI_MAX_EVENT_BYTES, targetBa
|
|
|
9815
9819
|
dropped
|
|
9816
9820
|
};
|
|
9817
9821
|
}
|
|
9818
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
9822
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/client.mjs
|
|
9819
9823
|
const MINIMUM_POLLING_INTERVAL = 100;
|
|
9820
9824
|
const THIRTY_SECONDS = 3e4;
|
|
9821
9825
|
const MAX_CACHE_SIZE = 5e4;
|
|
@@ -10980,7 +10984,7 @@ var PostHogBackendClient = class extends PostHogCoreStateless {
|
|
|
10980
10984
|
return result;
|
|
10981
10985
|
}
|
|
10982
10986
|
};
|
|
10983
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
10987
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/extensions/context/context.mjs
|
|
10984
10988
|
var PostHogContext = class {
|
|
10985
10989
|
constructor() {
|
|
10986
10990
|
this.storage = new AsyncLocalStorage();
|
|
@@ -11007,7 +11011,7 @@ var PostHogContext = class {
|
|
|
11007
11011
|
};
|
|
11008
11012
|
}
|
|
11009
11013
|
};
|
|
11010
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
11014
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/extensions/context/span-context.node.mjs
|
|
11011
11015
|
var AsyncLocalStorageSpanContextManager = class {
|
|
11012
11016
|
active() {
|
|
11013
11017
|
return this._storage.getStore();
|
|
@@ -11019,7 +11023,7 @@ var AsyncLocalStorageSpanContextManager = class {
|
|
|
11019
11023
|
this._storage = new AsyncLocalStorage();
|
|
11020
11024
|
}
|
|
11021
11025
|
};
|
|
11022
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
11026
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/gzip.node.mjs
|
|
11023
11027
|
const gzipAsync = promisify(gzip);
|
|
11024
11028
|
async function gzipCompress(input, isDebug = true) {
|
|
11025
11029
|
try {
|
|
@@ -11030,7 +11034,7 @@ async function gzipCompress(input, isDebug = true) {
|
|
|
11030
11034
|
return null;
|
|
11031
11035
|
}
|
|
11032
11036
|
}
|
|
11033
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
11037
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/host-os.node.mjs
|
|
11034
11038
|
function hostOsResourceAttributes() {
|
|
11035
11039
|
let osName;
|
|
11036
11040
|
let osVersion;
|
|
@@ -11040,7 +11044,7 @@ function hostOsResourceAttributes() {
|
|
|
11040
11044
|
} catch {}
|
|
11041
11045
|
return osResourceAttributes(osName, osVersion);
|
|
11042
11046
|
}
|
|
11043
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
11047
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/extensions/sentry-integration.mjs
|
|
11044
11048
|
const NAME = "posthog-node";
|
|
11045
11049
|
function createEventProcessor(_posthog, { organization, projectId, prefix, severityAllowList = ["error"], sendExceptionsToPostHog = true } = {}) {
|
|
11046
11050
|
return (event) => {
|
|
@@ -11104,7 +11108,7 @@ var PostHogSentryIntegration = class {
|
|
|
11104
11108
|
};
|
|
11105
11109
|
}
|
|
11106
11110
|
};
|
|
11107
|
-
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.
|
|
11111
|
+
// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/posthog-node/5.57.2/2e28e5367f21e596b14527efe1227e84c146ee08dc9d683780298ec1f684c226/node_modules/posthog-node/dist/entrypoints/index.node.mjs
|
|
11108
11112
|
var PostHog = class extends PostHogBackendClient {
|
|
11109
11113
|
getLibraryId() {
|
|
11110
11114
|
return "posthog-node";
|