@burdenoff/be-sdk 2026.1110.1 → 2026.1110.3

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.
Files changed (469) hide show
  1. package/configs/eslint/index.js +1 -1
  2. package/configs/tsconfig/tsconfig.json +1 -1
  3. package/dist/EventQueueFactory-9NGZV9jl.js +1457 -0
  4. package/dist/EventQueueFactory-9NGZV9jl.js.map +1 -0
  5. package/dist/RedisStreamsConnection-CY8WySJy.js +283 -0
  6. package/dist/RedisStreamsConnection-CY8WySJy.js.map +1 -0
  7. package/dist/ai-credits/index.d.ts +2 -3
  8. package/dist/ai-credits/index.js +3 -4
  9. package/dist/ai-credits/index.js.map +1 -1
  10. package/dist/ai-credits-Ca-NNcVx.js +546 -0
  11. package/dist/ai-credits-Ca-NNcVx.js.map +1 -0
  12. package/dist/{assistant-session-CJZhF4D6.d.ts → assistant-session-DA5ZKJOr.d.ts} +4 -5
  13. package/dist/auth/index.d.ts +2 -77
  14. package/dist/auth/index.js +3 -7
  15. package/dist/auth/index.js.map +1 -1
  16. package/dist/auth-CEuBEBQN.js +228 -0
  17. package/dist/auth-CEuBEBQN.js.map +1 -0
  18. package/dist/cache/index.d.ts +2 -3
  19. package/dist/cache/index.js +3 -7
  20. package/dist/cache/index.js.map +1 -1
  21. package/dist/cache-CU0uLwcS.js +1837 -0
  22. package/dist/cache-CU0uLwcS.js.map +1 -0
  23. package/dist/captcha/index.d.ts +2 -1
  24. package/dist/captcha/index.js +3 -3
  25. package/dist/captcha/index.js.map +1 -1
  26. package/dist/captcha-BT7yh1YS.js +77 -0
  27. package/dist/captcha-BT7yh1YS.js.map +1 -0
  28. package/dist/client/internal-client.d.ts +4 -7
  29. package/dist/client/internal-client.js +172 -4
  30. package/dist/client/internal-client.js.map +1 -1
  31. package/dist/client-BgAEvDC2.d.ts +86 -0
  32. package/dist/client-DcZ3iGES.js +565 -0
  33. package/dist/client-DcZ3iGES.js.map +1 -0
  34. package/dist/collector-endpoint-iyQYeI50.js +50 -0
  35. package/dist/collector-endpoint-iyQYeI50.js.map +1 -0
  36. package/dist/context-CZnXf2yb.js +247 -0
  37. package/dist/context-CZnXf2yb.js.map +1 -0
  38. package/dist/crypto/index.d.ts +2 -1
  39. package/dist/crypto/index.js +3 -3
  40. package/dist/crypto/index.js.map +1 -1
  41. package/dist/crypto-DO9fM0FO.js +145 -0
  42. package/dist/crypto-DO9fM0FO.js.map +1 -0
  43. package/dist/database/index.d.ts +104 -108
  44. package/dist/database/index.js +468 -6
  45. package/dist/database/index.js.map +1 -1
  46. package/dist/dataloader/index.d.ts +2 -1
  47. package/dist/dataloader/index.js +3 -3
  48. package/dist/dataloader/index.js.map +1 -1
  49. package/dist/dataloader-DwpT3YoS.js +294 -0
  50. package/dist/dataloader-DwpT3YoS.js.map +1 -0
  51. package/dist/deployed-environment-p_Tdl3sT.js +38 -0
  52. package/dist/deployed-environment-p_Tdl3sT.js.map +1 -0
  53. package/dist/dist-BGKdXVy3.js +1718 -0
  54. package/dist/dist-BGKdXVy3.js.map +1 -0
  55. package/dist/env-DdaoGjIt.js +74 -0
  56. package/dist/env-DdaoGjIt.js.map +1 -0
  57. package/dist/event-queue/index.d.ts +2 -7
  58. package/dist/event-queue/index.js +7 -9
  59. package/dist/event-queue/index.js.map +1 -1
  60. package/dist/event-queue-Cw-YJPY_.js +1384 -0
  61. package/dist/event-queue-Cw-YJPY_.js.map +1 -0
  62. package/dist/{explicit-activity-scope-CCoxVwAr.d.ts → explicit-activity-scope-D8VeGGpt.d.ts} +1 -2
  63. package/dist/export/index.d.ts +2 -2
  64. package/dist/export/index.js +3 -14
  65. package/dist/export/index.js.map +1 -1
  66. package/dist/export-B6fphx8a.js +642 -0
  67. package/dist/export-B6fphx8a.js.map +1 -0
  68. package/dist/feature-flags/index.d.ts +2 -10
  69. package/dist/feature-flags/index.js +3 -6
  70. package/dist/feature-flags/index.js.map +1 -1
  71. package/dist/feature-flags-71oDkrUe.js +422 -0
  72. package/dist/feature-flags-71oDkrUe.js.map +1 -0
  73. package/dist/files/index.d.ts +2 -3
  74. package/dist/files/index.js +3 -4
  75. package/dist/files/index.js.map +1 -1
  76. package/dist/files-DjH0099H.js +830 -0
  77. package/dist/files-DjH0099H.js.map +1 -0
  78. package/dist/gateway/index.d.ts +4 -6
  79. package/dist/gateway/index.js +7 -13
  80. package/dist/gateway/index.js.map +1 -1
  81. package/dist/gateway/security/index.d.ts +2 -2
  82. package/dist/gateway/security/index.js +3 -5
  83. package/dist/gateway/security/index.js.map +1 -1
  84. package/dist/gateway-DBFmxWks.js +50 -0
  85. package/dist/gateway-DBFmxWks.js.map +1 -0
  86. package/dist/graph/index.d.ts +3 -10
  87. package/dist/graph/index.js +4 -13
  88. package/dist/graph/index.js.map +1 -1
  89. package/dist/graph-DDYgIryR.js +2152 -0
  90. package/dist/graph-DDYgIryR.js.map +1 -0
  91. package/dist/graph-emitter-CdOXP7Tn.js +621 -0
  92. package/dist/graph-emitter-CdOXP7Tn.js.map +1 -0
  93. package/dist/graphql/index.d.ts +3 -2
  94. package/dist/graphql/index.js +4 -6
  95. package/dist/graphql/index.js.map +1 -1
  96. package/dist/graphql/services/index.d.ts +2 -24
  97. package/dist/graphql/services/index.js +3 -4
  98. package/dist/graphql/services/index.js.map +1 -1
  99. package/dist/graphql-DHAHHcww.js +161 -0
  100. package/dist/graphql-DHAHHcww.js.map +1 -0
  101. package/dist/graphql-DNkMkGBZ.d.ts +21 -0
  102. package/dist/i18n/index.d.ts +3 -3
  103. package/dist/i18n/index.js +3 -4
  104. package/dist/i18n/index.js.map +1 -1
  105. package/dist/i18n-BBMYFd0P.js +860 -0
  106. package/dist/i18n-BBMYFd0P.js.map +1 -0
  107. package/dist/import-optional-peer-B82VYxeX.js +18 -0
  108. package/dist/import-optional-peer-B82VYxeX.js.map +1 -0
  109. package/dist/index-3KOZ1zN9.d.ts +233 -0
  110. package/dist/index-BBqooJ52.d.ts +45 -0
  111. package/dist/index-BGzMYJsm.d.ts +209 -0
  112. package/dist/index-BKwHQtHQ.d.ts +63 -0
  113. package/dist/index-BMIMnp6T.d.ts +8 -0
  114. package/dist/index-BQDsNAMR.d.ts +81 -0
  115. package/dist/index-BVOL7458.d.ts +10 -0
  116. package/dist/index-BcqQs-Uq.d.ts +69 -0
  117. package/dist/index-BeVtqGO-.d.ts +208 -0
  118. package/dist/index-BiTzGUZP.d.ts +114 -0
  119. package/dist/index-BqYfCQSP.d.ts +500 -0
  120. package/dist/index-C0qLquY0.d.ts +150 -0
  121. package/dist/index-C5uEKchX.d.ts +60 -0
  122. package/dist/index-CDOqxSIi.d.ts +37 -0
  123. package/dist/index-CG6wj66Y.d.ts +148 -0
  124. package/dist/index-CIgoeobA.d.ts +145 -0
  125. package/dist/index-CPQDMSFS.d.ts +103 -0
  126. package/dist/index-CSRcgkVi.d.ts +23 -0
  127. package/dist/index-CZTnQIRU.d.ts +341 -0
  128. package/dist/index-CaM9JUcc.d.ts +144 -0
  129. package/dist/index-CkT2aUr3.d.ts +704 -0
  130. package/dist/index-CliOgq6L.d.ts +203 -0
  131. package/dist/index-CnzbJZP7.d.ts +999 -0
  132. package/dist/index-D6UeLAye.d.ts +63 -0
  133. package/dist/index-DGgh9DWn.d.ts +59 -0
  134. package/dist/index-DY3dNhMN.d.ts +420 -0
  135. package/dist/index-DZC-2o9R.d.ts +207 -0
  136. package/dist/index-DqbGqfAy.d.ts +127 -0
  137. package/dist/index-Dt1HJPTX.d.ts +12 -0
  138. package/dist/index-DtI6aBtB.d.ts +22 -0
  139. package/dist/index-FKohsiex.d.ts +38 -0
  140. package/dist/index-FbXPfen7.d.ts +132 -0
  141. package/dist/index-MArCb8Aq.d.ts +306 -0
  142. package/dist/index-N-huORcj.d.ts +303 -0
  143. package/dist/index-YOShAwkq.d.ts +45 -0
  144. package/dist/index-bZKZUvBu.d.ts +646 -0
  145. package/dist/index-yBSjMY32.d.ts +24 -0
  146. package/dist/index.d.ts +501 -544
  147. package/dist/index.js +1820 -2171
  148. package/dist/index.js.map +1 -1
  149. package/dist/init/index.d.ts +2 -2
  150. package/dist/init/index.js +3 -16
  151. package/dist/init/index.js.map +1 -1
  152. package/dist/init-Dy3KhT6Y.js +325 -0
  153. package/dist/init-Dy3KhT6Y.js.map +1 -0
  154. package/dist/instrumentation/index.d.ts +3 -4
  155. package/dist/instrumentation/index.js +5 -5
  156. package/dist/instrumentation/index.js.map +1 -1
  157. package/dist/instrumentation-xkkmDgJ0.js +1678 -0
  158. package/dist/instrumentation-xkkmDgJ0.js.map +1 -0
  159. package/dist/lake/index.d.ts +50 -54
  160. package/dist/lake/index.js +169 -193
  161. package/dist/lake/index.js.map +1 -1
  162. package/dist/layer/index.d.ts +3 -2
  163. package/dist/layer/index.js +4 -5
  164. package/dist/layer/index.js.map +1 -1
  165. package/dist/layer-BZBZZWeV.d.ts +69 -0
  166. package/dist/layer-Bcix-WCl.js +105 -0
  167. package/dist/layer-Bcix-WCl.js.map +1 -0
  168. package/dist/layer-CEKy6cm8.js +252 -0
  169. package/dist/layer-CEKy6cm8.js.map +1 -0
  170. package/dist/lifecycle/index.d.ts +2 -1
  171. package/dist/lifecycle/index.js +3 -4
  172. package/dist/lifecycle/index.js.map +1 -1
  173. package/dist/lifecycle-DeoLSX0U.js +76 -0
  174. package/dist/lifecycle-DeoLSX0U.js.map +1 -0
  175. package/dist/logger/index.d.ts +2 -3
  176. package/dist/logger/index.js +3 -3
  177. package/dist/logger/index.js.map +1 -1
  178. package/dist/logger-B6rCpb7D.js +290 -0
  179. package/dist/logger-B6rCpb7D.js.map +1 -0
  180. package/dist/metrics/index.d.ts +13 -14
  181. package/dist/metrics/index.js +3 -4
  182. package/dist/metrics/index.js.map +1 -1
  183. package/dist/metrics-BrLwNUrb.js +52 -0
  184. package/dist/metrics-BrLwNUrb.js.map +1 -0
  185. package/dist/metrics-collector-C2eShrlW.js +922 -0
  186. package/dist/metrics-collector-C2eShrlW.js.map +1 -0
  187. package/dist/middleware/index.d.ts +3 -3
  188. package/dist/middleware/index.js +3 -4
  189. package/dist/middleware/index.js.map +1 -1
  190. package/dist/middleware-CUxJVUpD.js +1243 -0
  191. package/dist/middleware-CUxJVUpD.js.map +1 -0
  192. package/dist/middleware-Cq0zFMGp.js +253 -0
  193. package/dist/middleware-Cq0zFMGp.js.map +1 -0
  194. package/dist/notifications/index.d.ts +2 -5
  195. package/dist/notifications/index.js +3 -6
  196. package/dist/notifications/index.js.map +1 -1
  197. package/dist/notifications-CdETrtFK.js +869 -0
  198. package/dist/notifications-CdETrtFK.js.map +1 -0
  199. package/dist/observability/index.d.ts +2 -3
  200. package/dist/observability/index.js +3 -4
  201. package/dist/observability/index.js.map +1 -1
  202. package/dist/observability-DBDXipTU.js +272 -0
  203. package/dist/observability-DBDXipTU.js.map +1 -0
  204. package/dist/platform/index.d.ts +2 -1
  205. package/dist/platform/index.js +3 -5
  206. package/dist/platform/index.js.map +1 -1
  207. package/dist/platform-DZwczW7v.js +1510 -0
  208. package/dist/platform-DZwczW7v.js.map +1 -0
  209. package/dist/prisma/generator/index.d.ts +1 -1
  210. package/dist/prisma/generator/index.js +97 -84
  211. package/dist/prisma/generator/index.js.map +1 -1
  212. package/dist/prisma/index.d.ts +4 -7
  213. package/dist/prisma/index.js +5 -12
  214. package/dist/prisma/index.js.map +1 -1
  215. package/dist/prisma-BzOOdt79.js +863 -0
  216. package/dist/prisma-BzOOdt79.js.map +1 -0
  217. package/dist/prisma-extension-Cfl09swM.d.ts +172 -0
  218. package/dist/product-alias/index.d.ts +2 -1
  219. package/dist/product-alias/index.js +3 -3
  220. package/dist/product-alias/index.js.map +1 -1
  221. package/dist/product-alias-BPqtskMq.js +273 -0
  222. package/dist/product-alias-BPqtskMq.js.map +1 -0
  223. package/dist/rbac/index.d.ts +2 -122
  224. package/dist/rbac/index.js +3 -6
  225. package/dist/rbac/index.js.map +1 -1
  226. package/dist/rbac-BB9l9Xph.js +1486 -0
  227. package/dist/rbac-BB9l9Xph.js.map +1 -0
  228. package/dist/resource-caps/index.d.ts +66 -72
  229. package/dist/resource-caps/index.js +430 -5
  230. package/dist/resource-caps/index.js.map +1 -1
  231. package/dist/rolldown-runtime-ad2WFvuA.js +17 -0
  232. package/dist/sdk-Dju9o-sq.js +124 -0
  233. package/dist/sdk-Dju9o-sq.js.map +1 -0
  234. package/dist/security-DIG-95Ic.js +1647 -0
  235. package/dist/security-DIG-95Ic.js.map +1 -0
  236. package/dist/server/index.d.ts +7 -164
  237. package/dist/server/index.js +2000 -1507
  238. package/dist/server/index.js.map +1 -1
  239. package/dist/service-jwt-Bu-WNA_-.js +80 -0
  240. package/dist/service-jwt-Bu-WNA_-.js.map +1 -0
  241. package/dist/services-BWzfz7vG.js +102 -0
  242. package/dist/services-BWzfz7vG.js.map +1 -0
  243. package/dist/sharding/index.d.ts +41 -44
  244. package/dist/sharding/index.js +156 -137
  245. package/dist/sharding/index.js.map +1 -1
  246. package/dist/sharing/index.d.ts +2 -1
  247. package/dist/sharing/index.js +3 -4
  248. package/dist/sharing/index.js.map +1 -1
  249. package/dist/sharing-CflDsSJ-.js +911 -0
  250. package/dist/sharing-CflDsSJ-.js.map +1 -0
  251. package/dist/stub-BqwKn4eh.js +630 -0
  252. package/dist/stub-BqwKn4eh.js.map +1 -0
  253. package/dist/tags/index.d.ts +2 -3
  254. package/dist/tags/index.js +3 -4
  255. package/dist/tags/index.js.map +1 -1
  256. package/dist/tags-B5xpbgsk.js +868 -0
  257. package/dist/{chunk-PBZFAAOM.js.map → tags-B5xpbgsk.js.map} +1 -1
  258. package/dist/telemetry/index.d.ts +64 -76
  259. package/dist/telemetry/index.js +369 -201
  260. package/dist/telemetry/index.js.map +1 -1
  261. package/dist/temporal/index.d.ts +2 -148
  262. package/dist/temporal/index.js +3 -5
  263. package/dist/temporal/index.js.map +1 -1
  264. package/dist/temporal-B534uYK8.js +706 -0
  265. package/dist/temporal-B534uYK8.js.map +1 -0
  266. package/dist/tracker/index.d.ts +5 -11
  267. package/dist/tracker/index.js +5 -20
  268. package/dist/tracker/index.js.map +1 -1
  269. package/dist/tracker-BQVoEFUo.js +839 -0
  270. package/dist/tracker-BQVoEFUo.js.map +1 -0
  271. package/dist/types-BYMYND1L.js +44 -0
  272. package/dist/types-BYMYND1L.js.map +1 -0
  273. package/dist/types-C6EKaS3V.d.ts +106 -0
  274. package/dist/types-CWybW61E.d.ts +323 -0
  275. package/dist/types-C_yfu3XK.d.ts +34 -0
  276. package/dist/types-Cj2RWXbz.js +90 -0
  277. package/dist/types-Cj2RWXbz.js.map +1 -0
  278. package/dist/types-DgaQqvxo.d.ts +70 -0
  279. package/dist/usage/index.d.ts +2 -213
  280. package/dist/usage/index.js +3 -15
  281. package/dist/usage/index.js.map +1 -1
  282. package/dist/usage-BKFZiWQn.js +682 -0
  283. package/dist/usage-BKFZiWQn.js.map +1 -0
  284. package/dist/utils/index.d.ts +2 -1
  285. package/dist/utils/index.js +3 -3
  286. package/dist/utils/index.js.map +1 -1
  287. package/dist/utils-DL85Tnbn.js +500 -0
  288. package/dist/utils-DL85Tnbn.js.map +1 -0
  289. package/dist/validation/index.d.ts +2 -2
  290. package/dist/validation/index.js +3 -3
  291. package/dist/validation/index.js.map +1 -1
  292. package/dist/validation-CPUITdMk.js +762 -0
  293. package/dist/validation-CPUITdMk.js.map +1 -0
  294. package/dist/workspace-extension-COrC0dYi.js +979 -0
  295. package/dist/workspace-extension-COrC0dYi.js.map +1 -0
  296. package/dist/{workspace-extension-BGwTOV_r.d.ts → workspace-extension-DTFTdGVF.d.ts} +43 -45
  297. package/package.json +7 -10
  298. package/dist/EventQueueFactory-PP534MBQ.js +0 -8
  299. package/dist/EventQueueFactory-PP534MBQ.js.map +0 -1
  300. package/dist/chunk-4XIBXZ6J.js +0 -276
  301. package/dist/chunk-4XIBXZ6J.js.map +0 -1
  302. package/dist/chunk-554Z4C2K.js +0 -1006
  303. package/dist/chunk-554Z4C2K.js.map +0 -1
  304. package/dist/chunk-5CAFHK2Z.js +0 -107
  305. package/dist/chunk-5CAFHK2Z.js.map +0 -1
  306. package/dist/chunk-63ZXJ42X.js +0 -451
  307. package/dist/chunk-63ZXJ42X.js.map +0 -1
  308. package/dist/chunk-6XEXJATV.js +0 -304
  309. package/dist/chunk-6XEXJATV.js.map +0 -1
  310. package/dist/chunk-726AR6Q7.js +0 -1532
  311. package/dist/chunk-726AR6Q7.js.map +0 -1
  312. package/dist/chunk-7EISSMFP.js +0 -617
  313. package/dist/chunk-7EISSMFP.js.map +0 -1
  314. package/dist/chunk-A5F6Z5UE.js +0 -21
  315. package/dist/chunk-A5F6Z5UE.js.map +0 -1
  316. package/dist/chunk-A6DE32ZS.js +0 -1507
  317. package/dist/chunk-A6DE32ZS.js.map +0 -1
  318. package/dist/chunk-BJQOGOVW.js +0 -602
  319. package/dist/chunk-BJQOGOVW.js.map +0 -1
  320. package/dist/chunk-CFXWH2IS.js +0 -52
  321. package/dist/chunk-CFXWH2IS.js.map +0 -1
  322. package/dist/chunk-DIOS6L7M.js +0 -690
  323. package/dist/chunk-DIOS6L7M.js.map +0 -1
  324. package/dist/chunk-DJNHR37J.js +0 -1185
  325. package/dist/chunk-DJNHR37J.js.map +0 -1
  326. package/dist/chunk-DRWH5XCJ.js +0 -876
  327. package/dist/chunk-DRWH5XCJ.js.map +0 -1
  328. package/dist/chunk-E4QNLVY4.js +0 -909
  329. package/dist/chunk-E4QNLVY4.js.map +0 -1
  330. package/dist/chunk-E6OAFS7A.js +0 -1346
  331. package/dist/chunk-E6OAFS7A.js.map +0 -1
  332. package/dist/chunk-EBDHIL7V.js +0 -774
  333. package/dist/chunk-EBDHIL7V.js.map +0 -1
  334. package/dist/chunk-ELU7VL3E.js +0 -245
  335. package/dist/chunk-ELU7VL3E.js.map +0 -1
  336. package/dist/chunk-FZRODKIN.js +0 -31
  337. package/dist/chunk-FZRODKIN.js.map +0 -1
  338. package/dist/chunk-GCIB76AJ.js +0 -882
  339. package/dist/chunk-GCIB76AJ.js.map +0 -1
  340. package/dist/chunk-HC6MPUIH.js +0 -1571
  341. package/dist/chunk-HC6MPUIH.js.map +0 -1
  342. package/dist/chunk-I3KOWRT3.js +0 -89
  343. package/dist/chunk-I3KOWRT3.js.map +0 -1
  344. package/dist/chunk-ID3WR4JS.js +0 -509
  345. package/dist/chunk-ID3WR4JS.js.map +0 -1
  346. package/dist/chunk-JVMAQOA3.js +0 -521
  347. package/dist/chunk-JVMAQOA3.js.map +0 -1
  348. package/dist/chunk-K56L7NUR.js +0 -1444
  349. package/dist/chunk-K56L7NUR.js.map +0 -1
  350. package/dist/chunk-KH4TRQCO.js +0 -1063
  351. package/dist/chunk-KH4TRQCO.js.map +0 -1
  352. package/dist/chunk-KJOSPVB2.js +0 -57
  353. package/dist/chunk-KJOSPVB2.js.map +0 -1
  354. package/dist/chunk-KO2ZXZ7W.js +0 -61
  355. package/dist/chunk-KO2ZXZ7W.js.map +0 -1
  356. package/dist/chunk-KS2HQCJR.js +0 -56
  357. package/dist/chunk-KS2HQCJR.js.map +0 -1
  358. package/dist/chunk-LA5KPWZ2.js +0 -413
  359. package/dist/chunk-LA5KPWZ2.js.map +0 -1
  360. package/dist/chunk-MESLAC5W.js +0 -574
  361. package/dist/chunk-MESLAC5W.js.map +0 -1
  362. package/dist/chunk-MWPYA2HD.js +0 -94
  363. package/dist/chunk-MWPYA2HD.js.map +0 -1
  364. package/dist/chunk-NUB5GQTU.js +0 -270
  365. package/dist/chunk-NUB5GQTU.js.map +0 -1
  366. package/dist/chunk-O2JMZHNH.js +0 -1908
  367. package/dist/chunk-O2JMZHNH.js.map +0 -1
  368. package/dist/chunk-OBBCR6WY.js +0 -277
  369. package/dist/chunk-OBBCR6WY.js.map +0 -1
  370. package/dist/chunk-OBZQ4AJC.js +0 -272
  371. package/dist/chunk-OBZQ4AJC.js.map +0 -1
  372. package/dist/chunk-OXNCBE7P.js +0 -971
  373. package/dist/chunk-OXNCBE7P.js.map +0 -1
  374. package/dist/chunk-PBZFAAOM.js +0 -941
  375. package/dist/chunk-PYD44IHJ.js +0 -728
  376. package/dist/chunk-PYD44IHJ.js.map +0 -1
  377. package/dist/chunk-QVPIACWD.js +0 -679
  378. package/dist/chunk-QVPIACWD.js.map +0 -1
  379. package/dist/chunk-QWNNFE4P.js +0 -41
  380. package/dist/chunk-QWNNFE4P.js.map +0 -1
  381. package/dist/chunk-RU266375.js +0 -327
  382. package/dist/chunk-RU266375.js.map +0 -1
  383. package/dist/chunk-RYTSVGGA.js +0 -1624
  384. package/dist/chunk-RYTSVGGA.js.map +0 -1
  385. package/dist/chunk-RZOFS2BQ.js +0 -225
  386. package/dist/chunk-RZOFS2BQ.js.map +0 -1
  387. package/dist/chunk-SBS4S2PJ.js +0 -100
  388. package/dist/chunk-SBS4S2PJ.js.map +0 -1
  389. package/dist/chunk-SPRG6G6G.js +0 -530
  390. package/dist/chunk-SPRG6G6G.js.map +0 -1
  391. package/dist/chunk-STWFX5E2.js +0 -233
  392. package/dist/chunk-STWFX5E2.js.map +0 -1
  393. package/dist/chunk-UNASM5VJ.js +0 -419
  394. package/dist/chunk-UNASM5VJ.js.map +0 -1
  395. package/dist/chunk-VAT66FJA.js +0 -245
  396. package/dist/chunk-VAT66FJA.js.map +0 -1
  397. package/dist/chunk-VFCMR5GX.js +0 -49
  398. package/dist/chunk-VFCMR5GX.js.map +0 -1
  399. package/dist/chunk-VGAHZKNJ.js +0 -66
  400. package/dist/chunk-VGAHZKNJ.js.map +0 -1
  401. package/dist/chunk-VTJTAAXC.js +0 -627
  402. package/dist/chunk-VTJTAAXC.js.map +0 -1
  403. package/dist/chunk-VXVLKRU6.js +0 -758
  404. package/dist/chunk-VXVLKRU6.js.map +0 -1
  405. package/dist/chunk-WWUU5ETI.js +0 -163
  406. package/dist/chunk-WWUU5ETI.js.map +0 -1
  407. package/dist/chunk-XE4OXN2W.js +0 -10
  408. package/dist/chunk-XE4OXN2W.js.map +0 -1
  409. package/dist/chunk-XOJORS75.js +0 -1853
  410. package/dist/chunk-XOJORS75.js.map +0 -1
  411. package/dist/chunk-YMZEUTD2.js +0 -110
  412. package/dist/chunk-YMZEUTD2.js.map +0 -1
  413. package/dist/chunk-ZZK3WEDI.js +0 -181
  414. package/dist/chunk-ZZK3WEDI.js.map +0 -1
  415. package/dist/client-CCXpAZ2r.d.ts +0 -89
  416. package/dist/client-DSI_760t.d.ts +0 -36
  417. package/dist/client-JU6T3UPB.js +0 -11
  418. package/dist/client-JU6T3UPB.js.map +0 -1
  419. package/dist/dist-2X4Q7PJA.js +0 -1491
  420. package/dist/dist-2X4Q7PJA.js.map +0 -1
  421. package/dist/env-4UWSUS64.js +0 -4
  422. package/dist/env-4UWSUS64.js.map +0 -1
  423. package/dist/graph-emitter-r5TylDBm.d.ts +0 -47
  424. package/dist/graphql-CMHMQjvd.d.ts +0 -23
  425. package/dist/i18n-Qm2AkPC-.d.ts +0 -33
  426. package/dist/index--yvpa6ay.d.ts +0 -83
  427. package/dist/index-4gKQKZ2B.d.ts +0 -71
  428. package/dist/index-5x0XMKXN.d.ts +0 -149
  429. package/dist/index-B70b5mYS.d.ts +0 -33
  430. package/dist/index-B8KrxO4j.d.ts +0 -755
  431. package/dist/index-BOuDKnqD.d.ts +0 -201
  432. package/dist/index-BTMt4OjA.d.ts +0 -201
  433. package/dist/index-BejbszA7.d.ts +0 -39
  434. package/dist/index-BkeOYZye.d.ts +0 -198
  435. package/dist/index-BuAj5nXg.d.ts +0 -83
  436. package/dist/index-BvkVcW8I.d.ts +0 -349
  437. package/dist/index-CWmH_-RZ.d.ts +0 -247
  438. package/dist/index-CbgWNcus.d.ts +0 -258
  439. package/dist/index-CmfPeQza.d.ts +0 -166
  440. package/dist/index-CmpG-zak.d.ts +0 -607
  441. package/dist/index-CoMKgL-p.d.ts +0 -12
  442. package/dist/index-D8HGwglK.d.ts +0 -541
  443. package/dist/index-DCaVm66D.d.ts +0 -1101
  444. package/dist/index-DE2w7E0d.d.ts +0 -83
  445. package/dist/index-DSOpj8DI.d.ts +0 -17
  446. package/dist/index-DW9q22GH.d.ts +0 -75
  447. package/dist/index-DnjJ9CwI.d.ts +0 -347
  448. package/dist/index-DwMJZ8PP.d.ts +0 -317
  449. package/dist/index-PaojfSdd.d.ts +0 -71
  450. package/dist/index-aHtYvc3i.d.ts +0 -284
  451. package/dist/index-e_18DzAg.d.ts +0 -18
  452. package/dist/index-ffmipXSA.d.ts +0 -55
  453. package/dist/index-joONjwLt.d.ts +0 -33
  454. package/dist/index-kssw5ziY.d.ts +0 -250
  455. package/dist/index-lFffh5-G.d.ts +0 -125
  456. package/dist/index-pxYge_6k.d.ts +0 -79
  457. package/dist/layer-Cv9vSwBx.d.ts +0 -70
  458. package/dist/pino-logger-H4HPW5P6.js +0 -5
  459. package/dist/pino-logger-H4HPW5P6.js.map +0 -1
  460. package/dist/prisma-extension-gYhYriA0.d.ts +0 -174
  461. package/dist/sdk-L75WWUP3.js +0 -156
  462. package/dist/sdk-L75WWUP3.js.map +0 -1
  463. package/dist/shutdown-registry-CW9LryO8.d.ts +0 -10
  464. package/dist/types-Bo2wkjSP.d.ts +0 -35
  465. package/dist/types-DVpvrAhd.d.ts +0 -71
  466. package/dist/types-DgJ4lDYA.d.ts +0 -108
  467. package/dist/types-USOv09qy.d.ts +0 -327
  468. package/dist/workspace-guard-NXVYYBVJ.js +0 -5
  469. package/dist/workspace-guard-NXVYYBVJ.js.map +0 -1
