@glasstrace/sdk 0.13.3 → 0.13.5
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/adapters/drizzle.js +5 -2
- package/dist/adapters/drizzle.js.map +1 -1
- package/dist/{chunk-J576N5MN.js → chunk-7MHQRVVW.js} +14 -5
- package/dist/chunk-7MHQRVVW.js.map +1 -0
- package/dist/{chunk-LW7DPKBA.js → chunk-AMFO5UL4.js} +6 -2
- package/dist/{chunk-LW7DPKBA.js.map → chunk-AMFO5UL4.js.map} +1 -1
- package/dist/{chunk-IPGOKORJ.js → chunk-ARAOZCZT.js} +6 -2
- package/dist/{chunk-IPGOKORJ.js.map → chunk-ARAOZCZT.js.map} +1 -1
- package/dist/{chunk-NSBPE2FW.js → chunk-BGZ7J74D.js} +16 -2
- package/dist/chunk-BGZ7J74D.js.map +1 -0
- package/dist/{chunk-DXRZKKSO.js → chunk-BL3YDC6V.js} +6 -1
- package/dist/{chunk-DXRZKKSO.js.map → chunk-BL3YDC6V.js.map} +1 -1
- package/dist/{chunk-6GRNJ722.js → chunk-DF52INSK.js} +6 -2
- package/dist/{chunk-6GRNJ722.js.map → chunk-DF52INSK.js.map} +1 -1
- package/dist/{chunk-WZXVS2EO.js → chunk-OSXIUKD5.js} +6 -1
- package/dist/{chunk-WZXVS2EO.js.map → chunk-OSXIUKD5.js.map} +1 -1
- package/dist/{chunk-RFSCWIVN.js → chunk-PD2SKFQQ.js} +6 -2
- package/dist/{chunk-RFSCWIVN.js.map → chunk-PD2SKFQQ.js.map} +1 -1
- package/dist/{chunk-OKIP4SRG.js → chunk-UJ74MD4Y.js} +99 -3
- package/dist/chunk-UJ74MD4Y.js.map +1 -0
- package/dist/{chunk-DQ25VOKK.js → chunk-WK7MPK2T.js} +89 -1
- package/dist/chunk-WK7MPK2T.js.map +1 -0
- package/dist/{chunk-4NDQPWDJ.js → chunk-WV3NIPWJ.js} +9 -2
- package/dist/{chunk-4NDQPWDJ.js.map → chunk-WV3NIPWJ.js.map} +1 -1
- package/dist/cli/init.cjs +96 -0
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.js +12 -9
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/mcp-add.js +8 -5
- package/dist/cli/mcp-add.js.map +1 -1
- package/dist/cli/status.js +5 -2
- package/dist/cli/status.js.map +1 -1
- package/dist/cli/uninit.js +3 -3
- package/dist/{esm-KBPHCVB4.js → esm-MDK7CZID.js} +3 -3
- package/dist/{getMachineId-bsd-345PYXFX.js → getMachineId-bsd-4NIRBWME.js} +7 -4
- package/dist/{getMachineId-bsd-345PYXFX.js.map → getMachineId-bsd-4NIRBWME.js.map} +1 -1
- package/dist/{getMachineId-darwin-5L2D25AD.js → getMachineId-darwin-2XNOCCJQ.js} +7 -4
- package/dist/{getMachineId-darwin-5L2D25AD.js.map → getMachineId-darwin-2XNOCCJQ.js.map} +1 -1
- package/dist/{getMachineId-linux-KJR4P5HN.js → getMachineId-linux-V6YSQEY7.js} +6 -3
- package/dist/{getMachineId-linux-KJR4P5HN.js.map → getMachineId-linux-V6YSQEY7.js.map} +1 -1
- package/dist/{getMachineId-unsupported-NDNXDYDY.js → getMachineId-unsupported-4FKBJNVO.js} +6 -3
- package/dist/{getMachineId-unsupported-NDNXDYDY.js.map → getMachineId-unsupported-4FKBJNVO.js.map} +1 -1
- package/dist/{getMachineId-win-T7PJNJXG.js → getMachineId-win-WLRZBKVG.js} +7 -4
- package/dist/{getMachineId-win-T7PJNJXG.js.map → getMachineId-win-WLRZBKVG.js.map} +1 -1
- package/dist/index.cjs +315 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +205 -16
- package/dist/index.js.map +1 -1
- package/dist/{monorepo-7SBKH7RP.js → monorepo-YILKGQXQ.js} +4 -4
- package/dist/{source-map-uploader-ZHD654EG.js → source-map-uploader-EWA2XQI4.js} +4 -4
- package/package.json +1 -1
- package/dist/chunk-DQ25VOKK.js.map +0 -1
- package/dist/chunk-J576N5MN.js.map +0 -1
- package/dist/chunk-OKIP4SRG.js.map +0 -1
- package/dist/source-map-uploader-ZHD654EG.js.map +0 -1
- /package/dist/{chunk-NSBPE2FW.js.map → esm-MDK7CZID.js.map} +0 -0
- /package/dist/{esm-KBPHCVB4.js.map → monorepo-YILKGQXQ.js.map} +0 -0
- /package/dist/{monorepo-7SBKH7RP.js.map → source-map-uploader-EWA2XQI4.js.map} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -30,6 +30,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
));
|
|
31
31
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
32
32
|
|
|
33
|
+
// ../../node_modules/tsup/assets/cjs_shims.js
|
|
34
|
+
var init_cjs_shims = __esm({
|
|
35
|
+
"../../node_modules/tsup/assets/cjs_shims.js"() {
|
|
36
|
+
"use strict";
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
|
|
33
40
|
// src/env-detection.ts
|
|
34
41
|
function readEnvVars() {
|
|
35
42
|
return {
|
|
@@ -82,6 +89,7 @@ var DEFAULT_ENDPOINT;
|
|
|
82
89
|
var init_env_detection = __esm({
|
|
83
90
|
"src/env-detection.ts"() {
|
|
84
91
|
"use strict";
|
|
92
|
+
init_cjs_shims();
|
|
85
93
|
DEFAULT_ENDPOINT = "https://api.glasstrace.dev";
|
|
86
94
|
}
|
|
87
95
|
});
|
|
@@ -148,6 +156,7 @@ var NEVER, $brand, $ZodAsyncError, $ZodEncodeError, globalConfig;
|
|
|
148
156
|
var init_core = __esm({
|
|
149
157
|
"../../node_modules/zod/v4/core/core.js"() {
|
|
150
158
|
"use strict";
|
|
159
|
+
init_cjs_shims();
|
|
151
160
|
NEVER = Object.freeze({
|
|
152
161
|
status: "aborted"
|
|
153
162
|
});
|
|
@@ -773,6 +782,7 @@ var EVALUATING, captureStackTrace, allowsEval, getParsedType, propertyKeyTypes,
|
|
|
773
782
|
var init_util = __esm({
|
|
774
783
|
"../../node_modules/zod/v4/core/util.js"() {
|
|
775
784
|
"use strict";
|
|
785
|
+
init_cjs_shims();
|
|
776
786
|
EVALUATING = /* @__PURE__ */ Symbol("evaluating");
|
|
777
787
|
captureStackTrace = "captureStackTrace" in Error ? Error.captureStackTrace : (..._args) => {
|
|
778
788
|
};
|
|
@@ -973,6 +983,7 @@ var initializer, $ZodError, $ZodRealError;
|
|
|
973
983
|
var init_errors = __esm({
|
|
974
984
|
"../../node_modules/zod/v4/core/errors.js"() {
|
|
975
985
|
"use strict";
|
|
986
|
+
init_cjs_shims();
|
|
976
987
|
init_core();
|
|
977
988
|
init_util();
|
|
978
989
|
initializer = (inst, def) => {
|
|
@@ -1001,6 +1012,7 @@ var _parse, parse, _parseAsync, parseAsync, _safeParse, safeParse, _safeParseAsy
|
|
|
1001
1012
|
var init_parse = __esm({
|
|
1002
1013
|
"../../node_modules/zod/v4/core/parse.js"() {
|
|
1003
1014
|
"use strict";
|
|
1015
|
+
init_cjs_shims();
|
|
1004
1016
|
init_core();
|
|
1005
1017
|
init_errors();
|
|
1006
1018
|
init_util();
|
|
@@ -1186,6 +1198,7 @@ var cuid, cuid2, ulid, xid, ksuid, nanoid, duration, extendedDuration, guid, uui
|
|
|
1186
1198
|
var init_regexes = __esm({
|
|
1187
1199
|
"../../node_modules/zod/v4/core/regexes.js"() {
|
|
1188
1200
|
"use strict";
|
|
1201
|
+
init_cjs_shims();
|
|
1189
1202
|
init_util();
|
|
1190
1203
|
cuid = /^[cC][^\s-]{8,}$/;
|
|
1191
1204
|
cuid2 = /^[0-9a-z]+$/;
|
|
@@ -1267,6 +1280,7 @@ var $ZodCheck, numericOriginMap, $ZodCheckLessThan, $ZodCheckGreaterThan, $ZodCh
|
|
|
1267
1280
|
var init_checks = __esm({
|
|
1268
1281
|
"../../node_modules/zod/v4/core/checks.js"() {
|
|
1269
1282
|
"use strict";
|
|
1283
|
+
init_cjs_shims();
|
|
1270
1284
|
init_core();
|
|
1271
1285
|
init_regexes();
|
|
1272
1286
|
init_util();
|
|
@@ -1819,6 +1833,7 @@ var Doc;
|
|
|
1819
1833
|
var init_doc = __esm({
|
|
1820
1834
|
"../../node_modules/zod/v4/core/doc.js"() {
|
|
1821
1835
|
"use strict";
|
|
1836
|
+
init_cjs_shims();
|
|
1822
1837
|
Doc = class {
|
|
1823
1838
|
constructor(args = []) {
|
|
1824
1839
|
this.content = [];
|
|
@@ -1861,6 +1876,7 @@ var version;
|
|
|
1861
1876
|
var init_versions = __esm({
|
|
1862
1877
|
"../../node_modules/zod/v4/core/versions.js"() {
|
|
1863
1878
|
"use strict";
|
|
1879
|
+
init_cjs_shims();
|
|
1864
1880
|
version = {
|
|
1865
1881
|
major: 4,
|
|
1866
1882
|
minor: 3,
|
|
@@ -2231,6 +2247,7 @@ var $ZodType, $ZodString, $ZodStringFormat, $ZodGUID, $ZodUUID, $ZodEmail, $ZodU
|
|
|
2231
2247
|
var init_schemas = __esm({
|
|
2232
2248
|
"../../node_modules/zod/v4/core/schemas.js"() {
|
|
2233
2249
|
"use strict";
|
|
2250
|
+
init_cjs_shims();
|
|
2234
2251
|
init_checks();
|
|
2235
2252
|
init_core();
|
|
2236
2253
|
init_doc();
|
|
@@ -3864,6 +3881,7 @@ var error;
|
|
|
3864
3881
|
var init_ar = __esm({
|
|
3865
3882
|
"../../node_modules/zod/v4/locales/ar.js"() {
|
|
3866
3883
|
"use strict";
|
|
3884
|
+
init_cjs_shims();
|
|
3867
3885
|
init_util();
|
|
3868
3886
|
error = () => {
|
|
3869
3887
|
const Sizable = {
|
|
@@ -3978,6 +3996,7 @@ var error2;
|
|
|
3978
3996
|
var init_az = __esm({
|
|
3979
3997
|
"../../node_modules/zod/v4/locales/az.js"() {
|
|
3980
3998
|
"use strict";
|
|
3999
|
+
init_cjs_shims();
|
|
3981
4000
|
init_util();
|
|
3982
4001
|
error2 = () => {
|
|
3983
4002
|
const Sizable = {
|
|
@@ -4106,6 +4125,7 @@ var error3;
|
|
|
4106
4125
|
var init_be = __esm({
|
|
4107
4126
|
"../../node_modules/zod/v4/locales/be.js"() {
|
|
4108
4127
|
"use strict";
|
|
4128
|
+
init_cjs_shims();
|
|
4109
4129
|
init_util();
|
|
4110
4130
|
error3 = () => {
|
|
4111
4131
|
const Sizable = {
|
|
@@ -4255,6 +4275,7 @@ var error4;
|
|
|
4255
4275
|
var init_bg = __esm({
|
|
4256
4276
|
"../../node_modules/zod/v4/locales/bg.js"() {
|
|
4257
4277
|
"use strict";
|
|
4278
|
+
init_cjs_shims();
|
|
4258
4279
|
init_util();
|
|
4259
4280
|
error4 = () => {
|
|
4260
4281
|
const Sizable = {
|
|
@@ -4383,6 +4404,7 @@ var error5;
|
|
|
4383
4404
|
var init_ca = __esm({
|
|
4384
4405
|
"../../node_modules/zod/v4/locales/ca.js"() {
|
|
4385
4406
|
"use strict";
|
|
4407
|
+
init_cjs_shims();
|
|
4386
4408
|
init_util();
|
|
4387
4409
|
error5 = () => {
|
|
4388
4410
|
const Sizable = {
|
|
@@ -4499,6 +4521,7 @@ var error6;
|
|
|
4499
4521
|
var init_cs = __esm({
|
|
4500
4522
|
"../../node_modules/zod/v4/locales/cs.js"() {
|
|
4501
4523
|
"use strict";
|
|
4524
|
+
init_cjs_shims();
|
|
4502
4525
|
init_util();
|
|
4503
4526
|
error6 = () => {
|
|
4504
4527
|
const Sizable = {
|
|
@@ -4618,6 +4641,7 @@ var error7;
|
|
|
4618
4641
|
var init_da = __esm({
|
|
4619
4642
|
"../../node_modules/zod/v4/locales/da.js"() {
|
|
4620
4643
|
"use strict";
|
|
4644
|
+
init_cjs_shims();
|
|
4621
4645
|
init_util();
|
|
4622
4646
|
error7 = () => {
|
|
4623
4647
|
const Sizable = {
|
|
@@ -4741,6 +4765,7 @@ var error8;
|
|
|
4741
4765
|
var init_de = __esm({
|
|
4742
4766
|
"../../node_modules/zod/v4/locales/de.js"() {
|
|
4743
4767
|
"use strict";
|
|
4768
|
+
init_cjs_shims();
|
|
4744
4769
|
init_util();
|
|
4745
4770
|
error8 = () => {
|
|
4746
4771
|
const Sizable = {
|
|
@@ -4857,6 +4882,7 @@ var error9;
|
|
|
4857
4882
|
var init_en = __esm({
|
|
4858
4883
|
"../../node_modules/zod/v4/locales/en.js"() {
|
|
4859
4884
|
"use strict";
|
|
4885
|
+
init_cjs_shims();
|
|
4860
4886
|
init_util();
|
|
4861
4887
|
error9 = () => {
|
|
4862
4888
|
const Sizable = {
|
|
@@ -4973,6 +4999,7 @@ var error10;
|
|
|
4973
4999
|
var init_eo = __esm({
|
|
4974
5000
|
"../../node_modules/zod/v4/locales/eo.js"() {
|
|
4975
5001
|
"use strict";
|
|
5002
|
+
init_cjs_shims();
|
|
4976
5003
|
init_util();
|
|
4977
5004
|
error10 = () => {
|
|
4978
5005
|
const Sizable = {
|
|
@@ -5090,6 +5117,7 @@ var error11;
|
|
|
5090
5117
|
var init_es = __esm({
|
|
5091
5118
|
"../../node_modules/zod/v4/locales/es.js"() {
|
|
5092
5119
|
"use strict";
|
|
5120
|
+
init_cjs_shims();
|
|
5093
5121
|
init_util();
|
|
5094
5122
|
error11 = () => {
|
|
5095
5123
|
const Sizable = {
|
|
@@ -5230,6 +5258,7 @@ var error12;
|
|
|
5230
5258
|
var init_fa = __esm({
|
|
5231
5259
|
"../../node_modules/zod/v4/locales/fa.js"() {
|
|
5232
5260
|
"use strict";
|
|
5261
|
+
init_cjs_shims();
|
|
5233
5262
|
init_util();
|
|
5234
5263
|
error12 = () => {
|
|
5235
5264
|
const Sizable = {
|
|
@@ -5352,6 +5381,7 @@ var error13;
|
|
|
5352
5381
|
var init_fi = __esm({
|
|
5353
5382
|
"../../node_modules/zod/v4/locales/fi.js"() {
|
|
5354
5383
|
"use strict";
|
|
5384
|
+
init_cjs_shims();
|
|
5355
5385
|
init_util();
|
|
5356
5386
|
error13 = () => {
|
|
5357
5387
|
const Sizable = {
|
|
@@ -5472,6 +5502,7 @@ var error14;
|
|
|
5472
5502
|
var init_fr = __esm({
|
|
5473
5503
|
"../../node_modules/zod/v4/locales/fr.js"() {
|
|
5474
5504
|
"use strict";
|
|
5505
|
+
init_cjs_shims();
|
|
5475
5506
|
init_util();
|
|
5476
5507
|
error14 = () => {
|
|
5477
5508
|
const Sizable = {
|
|
@@ -5588,6 +5619,7 @@ var error15;
|
|
|
5588
5619
|
var init_fr_CA = __esm({
|
|
5589
5620
|
"../../node_modules/zod/v4/locales/fr-CA.js"() {
|
|
5590
5621
|
"use strict";
|
|
5622
|
+
init_cjs_shims();
|
|
5591
5623
|
init_util();
|
|
5592
5624
|
error15 = () => {
|
|
5593
5625
|
const Sizable = {
|
|
@@ -5703,6 +5735,7 @@ var error16;
|
|
|
5703
5735
|
var init_he = __esm({
|
|
5704
5736
|
"../../node_modules/zod/v4/locales/he.js"() {
|
|
5705
5737
|
"use strict";
|
|
5738
|
+
init_cjs_shims();
|
|
5706
5739
|
init_util();
|
|
5707
5740
|
error16 = () => {
|
|
5708
5741
|
const TypeNames = {
|
|
@@ -5905,6 +5938,7 @@ var error17;
|
|
|
5905
5938
|
var init_hu = __esm({
|
|
5906
5939
|
"../../node_modules/zod/v4/locales/hu.js"() {
|
|
5907
5940
|
"use strict";
|
|
5941
|
+
init_cjs_shims();
|
|
5908
5942
|
init_util();
|
|
5909
5943
|
error17 = () => {
|
|
5910
5944
|
const Sizable = {
|
|
@@ -6031,6 +6065,7 @@ var error18;
|
|
|
6031
6065
|
var init_hy = __esm({
|
|
6032
6066
|
"../../node_modules/zod/v4/locales/hy.js"() {
|
|
6033
6067
|
"use strict";
|
|
6068
|
+
init_cjs_shims();
|
|
6034
6069
|
init_util();
|
|
6035
6070
|
error18 = () => {
|
|
6036
6071
|
const Sizable = {
|
|
@@ -6176,6 +6211,7 @@ var error19;
|
|
|
6176
6211
|
var init_id = __esm({
|
|
6177
6212
|
"../../node_modules/zod/v4/locales/id.js"() {
|
|
6178
6213
|
"use strict";
|
|
6214
|
+
init_cjs_shims();
|
|
6179
6215
|
init_util();
|
|
6180
6216
|
error19 = () => {
|
|
6181
6217
|
const Sizable = {
|
|
@@ -6290,6 +6326,7 @@ var error20;
|
|
|
6290
6326
|
var init_is = __esm({
|
|
6291
6327
|
"../../node_modules/zod/v4/locales/is.js"() {
|
|
6292
6328
|
"use strict";
|
|
6329
|
+
init_cjs_shims();
|
|
6293
6330
|
init_util();
|
|
6294
6331
|
error20 = () => {
|
|
6295
6332
|
const Sizable = {
|
|
@@ -6407,6 +6444,7 @@ var error21;
|
|
|
6407
6444
|
var init_it = __esm({
|
|
6408
6445
|
"../../node_modules/zod/v4/locales/it.js"() {
|
|
6409
6446
|
"use strict";
|
|
6447
|
+
init_cjs_shims();
|
|
6410
6448
|
init_util();
|
|
6411
6449
|
error21 = () => {
|
|
6412
6450
|
const Sizable = {
|
|
@@ -6523,6 +6561,7 @@ var error22;
|
|
|
6523
6561
|
var init_ja = __esm({
|
|
6524
6562
|
"../../node_modules/zod/v4/locales/ja.js"() {
|
|
6525
6563
|
"use strict";
|
|
6564
|
+
init_cjs_shims();
|
|
6526
6565
|
init_util();
|
|
6527
6566
|
error22 = () => {
|
|
6528
6567
|
const Sizable = {
|
|
@@ -6638,6 +6677,7 @@ var error23;
|
|
|
6638
6677
|
var init_ka = __esm({
|
|
6639
6678
|
"../../node_modules/zod/v4/locales/ka.js"() {
|
|
6640
6679
|
"use strict";
|
|
6680
|
+
init_cjs_shims();
|
|
6641
6681
|
init_util();
|
|
6642
6682
|
error23 = () => {
|
|
6643
6683
|
const Sizable = {
|
|
@@ -6758,6 +6798,7 @@ var error24;
|
|
|
6758
6798
|
var init_km = __esm({
|
|
6759
6799
|
"../../node_modules/zod/v4/locales/km.js"() {
|
|
6760
6800
|
"use strict";
|
|
6801
|
+
init_cjs_shims();
|
|
6761
6802
|
init_util();
|
|
6762
6803
|
error24 = () => {
|
|
6763
6804
|
const Sizable = {
|
|
@@ -6873,6 +6914,7 @@ function kh_default() {
|
|
|
6873
6914
|
var init_kh = __esm({
|
|
6874
6915
|
"../../node_modules/zod/v4/locales/kh.js"() {
|
|
6875
6916
|
"use strict";
|
|
6917
|
+
init_cjs_shims();
|
|
6876
6918
|
init_km();
|
|
6877
6919
|
}
|
|
6878
6920
|
});
|
|
@@ -6887,6 +6929,7 @@ var error25;
|
|
|
6887
6929
|
var init_ko = __esm({
|
|
6888
6930
|
"../../node_modules/zod/v4/locales/ko.js"() {
|
|
6889
6931
|
"use strict";
|
|
6932
|
+
init_cjs_shims();
|
|
6890
6933
|
init_util();
|
|
6891
6934
|
error25 = () => {
|
|
6892
6935
|
const Sizable = {
|
|
@@ -7016,6 +7059,7 @@ var capitalizeFirstCharacter, error26;
|
|
|
7016
7059
|
var init_lt = __esm({
|
|
7017
7060
|
"../../node_modules/zod/v4/locales/lt.js"() {
|
|
7018
7061
|
"use strict";
|
|
7062
|
+
init_cjs_shims();
|
|
7019
7063
|
init_util();
|
|
7020
7064
|
capitalizeFirstCharacter = (text) => {
|
|
7021
7065
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
@@ -7217,6 +7261,7 @@ var error27;
|
|
|
7217
7261
|
var init_mk = __esm({
|
|
7218
7262
|
"../../node_modules/zod/v4/locales/mk.js"() {
|
|
7219
7263
|
"use strict";
|
|
7264
|
+
init_cjs_shims();
|
|
7220
7265
|
init_util();
|
|
7221
7266
|
error27 = () => {
|
|
7222
7267
|
const Sizable = {
|
|
@@ -7334,6 +7379,7 @@ var error28;
|
|
|
7334
7379
|
var init_ms = __esm({
|
|
7335
7380
|
"../../node_modules/zod/v4/locales/ms.js"() {
|
|
7336
7381
|
"use strict";
|
|
7382
|
+
init_cjs_shims();
|
|
7337
7383
|
init_util();
|
|
7338
7384
|
error28 = () => {
|
|
7339
7385
|
const Sizable = {
|
|
@@ -7449,6 +7495,7 @@ var error29;
|
|
|
7449
7495
|
var init_nl = __esm({
|
|
7450
7496
|
"../../node_modules/zod/v4/locales/nl.js"() {
|
|
7451
7497
|
"use strict";
|
|
7498
|
+
init_cjs_shims();
|
|
7452
7499
|
init_util();
|
|
7453
7500
|
error29 = () => {
|
|
7454
7501
|
const Sizable = {
|
|
@@ -7567,6 +7614,7 @@ var error30;
|
|
|
7567
7614
|
var init_no = __esm({
|
|
7568
7615
|
"../../node_modules/zod/v4/locales/no.js"() {
|
|
7569
7616
|
"use strict";
|
|
7617
|
+
init_cjs_shims();
|
|
7570
7618
|
init_util();
|
|
7571
7619
|
error30 = () => {
|
|
7572
7620
|
const Sizable = {
|
|
@@ -7683,6 +7731,7 @@ var error31;
|
|
|
7683
7731
|
var init_ota = __esm({
|
|
7684
7732
|
"../../node_modules/zod/v4/locales/ota.js"() {
|
|
7685
7733
|
"use strict";
|
|
7734
|
+
init_cjs_shims();
|
|
7686
7735
|
init_util();
|
|
7687
7736
|
error31 = () => {
|
|
7688
7737
|
const Sizable = {
|
|
@@ -7800,6 +7849,7 @@ var error32;
|
|
|
7800
7849
|
var init_ps = __esm({
|
|
7801
7850
|
"../../node_modules/zod/v4/locales/ps.js"() {
|
|
7802
7851
|
"use strict";
|
|
7852
|
+
init_cjs_shims();
|
|
7803
7853
|
init_util();
|
|
7804
7854
|
error32 = () => {
|
|
7805
7855
|
const Sizable = {
|
|
@@ -7922,6 +7972,7 @@ var error33;
|
|
|
7922
7972
|
var init_pl = __esm({
|
|
7923
7973
|
"../../node_modules/zod/v4/locales/pl.js"() {
|
|
7924
7974
|
"use strict";
|
|
7975
|
+
init_cjs_shims();
|
|
7925
7976
|
init_util();
|
|
7926
7977
|
error33 = () => {
|
|
7927
7978
|
const Sizable = {
|
|
@@ -8039,6 +8090,7 @@ var error34;
|
|
|
8039
8090
|
var init_pt = __esm({
|
|
8040
8091
|
"../../node_modules/zod/v4/locales/pt.js"() {
|
|
8041
8092
|
"use strict";
|
|
8093
|
+
init_cjs_shims();
|
|
8042
8094
|
init_util();
|
|
8043
8095
|
error34 = () => {
|
|
8044
8096
|
const Sizable = {
|
|
@@ -8170,6 +8222,7 @@ var error35;
|
|
|
8170
8222
|
var init_ru = __esm({
|
|
8171
8223
|
"../../node_modules/zod/v4/locales/ru.js"() {
|
|
8172
8224
|
"use strict";
|
|
8225
|
+
init_cjs_shims();
|
|
8173
8226
|
init_util();
|
|
8174
8227
|
error35 = () => {
|
|
8175
8228
|
const Sizable = {
|
|
@@ -8319,6 +8372,7 @@ var error36;
|
|
|
8319
8372
|
var init_sl = __esm({
|
|
8320
8373
|
"../../node_modules/zod/v4/locales/sl.js"() {
|
|
8321
8374
|
"use strict";
|
|
8375
|
+
init_cjs_shims();
|
|
8322
8376
|
init_util();
|
|
8323
8377
|
error36 = () => {
|
|
8324
8378
|
const Sizable = {
|
|
@@ -8436,6 +8490,7 @@ var error37;
|
|
|
8436
8490
|
var init_sv = __esm({
|
|
8437
8491
|
"../../node_modules/zod/v4/locales/sv.js"() {
|
|
8438
8492
|
"use strict";
|
|
8493
|
+
init_cjs_shims();
|
|
8439
8494
|
init_util();
|
|
8440
8495
|
error37 = () => {
|
|
8441
8496
|
const Sizable = {
|
|
@@ -8554,6 +8609,7 @@ var error38;
|
|
|
8554
8609
|
var init_ta = __esm({
|
|
8555
8610
|
"../../node_modules/zod/v4/locales/ta.js"() {
|
|
8556
8611
|
"use strict";
|
|
8612
|
+
init_cjs_shims();
|
|
8557
8613
|
init_util();
|
|
8558
8614
|
error38 = () => {
|
|
8559
8615
|
const Sizable = {
|
|
@@ -8672,6 +8728,7 @@ var error39;
|
|
|
8672
8728
|
var init_th = __esm({
|
|
8673
8729
|
"../../node_modules/zod/v4/locales/th.js"() {
|
|
8674
8730
|
"use strict";
|
|
8731
|
+
init_cjs_shims();
|
|
8675
8732
|
init_util();
|
|
8676
8733
|
error39 = () => {
|
|
8677
8734
|
const Sizable = {
|
|
@@ -8790,6 +8847,7 @@ var error40;
|
|
|
8790
8847
|
var init_tr = __esm({
|
|
8791
8848
|
"../../node_modules/zod/v4/locales/tr.js"() {
|
|
8792
8849
|
"use strict";
|
|
8850
|
+
init_cjs_shims();
|
|
8793
8851
|
init_util();
|
|
8794
8852
|
error40 = () => {
|
|
8795
8853
|
const Sizable = {
|
|
@@ -8903,6 +8961,7 @@ var error41;
|
|
|
8903
8961
|
var init_uk = __esm({
|
|
8904
8962
|
"../../node_modules/zod/v4/locales/uk.js"() {
|
|
8905
8963
|
"use strict";
|
|
8964
|
+
init_cjs_shims();
|
|
8906
8965
|
init_util();
|
|
8907
8966
|
error41 = () => {
|
|
8908
8967
|
const Sizable = {
|
|
@@ -9016,6 +9075,7 @@ function ua_default() {
|
|
|
9016
9075
|
var init_ua = __esm({
|
|
9017
9076
|
"../../node_modules/zod/v4/locales/ua.js"() {
|
|
9018
9077
|
"use strict";
|
|
9078
|
+
init_cjs_shims();
|
|
9019
9079
|
init_uk();
|
|
9020
9080
|
}
|
|
9021
9081
|
});
|
|
@@ -9030,6 +9090,7 @@ var error42;
|
|
|
9030
9090
|
var init_ur = __esm({
|
|
9031
9091
|
"../../node_modules/zod/v4/locales/ur.js"() {
|
|
9032
9092
|
"use strict";
|
|
9093
|
+
init_cjs_shims();
|
|
9033
9094
|
init_util();
|
|
9034
9095
|
error42 = () => {
|
|
9035
9096
|
const Sizable = {
|
|
@@ -9148,6 +9209,7 @@ var error43;
|
|
|
9148
9209
|
var init_uz = __esm({
|
|
9149
9210
|
"../../node_modules/zod/v4/locales/uz.js"() {
|
|
9150
9211
|
"use strict";
|
|
9212
|
+
init_cjs_shims();
|
|
9151
9213
|
init_util();
|
|
9152
9214
|
error43 = () => {
|
|
9153
9215
|
const Sizable = {
|
|
@@ -9265,6 +9327,7 @@ var error44;
|
|
|
9265
9327
|
var init_vi = __esm({
|
|
9266
9328
|
"../../node_modules/zod/v4/locales/vi.js"() {
|
|
9267
9329
|
"use strict";
|
|
9330
|
+
init_cjs_shims();
|
|
9268
9331
|
init_util();
|
|
9269
9332
|
error44 = () => {
|
|
9270
9333
|
const Sizable = {
|
|
@@ -9381,6 +9444,7 @@ var error45;
|
|
|
9381
9444
|
var init_zh_CN = __esm({
|
|
9382
9445
|
"../../node_modules/zod/v4/locales/zh-CN.js"() {
|
|
9383
9446
|
"use strict";
|
|
9447
|
+
init_cjs_shims();
|
|
9384
9448
|
init_util();
|
|
9385
9449
|
error45 = () => {
|
|
9386
9450
|
const Sizable = {
|
|
@@ -9498,6 +9562,7 @@ var error46;
|
|
|
9498
9562
|
var init_zh_TW = __esm({
|
|
9499
9563
|
"../../node_modules/zod/v4/locales/zh-TW.js"() {
|
|
9500
9564
|
"use strict";
|
|
9565
|
+
init_cjs_shims();
|
|
9501
9566
|
init_util();
|
|
9502
9567
|
error46 = () => {
|
|
9503
9568
|
const Sizable = {
|
|
@@ -9613,6 +9678,7 @@ var error47;
|
|
|
9613
9678
|
var init_yo = __esm({
|
|
9614
9679
|
"../../node_modules/zod/v4/locales/yo.js"() {
|
|
9615
9680
|
"use strict";
|
|
9681
|
+
init_cjs_shims();
|
|
9616
9682
|
init_util();
|
|
9617
9683
|
error47 = () => {
|
|
9618
9684
|
const Sizable = {
|
|
@@ -9774,6 +9840,7 @@ __export(locales_exports, {
|
|
|
9774
9840
|
var init_locales = __esm({
|
|
9775
9841
|
"../../node_modules/zod/v4/locales/index.js"() {
|
|
9776
9842
|
"use strict";
|
|
9843
|
+
init_cjs_shims();
|
|
9777
9844
|
init_ar();
|
|
9778
9845
|
init_az();
|
|
9779
9846
|
init_be();
|
|
@@ -9834,6 +9901,7 @@ var _a, $output, $input, $ZodRegistry, globalRegistry;
|
|
|
9834
9901
|
var init_registries = __esm({
|
|
9835
9902
|
"../../node_modules/zod/v4/core/registries.js"() {
|
|
9836
9903
|
"use strict";
|
|
9904
|
+
init_cjs_shims();
|
|
9837
9905
|
$output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
9838
9906
|
$input = /* @__PURE__ */ Symbol("ZodInput");
|
|
9839
9907
|
$ZodRegistry = class {
|
|
@@ -10916,6 +10984,7 @@ var TimePrecision;
|
|
|
10916
10984
|
var init_api = __esm({
|
|
10917
10985
|
"../../node_modules/zod/v4/core/api.js"() {
|
|
10918
10986
|
"use strict";
|
|
10987
|
+
init_cjs_shims();
|
|
10919
10988
|
init_checks();
|
|
10920
10989
|
init_registries();
|
|
10921
10990
|
init_schemas();
|
|
@@ -11272,6 +11341,7 @@ var createToJSONSchemaMethod, createStandardJSONSchemaMethod;
|
|
|
11272
11341
|
var init_to_json_schema = __esm({
|
|
11273
11342
|
"../../node_modules/zod/v4/core/to-json-schema.js"() {
|
|
11274
11343
|
"use strict";
|
|
11344
|
+
init_cjs_shims();
|
|
11275
11345
|
init_registries();
|
|
11276
11346
|
createToJSONSchemaMethod = (schema, processors = {}) => (params) => {
|
|
11277
11347
|
const ctx = initializeContext({ ...params, processors });
|
|
@@ -11328,6 +11398,7 @@ var formatMap, stringProcessor, numberProcessor, booleanProcessor, bigintProcess
|
|
|
11328
11398
|
var init_json_schema_processors = __esm({
|
|
11329
11399
|
"../../node_modules/zod/v4/core/json-schema-processors.js"() {
|
|
11330
11400
|
"use strict";
|
|
11401
|
+
init_cjs_shims();
|
|
11331
11402
|
init_to_json_schema();
|
|
11332
11403
|
init_util();
|
|
11333
11404
|
formatMap = {
|
|
@@ -11853,6 +11924,7 @@ var JSONSchemaGenerator;
|
|
|
11853
11924
|
var init_json_schema_generator = __esm({
|
|
11854
11925
|
"../../node_modules/zod/v4/core/json-schema-generator.js"() {
|
|
11855
11926
|
"use strict";
|
|
11927
|
+
init_cjs_shims();
|
|
11856
11928
|
init_json_schema_processors();
|
|
11857
11929
|
init_to_json_schema();
|
|
11858
11930
|
JSONSchemaGenerator = class {
|
|
@@ -11936,6 +12008,7 @@ var json_schema_exports = {};
|
|
|
11936
12008
|
var init_json_schema = __esm({
|
|
11937
12009
|
"../../node_modules/zod/v4/core/json-schema.js"() {
|
|
11938
12010
|
"use strict";
|
|
12011
|
+
init_cjs_shims();
|
|
11939
12012
|
}
|
|
11940
12013
|
});
|
|
11941
12014
|
|
|
@@ -12219,6 +12292,7 @@ __export(core_exports2, {
|
|
|
12219
12292
|
var init_core2 = __esm({
|
|
12220
12293
|
"../../node_modules/zod/v4/core/index.js"() {
|
|
12221
12294
|
"use strict";
|
|
12295
|
+
init_cjs_shims();
|
|
12222
12296
|
init_core();
|
|
12223
12297
|
init_parse();
|
|
12224
12298
|
init_errors();
|
|
@@ -12274,6 +12348,7 @@ __export(checks_exports2, {
|
|
|
12274
12348
|
var init_checks2 = __esm({
|
|
12275
12349
|
"../../node_modules/zod/v4/classic/checks.js"() {
|
|
12276
12350
|
"use strict";
|
|
12351
|
+
init_cjs_shims();
|
|
12277
12352
|
init_core2();
|
|
12278
12353
|
}
|
|
12279
12354
|
});
|
|
@@ -12306,6 +12381,7 @@ var ZodISODateTime, ZodISODate, ZodISOTime, ZodISODuration;
|
|
|
12306
12381
|
var init_iso = __esm({
|
|
12307
12382
|
"../../node_modules/zod/v4/classic/iso.js"() {
|
|
12308
12383
|
"use strict";
|
|
12384
|
+
init_cjs_shims();
|
|
12309
12385
|
init_core2();
|
|
12310
12386
|
init_schemas2();
|
|
12311
12387
|
ZodISODateTime = /* @__PURE__ */ $constructor("ZodISODateTime", (inst, def) => {
|
|
@@ -12332,6 +12408,7 @@ var initializer2, ZodError, ZodRealError;
|
|
|
12332
12408
|
var init_errors2 = __esm({
|
|
12333
12409
|
"../../node_modules/zod/v4/classic/errors.js"() {
|
|
12334
12410
|
"use strict";
|
|
12411
|
+
init_cjs_shims();
|
|
12335
12412
|
init_core2();
|
|
12336
12413
|
init_core2();
|
|
12337
12414
|
init_util();
|
|
@@ -12381,6 +12458,7 @@ var parse2, parseAsync2, safeParse2, safeParseAsync2, encode2, decode2, encodeAs
|
|
|
12381
12458
|
var init_parse2 = __esm({
|
|
12382
12459
|
"../../node_modules/zod/v4/classic/parse.js"() {
|
|
12383
12460
|
"use strict";
|
|
12461
|
+
init_cjs_shims();
|
|
12384
12462
|
init_core2();
|
|
12385
12463
|
init_errors2();
|
|
12386
12464
|
parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
@@ -13024,6 +13102,7 @@ var ZodType, _ZodString, ZodString, ZodStringFormat, ZodEmail, ZodGUID, ZodUUID,
|
|
|
13024
13102
|
var init_schemas2 = __esm({
|
|
13025
13103
|
"../../node_modules/zod/v4/classic/schemas.js"() {
|
|
13026
13104
|
"use strict";
|
|
13105
|
+
init_cjs_shims();
|
|
13027
13106
|
init_core2();
|
|
13028
13107
|
init_core2();
|
|
13029
13108
|
init_json_schema_processors();
|
|
@@ -13670,6 +13749,7 @@ var ZodIssueCode, ZodFirstPartyTypeKind;
|
|
|
13670
13749
|
var init_compat = __esm({
|
|
13671
13750
|
"../../node_modules/zod/v4/classic/compat.js"() {
|
|
13672
13751
|
"use strict";
|
|
13752
|
+
init_cjs_shims();
|
|
13673
13753
|
init_core2();
|
|
13674
13754
|
init_core2();
|
|
13675
13755
|
ZodIssueCode = {
|
|
@@ -14091,6 +14171,7 @@ var z, RECOGNIZED_KEYS;
|
|
|
14091
14171
|
var init_from_json_schema = __esm({
|
|
14092
14172
|
"../../node_modules/zod/v4/classic/from-json-schema.js"() {
|
|
14093
14173
|
"use strict";
|
|
14174
|
+
init_cjs_shims();
|
|
14094
14175
|
init_registries();
|
|
14095
14176
|
init_checks2();
|
|
14096
14177
|
init_iso();
|
|
@@ -14201,6 +14282,7 @@ function date4(params) {
|
|
|
14201
14282
|
var init_coerce = __esm({
|
|
14202
14283
|
"../../node_modules/zod/v4/classic/coerce.js"() {
|
|
14203
14284
|
"use strict";
|
|
14285
|
+
init_cjs_shims();
|
|
14204
14286
|
init_core2();
|
|
14205
14287
|
init_schemas2();
|
|
14206
14288
|
}
|
|
@@ -14449,6 +14531,7 @@ __export(external_exports, {
|
|
|
14449
14531
|
var init_external = __esm({
|
|
14450
14532
|
"../../node_modules/zod/v4/classic/external.js"() {
|
|
14451
14533
|
"use strict";
|
|
14534
|
+
init_cjs_shims();
|
|
14452
14535
|
init_core2();
|
|
14453
14536
|
init_schemas2();
|
|
14454
14537
|
init_checks2();
|
|
@@ -14472,6 +14555,7 @@ var init_external = __esm({
|
|
|
14472
14555
|
var init_zod = __esm({
|
|
14473
14556
|
"../../node_modules/zod/index.js"() {
|
|
14474
14557
|
"use strict";
|
|
14558
|
+
init_cjs_shims();
|
|
14475
14559
|
init_external();
|
|
14476
14560
|
init_external();
|
|
14477
14561
|
}
|
|
@@ -14493,6 +14577,7 @@ var DevApiKeySchema, AnonApiKeySchema, SessionIdSchema, BuildHashSchema, SdkDiag
|
|
|
14493
14577
|
var init_dist = __esm({
|
|
14494
14578
|
"../protocol/dist/index.js"() {
|
|
14495
14579
|
"use strict";
|
|
14580
|
+
init_cjs_shims();
|
|
14496
14581
|
init_zod();
|
|
14497
14582
|
init_zod();
|
|
14498
14583
|
init_zod();
|
|
@@ -14671,6 +14756,7 @@ var VERSION;
|
|
|
14671
14756
|
var init_version = __esm({
|
|
14672
14757
|
"../../node_modules/@opentelemetry/api/build/esm/version.js"() {
|
|
14673
14758
|
"use strict";
|
|
14759
|
+
init_cjs_shims();
|
|
14674
14760
|
VERSION = "1.9.1";
|
|
14675
14761
|
}
|
|
14676
14762
|
});
|
|
@@ -14741,6 +14827,7 @@ var re, isCompatible;
|
|
|
14741
14827
|
var init_semver = __esm({
|
|
14742
14828
|
"../../node_modules/@opentelemetry/api/build/esm/internal/semver.js"() {
|
|
14743
14829
|
"use strict";
|
|
14830
|
+
init_cjs_shims();
|
|
14744
14831
|
init_version();
|
|
14745
14832
|
re = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
|
|
14746
14833
|
isCompatible = _makeCompatibilityCheck(VERSION);
|
|
@@ -14786,6 +14873,7 @@ var major, GLOBAL_OPENTELEMETRY_API_KEY, _global;
|
|
|
14786
14873
|
var init_global_utils = __esm({
|
|
14787
14874
|
"../../node_modules/@opentelemetry/api/build/esm/internal/global-utils.js"() {
|
|
14788
14875
|
"use strict";
|
|
14876
|
+
init_cjs_shims();
|
|
14789
14877
|
init_version();
|
|
14790
14878
|
init_semver();
|
|
14791
14879
|
major = VERSION.split(".")[0];
|
|
@@ -14806,6 +14894,7 @@ var DiagComponentLogger;
|
|
|
14806
14894
|
var init_ComponentLogger = __esm({
|
|
14807
14895
|
"../../node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.js"() {
|
|
14808
14896
|
"use strict";
|
|
14897
|
+
init_cjs_shims();
|
|
14809
14898
|
init_global_utils();
|
|
14810
14899
|
DiagComponentLogger = class {
|
|
14811
14900
|
constructor(props) {
|
|
@@ -14835,6 +14924,7 @@ var DiagLogLevel;
|
|
|
14835
14924
|
var init_types = __esm({
|
|
14836
14925
|
"../../node_modules/@opentelemetry/api/build/esm/diag/types.js"() {
|
|
14837
14926
|
"use strict";
|
|
14927
|
+
init_cjs_shims();
|
|
14838
14928
|
(function(DiagLogLevel2) {
|
|
14839
14929
|
DiagLogLevel2[DiagLogLevel2["NONE"] = 0] = "NONE";
|
|
14840
14930
|
DiagLogLevel2[DiagLogLevel2["ERROR"] = 30] = "ERROR";
|
|
@@ -14874,6 +14964,7 @@ function createLogLevelDiagLogger(maxLevel, logger) {
|
|
|
14874
14964
|
var init_logLevelLogger = __esm({
|
|
14875
14965
|
"../../node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.js"() {
|
|
14876
14966
|
"use strict";
|
|
14967
|
+
init_cjs_shims();
|
|
14877
14968
|
init_types();
|
|
14878
14969
|
}
|
|
14879
14970
|
});
|
|
@@ -14883,6 +14974,7 @@ var API_NAME, DiagAPI;
|
|
|
14883
14974
|
var init_diag = __esm({
|
|
14884
14975
|
"../../node_modules/@opentelemetry/api/build/esm/api/diag.js"() {
|
|
14885
14976
|
"use strict";
|
|
14977
|
+
init_cjs_shims();
|
|
14886
14978
|
init_ComponentLogger();
|
|
14887
14979
|
init_logLevelLogger();
|
|
14888
14980
|
init_types();
|
|
@@ -14953,6 +15045,7 @@ var BaggageImpl;
|
|
|
14953
15045
|
var init_baggage_impl = __esm({
|
|
14954
15046
|
"../../node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js"() {
|
|
14955
15047
|
"use strict";
|
|
15048
|
+
init_cjs_shims();
|
|
14956
15049
|
BaggageImpl = class _BaggageImpl {
|
|
14957
15050
|
constructor(entries) {
|
|
14958
15051
|
this._entries = entries ? new Map(entries) : /* @__PURE__ */ new Map();
|
|
@@ -14996,6 +15089,7 @@ var baggageEntryMetadataSymbol;
|
|
|
14996
15089
|
var init_symbol = __esm({
|
|
14997
15090
|
"../../node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js"() {
|
|
14998
15091
|
"use strict";
|
|
15092
|
+
init_cjs_shims();
|
|
14999
15093
|
baggageEntryMetadataSymbol = /* @__PURE__ */ Symbol("BaggageEntryMetadata");
|
|
15000
15094
|
}
|
|
15001
15095
|
});
|
|
@@ -15020,6 +15114,7 @@ var diag;
|
|
|
15020
15114
|
var init_utils = __esm({
|
|
15021
15115
|
"../../node_modules/@opentelemetry/api/build/esm/baggage/utils.js"() {
|
|
15022
15116
|
"use strict";
|
|
15117
|
+
init_cjs_shims();
|
|
15023
15118
|
init_diag();
|
|
15024
15119
|
init_baggage_impl();
|
|
15025
15120
|
init_symbol();
|
|
@@ -15035,6 +15130,7 @@ var BaseContext, ROOT_CONTEXT;
|
|
|
15035
15130
|
var init_context = __esm({
|
|
15036
15131
|
"../../node_modules/@opentelemetry/api/build/esm/context/context.js"() {
|
|
15037
15132
|
"use strict";
|
|
15133
|
+
init_cjs_shims();
|
|
15038
15134
|
BaseContext = class _BaseContext {
|
|
15039
15135
|
/**
|
|
15040
15136
|
* Construct a new context which inherits values from an optional parent context.
|
|
@@ -15066,6 +15162,7 @@ var consoleMap, _originalConsoleMethods, DiagConsoleLogger;
|
|
|
15066
15162
|
var init_consoleLogger = __esm({
|
|
15067
15163
|
"../../node_modules/@opentelemetry/api/build/esm/diag/consoleLogger.js"() {
|
|
15068
15164
|
"use strict";
|
|
15165
|
+
init_cjs_shims();
|
|
15069
15166
|
consoleMap = [
|
|
15070
15167
|
{ n: "error", c: "error" },
|
|
15071
15168
|
{ n: "warn", c: "warn" },
|
|
@@ -15124,6 +15221,7 @@ var NoopMeter, NoopMetric, NoopCounterMetric, NoopUpDownCounterMetric, NoopGauge
|
|
|
15124
15221
|
var init_NoopMeter = __esm({
|
|
15125
15222
|
"../../node_modules/@opentelemetry/api/build/esm/metrics/NoopMeter.js"() {
|
|
15126
15223
|
"use strict";
|
|
15224
|
+
init_cjs_shims();
|
|
15127
15225
|
NoopMeter = class {
|
|
15128
15226
|
constructor() {
|
|
15129
15227
|
}
|
|
@@ -15226,6 +15324,7 @@ var ValueType;
|
|
|
15226
15324
|
var init_Metric = __esm({
|
|
15227
15325
|
"../../node_modules/@opentelemetry/api/build/esm/metrics/Metric.js"() {
|
|
15228
15326
|
"use strict";
|
|
15327
|
+
init_cjs_shims();
|
|
15229
15328
|
(function(ValueType2) {
|
|
15230
15329
|
ValueType2[ValueType2["INT"] = 0] = "INT";
|
|
15231
15330
|
ValueType2[ValueType2["DOUBLE"] = 1] = "DOUBLE";
|
|
@@ -15238,6 +15337,7 @@ var defaultTextMapGetter, defaultTextMapSetter;
|
|
|
15238
15337
|
var init_TextMapPropagator = __esm({
|
|
15239
15338
|
"../../node_modules/@opentelemetry/api/build/esm/propagation/TextMapPropagator.js"() {
|
|
15240
15339
|
"use strict";
|
|
15340
|
+
init_cjs_shims();
|
|
15241
15341
|
defaultTextMapGetter = {
|
|
15242
15342
|
get(carrier, key) {
|
|
15243
15343
|
if (carrier == null) {
|
|
@@ -15268,6 +15368,7 @@ var NoopContextManager;
|
|
|
15268
15368
|
var init_NoopContextManager = __esm({
|
|
15269
15369
|
"../../node_modules/@opentelemetry/api/build/esm/context/NoopContextManager.js"() {
|
|
15270
15370
|
"use strict";
|
|
15371
|
+
init_cjs_shims();
|
|
15271
15372
|
init_context();
|
|
15272
15373
|
NoopContextManager = class {
|
|
15273
15374
|
active() {
|
|
@@ -15294,6 +15395,7 @@ var API_NAME2, NOOP_CONTEXT_MANAGER, ContextAPI;
|
|
|
15294
15395
|
var init_context2 = __esm({
|
|
15295
15396
|
"../../node_modules/@opentelemetry/api/build/esm/api/context.js"() {
|
|
15296
15397
|
"use strict";
|
|
15398
|
+
init_cjs_shims();
|
|
15297
15399
|
init_NoopContextManager();
|
|
15298
15400
|
init_global_utils();
|
|
15299
15401
|
init_diag();
|
|
@@ -15361,6 +15463,7 @@ var TraceFlags;
|
|
|
15361
15463
|
var init_trace_flags = __esm({
|
|
15362
15464
|
"../../node_modules/@opentelemetry/api/build/esm/trace/trace_flags.js"() {
|
|
15363
15465
|
"use strict";
|
|
15466
|
+
init_cjs_shims();
|
|
15364
15467
|
(function(TraceFlags2) {
|
|
15365
15468
|
TraceFlags2[TraceFlags2["NONE"] = 0] = "NONE";
|
|
15366
15469
|
TraceFlags2[TraceFlags2["SAMPLED"] = 1] = "SAMPLED";
|
|
@@ -15373,6 +15476,7 @@ var INVALID_SPANID, INVALID_TRACEID, INVALID_SPAN_CONTEXT;
|
|
|
15373
15476
|
var init_invalid_span_constants = __esm({
|
|
15374
15477
|
"../../node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.js"() {
|
|
15375
15478
|
"use strict";
|
|
15479
|
+
init_cjs_shims();
|
|
15376
15480
|
init_trace_flags();
|
|
15377
15481
|
INVALID_SPANID = "0000000000000000";
|
|
15378
15482
|
INVALID_TRACEID = "00000000000000000000000000000000";
|
|
@@ -15389,6 +15493,7 @@ var NonRecordingSpan;
|
|
|
15389
15493
|
var init_NonRecordingSpan = __esm({
|
|
15390
15494
|
"../../node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.js"() {
|
|
15391
15495
|
"use strict";
|
|
15496
|
+
init_cjs_shims();
|
|
15392
15497
|
init_invalid_span_constants();
|
|
15393
15498
|
NonRecordingSpan = class {
|
|
15394
15499
|
constructor(spanContext = INVALID_SPAN_CONTEXT) {
|
|
@@ -15462,6 +15567,7 @@ var SPAN_KEY;
|
|
|
15462
15567
|
var init_context_utils = __esm({
|
|
15463
15568
|
"../../node_modules/@opentelemetry/api/build/esm/trace/context-utils.js"() {
|
|
15464
15569
|
"use strict";
|
|
15570
|
+
init_cjs_shims();
|
|
15465
15571
|
init_context();
|
|
15466
15572
|
init_NonRecordingSpan();
|
|
15467
15573
|
init_context2();
|
|
@@ -15495,6 +15601,7 @@ var isHex;
|
|
|
15495
15601
|
var init_spancontext_utils = __esm({
|
|
15496
15602
|
"../../node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.js"() {
|
|
15497
15603
|
"use strict";
|
|
15604
|
+
init_cjs_shims();
|
|
15498
15605
|
init_invalid_span_constants();
|
|
15499
15606
|
init_NonRecordingSpan();
|
|
15500
15607
|
isHex = new Uint8Array([
|
|
@@ -15613,6 +15720,7 @@ var contextApi, NoopTracer;
|
|
|
15613
15720
|
var init_NoopTracer = __esm({
|
|
15614
15721
|
"../../node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.js"() {
|
|
15615
15722
|
"use strict";
|
|
15723
|
+
init_cjs_shims();
|
|
15616
15724
|
init_context2();
|
|
15617
15725
|
init_context_utils();
|
|
15618
15726
|
init_NonRecordingSpan();
|
|
@@ -15662,6 +15770,7 @@ var NOOP_TRACER, ProxyTracer;
|
|
|
15662
15770
|
var init_ProxyTracer = __esm({
|
|
15663
15771
|
"../../node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.js"() {
|
|
15664
15772
|
"use strict";
|
|
15773
|
+
init_cjs_shims();
|
|
15665
15774
|
init_NoopTracer();
|
|
15666
15775
|
NOOP_TRACER = new NoopTracer();
|
|
15667
15776
|
ProxyTracer = class {
|
|
@@ -15702,6 +15811,7 @@ var NoopTracerProvider;
|
|
|
15702
15811
|
var init_NoopTracerProvider = __esm({
|
|
15703
15812
|
"../../node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.js"() {
|
|
15704
15813
|
"use strict";
|
|
15814
|
+
init_cjs_shims();
|
|
15705
15815
|
init_NoopTracer();
|
|
15706
15816
|
NoopTracerProvider = class {
|
|
15707
15817
|
getTracer(_name, _version, _options) {
|
|
@@ -15716,6 +15826,7 @@ var NOOP_TRACER_PROVIDER, ProxyTracerProvider;
|
|
|
15716
15826
|
var init_ProxyTracerProvider = __esm({
|
|
15717
15827
|
"../../node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.js"() {
|
|
15718
15828
|
"use strict";
|
|
15829
|
+
init_cjs_shims();
|
|
15719
15830
|
init_ProxyTracer();
|
|
15720
15831
|
init_NoopTracerProvider();
|
|
15721
15832
|
NOOP_TRACER_PROVIDER = new NoopTracerProvider();
|
|
@@ -15750,6 +15861,7 @@ var SamplingDecision;
|
|
|
15750
15861
|
var init_SamplingResult = __esm({
|
|
15751
15862
|
"../../node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.js"() {
|
|
15752
15863
|
"use strict";
|
|
15864
|
+
init_cjs_shims();
|
|
15753
15865
|
(function(SamplingDecision3) {
|
|
15754
15866
|
SamplingDecision3[SamplingDecision3["NOT_RECORD"] = 0] = "NOT_RECORD";
|
|
15755
15867
|
SamplingDecision3[SamplingDecision3["RECORD"] = 1] = "RECORD";
|
|
@@ -15763,6 +15875,7 @@ var SpanKind;
|
|
|
15763
15875
|
var init_span_kind = __esm({
|
|
15764
15876
|
"../../node_modules/@opentelemetry/api/build/esm/trace/span_kind.js"() {
|
|
15765
15877
|
"use strict";
|
|
15878
|
+
init_cjs_shims();
|
|
15766
15879
|
(function(SpanKind2) {
|
|
15767
15880
|
SpanKind2[SpanKind2["INTERNAL"] = 0] = "INTERNAL";
|
|
15768
15881
|
SpanKind2[SpanKind2["SERVER"] = 1] = "SERVER";
|
|
@@ -15778,6 +15891,7 @@ var SpanStatusCode;
|
|
|
15778
15891
|
var init_status = __esm({
|
|
15779
15892
|
"../../node_modules/@opentelemetry/api/build/esm/trace/status.js"() {
|
|
15780
15893
|
"use strict";
|
|
15894
|
+
init_cjs_shims();
|
|
15781
15895
|
(function(SpanStatusCode2) {
|
|
15782
15896
|
SpanStatusCode2[SpanStatusCode2["UNSET"] = 0] = "UNSET";
|
|
15783
15897
|
SpanStatusCode2[SpanStatusCode2["OK"] = 1] = "OK";
|
|
@@ -15797,6 +15911,7 @@ var VALID_KEY_CHAR_RANGE, VALID_KEY, VALID_VENDOR_KEY, VALID_KEY_REGEX, VALID_VA
|
|
|
15797
15911
|
var init_tracestate_validators = __esm({
|
|
15798
15912
|
"../../node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-validators.js"() {
|
|
15799
15913
|
"use strict";
|
|
15914
|
+
init_cjs_shims();
|
|
15800
15915
|
VALID_KEY_CHAR_RANGE = "[_0-9a-z-*/]";
|
|
15801
15916
|
VALID_KEY = `[a-z]${VALID_KEY_CHAR_RANGE}{0,255}`;
|
|
15802
15917
|
VALID_VENDOR_KEY = `[a-z0-9]${VALID_KEY_CHAR_RANGE}{0,240}@[a-z]${VALID_KEY_CHAR_RANGE}{0,13}`;
|
|
@@ -15811,6 +15926,7 @@ var MAX_TRACE_STATE_ITEMS, MAX_TRACE_STATE_LEN, LIST_MEMBERS_SEPARATOR, LIST_MEM
|
|
|
15811
15926
|
var init_tracestate_impl = __esm({
|
|
15812
15927
|
"../../node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-impl.js"() {
|
|
15813
15928
|
"use strict";
|
|
15929
|
+
init_cjs_shims();
|
|
15814
15930
|
init_tracestate_validators();
|
|
15815
15931
|
MAX_TRACE_STATE_ITEMS = 32;
|
|
15816
15932
|
MAX_TRACE_STATE_LEN = 512;
|
|
@@ -15884,6 +16000,7 @@ function createTraceState(rawTraceState) {
|
|
|
15884
16000
|
var init_utils2 = __esm({
|
|
15885
16001
|
"../../node_modules/@opentelemetry/api/build/esm/trace/internal/utils.js"() {
|
|
15886
16002
|
"use strict";
|
|
16003
|
+
init_cjs_shims();
|
|
15887
16004
|
init_tracestate_impl();
|
|
15888
16005
|
}
|
|
15889
16006
|
});
|
|
@@ -15893,6 +16010,7 @@ var context;
|
|
|
15893
16010
|
var init_context_api = __esm({
|
|
15894
16011
|
"../../node_modules/@opentelemetry/api/build/esm/context-api.js"() {
|
|
15895
16012
|
"use strict";
|
|
16013
|
+
init_cjs_shims();
|
|
15896
16014
|
init_context2();
|
|
15897
16015
|
context = ContextAPI.getInstance();
|
|
15898
16016
|
}
|
|
@@ -15903,6 +16021,7 @@ var diag2;
|
|
|
15903
16021
|
var init_diag_api = __esm({
|
|
15904
16022
|
"../../node_modules/@opentelemetry/api/build/esm/diag-api.js"() {
|
|
15905
16023
|
"use strict";
|
|
16024
|
+
init_cjs_shims();
|
|
15906
16025
|
init_diag();
|
|
15907
16026
|
diag2 = DiagAPI.instance();
|
|
15908
16027
|
}
|
|
@@ -15913,6 +16032,7 @@ var NoopMeterProvider, NOOP_METER_PROVIDER;
|
|
|
15913
16032
|
var init_NoopMeterProvider = __esm({
|
|
15914
16033
|
"../../node_modules/@opentelemetry/api/build/esm/metrics/NoopMeterProvider.js"() {
|
|
15915
16034
|
"use strict";
|
|
16035
|
+
init_cjs_shims();
|
|
15916
16036
|
init_NoopMeter();
|
|
15917
16037
|
NoopMeterProvider = class {
|
|
15918
16038
|
getMeter(_name, _version, _options) {
|
|
@@ -15928,6 +16048,7 @@ var API_NAME3, MetricsAPI;
|
|
|
15928
16048
|
var init_metrics = __esm({
|
|
15929
16049
|
"../../node_modules/@opentelemetry/api/build/esm/api/metrics.js"() {
|
|
15930
16050
|
"use strict";
|
|
16051
|
+
init_cjs_shims();
|
|
15931
16052
|
init_NoopMeterProvider();
|
|
15932
16053
|
init_global_utils();
|
|
15933
16054
|
init_diag();
|
|
@@ -15975,6 +16096,7 @@ var metrics;
|
|
|
15975
16096
|
var init_metrics_api = __esm({
|
|
15976
16097
|
"../../node_modules/@opentelemetry/api/build/esm/metrics-api.js"() {
|
|
15977
16098
|
"use strict";
|
|
16099
|
+
init_cjs_shims();
|
|
15978
16100
|
init_metrics();
|
|
15979
16101
|
metrics = MetricsAPI.getInstance();
|
|
15980
16102
|
}
|
|
@@ -15985,6 +16107,7 @@ var NoopTextMapPropagator;
|
|
|
15985
16107
|
var init_NoopTextMapPropagator = __esm({
|
|
15986
16108
|
"../../node_modules/@opentelemetry/api/build/esm/propagation/NoopTextMapPropagator.js"() {
|
|
15987
16109
|
"use strict";
|
|
16110
|
+
init_cjs_shims();
|
|
15988
16111
|
NoopTextMapPropagator = class {
|
|
15989
16112
|
/** Noop inject function does nothing */
|
|
15990
16113
|
inject(_context, _carrier) {
|
|
@@ -16017,6 +16140,7 @@ var BAGGAGE_KEY;
|
|
|
16017
16140
|
var init_context_helpers = __esm({
|
|
16018
16141
|
"../../node_modules/@opentelemetry/api/build/esm/baggage/context-helpers.js"() {
|
|
16019
16142
|
"use strict";
|
|
16143
|
+
init_cjs_shims();
|
|
16020
16144
|
init_context2();
|
|
16021
16145
|
init_context();
|
|
16022
16146
|
BAGGAGE_KEY = createContextKey("OpenTelemetry Baggage Key");
|
|
@@ -16028,6 +16152,7 @@ var API_NAME4, NOOP_TEXT_MAP_PROPAGATOR, PropagationAPI;
|
|
|
16028
16152
|
var init_propagation = __esm({
|
|
16029
16153
|
"../../node_modules/@opentelemetry/api/build/esm/api/propagation.js"() {
|
|
16030
16154
|
"use strict";
|
|
16155
|
+
init_cjs_shims();
|
|
16031
16156
|
init_global_utils();
|
|
16032
16157
|
init_NoopTextMapPropagator();
|
|
16033
16158
|
init_TextMapPropagator();
|
|
@@ -16102,6 +16227,7 @@ var propagation;
|
|
|
16102
16227
|
var init_propagation_api = __esm({
|
|
16103
16228
|
"../../node_modules/@opentelemetry/api/build/esm/propagation-api.js"() {
|
|
16104
16229
|
"use strict";
|
|
16230
|
+
init_cjs_shims();
|
|
16105
16231
|
init_propagation();
|
|
16106
16232
|
propagation = PropagationAPI.getInstance();
|
|
16107
16233
|
}
|
|
@@ -16112,6 +16238,7 @@ var API_NAME5, TraceAPI;
|
|
|
16112
16238
|
var init_trace = __esm({
|
|
16113
16239
|
"../../node_modules/@opentelemetry/api/build/esm/api/trace.js"() {
|
|
16114
16240
|
"use strict";
|
|
16241
|
+
init_cjs_shims();
|
|
16115
16242
|
init_global_utils();
|
|
16116
16243
|
init_ProxyTracerProvider();
|
|
16117
16244
|
init_spancontext_utils();
|
|
@@ -16176,6 +16303,7 @@ var trace;
|
|
|
16176
16303
|
var init_trace_api = __esm({
|
|
16177
16304
|
"../../node_modules/@opentelemetry/api/build/esm/trace-api.js"() {
|
|
16178
16305
|
"use strict";
|
|
16306
|
+
init_cjs_shims();
|
|
16179
16307
|
init_trace();
|
|
16180
16308
|
trace = TraceAPI.getInstance();
|
|
16181
16309
|
}
|
|
@@ -16217,6 +16345,7 @@ var esm_default;
|
|
|
16217
16345
|
var init_esm = __esm({
|
|
16218
16346
|
"../../node_modules/@opentelemetry/api/build/esm/index.js"() {
|
|
16219
16347
|
"use strict";
|
|
16348
|
+
init_cjs_shims();
|
|
16220
16349
|
init_utils();
|
|
16221
16350
|
init_context();
|
|
16222
16351
|
init_consoleLogger();
|
|
@@ -16288,6 +16417,7 @@ var hasFired;
|
|
|
16288
16417
|
var init_error_nudge = __esm({
|
|
16289
16418
|
"src/nudge/error-nudge.ts"() {
|
|
16290
16419
|
"use strict";
|
|
16420
|
+
init_cjs_shims();
|
|
16291
16421
|
init_env_detection();
|
|
16292
16422
|
hasFired = false;
|
|
16293
16423
|
}
|
|
@@ -16360,6 +16490,7 @@ var isGlasstraceLog, originalError, originalWarn, installed, otelApi;
|
|
|
16360
16490
|
var init_console_capture = __esm({
|
|
16361
16491
|
"src/console-capture.ts"() {
|
|
16362
16492
|
"use strict";
|
|
16493
|
+
init_cjs_shims();
|
|
16363
16494
|
init_error_nudge();
|
|
16364
16495
|
isGlasstraceLog = false;
|
|
16365
16496
|
originalError = null;
|
|
@@ -16679,6 +16810,7 @@ var fs2, path2, crypto2, import_node_child_process, LARGE_FILE_WARNING_BYTES, PR
|
|
|
16679
16810
|
var init_source_map_uploader = __esm({
|
|
16680
16811
|
"src/source-map-uploader.ts"() {
|
|
16681
16812
|
"use strict";
|
|
16813
|
+
init_cjs_shims();
|
|
16682
16814
|
fs2 = __toESM(require("fs/promises"), 1);
|
|
16683
16815
|
path2 = __toESM(require("path"), 1);
|
|
16684
16816
|
crypto2 = __toESM(require("crypto"), 1);
|
|
@@ -16730,8 +16862,10 @@ __export(src_exports, {
|
|
|
16730
16862
|
withGlasstraceConfig: () => withGlasstraceConfig
|
|
16731
16863
|
});
|
|
16732
16864
|
module.exports = __toCommonJS(src_exports);
|
|
16865
|
+
init_cjs_shims();
|
|
16733
16866
|
|
|
16734
16867
|
// src/errors.ts
|
|
16868
|
+
init_cjs_shims();
|
|
16735
16869
|
var SdkError = class extends Error {
|
|
16736
16870
|
code;
|
|
16737
16871
|
constructor(code, message, cause) {
|
|
@@ -16745,6 +16879,7 @@ var SdkError = class extends Error {
|
|
|
16745
16879
|
init_env_detection();
|
|
16746
16880
|
|
|
16747
16881
|
// src/session.ts
|
|
16882
|
+
init_cjs_shims();
|
|
16748
16883
|
init_dist();
|
|
16749
16884
|
var FOUR_HOURS_MS = 4 * 60 * 60 * 1e3;
|
|
16750
16885
|
var hashFn = null;
|
|
@@ -16836,6 +16971,7 @@ var SessionManager = class {
|
|
|
16836
16971
|
};
|
|
16837
16972
|
|
|
16838
16973
|
// src/fetch-classifier.ts
|
|
16974
|
+
init_cjs_shims();
|
|
16839
16975
|
var cachedPort2 = process.env.PORT ?? "3000";
|
|
16840
16976
|
function classifyFetchTarget(url2) {
|
|
16841
16977
|
let parsed;
|
|
@@ -16861,6 +16997,7 @@ function classifyFetchTarget(url2) {
|
|
|
16861
16997
|
}
|
|
16862
16998
|
|
|
16863
16999
|
// src/anon-key.ts
|
|
17000
|
+
init_cjs_shims();
|
|
16864
17001
|
init_dist();
|
|
16865
17002
|
var GLASSTRACE_DIR = ".glasstrace";
|
|
16866
17003
|
var ANON_KEY_FILE = "anon_key";
|
|
@@ -16950,9 +17087,11 @@ async function getOrCreateAnonKey(projectRoot) {
|
|
|
16950
17087
|
}
|
|
16951
17088
|
|
|
16952
17089
|
// src/init-client.ts
|
|
17090
|
+
init_cjs_shims();
|
|
16953
17091
|
init_dist();
|
|
16954
17092
|
|
|
16955
17093
|
// src/health-collector.ts
|
|
17094
|
+
init_cjs_shims();
|
|
16956
17095
|
var tracesExported = 0;
|
|
16957
17096
|
var tracesDropped = 0;
|
|
16958
17097
|
var initFailures = 0;
|
|
@@ -17323,6 +17462,7 @@ function didLastInitSucceed() {
|
|
|
17323
17462
|
}
|
|
17324
17463
|
|
|
17325
17464
|
// src/span-processor.ts
|
|
17465
|
+
init_cjs_shims();
|
|
17326
17466
|
var GlasstraceSpanProcessor = class {
|
|
17327
17467
|
wrappedProcessor;
|
|
17328
17468
|
/* eslint-disable @typescript-eslint/no-unused-vars -- backward compat signature */
|
|
@@ -17344,6 +17484,7 @@ var GlasstraceSpanProcessor = class {
|
|
|
17344
17484
|
};
|
|
17345
17485
|
|
|
17346
17486
|
// src/enriching-exporter.ts
|
|
17487
|
+
init_cjs_shims();
|
|
17347
17488
|
init_esm();
|
|
17348
17489
|
init_dist();
|
|
17349
17490
|
init_console_capture();
|
|
@@ -17655,6 +17796,7 @@ function deriveErrorCategory(errorType) {
|
|
|
17655
17796
|
}
|
|
17656
17797
|
|
|
17657
17798
|
// src/discovery-endpoint.ts
|
|
17799
|
+
init_cjs_shims();
|
|
17658
17800
|
function isAllowedOrigin(origin) {
|
|
17659
17801
|
if (origin === null) return true;
|
|
17660
17802
|
if (origin.startsWith("chrome-extension://")) return true;
|
|
@@ -17744,9 +17886,29 @@ function createDiscoveryHandler(getAnonKey, getSessionId, getClaimState) {
|
|
|
17744
17886
|
}
|
|
17745
17887
|
|
|
17746
17888
|
// src/register.ts
|
|
17889
|
+
init_cjs_shims();
|
|
17747
17890
|
init_env_detection();
|
|
17748
17891
|
|
|
17892
|
+
// src/otel-config.ts
|
|
17893
|
+
init_cjs_shims();
|
|
17894
|
+
|
|
17895
|
+
// ../../node_modules/@opentelemetry/exporter-trace-otlp-http/build/esm/index.js
|
|
17896
|
+
init_cjs_shims();
|
|
17897
|
+
|
|
17898
|
+
// ../../node_modules/@opentelemetry/exporter-trace-otlp-http/build/esm/platform/index.js
|
|
17899
|
+
init_cjs_shims();
|
|
17900
|
+
|
|
17901
|
+
// ../../node_modules/@opentelemetry/exporter-trace-otlp-http/build/esm/platform/node/index.js
|
|
17902
|
+
init_cjs_shims();
|
|
17903
|
+
|
|
17904
|
+
// ../../node_modules/@opentelemetry/exporter-trace-otlp-http/build/esm/platform/node/OTLPTraceExporter.js
|
|
17905
|
+
init_cjs_shims();
|
|
17906
|
+
|
|
17907
|
+
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/index.js
|
|
17908
|
+
init_cjs_shims();
|
|
17909
|
+
|
|
17749
17910
|
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/OTLPExporterBase.js
|
|
17911
|
+
init_cjs_shims();
|
|
17750
17912
|
var OTLPExporterBase = class {
|
|
17751
17913
|
_delegate;
|
|
17752
17914
|
constructor(delegate) {
|
|
@@ -17769,6 +17931,7 @@ var OTLPExporterBase = class {
|
|
|
17769
17931
|
};
|
|
17770
17932
|
|
|
17771
17933
|
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/types.js
|
|
17934
|
+
init_cjs_shims();
|
|
17772
17935
|
var OTLPExporterError = class extends Error {
|
|
17773
17936
|
code;
|
|
17774
17937
|
name = "OTLPExporterError";
|
|
@@ -17781,6 +17944,7 @@ var OTLPExporterError = class extends Error {
|
|
|
17781
17944
|
};
|
|
17782
17945
|
|
|
17783
17946
|
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/shared-configuration.js
|
|
17947
|
+
init_cjs_shims();
|
|
17784
17948
|
function validateTimeoutMillis(timeoutMillis) {
|
|
17785
17949
|
if (Number.isFinite(timeoutMillis) && timeoutMillis > 0) {
|
|
17786
17950
|
return timeoutMillis;
|
|
@@ -17809,6 +17973,7 @@ function getSharedConfigurationDefaults() {
|
|
|
17809
17973
|
}
|
|
17810
17974
|
|
|
17811
17975
|
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/bounded-queue-export-promise-handler.js
|
|
17976
|
+
init_cjs_shims();
|
|
17812
17977
|
var BoundedQueueExportPromiseHandler = class {
|
|
17813
17978
|
_concurrencyLimit;
|
|
17814
17979
|
_sendingPromises = [];
|
|
@@ -17840,7 +18005,14 @@ function createBoundedQueueExportPromiseHandler(options) {
|
|
|
17840
18005
|
return new BoundedQueueExportPromiseHandler(options.concurrencyLimit);
|
|
17841
18006
|
}
|
|
17842
18007
|
|
|
18008
|
+
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/otlp-export-delegate.js
|
|
18009
|
+
init_cjs_shims();
|
|
18010
|
+
|
|
18011
|
+
// ../../node_modules/@opentelemetry/core/build/esm/index.js
|
|
18012
|
+
init_cjs_shims();
|
|
18013
|
+
|
|
17843
18014
|
// ../../node_modules/@opentelemetry/core/build/esm/trace/suppress-tracing.js
|
|
18015
|
+
init_cjs_shims();
|
|
17844
18016
|
init_esm();
|
|
17845
18017
|
var SUPPRESS_TRACING_KEY = createContextKey("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
|
|
17846
18018
|
function suppressTracing(context2) {
|
|
@@ -17851,11 +18023,13 @@ function isTracingSuppressed(context2) {
|
|
|
17851
18023
|
}
|
|
17852
18024
|
|
|
17853
18025
|
// ../../node_modules/@opentelemetry/core/build/esm/baggage/constants.js
|
|
18026
|
+
init_cjs_shims();
|
|
17854
18027
|
var BAGGAGE_KEY_PAIR_SEPARATOR = "=";
|
|
17855
18028
|
var BAGGAGE_PROPERTIES_SEPARATOR = ";";
|
|
17856
18029
|
var BAGGAGE_ITEMS_SEPARATOR = ",";
|
|
17857
18030
|
|
|
17858
18031
|
// ../../node_modules/@opentelemetry/core/build/esm/baggage/utils.js
|
|
18032
|
+
init_cjs_shims();
|
|
17859
18033
|
init_esm();
|
|
17860
18034
|
function parsePairKeyValue(entry) {
|
|
17861
18035
|
if (!entry)
|
|
@@ -17898,6 +18072,7 @@ function parseKeyPairsIntoRecord(value) {
|
|
|
17898
18072
|
}
|
|
17899
18073
|
|
|
17900
18074
|
// ../../node_modules/@opentelemetry/core/build/esm/common/attributes.js
|
|
18075
|
+
init_cjs_shims();
|
|
17901
18076
|
init_esm();
|
|
17902
18077
|
function sanitizeAttributes(attributes) {
|
|
17903
18078
|
const out = {};
|
|
@@ -17967,7 +18142,11 @@ function isValidPrimitiveAttributeValueType(valType) {
|
|
|
17967
18142
|
return false;
|
|
17968
18143
|
}
|
|
17969
18144
|
|
|
18145
|
+
// ../../node_modules/@opentelemetry/core/build/esm/common/global-error-handler.js
|
|
18146
|
+
init_cjs_shims();
|
|
18147
|
+
|
|
17970
18148
|
// ../../node_modules/@opentelemetry/core/build/esm/common/logging-error-handler.js
|
|
18149
|
+
init_cjs_shims();
|
|
17971
18150
|
init_esm();
|
|
17972
18151
|
function loggingErrorHandler() {
|
|
17973
18152
|
return (ex) => {
|
|
@@ -18007,7 +18186,17 @@ function globalErrorHandler(ex) {
|
|
|
18007
18186
|
}
|
|
18008
18187
|
}
|
|
18009
18188
|
|
|
18189
|
+
// ../../node_modules/@opentelemetry/core/build/esm/common/time.js
|
|
18190
|
+
init_cjs_shims();
|
|
18191
|
+
|
|
18192
|
+
// ../../node_modules/@opentelemetry/core/build/esm/platform/index.js
|
|
18193
|
+
init_cjs_shims();
|
|
18194
|
+
|
|
18195
|
+
// ../../node_modules/@opentelemetry/core/build/esm/platform/node/index.js
|
|
18196
|
+
init_cjs_shims();
|
|
18197
|
+
|
|
18010
18198
|
// ../../node_modules/@opentelemetry/core/build/esm/platform/node/environment.js
|
|
18199
|
+
init_cjs_shims();
|
|
18011
18200
|
init_esm();
|
|
18012
18201
|
var import_util3 = require("util");
|
|
18013
18202
|
function getNumberFromEnv(key) {
|
|
@@ -18030,10 +18219,15 @@ function getStringFromEnv(key) {
|
|
|
18030
18219
|
return raw;
|
|
18031
18220
|
}
|
|
18032
18221
|
|
|
18222
|
+
// ../../node_modules/@opentelemetry/core/build/esm/platform/node/sdk-info.js
|
|
18223
|
+
init_cjs_shims();
|
|
18224
|
+
|
|
18033
18225
|
// ../../node_modules/@opentelemetry/core/build/esm/version.js
|
|
18226
|
+
init_cjs_shims();
|
|
18034
18227
|
var VERSION2 = "2.6.1";
|
|
18035
18228
|
|
|
18036
18229
|
// ../../node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js
|
|
18230
|
+
init_cjs_shims();
|
|
18037
18231
|
var ATTR_EXCEPTION_MESSAGE = "exception.message";
|
|
18038
18232
|
var ATTR_EXCEPTION_STACKTRACE = "exception.stacktrace";
|
|
18039
18233
|
var ATTR_EXCEPTION_TYPE = "exception.type";
|
|
@@ -18044,6 +18238,7 @@ var ATTR_TELEMETRY_SDK_NAME = "telemetry.sdk.name";
|
|
|
18044
18238
|
var ATTR_TELEMETRY_SDK_VERSION = "telemetry.sdk.version";
|
|
18045
18239
|
|
|
18046
18240
|
// ../../node_modules/@opentelemetry/core/build/esm/semconv.js
|
|
18241
|
+
init_cjs_shims();
|
|
18047
18242
|
var ATTR_PROCESS_RUNTIME_NAME = "process.runtime.name";
|
|
18048
18243
|
|
|
18049
18244
|
// ../../node_modules/@opentelemetry/core/build/esm/platform/node/sdk-info.js
|
|
@@ -18101,13 +18296,18 @@ function addHrTimes(time1, time22) {
|
|
|
18101
18296
|
}
|
|
18102
18297
|
|
|
18103
18298
|
// ../../node_modules/@opentelemetry/core/build/esm/ExportResult.js
|
|
18299
|
+
init_cjs_shims();
|
|
18104
18300
|
var ExportResultCode;
|
|
18105
18301
|
(function(ExportResultCode2) {
|
|
18106
18302
|
ExportResultCode2[ExportResultCode2["SUCCESS"] = 0] = "SUCCESS";
|
|
18107
18303
|
ExportResultCode2[ExportResultCode2["FAILED"] = 1] = "FAILED";
|
|
18108
18304
|
})(ExportResultCode || (ExportResultCode = {}));
|
|
18109
18305
|
|
|
18306
|
+
// ../../node_modules/@opentelemetry/core/build/esm/utils/merge.js
|
|
18307
|
+
init_cjs_shims();
|
|
18308
|
+
|
|
18110
18309
|
// ../../node_modules/@opentelemetry/core/build/esm/utils/lodash.merge.js
|
|
18310
|
+
init_cjs_shims();
|
|
18111
18311
|
var objectTag = "[object Object]";
|
|
18112
18312
|
var nullTag = "[object Null]";
|
|
18113
18313
|
var undefinedTag = "[object Undefined]";
|
|
@@ -18267,7 +18467,11 @@ function shouldMerge(one, two) {
|
|
|
18267
18467
|
return true;
|
|
18268
18468
|
}
|
|
18269
18469
|
|
|
18470
|
+
// ../../node_modules/@opentelemetry/core/build/esm/utils/callback.js
|
|
18471
|
+
init_cjs_shims();
|
|
18472
|
+
|
|
18270
18473
|
// ../../node_modules/@opentelemetry/core/build/esm/utils/promise.js
|
|
18474
|
+
init_cjs_shims();
|
|
18271
18475
|
var Deferred = class {
|
|
18272
18476
|
_promise;
|
|
18273
18477
|
_resolve;
|
|
@@ -18319,6 +18523,7 @@ var BindOnceFuture = class {
|
|
|
18319
18523
|
};
|
|
18320
18524
|
|
|
18321
18525
|
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/logging-response-handler.js
|
|
18526
|
+
init_cjs_shims();
|
|
18322
18527
|
init_esm();
|
|
18323
18528
|
function isPartialSuccessResponse(response) {
|
|
18324
18529
|
return Object.prototype.hasOwnProperty.call(response, "partialSuccess");
|
|
@@ -18418,7 +18623,11 @@ function createOtlpExportDelegate(components, settings) {
|
|
|
18418
18623
|
return new OTLPExportDelegate(components.transport, components.serializer, createLoggingPartialSuccessResponseHandler(), components.promiseHandler, settings.timeout);
|
|
18419
18624
|
}
|
|
18420
18625
|
|
|
18626
|
+
// ../../node_modules/@opentelemetry/otlp-transformer/build/esm/index.js
|
|
18627
|
+
init_cjs_shims();
|
|
18628
|
+
|
|
18421
18629
|
// ../../node_modules/@opentelemetry/otlp-transformer/build/esm/common/internal.js
|
|
18630
|
+
init_cjs_shims();
|
|
18422
18631
|
function createResource(resource, encoder) {
|
|
18423
18632
|
const result = {
|
|
18424
18633
|
attributes: toAttributes(resource.attributes, encoder),
|
|
@@ -18479,6 +18688,7 @@ function toAnyValue(value, encoder) {
|
|
|
18479
18688
|
}
|
|
18480
18689
|
|
|
18481
18690
|
// ../../node_modules/@opentelemetry/otlp-transformer/build/esm/common/utils.js
|
|
18691
|
+
init_cjs_shims();
|
|
18482
18692
|
function hrTimeToNanos(hrTime2) {
|
|
18483
18693
|
const NANOSECONDS = BigInt(1e9);
|
|
18484
18694
|
return BigInt(Math.trunc(hrTime2[0])) * NANOSECONDS + BigInt(Math.trunc(hrTime2[1]));
|
|
@@ -18507,10 +18717,15 @@ var JSON_ENCODER = {
|
|
|
18507
18717
|
}
|
|
18508
18718
|
};
|
|
18509
18719
|
|
|
18720
|
+
// ../../node_modules/@opentelemetry/resources/build/esm/index.js
|
|
18721
|
+
init_cjs_shims();
|
|
18722
|
+
|
|
18510
18723
|
// ../../node_modules/@opentelemetry/resources/build/esm/ResourceImpl.js
|
|
18724
|
+
init_cjs_shims();
|
|
18511
18725
|
init_esm();
|
|
18512
18726
|
|
|
18513
18727
|
// ../../node_modules/@opentelemetry/resources/build/esm/default-service-name.js
|
|
18728
|
+
init_cjs_shims();
|
|
18514
18729
|
var serviceName;
|
|
18515
18730
|
function defaultServiceName() {
|
|
18516
18731
|
if (serviceName === void 0) {
|
|
@@ -18525,6 +18740,7 @@ function defaultServiceName() {
|
|
|
18525
18740
|
}
|
|
18526
18741
|
|
|
18527
18742
|
// ../../node_modules/@opentelemetry/resources/build/esm/utils.js
|
|
18743
|
+
init_cjs_shims();
|
|
18528
18744
|
var isPromiseLike = (val) => {
|
|
18529
18745
|
return val !== null && typeof val === "object" && typeof val.then === "function";
|
|
18530
18746
|
};
|
|
@@ -18652,6 +18868,7 @@ function mergeSchemaUrl(old, updating) {
|
|
|
18652
18868
|
}
|
|
18653
18869
|
|
|
18654
18870
|
// ../../node_modules/@opentelemetry/otlp-transformer/build/esm/trace/internal.js
|
|
18871
|
+
init_cjs_shims();
|
|
18655
18872
|
var SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK = 256;
|
|
18656
18873
|
var SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK = 512;
|
|
18657
18874
|
function buildSpanFlagsFrom(traceFlags, isRemote) {
|
|
@@ -18764,7 +18981,11 @@ function spanRecordsToResourceSpans(readableSpans, encoder) {
|
|
|
18764
18981
|
return out;
|
|
18765
18982
|
}
|
|
18766
18983
|
|
|
18984
|
+
// ../../node_modules/@opentelemetry/otlp-transformer/build/esm/trace/json/index.js
|
|
18985
|
+
init_cjs_shims();
|
|
18986
|
+
|
|
18767
18987
|
// ../../node_modules/@opentelemetry/otlp-transformer/build/esm/trace/json/trace.js
|
|
18988
|
+
init_cjs_shims();
|
|
18768
18989
|
var JsonTraceSerializer = {
|
|
18769
18990
|
serializeRequest: (arg) => {
|
|
18770
18991
|
const request = createExportTraceServiceRequest(arg, JSON_ENCODER);
|
|
@@ -18780,7 +19001,17 @@ var JsonTraceSerializer = {
|
|
|
18780
19001
|
}
|
|
18781
19002
|
};
|
|
18782
19003
|
|
|
19004
|
+
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/index-node-http.js
|
|
19005
|
+
init_cjs_shims();
|
|
19006
|
+
|
|
19007
|
+
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/otlp-node-http-configuration.js
|
|
19008
|
+
init_cjs_shims();
|
|
19009
|
+
|
|
19010
|
+
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/otlp-http-configuration.js
|
|
19011
|
+
init_cjs_shims();
|
|
19012
|
+
|
|
18783
19013
|
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/util.js
|
|
19014
|
+
init_cjs_shims();
|
|
18784
19015
|
init_esm();
|
|
18785
19016
|
function validateAndNormalizeHeaders(partialHeaders) {
|
|
18786
19017
|
const headers = {};
|
|
@@ -18863,11 +19094,19 @@ function getNodeHttpConfigurationDefaults(requiredHeaders, signalResourcePath) {
|
|
|
18863
19094
|
};
|
|
18864
19095
|
}
|
|
18865
19096
|
|
|
19097
|
+
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/otlp-http-export-delegate.js
|
|
19098
|
+
init_cjs_shims();
|
|
19099
|
+
|
|
19100
|
+
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/transport/http-exporter-transport.js
|
|
19101
|
+
init_cjs_shims();
|
|
19102
|
+
|
|
18866
19103
|
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/transport/http-transport-utils.js
|
|
19104
|
+
init_cjs_shims();
|
|
18867
19105
|
var zlib = __toESM(require("zlib"));
|
|
18868
19106
|
var import_stream = require("stream");
|
|
18869
19107
|
|
|
18870
19108
|
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/is-export-retryable.js
|
|
19109
|
+
init_cjs_shims();
|
|
18871
19110
|
function isExportHTTPErrorRetryable(statusCode) {
|
|
18872
19111
|
return statusCode === 429 || statusCode === 502 || statusCode === 503 || statusCode === 504;
|
|
18873
19112
|
}
|
|
@@ -18887,6 +19126,7 @@ function parseRetryAfterToMills(retryAfter) {
|
|
|
18887
19126
|
}
|
|
18888
19127
|
|
|
18889
19128
|
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/version.js
|
|
19129
|
+
init_cjs_shims();
|
|
18890
19130
|
var VERSION3 = "0.214.0";
|
|
18891
19131
|
|
|
18892
19132
|
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/transport/http-transport-utils.js
|
|
@@ -19044,6 +19284,7 @@ function createHttpExporterTransport(parameters) {
|
|
|
19044
19284
|
}
|
|
19045
19285
|
|
|
19046
19286
|
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/retrying-transport.js
|
|
19287
|
+
init_cjs_shims();
|
|
19047
19288
|
init_esm();
|
|
19048
19289
|
var MAX_ATTEMPTS = 5;
|
|
19049
19290
|
var INITIAL_BACKOFF = 1e3;
|
|
@@ -19112,6 +19353,7 @@ function createOtlpHttpExportDelegate(options, serializer) {
|
|
|
19112
19353
|
}
|
|
19113
19354
|
|
|
19114
19355
|
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/shared-env-configuration.js
|
|
19356
|
+
init_cjs_shims();
|
|
19115
19357
|
init_esm();
|
|
19116
19358
|
function parseAndValidateTimeoutFromEnv(timeoutEnvVar) {
|
|
19117
19359
|
const envTimeout = getNumberFromEnv(timeoutEnvVar);
|
|
@@ -19149,9 +19391,11 @@ function getSharedConfigurationFromEnvironment(signalIdentifier) {
|
|
|
19149
19391
|
}
|
|
19150
19392
|
|
|
19151
19393
|
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/convert-legacy-node-http-options.js
|
|
19394
|
+
init_cjs_shims();
|
|
19152
19395
|
init_esm();
|
|
19153
19396
|
|
|
19154
19397
|
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/otlp-node-http-env-configuration.js
|
|
19398
|
+
init_cjs_shims();
|
|
19155
19399
|
var fs = __toESM(require("fs"));
|
|
19156
19400
|
var path = __toESM(require("path"));
|
|
19157
19401
|
init_esm();
|
|
@@ -19246,6 +19490,7 @@ function getNodeHttpConfigurationFromEnvironment(signalIdentifier, signalResourc
|
|
|
19246
19490
|
}
|
|
19247
19491
|
|
|
19248
19492
|
// ../../node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/convert-legacy-http-options.js
|
|
19493
|
+
init_cjs_shims();
|
|
19249
19494
|
function convertLegacyHeaders(config2) {
|
|
19250
19495
|
if (typeof config2.headers === "function") {
|
|
19251
19496
|
return config2.headers;
|
|
@@ -19292,13 +19537,22 @@ var OTLPTraceExporter = class extends OTLPExporterBase {
|
|
|
19292
19537
|
}
|
|
19293
19538
|
};
|
|
19294
19539
|
|
|
19540
|
+
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/index.js
|
|
19541
|
+
init_cjs_shims();
|
|
19542
|
+
|
|
19543
|
+
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/BasicTracerProvider.js
|
|
19544
|
+
init_cjs_shims();
|
|
19545
|
+
|
|
19295
19546
|
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/Tracer.js
|
|
19547
|
+
init_cjs_shims();
|
|
19296
19548
|
init_esm();
|
|
19297
19549
|
|
|
19298
19550
|
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/Span.js
|
|
19551
|
+
init_cjs_shims();
|
|
19299
19552
|
init_esm();
|
|
19300
19553
|
|
|
19301
19554
|
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/enums.js
|
|
19555
|
+
init_cjs_shims();
|
|
19302
19556
|
var ExceptionEventName = "exception";
|
|
19303
19557
|
|
|
19304
19558
|
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/Span.js
|
|
@@ -19650,10 +19904,18 @@ var SpanImpl = class {
|
|
|
19650
19904
|
}
|
|
19651
19905
|
};
|
|
19652
19906
|
|
|
19907
|
+
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/utility.js
|
|
19908
|
+
init_cjs_shims();
|
|
19909
|
+
|
|
19653
19910
|
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/config.js
|
|
19911
|
+
init_cjs_shims();
|
|
19654
19912
|
init_esm();
|
|
19655
19913
|
|
|
19914
|
+
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/sampler/AlwaysOffSampler.js
|
|
19915
|
+
init_cjs_shims();
|
|
19916
|
+
|
|
19656
19917
|
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/Sampler.js
|
|
19918
|
+
init_cjs_shims();
|
|
19657
19919
|
var SamplingDecision2;
|
|
19658
19920
|
(function(SamplingDecision3) {
|
|
19659
19921
|
SamplingDecision3[SamplingDecision3["NOT_RECORD"] = 0] = "NOT_RECORD";
|
|
@@ -19674,6 +19936,7 @@ var AlwaysOffSampler = class {
|
|
|
19674
19936
|
};
|
|
19675
19937
|
|
|
19676
19938
|
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/sampler/AlwaysOnSampler.js
|
|
19939
|
+
init_cjs_shims();
|
|
19677
19940
|
var AlwaysOnSampler = class {
|
|
19678
19941
|
shouldSample() {
|
|
19679
19942
|
return {
|
|
@@ -19686,6 +19949,7 @@ var AlwaysOnSampler = class {
|
|
|
19686
19949
|
};
|
|
19687
19950
|
|
|
19688
19951
|
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/sampler/ParentBasedSampler.js
|
|
19952
|
+
init_cjs_shims();
|
|
19689
19953
|
init_esm();
|
|
19690
19954
|
var ParentBasedSampler = class {
|
|
19691
19955
|
_root;
|
|
@@ -19726,6 +19990,7 @@ var ParentBasedSampler = class {
|
|
|
19726
19990
|
};
|
|
19727
19991
|
|
|
19728
19992
|
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/sampler/TraceIdRatioBasedSampler.js
|
|
19993
|
+
init_cjs_shims();
|
|
19729
19994
|
init_esm();
|
|
19730
19995
|
var TraceIdRatioBasedSampler = class {
|
|
19731
19996
|
_ratio;
|
|
@@ -19848,7 +20113,17 @@ function reconfigureLimits(userConfig) {
|
|
|
19848
20113
|
return Object.assign({}, userConfig, { spanLimits });
|
|
19849
20114
|
}
|
|
19850
20115
|
|
|
20116
|
+
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/platform/index.js
|
|
20117
|
+
init_cjs_shims();
|
|
20118
|
+
|
|
20119
|
+
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/platform/node/index.js
|
|
20120
|
+
init_cjs_shims();
|
|
20121
|
+
|
|
20122
|
+
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/platform/node/export/BatchSpanProcessor.js
|
|
20123
|
+
init_cjs_shims();
|
|
20124
|
+
|
|
19851
20125
|
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/export/BatchSpanProcessorBase.js
|
|
20126
|
+
init_cjs_shims();
|
|
19852
20127
|
init_esm();
|
|
19853
20128
|
var BatchSpanProcessorBase = class {
|
|
19854
20129
|
_maxExportBatchSize;
|
|
@@ -20021,6 +20296,7 @@ var BatchSpanProcessor = class extends BatchSpanProcessorBase {
|
|
|
20021
20296
|
};
|
|
20022
20297
|
|
|
20023
20298
|
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/platform/node/RandomIdGenerator.js
|
|
20299
|
+
init_cjs_shims();
|
|
20024
20300
|
var SPAN_ID_BYTES = 8;
|
|
20025
20301
|
var TRACE_ID_BYTES = 16;
|
|
20026
20302
|
var RandomIdGenerator = class {
|
|
@@ -20052,7 +20328,11 @@ function getIdGenerator(bytes) {
|
|
|
20052
20328
|
};
|
|
20053
20329
|
}
|
|
20054
20330
|
|
|
20331
|
+
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/TracerMetrics.js
|
|
20332
|
+
init_cjs_shims();
|
|
20333
|
+
|
|
20055
20334
|
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/semconv.js
|
|
20335
|
+
init_cjs_shims();
|
|
20056
20336
|
var ATTR_OTEL_SPAN_PARENT_ORIGIN = "otel.span.parent.origin";
|
|
20057
20337
|
var ATTR_OTEL_SPAN_SAMPLING_RESULT = "otel.span.sampling_result";
|
|
20058
20338
|
var METRIC_OTEL_SDK_SPAN_LIVE = "otel.sdk.span.live";
|
|
@@ -20112,6 +20392,7 @@ function samplingDecisionToString(decision) {
|
|
|
20112
20392
|
}
|
|
20113
20393
|
|
|
20114
20394
|
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/version.js
|
|
20395
|
+
init_cjs_shims();
|
|
20115
20396
|
var VERSION4 = "2.6.1";
|
|
20116
20397
|
|
|
20117
20398
|
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/Tracer.js
|
|
@@ -20233,6 +20514,7 @@ var Tracer = class {
|
|
|
20233
20514
|
};
|
|
20234
20515
|
|
|
20235
20516
|
// ../../node_modules/@opentelemetry/sdk-trace-base/build/esm/MultiSpanProcessor.js
|
|
20517
|
+
init_cjs_shims();
|
|
20236
20518
|
var MultiSpanProcessor = class {
|
|
20237
20519
|
_spanProcessors;
|
|
20238
20520
|
constructor(spanProcessors) {
|
|
@@ -20461,12 +20743,12 @@ async function configureOtel(config2, sessionManager) {
|
|
|
20461
20743
|
}
|
|
20462
20744
|
|
|
20463
20745
|
// src/context-manager.ts
|
|
20746
|
+
init_cjs_shims();
|
|
20747
|
+
var import_node_async_hooks = require("async_hooks");
|
|
20464
20748
|
init_esm();
|
|
20465
20749
|
function installContextManager() {
|
|
20466
20750
|
try {
|
|
20467
|
-
const
|
|
20468
|
-
const asyncHooks = req("node:async_hooks");
|
|
20469
|
-
const als = new asyncHooks.AsyncLocalStorage();
|
|
20751
|
+
const als = new import_node_async_hooks.AsyncLocalStorage();
|
|
20470
20752
|
const contextManager = {
|
|
20471
20753
|
active: () => als.getStore() ?? ROOT_CONTEXT,
|
|
20472
20754
|
with: (context2, fn, thisArg, ...args) => als.run(context2, () => fn.apply(thisArg, args)),
|
|
@@ -20480,15 +20762,24 @@ function installContextManager() {
|
|
|
20480
20762
|
enable: () => contextManager,
|
|
20481
20763
|
disable: () => contextManager
|
|
20482
20764
|
};
|
|
20483
|
-
context.setGlobalContextManager(contextManager);
|
|
20765
|
+
const success2 = context.setGlobalContextManager(contextManager);
|
|
20766
|
+
if (!success2) {
|
|
20767
|
+
console.warn(
|
|
20768
|
+
"[glasstrace] Another context manager is already registered. Trace context propagation may not work as expected."
|
|
20769
|
+
);
|
|
20770
|
+
}
|
|
20771
|
+
return success2;
|
|
20484
20772
|
} catch {
|
|
20773
|
+
return false;
|
|
20485
20774
|
}
|
|
20486
20775
|
}
|
|
20487
20776
|
|
|
20488
20777
|
// src/register.ts
|
|
20778
|
+
init_esm();
|
|
20489
20779
|
init_console_capture();
|
|
20490
20780
|
|
|
20491
20781
|
// src/heartbeat.ts
|
|
20782
|
+
init_cjs_shims();
|
|
20492
20783
|
init_console_capture();
|
|
20493
20784
|
var HEARTBEAT_INTERVAL_MS = 5 * 60 * 1e3;
|
|
20494
20785
|
var BACKOFF_BASE_MS = HEARTBEAT_INTERVAL_MS;
|
|
@@ -20646,7 +20937,20 @@ function registerGlasstrace(options) {
|
|
|
20646
20937
|
}
|
|
20647
20938
|
isRegistered = true;
|
|
20648
20939
|
const currentGeneration = registrationGeneration;
|
|
20649
|
-
|
|
20940
|
+
const existingProbe = trace.getTracerProvider().getTracer("glasstrace-probe");
|
|
20941
|
+
const anotherProviderRegistered = existingProbe.constructor.name !== "ProxyTracer";
|
|
20942
|
+
if (anotherProviderRegistered) {
|
|
20943
|
+
if (config2.verbose) {
|
|
20944
|
+
console.info("[glasstrace] Another OTel provider detected \u2014 using existing context manager.");
|
|
20945
|
+
}
|
|
20946
|
+
} else {
|
|
20947
|
+
const contextManagerInstalled = installContextManager();
|
|
20948
|
+
if (config2.verbose) {
|
|
20949
|
+
console.info(
|
|
20950
|
+
contextManagerInstalled ? "[glasstrace] Context manager installed." : "[glasstrace] Context manager not available \u2014 trace context propagation disabled."
|
|
20951
|
+
);
|
|
20952
|
+
}
|
|
20953
|
+
}
|
|
20650
20954
|
void configureOtel(config2, sessionManager).then(
|
|
20651
20955
|
() => {
|
|
20652
20956
|
maybeInstallConsoleCapture();
|
|
@@ -20746,8 +21050,8 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
|
|
|
20746
21050
|
if (config2.verbose) {
|
|
20747
21051
|
console.info("[glasstrace] Background init firing.");
|
|
20748
21052
|
}
|
|
20749
|
-
const healthReport = collectHealthReport("0.13.
|
|
20750
|
-
const initResult = await performInit(config2, anonKeyForInit, "0.13.
|
|
21053
|
+
const healthReport = collectHealthReport("0.13.5");
|
|
21054
|
+
const initResult = await performInit(config2, anonKeyForInit, "0.13.5", healthReport);
|
|
20751
21055
|
if (generation !== registrationGeneration) return;
|
|
20752
21056
|
if (initResult?.claimResult) {
|
|
20753
21057
|
setResolvedApiKey(initResult.claimResult.newApiKey);
|
|
@@ -20755,7 +21059,7 @@ async function backgroundInit(config2, anonKeyForInit, generation) {
|
|
|
20755
21059
|
}
|
|
20756
21060
|
maybeInstallConsoleCapture();
|
|
20757
21061
|
if (didLastInitSucceed()) {
|
|
20758
|
-
startHeartbeat(config2, anonKeyForInit, "0.13.
|
|
21062
|
+
startHeartbeat(config2, anonKeyForInit, "0.13.5", generation, (newApiKey) => {
|
|
20759
21063
|
setResolvedApiKey(newApiKey);
|
|
20760
21064
|
notifyApiKeyResolved();
|
|
20761
21065
|
});
|
|
@@ -20781,6 +21085,7 @@ function isDiscoveryEnabled(config2) {
|
|
|
20781
21085
|
}
|
|
20782
21086
|
|
|
20783
21087
|
// src/config-wrapper.ts
|
|
21088
|
+
init_cjs_shims();
|
|
20784
21089
|
function withGlasstraceConfig(nextConfig) {
|
|
20785
21090
|
if (typeof process === "undefined" || typeof process.versions?.node !== "string") {
|
|
20786
21091
|
return nextConfig != null ? { ...nextConfig } : {};
|
|
@@ -20850,6 +21155,7 @@ async function handleSourceMapUpload(distDir) {
|
|
|
20850
21155
|
init_source_map_uploader();
|
|
20851
21156
|
|
|
20852
21157
|
// src/capture-error.ts
|
|
21158
|
+
init_cjs_shims();
|
|
20853
21159
|
init_esm();
|
|
20854
21160
|
init_error_nudge();
|
|
20855
21161
|
function captureError(error48) {
|
|
@@ -20872,6 +21178,7 @@ function captureError(error48) {
|
|
|
20872
21178
|
}
|
|
20873
21179
|
|
|
20874
21180
|
// src/import-graph.ts
|
|
21181
|
+
init_cjs_shims();
|
|
20875
21182
|
var fs3 = __toESM(require("fs/promises"), 1);
|
|
20876
21183
|
var fsSync = __toESM(require("fs"), 1);
|
|
20877
21184
|
var path3 = __toESM(require("path"), 1);
|