@@ -0,0 +1,1718 @@
1
+ // node_modules/@opentelemetry/api/dist/diag/types.mjs
2
+ /**
3
+ * Defines the available internal logging levels for the diagnostic logger, the numeric values
4
+ * of the levels are defined to match the original values from the initial LogLevel to avoid
5
+ * compatibility/migration issues for any implementation that assume the numeric ordering.
6
+ *
7
+ * @since 1.0.0
8
+ */
9
+ let DiagLogLevel = /* @__PURE__ */ function(DiagLogLevel) {
10
+ /** Diagnostic Logging level setting to disable all logging (except and forced logs) */
11
+ DiagLogLevel[DiagLogLevel["NONE"] = 0] = "NONE";
12
+ /** Identifies an error scenario */
13
+ DiagLogLevel[DiagLogLevel["ERROR"] = 30] = "ERROR";
14
+ /** Identifies a warning scenario */
15
+ DiagLogLevel[DiagLogLevel["WARN"] = 50] = "WARN";
16
+ /** General informational log message */
17
+ DiagLogLevel[DiagLogLevel["INFO"] = 60] = "INFO";
18
+ /** General debug log message */
19
+ DiagLogLevel[DiagLogLevel["DEBUG"] = 70] = "DEBUG";
20
+ /**
21
+ * Detailed trace level logging should only be used for development, should only be set
22
+ * in a development environment.
23
+ */
24
+ DiagLogLevel[DiagLogLevel["VERBOSE"] = 80] = "VERBOSE";
25
+ /** Used to set the logging level to include all logging */
26
+ DiagLogLevel[DiagLogLevel["ALL"] = 9999] = "ALL";
27
+ return DiagLogLevel;
28
+ }({});
29
+
30
+ // node_modules/@opentelemetry/api/dist/version.mjs
31
+ const VERSION = "1.10.0";
32
+
33
+ // node_modules/@opentelemetry/api/dist/internal/semver.mjs
34
+ const re = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
35
+ /**
36
+ * Create a function to test an API version to see if it is compatible with the provided ownVersion.
37
+ *
38
+ * The returned function has the following semantics:
39
+ * - Exact match is always compatible
40
+ * - Major versions must match exactly
41
+ * - 1.x package cannot use global 2.x package
42
+ * - 2.x package cannot use global 1.x package
43
+ * - The minor version of the API module requesting access to the global API must be less than or equal to the minor version of this API
44
+ * - 1.3 package may use 1.4 global because the later global contains all functions 1.3 expects
45
+ * - 1.4 package may NOT use 1.3 global because it may try to call functions which don't exist on 1.3
46
+ * - If the major version is 0, the minor version is treated as the major and the patch is treated as the minor
47
+ * - Patch and build tag differences are not considered at this time
48
+ *
49
+ * @param ownVersion version which should be checked against
50
+ */
51
+ function _makeCompatibilityCheck(ownVersion) {
52
+ const acceptedVersions = /* @__PURE__ */ new Set([ownVersion]);
53
+ const rejectedVersions = /* @__PURE__ */ new Set();
54
+ const myVersionMatch = ownVersion.match(re);
55
+ if (!myVersionMatch) return () => false;
56
+ const ownVersionParsed = {
57
+ major: +myVersionMatch[1],
58
+ minor: +myVersionMatch[2],
59
+ patch: +myVersionMatch[3],
60
+ prerelease: myVersionMatch[4]
61
+ };
62
+ if (ownVersionParsed.prerelease != null) return function isExactmatch(globalVersion) {
63
+ return globalVersion === ownVersion;
64
+ };
65
+ function _reject(v) {
66
+ rejectedVersions.add(v);
67
+ return false;
68
+ }
69
+ function _accept(v) {
70
+ acceptedVersions.add(v);
71
+ return true;
72
+ }
73
+ return function isCompatible(globalVersion) {
74
+ if (acceptedVersions.has(globalVersion)) return true;
75
+ if (rejectedVersions.has(globalVersion)) return false;
76
+ const globalVersionMatch = globalVersion.match(re);
77
+ if (!globalVersionMatch) return _reject(globalVersion);
78
+ const globalVersionParsed = {
79
+ major: +globalVersionMatch[1],
80
+ minor: +globalVersionMatch[2],
81
+ patch: +globalVersionMatch[3],
82
+ prerelease: globalVersionMatch[4]
83
+ };
84
+ if (globalVersionParsed.prerelease != null) return _reject(globalVersion);
85
+ if (ownVersionParsed.major !== globalVersionParsed.major) return _reject(globalVersion);
86
+ if (ownVersionParsed.major === 0) {
87
+ if (ownVersionParsed.minor === globalVersionParsed.minor && ownVersionParsed.patch <= globalVersionParsed.patch) return _accept(globalVersion);
88
+ return _reject(globalVersion);
89
+ }
90
+ if (ownVersionParsed.minor <= globalVersionParsed.minor) return _accept(globalVersion);
91
+ return _reject(globalVersion);
92
+ };
93
+ }
94
+ /**
95
+ * Test an API version to see if it is compatible with this API.
96
+ *
97
+ * - Exact match is always compatible
98
+ * - Major versions must match exactly
99
+ * - 1.x package cannot use global 2.x package
100
+ * - 2.x package cannot use global 1.x package
101
+ * - The minor version of the API module requesting access to the global API must be less than or equal to the minor version of this API
102
+ * - 1.3 package may use 1.4 global because the later global contains all functions 1.3 expects
103
+ * - 1.4 package may NOT use 1.3 global because it may try to call functions which don't exist on 1.3
104
+ * - If the major version is 0, the minor version is treated as the major and the patch is treated as the minor
105
+ * - Patch and build tag differences are not considered at this time
106
+ *
107
+ * @param version version of the API requesting an instance of the global API
108
+ */
109
+ const isCompatible = _makeCompatibilityCheck(VERSION);
110
+
111
+ // node_modules/@opentelemetry/api/dist/internal/global-utils.mjs
112
+ const major = VERSION.split(".")[0];
113
+ const GLOBAL_OPENTELEMETRY_API_KEY = Symbol.for(`opentelemetry.js.api.${major}`);
114
+ const _global = typeof globalThis === "object" ? globalThis : typeof self === "object" ? self : typeof window === "object" ? window : typeof global === "object" ? global : {};
115
+ function _makeGlobalApi() {
116
+ return Object.defineProperty({}, "version", {
117
+ value: VERSION,
118
+ enumerable: true,
119
+ writable: false,
120
+ configurable: false
121
+ });
122
+ }
123
+ function registerGlobal(type, instance, diag, allowOverride = false) {
124
+ var _global$GLOBAL_OPENTE;
125
+ const api = _global[GLOBAL_OPENTELEMETRY_API_KEY] = (_global$GLOBAL_OPENTE = _global[GLOBAL_OPENTELEMETRY_API_KEY]) !== null && _global$GLOBAL_OPENTE !== void 0 ? _global$GLOBAL_OPENTE : _makeGlobalApi();
126
+ if (!allowOverride && api[type]) {
127
+ const err = /* @__PURE__ */ new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${type}`);
128
+ diag.error(err.stack || err.message);
129
+ return false;
130
+ }
131
+ if (api.version !== "1.10.0") {
132
+ const err = /* @__PURE__ */ new Error(`@opentelemetry/api: Registration of version v${api.version} for ${type} does not match previously registered API v${VERSION}`);
133
+ diag.error(err.stack || err.message);
134
+ return false;
135
+ }
136
+ api[type] = instance;
137
+ diag.debug(`@opentelemetry/api: Registered a global for ${type} v${VERSION}.`);
138
+ return true;
139
+ }
140
+ let _compatibleGlobalApi;
141
+ function getGlobal(type) {
142
+ const api = _global[GLOBAL_OPENTELEMETRY_API_KEY];
143
+ if (api == null) return;
144
+ if (api !== _compatibleGlobalApi) {
145
+ if (!api.version || !isCompatible(api.version)) return;
146
+ _compatibleGlobalApi = api;
147
+ }
148
+ return api[type];
149
+ }
150
+ function unregisterGlobal(type, diag) {
151
+ diag.debug(`@opentelemetry/api: Unregistering a global for ${type} v${VERSION}.`);
152
+ const api = _global[GLOBAL_OPENTELEMETRY_API_KEY];
153
+ if (api) delete api[type];
154
+ }
155
+
156
+ // node_modules/@opentelemetry/api/dist/diag/ComponentLogger.mjs
157
+ /**
158
+ * Component Logger which is meant to be used as part of any component which
159
+ * will add automatically additional namespace in front of the log message.
160
+ * It will then forward all message to global diag logger
161
+ * @example
162
+ * const cLogger = diag.createComponentLogger({ namespace: '@opentelemetry/instrumentation-http' });
163
+ * cLogger.debug('test');
164
+ * // @opentelemetry/instrumentation-http test
165
+ */
166
+ var DiagComponentLogger = class {
167
+ constructor(props) {
168
+ this._namespace = props.namespace || "DiagComponentLogger";
169
+ }
170
+ debug(...args) {
171
+ return logProxy("debug", this._namespace, args);
172
+ }
173
+ error(...args) {
174
+ return logProxy("error", this._namespace, args);
175
+ }
176
+ info(...args) {
177
+ return logProxy("info", this._namespace, args);
178
+ }
179
+ warn(...args) {
180
+ return logProxy("warn", this._namespace, args);
181
+ }
182
+ verbose(...args) {
183
+ return logProxy("verbose", this._namespace, args);
184
+ }
185
+ };
186
+ function logProxy(funcName, namespace, args) {
187
+ const logger = getGlobal("diag");
188
+ if (!logger) return;
189
+ return logger[funcName](namespace, ...args);
190
+ }
191
+
192
+ // node_modules/@opentelemetry/api/dist/diag/internal/logLevelLogger.mjs
193
+ function createLogLevelDiagLogger(maxLevel, logger) {
194
+ if (maxLevel < 0) maxLevel = 0;
195
+ else if (maxLevel > 9999) maxLevel = 9999;
196
+ logger = logger || {};
197
+ function _filterFunc(funcName, theLevel) {
198
+ const theFunc = logger[funcName];
199
+ if (typeof theFunc === "function" && maxLevel >= theLevel) return theFunc.bind(logger);
200
+ return function() {};
201
+ }
202
+ return {
203
+ error: _filterFunc("error", 30),
204
+ warn: _filterFunc("warn", 50),
205
+ info: _filterFunc("info", 60),
206
+ debug: _filterFunc("debug", 70),
207
+ verbose: _filterFunc("verbose", 80)
208
+ };
209
+ }
210
+
211
+ // node_modules/@opentelemetry/api/dist/api/diag.mjs
212
+ const API_NAME$5 = "diag";
213
+ /**
214
+ * Singleton object which represents the entry point to the OpenTelemetry internal
215
+ * diagnostic API
216
+ *
217
+ * @since 1.0.0
218
+ */
219
+ var DiagAPI = class DiagAPI {
220
+ /** Get the singleton instance of the DiagAPI API */
221
+ static instance() {
222
+ if (!this._instance) this._instance = new DiagAPI();
223
+ return this._instance;
224
+ }
225
+ /**
226
+ * Private internal constructor
227
+ * @private
228
+ */
229
+ constructor() {
230
+ function _logProxy(funcName) {
231
+ return function(...args) {
232
+ const logger = getGlobal("diag");
233
+ if (!logger) return;
234
+ return logger[funcName](...args);
235
+ };
236
+ }
237
+ const self = this;
238
+ const setLogger = (logger, optionsOrLogLevel = { logLevel: 60 }) => {
239
+ var _optionsOrLogLevel$lo;
240
+ if (logger === self) {
241
+ var _err$stack;
242
+ const err = /* @__PURE__ */ new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");
243
+ self.error((_err$stack = err.stack) !== null && _err$stack !== void 0 ? _err$stack : err.message);
244
+ return false;
245
+ }
246
+ if (typeof optionsOrLogLevel === "number") optionsOrLogLevel = { logLevel: optionsOrLogLevel };
247
+ const oldLogger = getGlobal("diag");
248
+ const newLogger = createLogLevelDiagLogger((_optionsOrLogLevel$lo = optionsOrLogLevel.logLevel) !== null && _optionsOrLogLevel$lo !== void 0 ? _optionsOrLogLevel$lo : 60, logger);
249
+ if (oldLogger && !optionsOrLogLevel.suppressOverrideMessage) {
250
+ var _Error$stack;
251
+ const stack = (_Error$stack = (/* @__PURE__ */ new Error()).stack) !== null && _Error$stack !== void 0 ? _Error$stack : "<failed to generate stacktrace>";
252
+ oldLogger.warn(`Current logger will be overwritten from ${stack}`);
253
+ newLogger.warn(`Current logger will overwrite one already registered from ${stack}`);
254
+ }
255
+ return registerGlobal("diag", newLogger, self, true);
256
+ };
257
+ self.setLogger = setLogger;
258
+ self.disable = () => {
259
+ unregisterGlobal(API_NAME$5, self);
260
+ };
261
+ self.createComponentLogger = (options) => {
262
+ return new DiagComponentLogger(options);
263
+ };
264
+ self.verbose = _logProxy("verbose");
265
+ self.debug = _logProxy("debug");
266
+ self.info = _logProxy("info");
267
+ self.warn = _logProxy("warn");
268
+ self.error = _logProxy("error");
269
+ }
270
+ };
271
+
272
+ // node_modules/@opentelemetry/api/dist/baggage/internal/baggage-impl.mjs
273
+ var BaggageImpl = class BaggageImpl {
274
+ constructor(entries) {
275
+ this._entries = entries ? new Map(entries) : /* @__PURE__ */ new Map();
276
+ }
277
+ getEntry(key) {
278
+ const entry = this._entries.get(key);
279
+ if (!entry) return;
280
+ return Object.assign({}, entry);
281
+ }
282
+ getAllEntries() {
283
+ return Array.from(this._entries.entries());
284
+ }
285
+ setEntry(key, entry) {
286
+ const newBaggage = new BaggageImpl(this._entries);
287
+ newBaggage._entries.set(key, entry);
288
+ return newBaggage;
289
+ }
290
+ removeEntry(key) {
291
+ const newBaggage = new BaggageImpl(this._entries);
292
+ newBaggage._entries.delete(key);
293
+ return newBaggage;
294
+ }
295
+ removeEntries(...keys) {
296
+ const newBaggage = new BaggageImpl(this._entries);
297
+ for (const key of keys) newBaggage._entries.delete(key);
298
+ return newBaggage;
299
+ }
300
+ clear() {
301
+ return new BaggageImpl();
302
+ }
303
+ };
304
+
305
+ // node_modules/@opentelemetry/api/dist/baggage/internal/symbol.mjs
306
+ /**
307
+ * Symbol used to make BaggageEntryMetadata an opaque type
308
+ */
309
+ const baggageEntryMetadataSymbol = Symbol("BaggageEntryMetadata");
310
+
311
+ // node_modules/@opentelemetry/api/dist/baggage/utils.mjs
312
+ const diag$1 = DiagAPI.instance();
313
+ /**
314
+ * Create a new Baggage with optional entries
315
+ *
316
+ * @param entries An array of baggage entries the new baggage should contain
317
+ */
318
+ function createBaggage(entries = {}) {
319
+ return new BaggageImpl(new Map(Object.entries(entries)));
320
+ }
321
+ /**
322
+ * Create a serializable BaggageEntryMetadata object from a string.
323
+ *
324
+ * @param str string metadata. Format is currently not defined by the spec and has no special meaning.
325
+ *
326
+ * @since 1.0.0
327
+ */
328
+ function baggageEntryMetadataFromString(str) {
329
+ if (typeof str !== "string") {
330
+ diag$1.error(`Cannot create baggage metadata from unknown type: ${typeof str}`);
331
+ str = "";
332
+ }
333
+ return {
334
+ __TYPE__: baggageEntryMetadataSymbol,
335
+ toString() {
336
+ return str;
337
+ }
338
+ };
339
+ }
340
+
341
+ // node_modules/@opentelemetry/api/dist/context/context.mjs
342
+ /**
343
+ * Get a key to uniquely identify a context value
344
+ *
345
+ * @since 1.0.0
346
+ */
347
+ function createContextKey(description) {
348
+ return Symbol.for(description);
349
+ }
350
+ /**
351
+ * The root context is used as the default parent context when there is no active context
352
+ *
353
+ * @since 1.0.0
354
+ */
355
+ const ROOT_CONTEXT = new class BaseContext {
356
+ /**
357
+ * Construct a new context which inherits values from an optional parent context.
358
+ *
359
+ * @param parentContext a context from which to inherit values
360
+ */
361
+ constructor(parentContext) {
362
+ const self = this;
363
+ self._currentContext = parentContext ? new Map(parentContext) : /* @__PURE__ */ new Map();
364
+ self.getValue = (key) => self._currentContext.get(key);
365
+ self.setValue = (key, value) => {
366
+ const context = new BaseContext(self._currentContext);
367
+ context._currentContext.set(key, value);
368
+ return context;
369
+ };
370
+ self.deleteValue = (key) => {
371
+ const context = new BaseContext(self._currentContext);
372
+ context._currentContext.delete(key);
373
+ return context;
374
+ };
375
+ }
376
+ }();
377
+
378
+ // node_modules/@opentelemetry/api/dist/diag/consoleLogger.mjs
379
+ const consoleMap = [
380
+ {
381
+ n: "error",
382
+ c: "error"
383
+ },
384
+ {
385
+ n: "warn",
386
+ c: "warn"
387
+ },
388
+ {
389
+ n: "info",
390
+ c: "info"
391
+ },
392
+ {
393
+ n: "debug",
394
+ c: "debug"
395
+ },
396
+ {
397
+ n: "verbose",
398
+ c: "trace"
399
+ }
400
+ ];
401
+ const _originalConsoleMethods = {};
402
+ if (typeof console !== "undefined") {
403
+ for (const key of [
404
+ "error",
405
+ "warn",
406
+ "info",
407
+ "debug",
408
+ "trace",
409
+ "log"
410
+ ]) if (typeof console[key] === "function") _originalConsoleMethods[key] = console[key];
411
+ }
412
+ /**
413
+ * A simple Immutable Console based diagnostic logger which will output any messages to the Console.
414
+ * If you want to limit the amount of logging to a specific level or lower use the
415
+ * {@link createLogLevelDiagLogger}
416
+ *
417
+ * @since 1.0.0
418
+ */
419
+ var DiagConsoleLogger = class {
420
+ constructor() {
421
+ function _consoleFunc(funcName) {
422
+ return function(...args) {
423
+ let theFunc = _originalConsoleMethods[funcName];
424
+ if (typeof theFunc !== "function") theFunc = _originalConsoleMethods["log"];
425
+ if (typeof theFunc !== "function" && console) {
426
+ theFunc = console[funcName];
427
+ if (typeof theFunc !== "function") theFunc = console.log;
428
+ }
429
+ if (typeof theFunc === "function") return theFunc.apply(console, args);
430
+ };
431
+ }
432
+ for (let i = 0; i < consoleMap.length; i++) this[consoleMap[i].n] = _consoleFunc(consoleMap[i].c);
433
+ }
434
+ };
435
+
436
+ // node_modules/@opentelemetry/api/dist/metrics/NoopMeter.mjs
437
+ /**
438
+ * NoopMeter is a noop implementation of the {@link Meter} interface. It reuses
439
+ * constant NoopMetrics for all of its methods.
440
+ */
441
+ var NoopMeter = class {
442
+ constructor() {}
443
+ /**
444
+ * @see {@link Meter.createGauge}
445
+ */
446
+ createGauge(_name, _options) {
447
+ return NOOP_GAUGE_METRIC;
448
+ }
449
+ /**
450
+ * @see {@link Meter.createHistogram}
451
+ */
452
+ createHistogram(_name, _options) {
453
+ return NOOP_HISTOGRAM_METRIC;
454
+ }
455
+ /**
456
+ * @see {@link Meter.createCounter}
457
+ */
458
+ createCounter(_name, _options) {
459
+ return NOOP_COUNTER_METRIC;
460
+ }
461
+ /**
462
+ * @see {@link Meter.createUpDownCounter}
463
+ */
464
+ createUpDownCounter(_name, _options) {
465
+ return NOOP_UP_DOWN_COUNTER_METRIC;
466
+ }
467
+ /**
468
+ * @see {@link Meter.createObservableGauge}
469
+ */
470
+ createObservableGauge(_name, _options) {
471
+ return NOOP_OBSERVABLE_GAUGE_METRIC;
472
+ }
473
+ /**
474
+ * @see {@link Meter.createObservableCounter}
475
+ */
476
+ createObservableCounter(_name, _options) {
477
+ return NOOP_OBSERVABLE_COUNTER_METRIC;
478
+ }
479
+ /**
480
+ * @see {@link Meter.createObservableUpDownCounter}
481
+ */
482
+ createObservableUpDownCounter(_name, _options) {
483
+ return NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC;
484
+ }
485
+ /**
486
+ * @see {@link Meter.addBatchObservableCallback}
487
+ */
488
+ addBatchObservableCallback(_callback, _observables) {}
489
+ /**
490
+ * @see {@link Meter.removeBatchObservableCallback}
491
+ */
492
+ removeBatchObservableCallback(_callback) {}
493
+ };
494
+ var NoopMetric = class {};
495
+ var NoopCounterMetric = class extends NoopMetric {
496
+ add(_value, _attributes) {}
497
+ };
498
+ var NoopUpDownCounterMetric = class extends NoopMetric {
499
+ add(_value, _attributes) {}
500
+ };
501
+ var NoopGaugeMetric = class extends NoopMetric {
502
+ record(_value, _attributes) {}
503
+ };
504
+ var NoopHistogramMetric = class extends NoopMetric {
505
+ record(_value, _attributes) {}
506
+ };
507
+ var NoopObservableMetric = class {
508
+ addCallback(_callback) {}
509
+ removeCallback(_callback) {}
510
+ };
511
+ var NoopObservableCounterMetric = class extends NoopObservableMetric {};
512
+ var NoopObservableGaugeMetric = class extends NoopObservableMetric {};
513
+ var NoopObservableUpDownCounterMetric = class extends NoopObservableMetric {};
514
+ const NOOP_METER = new NoopMeter();
515
+ const NOOP_COUNTER_METRIC = new NoopCounterMetric();
516
+ const NOOP_GAUGE_METRIC = new NoopGaugeMetric();
517
+ const NOOP_HISTOGRAM_METRIC = new NoopHistogramMetric();
518
+ const NOOP_UP_DOWN_COUNTER_METRIC = new NoopUpDownCounterMetric();
519
+ const NOOP_OBSERVABLE_COUNTER_METRIC = new NoopObservableCounterMetric();
520
+ const NOOP_OBSERVABLE_GAUGE_METRIC = new NoopObservableGaugeMetric();
521
+ const NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC = new NoopObservableUpDownCounterMetric();
522
+ /**
523
+ * Create a no-op Meter
524
+ *
525
+ * @since 1.3.0
526
+ */
527
+ function createNoopMeter() {
528
+ return NOOP_METER;
529
+ }
530
+
531
+ // node_modules/@opentelemetry/api/dist/metrics/Metric.mjs
532
+ /**
533
+ * The Type of value. It describes how the data is reported.
534
+ *
535
+ * @since 1.3.0
536
+ */
537
+ let ValueType = /* @__PURE__ */ function(ValueType) {
538
+ ValueType[ValueType["INT"] = 0] = "INT";
539
+ ValueType[ValueType["DOUBLE"] = 1] = "DOUBLE";
540
+ return ValueType;
541
+ }({});
542
+
543
+ // node_modules/@opentelemetry/api/dist/logs/NoopLogger.mjs
544
+ var NoopLogger = class {
545
+ emit(_logRecord) {}
546
+ enabled() {
547
+ return false;
548
+ }
549
+ };
550
+ const NOOP_LOGGER = new NoopLogger();
551
+ /**
552
+ * Create a no-op Logger
553
+ */
554
+ function createNoopLogger() {
555
+ return NOOP_LOGGER;
556
+ }
557
+
558
+ // node_modules/@opentelemetry/api/dist/logs/LogRecord.mjs
559
+ let SeverityNumber = /* @__PURE__ */ function(SeverityNumber) {
560
+ SeverityNumber[SeverityNumber["UNSPECIFIED"] = 0] = "UNSPECIFIED";
561
+ SeverityNumber[SeverityNumber["TRACE"] = 1] = "TRACE";
562
+ SeverityNumber[SeverityNumber["TRACE2"] = 2] = "TRACE2";
563
+ SeverityNumber[SeverityNumber["TRACE3"] = 3] = "TRACE3";
564
+ SeverityNumber[SeverityNumber["TRACE4"] = 4] = "TRACE4";
565
+ SeverityNumber[SeverityNumber["DEBUG"] = 5] = "DEBUG";
566
+ SeverityNumber[SeverityNumber["DEBUG2"] = 6] = "DEBUG2";
567
+ SeverityNumber[SeverityNumber["DEBUG3"] = 7] = "DEBUG3";
568
+ SeverityNumber[SeverityNumber["DEBUG4"] = 8] = "DEBUG4";
569
+ SeverityNumber[SeverityNumber["INFO"] = 9] = "INFO";
570
+ SeverityNumber[SeverityNumber["INFO2"] = 10] = "INFO2";
571
+ SeverityNumber[SeverityNumber["INFO3"] = 11] = "INFO3";
572
+ SeverityNumber[SeverityNumber["INFO4"] = 12] = "INFO4";
573
+ SeverityNumber[SeverityNumber["WARN"] = 13] = "WARN";
574
+ SeverityNumber[SeverityNumber["WARN2"] = 14] = "WARN2";
575
+ SeverityNumber[SeverityNumber["WARN3"] = 15] = "WARN3";
576
+ SeverityNumber[SeverityNumber["WARN4"] = 16] = "WARN4";
577
+ SeverityNumber[SeverityNumber["ERROR"] = 17] = "ERROR";
578
+ SeverityNumber[SeverityNumber["ERROR2"] = 18] = "ERROR2";
579
+ SeverityNumber[SeverityNumber["ERROR3"] = 19] = "ERROR3";
580
+ SeverityNumber[SeverityNumber["ERROR4"] = 20] = "ERROR4";
581
+ SeverityNumber[SeverityNumber["FATAL"] = 21] = "FATAL";
582
+ SeverityNumber[SeverityNumber["FATAL2"] = 22] = "FATAL2";
583
+ SeverityNumber[SeverityNumber["FATAL3"] = 23] = "FATAL3";
584
+ SeverityNumber[SeverityNumber["FATAL4"] = 24] = "FATAL4";
585
+ return SeverityNumber;
586
+ }({});
587
+
588
+ // node_modules/@opentelemetry/api/dist/propagation/TextMapPropagator.mjs
589
+ /**
590
+ * @since 1.0.0
591
+ */
592
+ const defaultTextMapGetter = {
593
+ get(carrier, key) {
594
+ if (carrier == null) return;
595
+ return carrier[key];
596
+ },
597
+ keys(carrier) {
598
+ if (carrier == null) return [];
599
+ return Object.keys(carrier);
600
+ }
601
+ };
602
+ /**
603
+ * @since 1.0.0
604
+ */
605
+ const defaultTextMapSetter = { set(carrier, key, value) {
606
+ if (carrier == null) return;
607
+ carrier[key] = value;
608
+ } };
609
+
610
+ // node_modules/@opentelemetry/api/dist/trace/trace_flags.mjs
611
+ /**
612
+ * @since 1.0.0
613
+ */
614
+ let TraceFlags = /* @__PURE__ */ function(TraceFlags) {
615
+ /** Represents no flag set. */
616
+ TraceFlags[TraceFlags["NONE"] = 0] = "NONE";
617
+ /** Bit to represent whether trace is sampled in trace flags. */
618
+ TraceFlags[TraceFlags["SAMPLED"] = 1] = "SAMPLED";
619
+ return TraceFlags;
620
+ }({});
621
+
622
+ // node_modules/@opentelemetry/api/dist/trace/invalid-span-constants.mjs
623
+ /**
624
+ * @since 1.0.0
625
+ */
626
+ const INVALID_SPANID = "0000000000000000";
627
+ /**
628
+ * @since 1.0.0
629
+ */
630
+ const INVALID_TRACEID = "00000000000000000000000000000000";
631
+ /**
632
+ * @since 1.0.0
633
+ */
634
+ const INVALID_SPAN_CONTEXT = {
635
+ traceId: INVALID_TRACEID,
636
+ spanId: INVALID_SPANID,
637
+ traceFlags: 0
638
+ };
639
+
640
+ // node_modules/@opentelemetry/api/dist/trace/NonRecordingSpan.mjs
641
+ /**
642
+ * The NonRecordingSpan is the default {@link Span} that is used when no Span
643
+ * implementation is available. All operations are no-op including context
644
+ * propagation.
645
+ */
646
+ var NonRecordingSpan = class {
647
+ constructor(spanContext = INVALID_SPAN_CONTEXT) {
648
+ this._spanContext = spanContext;
649
+ }
650
+ spanContext() {
651
+ return this._spanContext;
652
+ }
653
+ setAttribute(_key, _value) {
654
+ return this;
655
+ }
656
+ setAttributes(_attributes) {
657
+ return this;
658
+ }
659
+ addEvent(_name, _attributes) {
660
+ return this;
661
+ }
662
+ addLink(_link) {
663
+ return this;
664
+ }
665
+ addLinks(_links) {
666
+ return this;
667
+ }
668
+ setStatus(_status) {
669
+ return this;
670
+ }
671
+ updateName(_name) {
672
+ return this;
673
+ }
674
+ end(_endTime) {}
675
+ isRecording() {
676
+ return false;
677
+ }
678
+ recordException(_exception, _time) {}
679
+ };
680
+
681
+ // node_modules/@opentelemetry/api/dist/trace/spancontext-utils.mjs
682
+ const isHex = new Uint8Array([
683
+ 0,
684
+ 0,
685
+ 0,
686
+ 0,
687
+ 0,
688
+ 0,
689
+ 0,
690
+ 0,
691
+ 0,
692
+ 0,
693
+ 0,
694
+ 0,
695
+ 0,
696
+ 0,
697
+ 0,
698
+ 0,
699
+ 0,
700
+ 0,
701
+ 0,
702
+ 0,
703
+ 0,
704
+ 0,
705
+ 0,
706
+ 0,
707
+ 0,
708
+ 0,
709
+ 0,
710
+ 0,
711
+ 0,
712
+ 0,
713
+ 0,
714
+ 0,
715
+ 0,
716
+ 0,
717
+ 0,
718
+ 0,
719
+ 0,
720
+ 0,
721
+ 0,
722
+ 0,
723
+ 0,
724
+ 0,
725
+ 0,
726
+ 0,
727
+ 0,
728
+ 0,
729
+ 0,
730
+ 0,
731
+ 1,
732
+ 1,
733
+ 1,
734
+ 1,
735
+ 1,
736
+ 1,
737
+ 1,
738
+ 1,
739
+ 1,
740
+ 1,
741
+ 0,
742
+ 0,
743
+ 0,
744
+ 0,
745
+ 0,
746
+ 0,
747
+ 0,
748
+ 1,
749
+ 1,
750
+ 1,
751
+ 1,
752
+ 1,
753
+ 1,
754
+ 0,
755
+ 0,
756
+ 0,
757
+ 0,
758
+ 0,
759
+ 0,
760
+ 0,
761
+ 0,
762
+ 0,
763
+ 0,
764
+ 0,
765
+ 0,
766
+ 0,
767
+ 0,
768
+ 0,
769
+ 0,
770
+ 0,
771
+ 0,
772
+ 0,
773
+ 0,
774
+ 0,
775
+ 0,
776
+ 0,
777
+ 0,
778
+ 0,
779
+ 0,
780
+ 1,
781
+ 1,
782
+ 1,
783
+ 1,
784
+ 1,
785
+ 1
786
+ ]);
787
+ function isValidHex(id, length) {
788
+ if (typeof id !== "string" || id.length !== length) return false;
789
+ let r = 0;
790
+ for (let i = 0; i < id.length; i += 4) r += (isHex[id.charCodeAt(i)] | 0) + (isHex[id.charCodeAt(i + 1)] | 0) + (isHex[id.charCodeAt(i + 2)] | 0) + (isHex[id.charCodeAt(i + 3)] | 0);
791
+ return r === length;
792
+ }
793
+ /**
794
+ * @since 1.0.0
795
+ */
796
+ function isValidTraceId(traceId) {
797
+ return isValidHex(traceId, 32) && traceId !== "00000000000000000000000000000000";
798
+ }
799
+ /**
800
+ * @since 1.0.0
801
+ */
802
+ function isValidSpanId(spanId) {
803
+ return isValidHex(spanId, 16) && spanId !== "0000000000000000";
804
+ }
805
+ /**
806
+ * Returns true if this {@link SpanContext} is valid.
807
+ * @return true if this {@link SpanContext} is valid.
808
+ *
809
+ * @since 1.0.0
810
+ */
811
+ function isSpanContextValid(spanContext) {
812
+ return isValidTraceId(spanContext.traceId) && isValidSpanId(spanContext.spanId);
813
+ }
814
+ /**
815
+ * Wrap the given {@link SpanContext} in a new non-recording {@link Span}
816
+ *
817
+ * @param spanContext span context to be wrapped
818
+ * @returns a new non-recording {@link Span} with the provided context
819
+ */
820
+ function wrapSpanContext(spanContext) {
821
+ return new NonRecordingSpan(spanContext);
822
+ }
823
+
824
+ // node_modules/@opentelemetry/api/dist/context/NoopContextManager.mjs
825
+ var NoopContextManager = class {
826
+ active() {
827
+ return ROOT_CONTEXT;
828
+ }
829
+ with(_context, fn, thisArg, ...args) {
830
+ return fn.call(thisArg, ...args);
831
+ }
832
+ bind(_context, target) {
833
+ return target;
834
+ }
835
+ enable() {
836
+ return this;
837
+ }
838
+ disable() {
839
+ return this;
840
+ }
841
+ /** @experimental This API is experimental and may change in minor releases without prior notice. */
842
+ attach(_context) {
843
+ return { dispose() {} };
844
+ }
845
+ };
846
+
847
+ // node_modules/@opentelemetry/api/dist/api/context.mjs
848
+ const API_NAME$4 = "context";
849
+ const NOOP_CONTEXT_MANAGER = new NoopContextManager();
850
+ const NOOP_TOKEN = Object.freeze({ dispose: () => {} });
851
+ /**
852
+ * Singleton object which represents the entry point to the OpenTelemetry Context API
853
+ *
854
+ * @since 1.0.0
855
+ */
856
+ var ContextAPI = class ContextAPI {
857
+ /** Empty private constructor prevents end users from constructing a new instance of the API */
858
+ constructor() {
859
+ this._attachUnsupportedWarned = false;
860
+ }
861
+ /** Get the singleton instance of the Context API */
862
+ static getInstance() {
863
+ if (!this._instance) this._instance = new ContextAPI();
864
+ return this._instance;
865
+ }
866
+ /**
867
+ * Set the current context manager.
868
+ *
869
+ * @returns true if the context manager was successfully registered, else false
870
+ */
871
+ setGlobalContextManager(contextManager) {
872
+ return registerGlobal(API_NAME$4, contextManager, DiagAPI.instance());
873
+ }
874
+ /**
875
+ * Get the currently active context
876
+ */
877
+ active() {
878
+ return this._getContextManager().active();
879
+ }
880
+ /**
881
+ * Execute a function with an active context
882
+ *
883
+ * @param context context to be active during function execution
884
+ * @param fn function to execute in a context
885
+ * @param thisArg optional receiver to be used for calling fn
886
+ * @param args optional arguments forwarded to fn
887
+ */
888
+ with(context, fn, thisArg, ...args) {
889
+ return this._getContextManager().with(context, fn, thisArg, ...args);
890
+ }
891
+ /**
892
+ * Bind a context to a target function or event emitter
893
+ *
894
+ * @param context context to bind to the event emitter or function. Defaults to the currently active context
895
+ * @param target function or event emitter to bind
896
+ */
897
+ bind(context, target) {
898
+ return this._getContextManager().bind(context, target);
899
+ }
900
+ /**
901
+ * Imperatively sets `context` as active, returning a {@link ContextManagementToken} whose
902
+ * {@link ContextManagementToken.dispose} restores the previous context.
903
+ *
904
+ * This is a delicate, low-level API - prefer {@link with}/{@link bind}, which
905
+ * restore context automatically. Use `attach` only to bridge callback
906
+ * boundaries that `with` cannot wrap. Call `token.dispose()` when the
907
+ * operation is done.
908
+ *
909
+ * **Caveat for async functions:** If called inside an async function before
910
+ * the first `await`, the context change may leak into the caller's context
911
+ * and remain active there. Prefer {@link with} for async code.
912
+ *
913
+ * Support is best-effort and varies by the active ContextManager (see
914
+ * {@link ContextManager.attach}); if it does not implement `attach`, this logs
915
+ * a warning and returns a no-op token.
916
+ *
917
+ * @param context The Context to attach
918
+ * @returns A {@link ContextManagementToken} whose dispose() restores the previous Context
919
+ * @since 1.10.0
920
+ * @experimental This API is experimental and may change in minor releases without prior notice.
921
+ */
922
+ attach(context) {
923
+ const contextManager = this._getContextManager();
924
+ if (contextManager.attach) return contextManager.attach(context);
925
+ if (!this._attachUnsupportedWarned) {
926
+ this._attachUnsupportedWarned = true;
927
+ DiagAPI.instance().warn("The current ContextManager does not implement attach(). The context will not be attached. Use a ContextManager that supports attach() (e.g. AsyncLocalStorageContextManager) or use with()/bind() instead.");
928
+ }
929
+ return NOOP_TOKEN;
930
+ }
931
+ _getContextManager() {
932
+ return getGlobal(API_NAME$4) || NOOP_CONTEXT_MANAGER;
933
+ }
934
+ /** Disable and remove the global context manager */
935
+ disable() {
936
+ this._getContextManager().disable();
937
+ unregisterGlobal(API_NAME$4, DiagAPI.instance());
938
+ }
939
+ };
940
+
941
+ // node_modules/@opentelemetry/api/dist/trace/context-utils.mjs
942
+ /**
943
+ * span key
944
+ */
945
+ const SPAN_KEY = createContextKey("OpenTelemetry Context Key SPAN");
946
+ /**
947
+ * Return the span if one exists
948
+ *
949
+ * @param context context to get span from
950
+ */
951
+ function getSpan(context) {
952
+ return context.getValue(SPAN_KEY) || void 0;
953
+ }
954
+ /**
955
+ * Gets the span from the current context, if one exists.
956
+ */
957
+ function getActiveSpan() {
958
+ return getSpan(ContextAPI.getInstance().active());
959
+ }
960
+ /**
961
+ * Set the span on a context
962
+ *
963
+ * @param context context to use as parent
964
+ * @param span span to set active
965
+ */
966
+ function setSpan(context, span) {
967
+ return context.setValue(SPAN_KEY, span);
968
+ }
969
+ /**
970
+ * Remove current span stored in the context
971
+ *
972
+ * @param context context to delete span from
973
+ */
974
+ function deleteSpan(context) {
975
+ return context.deleteValue(SPAN_KEY);
976
+ }
977
+ /**
978
+ * Wrap span context in a NoopSpan and set as span in a new
979
+ * context
980
+ *
981
+ * @param context context to set active span on
982
+ * @param spanContext span context to be wrapped
983
+ */
984
+ function setSpanContext(context, spanContext) {
985
+ return setSpan(context, new NonRecordingSpan(spanContext));
986
+ }
987
+ /**
988
+ * Get the span context of the span if it exists.
989
+ *
990
+ * @param context context to get values from
991
+ */
992
+ function getSpanContext(context) {
993
+ var _getSpan;
994
+ return (_getSpan = getSpan(context)) === null || _getSpan === void 0 ? void 0 : _getSpan.spanContext();
995
+ }
996
+
997
+ // node_modules/@opentelemetry/api/dist/trace/NoopTracer.mjs
998
+ const contextApi = ContextAPI.getInstance();
999
+ /**
1000
+ * No-op implementations of {@link Tracer}.
1001
+ */
1002
+ var NoopTracer = class {
1003
+ startSpan(name, options, context = contextApi.active()) {
1004
+ if (Boolean(options === null || options === void 0 ? void 0 : options.root)) return new NonRecordingSpan();
1005
+ const parentFromContext = context && getSpanContext(context);
1006
+ if (isSpanContext(parentFromContext) && isSpanContextValid(parentFromContext)) return new NonRecordingSpan(parentFromContext);
1007
+ else return new NonRecordingSpan();
1008
+ }
1009
+ startActiveSpan(name, arg2, arg3, arg4) {
1010
+ var _ctx;
1011
+ let opts;
1012
+ let ctx;
1013
+ let fn;
1014
+ if (arguments.length < 2) return;
1015
+ else if (arguments.length === 2) fn = arg2;
1016
+ else if (arguments.length === 3) {
1017
+ opts = arg2;
1018
+ fn = arg3;
1019
+ } else {
1020
+ opts = arg2;
1021
+ ctx = arg3;
1022
+ fn = arg4;
1023
+ }
1024
+ const parentContext = (_ctx = ctx) !== null && _ctx !== void 0 ? _ctx : contextApi.active();
1025
+ const span = this.startSpan(name, opts, parentContext);
1026
+ const contextWithSpanSet = setSpan(parentContext, span);
1027
+ return contextApi.with(contextWithSpanSet, fn, void 0, span);
1028
+ }
1029
+ };
1030
+ function isSpanContext(spanContext) {
1031
+ return spanContext !== null && typeof spanContext === "object" && "spanId" in spanContext && typeof spanContext["spanId"] === "string" && "traceId" in spanContext && typeof spanContext["traceId"] === "string" && "traceFlags" in spanContext && typeof spanContext["traceFlags"] === "number";
1032
+ }
1033
+
1034
+ // node_modules/@opentelemetry/api/dist/trace/ProxyTracer.mjs
1035
+ const NOOP_TRACER = new NoopTracer();
1036
+ /**
1037
+ * Proxy tracer provided by the proxy tracer provider
1038
+ *
1039
+ * @since 1.0.0
1040
+ */
1041
+ var ProxyTracer = class {
1042
+ constructor(provider, name, version, options) {
1043
+ this._provider = provider;
1044
+ this.name = name;
1045
+ this.version = version;
1046
+ this.options = options;
1047
+ }
1048
+ startSpan(name, options, context) {
1049
+ return this._getTracer().startSpan(name, options, context);
1050
+ }
1051
+ startActiveSpan(_name, _options, _context, _fn) {
1052
+ const tracer = this._getTracer();
1053
+ return Reflect.apply(tracer.startActiveSpan, tracer, arguments);
1054
+ }
1055
+ /**
1056
+ * Try to get a tracer from the proxy tracer provider.
1057
+ * If the proxy tracer provider has no delegate, return a noop tracer.
1058
+ */
1059
+ _getTracer() {
1060
+ if (this._delegate) return this._delegate;
1061
+ const tracer = this._provider.getDelegateTracer(this.name, this.version, this.options);
1062
+ if (!tracer) return NOOP_TRACER;
1063
+ this._delegate = tracer;
1064
+ return this._delegate;
1065
+ }
1066
+ };
1067
+
1068
+ // node_modules/@opentelemetry/api/dist/trace/span_kind.mjs
1069
+ /**
1070
+ * @since 1.0.0
1071
+ */
1072
+ let SpanKind = /* @__PURE__ */ function(SpanKind) {
1073
+ /** Default value. Indicates that the span is used internally. */
1074
+ SpanKind[SpanKind["INTERNAL"] = 0] = "INTERNAL";
1075
+ /**
1076
+ * Indicates that the span covers server-side handling of an RPC or other
1077
+ * remote request.
1078
+ */
1079
+ SpanKind[SpanKind["SERVER"] = 1] = "SERVER";
1080
+ /**
1081
+ * Indicates that the span covers the client-side wrapper around an RPC or
1082
+ * other remote request.
1083
+ */
1084
+ SpanKind[SpanKind["CLIENT"] = 2] = "CLIENT";
1085
+ /**
1086
+ * Indicates that the span describes producer sending a message to a
1087
+ * broker. Unlike client and server, there is no direct critical path latency
1088
+ * relationship between producer and consumer spans.
1089
+ */
1090
+ SpanKind[SpanKind["PRODUCER"] = 3] = "PRODUCER";
1091
+ /**
1092
+ * Indicates that the span describes consumer receiving a message from a
1093
+ * broker. Unlike client and server, there is no direct critical path latency
1094
+ * relationship between producer and consumer spans.
1095
+ */
1096
+ SpanKind[SpanKind["CONSUMER"] = 4] = "CONSUMER";
1097
+ return SpanKind;
1098
+ }({});
1099
+
1100
+ // node_modules/@opentelemetry/api/dist/trace/status.mjs
1101
+ /**
1102
+ * An enumeration of status codes.
1103
+ *
1104
+ * @since 1.0.0
1105
+ */
1106
+ let SpanStatusCode = /* @__PURE__ */ function(SpanStatusCode) {
1107
+ /**
1108
+ * The default status.
1109
+ */
1110
+ SpanStatusCode[SpanStatusCode["UNSET"] = 0] = "UNSET";
1111
+ /**
1112
+ * The operation has been validated by an Application developer or
1113
+ * Operator to have completed successfully.
1114
+ */
1115
+ SpanStatusCode[SpanStatusCode["OK"] = 1] = "OK";
1116
+ /**
1117
+ * The operation contains an error.
1118
+ */
1119
+ SpanStatusCode[SpanStatusCode["ERROR"] = 2] = "ERROR";
1120
+ return SpanStatusCode;
1121
+ }({});
1122
+
1123
+ // node_modules/@opentelemetry/api/dist/trace/internal/tracestate-validators.mjs
1124
+ const VALID_KEY_CHAR_RANGE = "[_0-9a-z-*/]";
1125
+ const VALID_KEY_REGEX = new RegExp(`^(?:${`[a-z]${VALID_KEY_CHAR_RANGE}{0,255}`}|${`[a-z0-9]${VALID_KEY_CHAR_RANGE}{0,240}@[a-z]${VALID_KEY_CHAR_RANGE}{0,13}`})$`);
1126
+ const VALID_VALUE_BASE_REGEX = /^[ -~]{0,255}[!-~]$/;
1127
+ const INVALID_VALUE_COMMA_EQUAL_REGEX = /,|=/;
1128
+ /**
1129
+ * Key is opaque string up to 256 characters printable. It MUST begin with a
1130
+ * lowercase letter, and can only contain lowercase letters a-z, digits 0-9,
1131
+ * underscores _, dashes -, asterisks *, and forward slashes /.
1132
+ * For multi-tenant vendor scenarios, an at sign (@) can be used to prefix the
1133
+ * vendor name. Vendors SHOULD set the tenant ID at the beginning of the key.
1134
+ * see https://www.w3.org/TR/trace-context/#key
1135
+ */
1136
+ function validateKey(key) {
1137
+ return VALID_KEY_REGEX.test(key);
1138
+ }
1139
+ /**
1140
+ * Value is opaque string up to 256 characters printable ASCII RFC0020
1141
+ * characters (i.e., the range 0x20 to 0x7E) except comma , and =.
1142
+ */
1143
+ function validateValue(value) {
1144
+ return VALID_VALUE_BASE_REGEX.test(value) && !INVALID_VALUE_COMMA_EQUAL_REGEX.test(value);
1145
+ }
1146
+
1147
+ // node_modules/@opentelemetry/api/dist/trace/internal/tracestate-impl.mjs
1148
+ const MAX_TRACE_STATE_ITEMS = 32;
1149
+ const MAX_TRACE_STATE_LEN = 512;
1150
+ const LIST_MEMBERS_SEPARATOR = ",";
1151
+ const LIST_MEMBER_KEY_VALUE_SPLITTER = "=";
1152
+ /**
1153
+ * TraceState must be a class and not a simple object type because of the spec
1154
+ * requirement (https://www.w3.org/TR/trace-context/#tracestate-field).
1155
+ *
1156
+ * Here is the list of allowed mutations:
1157
+ * - New key-value pair should be added into the beginning of the list
1158
+ * - The value of any key can be updated. Modified keys MUST be moved to the
1159
+ * beginning of the list.
1160
+ *
1161
+ * @deprecated Use TraceState from "@opentelemetry/core". This will be removed in the next major version.
1162
+ */
1163
+ var TraceStateImpl = class TraceStateImpl {
1164
+ constructor(rawTraceState) {
1165
+ this._internalState = /* @__PURE__ */ new Map();
1166
+ if (rawTraceState) this._parse(rawTraceState);
1167
+ }
1168
+ set(key, value) {
1169
+ const currValue = this._internalState.get(key);
1170
+ let newLength = this.serialize().length;
1171
+ if (typeof currValue === "string") newLength += value.length - currValue.length;
1172
+ else {
1173
+ if (this._internalState.size >= MAX_TRACE_STATE_ITEMS) return this;
1174
+ newLength += key.length + value.length + (this._internalState.size > 0 ? 2 : 1);
1175
+ }
1176
+ if (newLength > MAX_TRACE_STATE_LEN) return this;
1177
+ const traceState = this._clone();
1178
+ if (traceState._internalState.has(key)) traceState._internalState.delete(key);
1179
+ traceState._internalState.set(key, value);
1180
+ return traceState;
1181
+ }
1182
+ unset(key) {
1183
+ const traceState = this._clone();
1184
+ traceState._internalState.delete(key);
1185
+ return traceState;
1186
+ }
1187
+ get(key) {
1188
+ return this._internalState.get(key);
1189
+ }
1190
+ serialize() {
1191
+ return Array.from(this._internalState.keys()).reduceRight((agg, key) => {
1192
+ agg.push(key + LIST_MEMBER_KEY_VALUE_SPLITTER + this.get(key));
1193
+ return agg;
1194
+ }, []).join(LIST_MEMBERS_SEPARATOR);
1195
+ }
1196
+ _parse(rawTraceState) {
1197
+ if (rawTraceState.length > MAX_TRACE_STATE_LEN) return;
1198
+ this._internalState = rawTraceState.split(LIST_MEMBERS_SEPARATOR).reduceRight((agg, part) => {
1199
+ const listMember = part.trim();
1200
+ const i = listMember.indexOf(LIST_MEMBER_KEY_VALUE_SPLITTER);
1201
+ if (i !== -1) {
1202
+ const key = listMember.slice(0, i);
1203
+ const value = listMember.slice(i + 1, part.length);
1204
+ if (validateKey(key) && validateValue(value)) agg.set(key, value);
1205
+ }
1206
+ return agg;
1207
+ }, /* @__PURE__ */ new Map());
1208
+ if (this._internalState.size > MAX_TRACE_STATE_ITEMS) this._internalState = new Map(Array.from(this._internalState.entries()).reverse().slice(0, MAX_TRACE_STATE_ITEMS));
1209
+ }
1210
+ _keys() {
1211
+ return Array.from(this._internalState.keys()).reverse();
1212
+ }
1213
+ _clone() {
1214
+ const traceState = new TraceStateImpl();
1215
+ traceState._internalState = new Map(this._internalState);
1216
+ return traceState;
1217
+ }
1218
+ };
1219
+
1220
+ // node_modules/@opentelemetry/api/dist/trace/internal/utils.mjs
1221
+ /**
1222
+ * @deprecated Use TraceState from "@opentelemetry/core". This will be removed in the next major version.
1223
+ * @since 1.1.0
1224
+ */
1225
+ function createTraceState(rawTraceState) {
1226
+ return new TraceStateImpl(rawTraceState);
1227
+ }
1228
+
1229
+ // node_modules/@opentelemetry/api/dist/trace/NoopTracerProvider.mjs
1230
+ /**
1231
+ * An implementation of the {@link TracerProvider} which returns an impotent
1232
+ * Tracer for all calls to `getTracer`.
1233
+ *
1234
+ * All operations are no-op.
1235
+ */
1236
+ var NoopTracerProvider = class {
1237
+ getTracer(_name, _version, _options) {
1238
+ return new NoopTracer();
1239
+ }
1240
+ };
1241
+
1242
+ // node_modules/@opentelemetry/api/dist/trace/ProxyTracerProvider.mjs
1243
+ const NOOP_TRACER_PROVIDER = new NoopTracerProvider();
1244
+ /**
1245
+ * Tracer provider which provides {@link ProxyTracer}s.
1246
+ *
1247
+ * Before a delegate is set, tracers provided are NoOp.
1248
+ * When a delegate is set, traces are provided from the delegate.
1249
+ * When a delegate is set after tracers have already been provided,
1250
+ * all tracers already provided will use the provided delegate implementation.
1251
+ *
1252
+ * @deprecated This will be removed in the next major version.
1253
+ * @since 1.0.0
1254
+ */
1255
+ var ProxyTracerProvider = class {
1256
+ /**
1257
+ * Get a {@link ProxyTracer}
1258
+ */
1259
+ getTracer(name, version, options) {
1260
+ var _this$getDelegateTrac;
1261
+ return (_this$getDelegateTrac = this.getDelegateTracer(name, version, options)) !== null && _this$getDelegateTrac !== void 0 ? _this$getDelegateTrac : new ProxyTracer(this, name, version, options);
1262
+ }
1263
+ getDelegate() {
1264
+ var _this$_delegate;
1265
+ return (_this$_delegate = this._delegate) !== null && _this$_delegate !== void 0 ? _this$_delegate : NOOP_TRACER_PROVIDER;
1266
+ }
1267
+ /**
1268
+ * Set the delegate tracer provider
1269
+ */
1270
+ setDelegate(delegate) {
1271
+ this._delegate = delegate;
1272
+ }
1273
+ getDelegateTracer(name, version, options) {
1274
+ var _this$_delegate2;
1275
+ return (_this$_delegate2 = this._delegate) === null || _this$_delegate2 === void 0 ? void 0 : _this$_delegate2.getTracer(name, version, options);
1276
+ }
1277
+ };
1278
+
1279
+ // node_modules/@opentelemetry/api/dist/trace/SamplingResult.mjs
1280
+ /**
1281
+ * @deprecated use the one declared in @opentelemetry/sdk-trace instead.
1282
+ * A sampling decision that determines how a {@link Span} will be recorded
1283
+ * and collected.
1284
+ *
1285
+ * @since 1.0.0
1286
+ */
1287
+ let SamplingDecision = /* @__PURE__ */ function(SamplingDecision) {
1288
+ /**
1289
+ * `Span.isRecording() === false`, span will not be recorded and all events
1290
+ * and attributes will be dropped.
1291
+ */
1292
+ SamplingDecision[SamplingDecision["NOT_RECORD"] = 0] = "NOT_RECORD";
1293
+ /**
1294
+ * `Span.isRecording() === true`, but `Sampled` flag in {@link TraceFlags}
1295
+ * MUST NOT be set.
1296
+ */
1297
+ SamplingDecision[SamplingDecision["RECORD"] = 1] = "RECORD";
1298
+ /**
1299
+ * `Span.isRecording() === true` AND `Sampled` flag in {@link TraceFlags}
1300
+ * MUST be set.
1301
+ */
1302
+ SamplingDecision[SamplingDecision["RECORD_AND_SAMPLED"] = 2] = "RECORD_AND_SAMPLED";
1303
+ return SamplingDecision;
1304
+ }({});
1305
+
1306
+ // node_modules/@opentelemetry/api/dist/context-api.mjs
1307
+ /**
1308
+ * Entrypoint for context API
1309
+ * @since 1.0.0
1310
+ */
1311
+ const context = ContextAPI.getInstance();
1312
+
1313
+ // node_modules/@opentelemetry/api/dist/diag-api.mjs
1314
+ /**
1315
+ * Entrypoint for Diag API.
1316
+ * Defines Diagnostic handler used for internal diagnostic logging operations.
1317
+ * The default provides a Noop DiagLogger implementation which may be changed via the
1318
+ * diag.setLogger(logger: DiagLogger) function.
1319
+ *
1320
+ * @since 1.0.0
1321
+ */
1322
+ const diag = DiagAPI.instance();
1323
+
1324
+ // node_modules/@opentelemetry/api/dist/logs/NoopLoggerProvider.mjs
1325
+ var NoopLoggerProvider = class {
1326
+ getLogger(_name, _version, _options) {
1327
+ return new NoopLogger();
1328
+ }
1329
+ };
1330
+ const NOOP_LOGGER_PROVIDER = new NoopLoggerProvider();
1331
+
1332
+ // node_modules/@opentelemetry/api/dist/logs/ProxyLogger.mjs
1333
+ var ProxyLogger = class {
1334
+ constructor(provider, name, version, options) {
1335
+ this._provider = provider;
1336
+ this.name = name;
1337
+ this.version = version;
1338
+ this.options = options;
1339
+ }
1340
+ /**
1341
+ * Emit a log record. This method should only be used by log appenders.
1342
+ *
1343
+ * @param logRecord
1344
+ */
1345
+ emit(logRecord) {
1346
+ this._getLogger().emit(logRecord);
1347
+ }
1348
+ enabled(options) {
1349
+ return this._getLogger().enabled(options);
1350
+ }
1351
+ /**
1352
+ * Try to get a logger from the proxy logger provider.
1353
+ * If the proxy logger provider has no delegate, return a noop logger.
1354
+ */
1355
+ _getLogger() {
1356
+ if (this._delegate) return this._delegate;
1357
+ const logger = this._provider._getDelegateLogger(this.name, this.version, this.options);
1358
+ if (!logger) return NOOP_LOGGER;
1359
+ this._delegate = logger;
1360
+ return this._delegate;
1361
+ }
1362
+ };
1363
+
1364
+ // node_modules/@opentelemetry/api/dist/logs/ProxyLoggerProvider.mjs
1365
+ var ProxyLoggerProvider = class {
1366
+ getLogger(name, version, options) {
1367
+ var _this$_getDelegateLog;
1368
+ return (_this$_getDelegateLog = this._getDelegateLogger(name, version, options)) !== null && _this$_getDelegateLog !== void 0 ? _this$_getDelegateLog : new ProxyLogger(this, name, version, options);
1369
+ }
1370
+ /**
1371
+ * Get the delegate logger provider.
1372
+ * Used by tests only.
1373
+ * @internal
1374
+ */
1375
+ _getDelegate() {
1376
+ var _this$_delegate;
1377
+ return (_this$_delegate = this._delegate) !== null && _this$_delegate !== void 0 ? _this$_delegate : NOOP_LOGGER_PROVIDER;
1378
+ }
1379
+ /**
1380
+ * Set the delegate logger provider
1381
+ * @internal
1382
+ */
1383
+ _setDelegate(delegate) {
1384
+ this._delegate = delegate;
1385
+ }
1386
+ /**
1387
+ * @internal
1388
+ */
1389
+ _getDelegateLogger(name, version, options) {
1390
+ var _this$_delegate2;
1391
+ return (_this$_delegate2 = this._delegate) === null || _this$_delegate2 === void 0 ? void 0 : _this$_delegate2.getLogger(name, version, options);
1392
+ }
1393
+ };
1394
+
1395
+ // node_modules/@opentelemetry/api/dist/api/logs.mjs
1396
+ const API_NAME$3 = "logs";
1397
+ /**
1398
+ * Singleton object which represents the entry point to the OpenTelemetry Logs API
1399
+ *
1400
+ * @since 1.10.0
1401
+ */
1402
+ var LogsAPI = class LogsAPI {
1403
+ /** Empty private constructor prevents end users from constructing a new instance of the API */
1404
+ constructor() {
1405
+ this._proxyLoggerProvider = new ProxyLoggerProvider();
1406
+ }
1407
+ /** Get the singleton instance of the Logs API */
1408
+ static getInstance() {
1409
+ if (!this._instance) this._instance = new LogsAPI();
1410
+ return this._instance;
1411
+ }
1412
+ setGlobalLoggerProvider(provider) {
1413
+ const success = registerGlobal(API_NAME$3, provider, DiagAPI.instance());
1414
+ if (success) this._proxyLoggerProvider._setDelegate(provider);
1415
+ return success;
1416
+ }
1417
+ /**
1418
+ * Returns the global logger provider.
1419
+ *
1420
+ * @returns LoggerProvider
1421
+ */
1422
+ getLoggerProvider() {
1423
+ return getGlobal(API_NAME$3) || this._proxyLoggerProvider;
1424
+ }
1425
+ /**
1426
+ * Returns a Logger, creating one if one with the given name, version,
1427
+ * schemaUrl, and attributes is not already created.
1428
+ *
1429
+ * Getting a Logger may be expensive, especially when `attributes` are
1430
+ * provided. Reuse Logger instances where possible instead of calling
1431
+ * `getLogger()` on hot paths.
1432
+ *
1433
+ * @param name The name of the logger or instrumentation library.
1434
+ * @param version The version of the logger or instrumentation library.
1435
+ * @param options The options of the logger or instrumentation library.
1436
+ * @returns {@link Logger}
1437
+ */
1438
+ getLogger(name, version, options) {
1439
+ return this.getLoggerProvider().getLogger(name, version, options);
1440
+ }
1441
+ /** Remove the global logger provider */
1442
+ disable() {
1443
+ unregisterGlobal(API_NAME$3, DiagAPI.instance());
1444
+ this._proxyLoggerProvider = new ProxyLoggerProvider();
1445
+ }
1446
+ };
1447
+
1448
+ // node_modules/@opentelemetry/api/dist/logs-api.mjs
1449
+ /**
1450
+ * Entrypoint for logs API
1451
+ *
1452
+ * @since 1.10.0
1453
+ */
1454
+ const logs = LogsAPI.getInstance();
1455
+
1456
+ // node_modules/@opentelemetry/api/dist/metrics/NoopMeterProvider.mjs
1457
+ /**
1458
+ * An implementation of the {@link MeterProvider} which returns an impotent Meter
1459
+ * for all calls to `getMeter`
1460
+ */
1461
+ var NoopMeterProvider = class {
1462
+ getMeter(_name, _version, _options) {
1463
+ return NOOP_METER;
1464
+ }
1465
+ };
1466
+ const NOOP_METER_PROVIDER = new NoopMeterProvider();
1467
+
1468
+ // node_modules/@opentelemetry/api/dist/api/metrics.mjs
1469
+ const API_NAME$2 = "metrics";
1470
+ /**
1471
+ * Singleton object which represents the entry point to the OpenTelemetry Metrics API
1472
+ *
1473
+ * @since 1.4.1
1474
+ */
1475
+ var MetricsAPI = class MetricsAPI {
1476
+ /** Empty private constructor prevents end users from constructing a new instance of the API */
1477
+ constructor() {}
1478
+ /** Get the singleton instance of the Metrics API */
1479
+ static getInstance() {
1480
+ if (!this._instance) this._instance = new MetricsAPI();
1481
+ return this._instance;
1482
+ }
1483
+ /**
1484
+ * Set the current global meter provider.
1485
+ * Returns true if the meter provider was successfully registered, else false.
1486
+ */
1487
+ setGlobalMeterProvider(provider) {
1488
+ return registerGlobal(API_NAME$2, provider, DiagAPI.instance());
1489
+ }
1490
+ /**
1491
+ * Returns the global meter provider.
1492
+ */
1493
+ getMeterProvider() {
1494
+ return getGlobal(API_NAME$2) || NOOP_METER_PROVIDER;
1495
+ }
1496
+ /**
1497
+ * Returns a meter from the global meter provider.
1498
+ */
1499
+ getMeter(name, version, options) {
1500
+ return this.getMeterProvider().getMeter(name, version, options);
1501
+ }
1502
+ /** Remove the global meter provider */
1503
+ disable() {
1504
+ unregisterGlobal(API_NAME$2, DiagAPI.instance());
1505
+ }
1506
+ };
1507
+
1508
+ // node_modules/@opentelemetry/api/dist/metrics-api.mjs
1509
+ /**
1510
+ * Entrypoint for metrics API
1511
+ *
1512
+ * @since 1.3.0
1513
+ */
1514
+ const metrics = MetricsAPI.getInstance();
1515
+
1516
+ // node_modules/@opentelemetry/api/dist/propagation/NoopTextMapPropagator.mjs
1517
+ /**
1518
+ * No-op implementations of {@link TextMapPropagator}.
1519
+ */
1520
+ var NoopTextMapPropagator = class {
1521
+ /** Noop inject function does nothing */
1522
+ inject(_context, _carrier) {}
1523
+ /** Noop extract function does nothing and returns the input context */
1524
+ extract(context, _carrier) {
1525
+ return context;
1526
+ }
1527
+ fields() {
1528
+ return [];
1529
+ }
1530
+ };
1531
+
1532
+ // node_modules/@opentelemetry/api/dist/baggage/context-helpers.mjs
1533
+ /**
1534
+ * Baggage key
1535
+ */
1536
+ const BAGGAGE_KEY = createContextKey("OpenTelemetry Baggage Key");
1537
+ /**
1538
+ * Retrieve the current baggage from the given context
1539
+ *
1540
+ * @param {Context} Context that manage all context values
1541
+ * @returns {Baggage} Extracted baggage from the context
1542
+ */
1543
+ function getBaggage(context) {
1544
+ return context.getValue(BAGGAGE_KEY) || void 0;
1545
+ }
1546
+ /**
1547
+ * Retrieve the current baggage from the active/current context
1548
+ *
1549
+ * @returns {Baggage} Extracted baggage from the context
1550
+ */
1551
+ function getActiveBaggage() {
1552
+ return getBaggage(ContextAPI.getInstance().active());
1553
+ }
1554
+ /**
1555
+ * Store a baggage in the given context
1556
+ *
1557
+ * @param {Context} Context that manage all context values
1558
+ * @param {Baggage} baggage that will be set in the actual context
1559
+ */
1560
+ function setBaggage(context, baggage) {
1561
+ return context.setValue(BAGGAGE_KEY, baggage);
1562
+ }
1563
+ /**
1564
+ * Delete the baggage stored in the given context
1565
+ *
1566
+ * @param {Context} Context that manage all context values
1567
+ */
1568
+ function deleteBaggage(context) {
1569
+ return context.deleteValue(BAGGAGE_KEY);
1570
+ }
1571
+
1572
+ // node_modules/@opentelemetry/api/dist/api/propagation.mjs
1573
+ const API_NAME$1 = "propagation";
1574
+ const NOOP_TEXT_MAP_PROPAGATOR = new NoopTextMapPropagator();
1575
+ /**
1576
+ * Singleton object which represents the entry point to the OpenTelemetry Propagation API
1577
+ *
1578
+ * @since 1.0.0
1579
+ */
1580
+ var PropagationAPI = class PropagationAPI {
1581
+ /** Empty private constructor prevents end users from constructing a new instance of the API */
1582
+ constructor() {
1583
+ this.createBaggage = createBaggage;
1584
+ this.getBaggage = getBaggage;
1585
+ this.getActiveBaggage = getActiveBaggage;
1586
+ this.setBaggage = setBaggage;
1587
+ this.deleteBaggage = deleteBaggage;
1588
+ }
1589
+ /** Get the singleton instance of the Propagator API */
1590
+ static getInstance() {
1591
+ if (!this._instance) this._instance = new PropagationAPI();
1592
+ return this._instance;
1593
+ }
1594
+ /**
1595
+ * Set the current propagator.
1596
+ *
1597
+ * @returns true if the propagator was successfully registered, else false
1598
+ */
1599
+ setGlobalPropagator(propagator) {
1600
+ return registerGlobal(API_NAME$1, propagator, DiagAPI.instance());
1601
+ }
1602
+ /**
1603
+ * Inject context into a carrier to be propagated inter-process
1604
+ *
1605
+ * @param context Context carrying tracing data to inject
1606
+ * @param carrier carrier to inject context into
1607
+ * @param setter Function used to set values on the carrier
1608
+ */
1609
+ inject(context, carrier, setter = defaultTextMapSetter) {
1610
+ return this._getGlobalPropagator().inject(context, carrier, setter);
1611
+ }
1612
+ /**
1613
+ * Extract context from a carrier
1614
+ *
1615
+ * @param context Context which the newly created context will inherit from
1616
+ * @param carrier Carrier to extract context from
1617
+ * @param getter Function used to extract keys from a carrier
1618
+ */
1619
+ extract(context, carrier, getter = defaultTextMapGetter) {
1620
+ return this._getGlobalPropagator().extract(context, carrier, getter);
1621
+ }
1622
+ /**
1623
+ * Return a list of all fields which may be used by the propagator.
1624
+ */
1625
+ fields() {
1626
+ return this._getGlobalPropagator().fields();
1627
+ }
1628
+ /** Remove the global propagator */
1629
+ disable() {
1630
+ unregisterGlobal(API_NAME$1, DiagAPI.instance());
1631
+ }
1632
+ _getGlobalPropagator() {
1633
+ return getGlobal(API_NAME$1) || NOOP_TEXT_MAP_PROPAGATOR;
1634
+ }
1635
+ };
1636
+
1637
+ // node_modules/@opentelemetry/api/dist/propagation-api.mjs
1638
+ /**
1639
+ * Entrypoint for propagation API
1640
+ *
1641
+ * @since 1.0.0
1642
+ */
1643
+ const propagation = PropagationAPI.getInstance();
1644
+
1645
+ // node_modules/@opentelemetry/api/dist/api/trace.mjs
1646
+ const API_NAME = "trace";
1647
+ /**
1648
+ * Singleton object which represents the entry point to the OpenTelemetry Tracing API
1649
+ *
1650
+ * @since 1.0.0
1651
+ */
1652
+ var TraceAPI = class TraceAPI {
1653
+ /** Empty private constructor prevents end users from constructing a new instance of the API */
1654
+ constructor() {
1655
+ this._proxyTracerProvider = new ProxyTracerProvider();
1656
+ this.wrapSpanContext = wrapSpanContext;
1657
+ this.isSpanContextValid = isSpanContextValid;
1658
+ this.deleteSpan = deleteSpan;
1659
+ this.getSpan = getSpan;
1660
+ this.getActiveSpan = getActiveSpan;
1661
+ this.getSpanContext = getSpanContext;
1662
+ this.setSpan = setSpan;
1663
+ this.setSpanContext = setSpanContext;
1664
+ }
1665
+ /** Get the singleton instance of the Trace API */
1666
+ static getInstance() {
1667
+ if (!this._instance) this._instance = new TraceAPI();
1668
+ return this._instance;
1669
+ }
1670
+ /**
1671
+ * Set the current global tracer.
1672
+ *
1673
+ * @returns true if the tracer provider was successfully registered, else false
1674
+ */
1675
+ setGlobalTracerProvider(provider) {
1676
+ const success = registerGlobal(API_NAME, this._proxyTracerProvider, DiagAPI.instance());
1677
+ if (success) this._proxyTracerProvider.setDelegate(provider);
1678
+ return success;
1679
+ }
1680
+ /**
1681
+ * Returns the global tracer provider.
1682
+ */
1683
+ getTracerProvider() {
1684
+ return getGlobal(API_NAME) || this._proxyTracerProvider;
1685
+ }
1686
+ /**
1687
+ * Returns a tracer from the global tracer provider.
1688
+ */
1689
+ getTracer(name, version) {
1690
+ return this.getTracerProvider().getTracer(name, version);
1691
+ }
1692
+ /** Remove the global tracer provider */
1693
+ disable() {
1694
+ unregisterGlobal(API_NAME, DiagAPI.instance());
1695
+ this._proxyTracerProvider = new ProxyTracerProvider();
1696
+ }
1697
+ };
1698
+
1699
+ // node_modules/@opentelemetry/api/dist/trace-api.mjs
1700
+ /**
1701
+ * Entrypoint for trace API
1702
+ *
1703
+ * @since 1.0.0
1704
+ */
1705
+ const trace = TraceAPI.getInstance();
1706
+
1707
+ // node_modules/@opentelemetry/api/dist/index.mjs
1708
+ var src_default = {
1709
+ context,
1710
+ diag,
1711
+ logs,
1712
+ metrics,
1713
+ propagation,
1714
+ trace
1715
+ };
1716
+
1717
+ export { DiagConsoleLogger, DiagLogLevel, INVALID_SPANID, INVALID_SPAN_CONTEXT, INVALID_TRACEID, ProxyTracer, ProxyTracerProvider, ROOT_CONTEXT, SamplingDecision, SeverityNumber, SpanKind, SpanStatusCode, TraceFlags, ValueType, baggageEntryMetadataFromString, context, createContextKey, createNoopLogger, createNoopMeter, createTraceState, src_default as default, defaultTextMapGetter, defaultTextMapSetter, diag, isSpanContextValid, isValidSpanId, isValidTraceId, logs, metrics, propagation, trace };
1718
+ //# sourceMappingURL=dist-BGKdXVy3.js.map