decocms 2.366.3 → 2.366.4

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 (441) hide show
  1. package/dist/client/assets/{AlertCircle-K18hQ6kh.js → AlertCircle-C6cau0Z8.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-BHG6VtYx.js → ArrowNarrowLeft-Cekkt9PP.js} +1 -1
  3. package/dist/client/assets/{ArrowUpRight-BwnvDybP.js → ArrowUpRight-ZZMagTgz.js} +1 -1
  4. package/dist/client/assets/{Check-B9DLiiXK.js → Check-CF6cT-vn.js} +1 -1
  5. package/dist/client/assets/{CheckCircle-EgJIl7Jq.js → CheckCircle-DYcWyNLY.js} +1 -1
  6. package/dist/client/assets/{ChevronDown-CYSM6Fo7.js → ChevronDown-CaogQsSj.js} +1 -1
  7. package/dist/client/assets/{ChevronRight-CnHMC9j_.js → ChevronRight-CFQY6flT.js} +1 -1
  8. package/dist/client/assets/{ChevronUp-nYk1B1_g.js → ChevronUp-DEs085g3.js} +1 -1
  9. package/dist/client/assets/{Container-b9mjD0TM.js → Container-CSg33ShG.js} +1 -1
  10. package/dist/client/assets/{DotsVertical-Dtz1r1oP.js → DotsVertical-BpSrvoX4.js} +1 -1
  11. package/dist/client/assets/{FilterLines-BKJvI7Is.js → FilterLines-DTLtSlSq.js} +1 -1
  12. package/dist/client/assets/{HardDrive-CiQGwbk6.js → HardDrive-g8HLn6-f.js} +1 -1
  13. package/dist/client/assets/{Key01-DwdEB7q3.js → Key01-CSEVr4fz.js} +1 -1
  14. package/dist/client/assets/{LayoutLeft-RV1yOjgR.js → LayoutLeft-BU19SAHw.js} +1 -1
  15. package/dist/client/assets/{LinkExternal01-BqKrNdKE.js → LinkExternal01-1JZnVKte.js} +1 -1
  16. package/dist/client/assets/{Lock01-CmgC9dnY.js → Lock01-C7Tt4W8w.js} +1 -1
  17. package/dist/client/assets/{Monitor01-Cvm6D4L-.js → Monitor01-BcTHwM_i.js} +1 -1
  18. package/dist/client/assets/{Palette-BGsKalZp.js → Palette-CbS54vUp.js} +1 -1
  19. package/dist/client/assets/{Play-BnYrM15l.js → Play-DSs7HXSZ.js} +1 -1
  20. package/dist/client/assets/{Plus-dGHh9fRd.js → Plus-BVQmPLI7.js} +1 -1
  21. package/dist/client/assets/{RefreshCcw01-BSt0ADGE.js → RefreshCcw01-Dc1R9NRA.js} +1 -1
  22. package/dist/client/assets/{SearchMd-CfsQ0oub.js → SearchMd-CVPiaY_p.js} +1 -1
  23. package/dist/client/assets/{Settings02-yZXaZurd.js → Settings02-CwLaPF-0.js} +1 -1
  24. package/dist/client/assets/{Shield01-CmPuY_el.js → Shield01-PWuaAGg9.js} +1 -1
  25. package/dist/client/assets/{Star01-CTWmgTYQ.js → Star01-i2nx_POl.js} +1 -1
  26. package/dist/client/assets/{Stars02-B9_FZUis.js → Stars02-DsDzl3Oc.js} +1 -1
  27. package/dist/client/assets/{Sun-61PjPFad.js → Sun-C3ba0R0w.js} +1 -1
  28. package/dist/client/assets/{SwitchHorizontal01-Onf8viR5.js → SwitchHorizontal01-Bjrshyqa.js} +1 -1
  29. package/dist/client/assets/{Tool01-CRNgXP6A.js → Tool01-DIB70GZ7.js} +1 -1
  30. package/dist/client/assets/{Trash01-CrFomFzC.js → Trash01-BsBJzBGk.js} +1 -1
  31. package/dist/client/assets/{Upload01-CiQUmK5L.js → Upload01-CYDJ3k8B.js} +1 -1
  32. package/dist/client/assets/{User01-EBgfoxm1.js → User01-CwUo40nW.js} +1 -1
  33. package/dist/client/assets/{Users01-BjvY9sLn.js → Users01-BvoHip1P.js} +1 -1
  34. package/dist/client/assets/{Users03-cFry-Rto.js → Users03-D-ej3qHB.js} +1 -1
  35. package/dist/client/assets/{X-BxdhEfJ_.js → X-BPXqNLsl.js} +1 -1
  36. package/dist/client/assets/{XCircle-D2dRUl3X.js → XCircle-zIDM8GwS.js} +1 -1
  37. package/dist/client/assets/{XClose-JIALRJcF.js → XClose-DD1U63b5.js} +1 -1
  38. package/dist/client/assets/{Zap-BBMFZYEP.js → Zap-MoK1HORt.js} +1 -1
  39. package/dist/client/assets/{ZapSquare-KiMDOCHX.js → ZapSquare-l-_QWgxW.js} +1 -1
  40. package/dist/client/assets/{accordion-h2F4EqpO.js → accordion-DcoI0e89.js} +1 -1
  41. package/dist/client/assets/{add-connection-dialog-CD9lEu0h.js → add-connection-dialog-691NMS8M.js} +1 -1
  42. package/dist/client/assets/{agent-icon-BD_rPqqb.js → agent-icon-B8MUzwj9.js} +1 -1
  43. package/dist/client/assets/{agent-icons-Z7s7DXbl.js → agent-icons-D8K6PGji.js} +1 -1
  44. package/dist/client/assets/{agents-list-BmhEmsa6.js → agents-list-B3sWxmhq.js} +1 -1
  45. package/dist/client/assets/{ai-providers-JX4LLR4S.js → ai-providers-BLQRmDEg.js} +1 -1
  46. package/dist/client/assets/{alert-dialog-DgwmE6f3.js → alert-dialog-BfFuIIAi.js} +1 -1
  47. package/dist/client/assets/{alert-u_bZaxHx.js → alert-imFouKvd.js} +1 -1
  48. package/dist/client/assets/{auth-catchall-Drjj4RCT.js → auth-catchall-EN4ZUYKI.js} +1 -1
  49. package/dist/client/assets/{auth-split-layout-rcdl_zMB.js → auth-split-layout-CLNl-Liu.js} +1 -1
  50. package/dist/client/assets/{automation-list-row-DqwcsD_7.js → automation-list-row-Du7yiRWx.js} +1 -1
  51. package/dist/client/assets/{automations-DEWBneTw.js → automations-BWT6Igqy.js} +1 -1
  52. package/dist/client/assets/{avatar-DDOxYtYL.js → avatar-B6KH1Gf_.js} +1 -1
  53. package/dist/client/assets/{badge-BXjK8wbY.js → badge-B9vWlyPt.js} +1 -1
  54. package/dist/client/assets/{brand-context-VeDeSTFo.js → brand-context-FCCIqEzi.js} +1 -1
  55. package/dist/client/assets/{card-DoyuDgsn.js → card-BLis0vqP.js} +1 -1
  56. package/dist/client/assets/{chat-context-RtHQhIE9.js → chat-context-BpnrANuQ.js} +1 -1
  57. package/dist/client/assets/{checkbox-D0Yc0mN-.js → checkbox-CYayg7ka.js} +1 -1
  58. package/dist/client/assets/{cli-auth-success-m0RL44gP.js → cli-auth-success-C0vEgSfg.js} +1 -1
  59. package/dist/client/assets/{collection-detail-DbRTvVee.js → collection-detail-nCLm3UeD.js} +1 -1
  60. package/dist/client/assets/{collection-display-button-RxtopRZN.js → collection-display-button-4swnjq5r.js} +1 -1
  61. package/dist/client/assets/{collection-search-9hGW5RZJ.js → collection-search-D05VQNPV.js} +1 -1
  62. package/dist/client/assets/{collection-search-CnmAVtDL.js → collection-search-D1Q9ymRZ.js} +1 -1
  63. package/dist/client/assets/{collection-table-wrapper-Dp2sd_0o.js → collection-table-wrapper-DRImmQWF.js} +1 -1
  64. package/dist/client/assets/{collection-tabs-CdyiDLUE.js → collection-tabs-BQMwIOyb.js} +1 -1
  65. package/dist/client/assets/{collections-Cr9-k5Dp.js → collections-Bxf7d2CZ.js} +1 -1
  66. package/dist/client/assets/{command-BOhfxy80.js → command-DSe0Tiwa.js} +1 -1
  67. package/dist/client/assets/{connect-desktop-dialog-HmPW1Qn6.js → connect-desktop-dialog-BrqoBGeb.js} +1 -1
  68. package/dist/client/assets/{connection-card-DWESZBbJ.js → connection-card-lXrZV4t4.js} +1 -1
  69. package/dist/client/assets/{connection-detail-CAWdGksF.js → connection-detail-IR4-CC_N.js} +1 -1
  70. package/dist/client/assets/{connection-form-helpers-CYGjPtOE.js → connection-form-helpers-7IxnhZqQ.js} +1 -1
  71. package/dist/client/assets/{connections-Ui7d_qa2.js → connections-DkBR3JcU.js} +1 -1
  72. package/dist/client/assets/{constants-wlikBzl5.js → constants-gk_IP4Zc.js} +2 -2
  73. package/dist/client/assets/{decopilot-sse-pool-CzmyvklN.js → decopilot-sse-pool-BhDKUi8c.js} +1 -1
  74. package/dist/client/assets/{dialog-BUuYbzZb.js → dialog-C_ienXNW.js} +1 -1
  75. package/dist/client/assets/{domain-settings-Djh1RrEA.js → domain-settings-61QbJzTR.js} +1 -1
  76. package/dist/client/assets/{drawer-DhizNMYf.js → drawer-DaOexVbe.js} +1 -1
  77. package/dist/client/assets/{dropdown-menu-B8jYuYV-.js → dropdown-menu-CMqoOV9T.js} +1 -1
  78. package/dist/client/assets/{dynamic-plugin-layout-DDdk-i9L.js → dynamic-plugin-layout-BoeGFzSl.js} +1 -1
  79. package/dist/client/assets/{empty-state-SFIgelF3.js → empty-state-BA09Bcpv.js} +1 -1
  80. package/dist/client/assets/{empty-state-BbU9ZFwC.js → empty-state-BZL2NvaE.js} +1 -1
  81. package/dist/client/assets/{extract-connection-data-6hSkq68z.js → extract-connection-data-CP_hqmSV.js} +1 -1
  82. package/dist/client/assets/{features-B_3jXZO2.js → features-CIUn836F.js} +1 -1
  83. package/dist/client/assets/{file-explorer-BgbG5Heb.js → file-explorer-CQeuI4xK.js} +1 -1
  84. package/dist/client/assets/{files-BPz9nAjJ.js → files-BsgFc-RY.js} +1 -1
  85. package/dist/client/assets/{form-CIlRGCfL.js → form-CjoMj5wU.js} +1 -1
  86. package/dist/client/assets/{general-8eQggZYD.js → general-CSnG-719.js} +1 -1
  87. package/dist/client/assets/{generate-id-C3QoXSqo.js → generate-id-CsyB9bN_.js} +1 -1
  88. package/dist/client/assets/{github-repo-picker-sKyqTDT8.js → github-repo-picker--49O8V7y.js} +1 -1
  89. package/dist/client/assets/{hooks-9SOOqVR8.js → hooks-BRJojuLC.js} +1 -1
  90. package/dist/client/assets/{hover-card-XelaxJWw.js → hover-card-DUjbTNUy.js} +1 -1
  91. package/dist/client/assets/{import-from-deco-dialog-0HqqXpyK.js → import-from-deco-dialog-D-yCDmpo.js} +1 -1
  92. package/dist/client/assets/{index-6k58PiwU.js → index-3Xr-YP7L.js} +1 -1
  93. package/dist/client/assets/{index-COUAU6R2.js → index-5fHHh2jn.js} +1 -1
  94. package/dist/client/assets/{index-TGA5bhjE.js → index-B_LUGvge.js} +4 -4
  95. package/dist/client/assets/{index-CXBH4ITS.js → index-BnTQ8eNv.js} +1 -1
  96. package/dist/client/assets/{index-hYvqFXmU.js → index-CGnB_5xY.js} +1 -1
  97. package/dist/client/assets/{index-X620QjzP.js → index-CUGH2xCP.js} +1 -1
  98. package/dist/client/assets/index-CW_5pAsg.js +3 -0
  99. package/dist/client/assets/{index-BhIYEmDJ.js → index-Cj8-zQu2.js} +1 -1
  100. package/dist/client/assets/{index-Nz1-QZbz.js → index-CkdV7Jdj.js} +1 -1
  101. package/dist/client/assets/{index-DdXs1209.js → index-CqQCgXZz.js} +1 -1
  102. package/dist/client/assets/{index-mwiMEID5.js → index-DAlg104T.js} +1 -1
  103. package/dist/client/assets/{index-Dr1K0q-i.js → index-DEVleS27.js} +1 -1
  104. package/dist/client/assets/{index-DUYU5_a3.js → index-DKwzo9_P.js} +1 -1
  105. package/dist/client/assets/{index-xTsEtfpg.js → index-DwuuljEt.js} +2 -2
  106. package/dist/client/assets/{index-vyEFrfC1.js → index-OAEI9OjK.js} +1 -1
  107. package/dist/client/assets/{index-BQZrdtha.js → index-v8STBELI.js} +1 -1
  108. package/dist/client/assets/{infiniteQueryObserver-CaiIqjtX.js → infiniteQueryObserver-9AonwSNz.js} +1 -1
  109. package/dist/client/assets/{input-DkeyHbuG.js → input-DZpKo824.js} +1 -1
  110. package/dist/client/assets/{integration-icon-DPwh9Mg5.js → integration-icon-DsvUPe8D.js} +1 -1
  111. package/dist/client/assets/{label-CjHvdO00.js → label-C7wkK6L0.js} +1 -1
  112. package/dist/client/assets/{layout-D6bcRuMt.js → layout-CtmyeSJk.js} +1 -1
  113. package/dist/client/assets/{login-5B_zJAJ0.js → login-BvyiZZN1.js} +1 -1
  114. package/dist/client/assets/{members-CYqiSVqs.js → members-HhwRS5QP.js} +1 -1
  115. package/dist/client/assets/{monaco-editor-nd_tO0rB.js → monaco-editor-CuQaBG94.js} +1 -1
  116. package/dist/client/assets/{monitoring-stats-row-DwHfPynF.js → monitoring-stats-row-CHJUB9Mc.js} +1 -1
  117. package/dist/client/assets/{oauth-callback-Yq18eV5L.js → oauth-callback-BFRuXIzs.js} +1 -1
  118. package/dist/client/assets/{oauth-callback-ai-provider-CteoZxfZ.js → oauth-callback-ai-provider-B5wKjn23.js} +1 -1
  119. package/dist/client/assets/{onboarding-DPOGFsER.js → onboarding-B-FHrp0v.js} +1 -1
  120. package/dist/client/assets/{org-layout-tE-QUmN6.js → org-layout-D2_wAXUn.js} +1 -1
  121. package/dist/client/assets/{org-plugin-layout-Ba2bMLZC.js → org-plugin-layout-nh6Xw_Ah.js} +1 -1
  122. package/dist/client/assets/{pair-CqRdJmjs.js → pair-DOnTaGrk.js} +37 -37
  123. package/dist/client/assets/{plugin-empty-state-C4HxFtK3.js → plugin-empty-state-CYe_e4dU.js} +1 -1
  124. package/dist/client/assets/{plugin-header-B15yYTP4.js → plugin-header-CZtVpBDn.js} +1 -1
  125. package/dist/client/assets/{plugin-layout-CRAuWVBJ.js → plugin-layout-C6ZublgJ.js} +1 -1
  126. package/dist/client/assets/{popover-97K8LVnU.js → popover-BtfZOknF.js} +1 -1
  127. package/dist/client/assets/{profile-BsxYHSPL.js → profile-C82P0tKQ.js} +1 -1
  128. package/dist/client/assets/{project-app-view-B0nyBoME.js → project-app-view-C-e07U9-.js} +1 -1
  129. package/dist/client/assets/registry-CMRj3FZM.js +2 -0
  130. package/dist/client/assets/{registry-layout-CZnLlfiV.js → registry-layout-D3l95YU2.js} +1 -1
  131. package/dist/client/assets/{required-auth-layout-C8mgBWNS.js → required-auth-layout-CJyQW0YT.js} +1 -1
  132. package/dist/client/assets/{reset-password-DkqgcluV.js → reset-password-Xo19Byf8.js} +1 -1
  133. package/dist/client/assets/{roles-CUEBOHc6.js → roles-B70h-wZN.js} +1 -1
  134. package/dist/client/assets/{search-input-KAnyn9Ce.js → search-input-DLTOTTz9.js} +1 -1
  135. package/dist/client/assets/{secrets-769db080.js → secrets-B7yPO5kI.js} +1 -1
  136. package/dist/client/assets/{sections-editor-Bt3uwcPI.js → sections-editor-C2P-j6nQ.js} +1 -1
  137. package/dist/client/assets/{select-SCbL4gku.js → select-CvUEwjOa.js} +1 -1
  138. package/dist/client/assets/{settings-layout-BshCgGUt.js → settings-layout-Cz8b5Lt3.js} +1 -1
  139. package/dist/client/assets/{settings-section-Cw0xQ_2H.js → settings-section-D_h13tJM.js} +1 -1
  140. package/dist/client/assets/{shell-controls-CGIP_uLo.js → shell-controls-DxesHoiQ.js} +1 -1
  141. package/dist/client/assets/{shell-layout-BLHIVG5Z.js → shell-layout-BetUYMXy.js} +1 -1
  142. package/dist/client/assets/{sidebar-BwKIfhlQ.js → sidebar-BMXh3EqA.js} +1 -1
  143. package/dist/client/assets/{skeleton-XDlr2hZV.js → skeleton-BuRaBDS1.js} +1 -1
  144. package/dist/client/assets/{sortable.esm-D5aIF3Zw.js → sortable.esm-5Pd6_HBn.js} +1 -1
  145. package/dist/client/assets/{spinner-B0XfX9TU.js → spinner-CtUyvJSV.js} +1 -1
  146. package/dist/client/assets/{sso-DH5RfLHg.js → sso-DtKDlHL0.js} +1 -1
  147. package/dist/client/assets/{store-CKhrQP_w.js → store-CbaXOCNL.js} +1 -1
  148. package/dist/client/assets/store-registry-DTb6OWPI.js +2 -0
  149. package/dist/client/assets/{switch-BQJohnI0.js → switch-d7tEagSK.js} +1 -1
  150. package/dist/client/assets/{table-DB3uKj-r.js → table-lcYjT119.js} +1 -1
  151. package/dist/client/assets/{tabs-jNjpN-gk.js → tabs-CSXDa2Ir.js} +1 -1
  152. package/dist/client/assets/{task-status-Dg5YM4Hc.js → task-status-DNmv8phZ.js} +1 -1
  153. package/dist/client/assets/{textarea-Dd1cGQh8.js → textarea-Ccx7YT75.js} +1 -1
  154. package/dist/client/assets/{toggle-group-kM4bYsLp.js → toggle-group-DSTBaZXh.js} +1 -1
  155. package/dist/client/assets/{toolbar-CvaxE6qF.js → toolbar-C83LdlA1.js} +1 -1
  156. package/dist/client/assets/{tools-list-BH7hZPhi.js → tools-list-rNOW66IG.js} +1 -1
  157. package/dist/client/assets/{tooltip-DBVO58Zp.js → tooltip-BN3IZOUM.js} +1 -1
  158. package/dist/client/assets/{types-D2TlIP4U.js → types-BnZvZp4Q.js} +1 -1
  159. package/dist/client/assets/{use-ai-providers-MXu298dg.js → use-ai-providers-d6kXM9vW.js} +1 -1
  160. package/dist/client/assets/{use-collections-DdcwH7lg.js → use-collections-DxzUt-h0.js} +1 -1
  161. package/dist/client/assets/{use-connection-Cm5lxSmT.js → use-connection-A90ocYZ3.js} +1 -1
  162. package/dist/client/assets/{use-copy-yDzCLUIu.js → use-copy-hH-GxgcQ.js} +1 -1
  163. package/dist/client/assets/{use-create-virtual-mcp-BGAVRvOL.js → use-create-virtual-mcp-DxmAhbh-.js} +1 -1
  164. package/dist/client/assets/{use-debounced-autosave-BQDH8UbJ.js → use-debounced-autosave-C5Pi-I_L.js} +1 -1
  165. package/dist/client/assets/{use-delete-connection-DJL8w2QN.js → use-delete-connection-GCkys6Oo.js} +1 -1
  166. package/dist/client/assets/{use-file-configs-CD9Yp4ac.js → use-file-configs-DqjN38PI.js} +1 -1
  167. package/dist/client/assets/{use-infinite-scroll-LY_NYoXx.js → use-infinite-scroll-CqbWH69Y.js} +1 -1
  168. package/dist/client/assets/{use-list-state-ihX8HW7M.js → use-list-state-BD70dFhh.js} +1 -1
  169. package/dist/client/assets/{use-mcp-prompts-BhuHCP_V.js → use-mcp-prompts-BhbjYccm.js} +1 -1
  170. package/dist/client/assets/{use-mcp-tools-CJa2fE9h.js → use-mcp-tools-B4qJIn_m.js} +1 -1
  171. package/dist/client/assets/{use-members-CXsnuh5x.js → use-members-DDXTUyfW.js} +1 -1
  172. package/dist/client/assets/{use-navigate-to-agent-X31tY0SN.js → use-navigate-to-agent-CmeIQKZz.js} +1 -1
  173. package/dist/client/assets/{use-org-auth-client-OoTGSTfv.js → use-org-auth-client-CBdNHYrJ.js} +1 -1
  174. package/dist/client/assets/{use-org-sso-UZ289aQt.js → use-org-sso-sVoU3o4y.js} +1 -1
  175. package/dist/client/assets/{use-organization-roles-B6qmwiF_.js → use-organization-roles-CiqnqqgF.js} +1 -1
  176. package/dist/client/assets/{use-organization-settings-Cg7cZnTH.js → use-organization-settings-Co3t-zpJ.js} +1 -1
  177. package/dist/client/assets/{use-registry-connections-zPaNsQlY.js → use-registry-connections-B8ZxDRct.js} +1 -1
  178. package/dist/client/assets/{use-secrets-DJHp-WGT.js → use-secrets-BBXTSfnh.js} +1 -1
  179. package/dist/client/assets/{use-status-sounds-4UFUcqZ3.js → use-status-sounds-Cwpee3KI.js} +1 -1
  180. package/dist/client/assets/{use-view-mode-CFr3nIeP.js → use-view-mode-JXpYJVE9.js} +1 -1
  181. package/dist/client/assets/{use-virtual-mcp-BQTYd8NA.js → use-virtual-mcp-DO1sI5xT.js} +1 -1
  182. package/dist/client/assets/useInfiniteQuery-CU-G2y2S.js +1 -0
  183. package/dist/client/assets/{useRouterState-C7U0A7oQ.js → useRouterState-CGeSfCq2.js} +1 -1
  184. package/dist/client/assets/useSuspenseInfiniteQuery-BDUa0AyA.js +1 -0
  185. package/dist/client/assets/{user-jMIXm7Xf.js → user-CANp-kXL.js} +1 -1
  186. package/dist/client/assets/{view-mode-toggle-Bbwkp2j8.js → view-mode-toggle-CWn9sP9X.js} +1 -1
  187. package/dist/client/assets/{workflow-CUWnTahx.js → workflow-Dsd6hzjI.js} +1 -1
  188. package/dist/client/assets/workflow-detail-Bb6d775m.js +1 -0
  189. package/dist/client/index.html +1 -1
  190. package/dist/server/cli.js +6 -2
  191. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esm/generated/root.js +36 -6
  192. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esm/generated/root.js.map +1 -1
  193. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/internal.js +15 -0
  194. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/internal.js.map +1 -1
  195. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/generated/root.js +36 -6
  196. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/generated/root.js.map +1 -1
  197. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/trace/internal.js +15 -0
  198. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/trace/internal.js.map +1 -1
  199. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/generated/root.js +36 -6
  200. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/generated/root.js.map +1 -1
  201. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/trace/internal.js +15 -0
  202. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/trace/internal.js.map +1 -1
  203. package/dist/server/node_modules/@opentelemetry/otlp-transformer/package.json +12 -14
  204. package/dist/server/node_modules/@opentelemetry/resources/build/esm/ResourceImpl.js +1 -1
  205. package/dist/server/node_modules/@opentelemetry/resources/build/esm/ResourceImpl.js.map +1 -1
  206. package/dist/server/node_modules/@opentelemetry/resources/build/esm/default-service-name.d.ts +9 -0
  207. package/dist/server/node_modules/@opentelemetry/resources/build/esm/default-service-name.js +38 -0
  208. package/dist/server/node_modules/@opentelemetry/resources/build/esm/default-service-name.js.map +1 -0
  209. package/dist/server/node_modules/@opentelemetry/resources/build/esm/index.d.ts +1 -1
  210. package/dist/server/node_modules/@opentelemetry/resources/build/esm/index.js +1 -1
  211. package/dist/server/node_modules/@opentelemetry/resources/build/esm/index.js.map +1 -1
  212. package/dist/server/node_modules/@opentelemetry/resources/build/esm/utils.d.ts +0 -1
  213. package/dist/server/node_modules/@opentelemetry/resources/build/esm/utils.js +0 -3
  214. package/dist/server/node_modules/@opentelemetry/resources/build/esm/utils.js.map +1 -1
  215. package/dist/server/node_modules/@opentelemetry/resources/build/esm/version.d.ts +1 -1
  216. package/dist/server/node_modules/@opentelemetry/resources/build/esm/version.js +1 -1
  217. package/dist/server/node_modules/@opentelemetry/resources/build/esm/version.js.map +1 -1
  218. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/ResourceImpl.js +1 -1
  219. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/ResourceImpl.js.map +1 -1
  220. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/default-service-name.d.ts +9 -0
  221. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/default-service-name.js +38 -0
  222. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/default-service-name.js.map +1 -0
  223. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/index.d.ts +1 -1
  224. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/index.js +1 -1
  225. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/index.js.map +1 -1
  226. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/utils.d.ts +0 -1
  227. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/utils.js +0 -3
  228. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/utils.js.map +1 -1
  229. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/version.d.ts +1 -1
  230. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/version.js +1 -1
  231. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/version.js.map +1 -1
  232. package/dist/server/node_modules/@opentelemetry/resources/build/src/ResourceImpl.js +2 -2
  233. package/dist/server/node_modules/@opentelemetry/resources/build/src/ResourceImpl.js.map +1 -1
  234. package/dist/server/node_modules/@opentelemetry/resources/build/src/default-service-name.d.ts +9 -0
  235. package/dist/server/node_modules/@opentelemetry/resources/build/src/default-service-name.js +43 -0
  236. package/dist/server/node_modules/@opentelemetry/resources/build/src/default-service-name.js.map +1 -0
  237. package/dist/server/node_modules/@opentelemetry/resources/build/src/index.d.ts +1 -1
  238. package/dist/server/node_modules/@opentelemetry/resources/build/src/index.js +2 -2
  239. package/dist/server/node_modules/@opentelemetry/resources/build/src/index.js.map +1 -1
  240. package/dist/server/node_modules/@opentelemetry/resources/build/src/utils.d.ts +0 -1
  241. package/dist/server/node_modules/@opentelemetry/resources/build/src/utils.js +1 -5
  242. package/dist/server/node_modules/@opentelemetry/resources/build/src/utils.js.map +1 -1
  243. package/dist/server/node_modules/@opentelemetry/resources/build/src/version.d.ts +1 -1
  244. package/dist/server/node_modules/@opentelemetry/resources/build/src/version.js +1 -1
  245. package/dist/server/node_modules/@opentelemetry/resources/build/src/version.js.map +1 -1
  246. package/dist/server/node_modules/@opentelemetry/resources/package.json +5 -9
  247. package/dist/server/node_modules/{is-what → pg}/LICENSE +1 -1
  248. package/dist/server/node_modules/pg/README.md +89 -0
  249. package/dist/server/node_modules/pg/lib/client.js +631 -0
  250. package/dist/server/node_modules/pg/lib/connection-parameters.js +167 -0
  251. package/dist/server/node_modules/pg/lib/connection.js +223 -0
  252. package/dist/server/node_modules/pg/lib/crypto/sasl.js +186 -0
  253. package/dist/server/node_modules/pg/lib/crypto/utils-legacy.js +37 -0
  254. package/dist/server/node_modules/pg/lib/crypto/utils-webcrypto.js +83 -0
  255. package/dist/server/node_modules/pg/lib/crypto/utils.js +9 -0
  256. package/dist/server/node_modules/pg/lib/defaults.js +84 -0
  257. package/dist/server/node_modules/pg/lib/index.js +58 -0
  258. package/dist/server/node_modules/pg/lib/native/client.js +307 -0
  259. package/dist/server/node_modules/pg/lib/native/index.js +2 -0
  260. package/dist/server/node_modules/pg/lib/native/query.js +165 -0
  261. package/dist/server/node_modules/pg/lib/query.js +241 -0
  262. package/dist/server/node_modules/pg/lib/result.js +107 -0
  263. package/dist/server/node_modules/pg/lib/stream.js +28 -0
  264. package/dist/server/node_modules/pg/lib/type-overrides.js +35 -0
  265. package/dist/server/node_modules/pg/lib/utils.js +204 -0
  266. package/dist/server/node_modules/pg/package.json +64 -0
  267. package/dist/server/server.js +1 -1
  268. package/package.json +1 -1
  269. package/dist/client/assets/index-DZOICIVA.js +0 -3
  270. package/dist/client/assets/registry-DCNSwAFB.js +0 -2
  271. package/dist/client/assets/store-registry-a04PRl5d.js +0 -2
  272. package/dist/client/assets/useInfiniteQuery-reF0B5YX.js +0 -1
  273. package/dist/client/assets/useSuspenseInfiniteQuery-DnuupN6w.js +0 -1
  274. package/dist/client/assets/workflow-detail-BOKGoGz4.js +0 -1
  275. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/browser/default-service-name.d.ts +0 -2
  276. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/browser/default-service-name.js +0 -19
  277. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/browser/default-service-name.js.map +0 -1
  278. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/browser/index.d.ts +0 -2
  279. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/browser/index.js +0 -17
  280. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/browser/index.js.map +0 -1
  281. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/index.d.ts +0 -2
  282. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/index.js +0 -17
  283. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/index.js.map +0 -1
  284. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/node/default-service-name.d.ts +0 -2
  285. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/node/default-service-name.js +0 -19
  286. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/node/default-service-name.js.map +0 -1
  287. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/node/index.d.ts +0 -2
  288. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/node/index.js +0 -17
  289. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/node/index.js.map +0 -1
  290. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/browser/default-service-name.d.ts +0 -2
  291. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/browser/default-service-name.js +0 -19
  292. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/browser/default-service-name.js.map +0 -1
  293. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/browser/index.d.ts +0 -2
  294. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/browser/index.js +0 -17
  295. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/browser/index.js.map +0 -1
  296. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/index.d.ts +0 -2
  297. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/index.js +0 -17
  298. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/index.js.map +0 -1
  299. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/node/default-service-name.d.ts +0 -2
  300. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/node/default-service-name.js +0 -19
  301. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/node/default-service-name.js.map +0 -1
  302. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/node/index.d.ts +0 -2
  303. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/node/index.js +0 -17
  304. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/node/index.js.map +0 -1
  305. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/browser/default-service-name.d.ts +0 -2
  306. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/browser/default-service-name.js +0 -23
  307. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/browser/default-service-name.js.map +0 -1
  308. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/browser/index.d.ts +0 -2
  309. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/browser/index.js +0 -21
  310. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/browser/index.js.map +0 -1
  311. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/index.d.ts +0 -2
  312. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/index.js +0 -21
  313. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/index.js.map +0 -1
  314. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/node/default-service-name.d.ts +0 -2
  315. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/node/default-service-name.js +0 -23
  316. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/node/default-service-name.js.map +0 -1
  317. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/node/index.d.ts +0 -2
  318. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/node/index.js +0 -21
  319. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/node/index.js.map +0 -1
  320. package/dist/server/node_modules/@protobufjs/base64/LICENSE +0 -26
  321. package/dist/server/node_modules/@protobufjs/base64/README.md +0 -19
  322. package/dist/server/node_modules/@protobufjs/base64/index.d.ts +0 -32
  323. package/dist/server/node_modules/@protobufjs/base64/index.js +0 -139
  324. package/dist/server/node_modules/@protobufjs/base64/package.json +0 -21
  325. package/dist/server/node_modules/@protobufjs/base64/tests/index.js +0 -46
  326. package/dist/server/node_modules/is-what/README.md +0 -294
  327. package/dist/server/node_modules/is-what/dist/cjs/index.cjs +0 -209
  328. package/dist/server/node_modules/is-what/dist/cjs/index.d.cts +0 -380
  329. package/dist/server/node_modules/is-what/dist/index.d.ts +0 -380
  330. package/dist/server/node_modules/is-what/dist/index.js +0 -171
  331. package/dist/server/node_modules/is-what/package.json +0 -128
  332. package/dist/server/node_modules/mimic-fn/index.d.ts +0 -54
  333. package/dist/server/node_modules/mimic-fn/index.js +0 -13
  334. package/dist/server/node_modules/mimic-fn/license +0 -9
  335. package/dist/server/node_modules/mimic-fn/package.json +0 -42
  336. package/dist/server/node_modules/mimic-fn/readme.md +0 -69
  337. package/dist/server/node_modules/pg-int8/LICENSE +0 -13
  338. package/dist/server/node_modules/pg-int8/README.md +0 -16
  339. package/dist/server/node_modules/pg-int8/index.js +0 -100
  340. package/dist/server/node_modules/pg-int8/package.json +0 -24
  341. package/dist/server/node_modules/postgres-array/index.d.ts +0 -4
  342. package/dist/server/node_modules/postgres-array/index.js +0 -97
  343. package/dist/server/node_modules/postgres-array/license +0 -21
  344. package/dist/server/node_modules/postgres-array/package.json +0 -35
  345. package/dist/server/node_modules/postgres-array/readme.md +0 -43
  346. package/dist/server/node_modules/postgres-bytea/index.js +0 -33
  347. package/dist/server/node_modules/postgres-bytea/license +0 -21
  348. package/dist/server/node_modules/postgres-bytea/package.json +0 -34
  349. package/dist/server/node_modules/postgres-bytea/readme.md +0 -34
  350. package/dist/server/node_modules/postgres-date/index.js +0 -116
  351. package/dist/server/node_modules/postgres-date/license +0 -21
  352. package/dist/server/node_modules/postgres-date/package.json +0 -33
  353. package/dist/server/node_modules/postgres-date/readme.md +0 -49
  354. package/dist/server/node_modules/postgres-interval/index.d.ts +0 -20
  355. package/dist/server/node_modules/postgres-interval/index.js +0 -125
  356. package/dist/server/node_modules/postgres-interval/license +0 -21
  357. package/dist/server/node_modules/postgres-interval/package.json +0 -36
  358. package/dist/server/node_modules/postgres-interval/readme.md +0 -48
  359. package/dist/server/node_modules/protobufjs/LICENSE +0 -39
  360. package/dist/server/node_modules/protobufjs/README.md +0 -727
  361. package/dist/server/node_modules/protobufjs/dist/light/protobuf.js +0 -7839
  362. package/dist/server/node_modules/protobufjs/dist/light/protobuf.js.map +0 -1
  363. package/dist/server/node_modules/protobufjs/dist/light/protobuf.min.js +0 -8
  364. package/dist/server/node_modules/protobufjs/dist/light/protobuf.min.js.map +0 -1
  365. package/dist/server/node_modules/protobufjs/dist/minimal/protobuf.js +0 -2736
  366. package/dist/server/node_modules/protobufjs/dist/minimal/protobuf.js.map +0 -1
  367. package/dist/server/node_modules/protobufjs/dist/minimal/protobuf.min.js +0 -8
  368. package/dist/server/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +0 -1
  369. package/dist/server/node_modules/protobufjs/dist/protobuf.js +0 -9643
  370. package/dist/server/node_modules/protobufjs/dist/protobuf.js.map +0 -1
  371. package/dist/server/node_modules/protobufjs/dist/protobuf.min.js +0 -8
  372. package/dist/server/node_modules/protobufjs/dist/protobuf.min.js.map +0 -1
  373. package/dist/server/node_modules/protobufjs/ext/debug/README.md +0 -4
  374. package/dist/server/node_modules/protobufjs/ext/debug/index.js +0 -71
  375. package/dist/server/node_modules/protobufjs/ext/descriptor/README.md +0 -72
  376. package/dist/server/node_modules/protobufjs/ext/descriptor/index.d.ts +0 -191
  377. package/dist/server/node_modules/protobufjs/ext/descriptor/index.js +0 -1162
  378. package/dist/server/node_modules/protobufjs/ext/descriptor/test.js +0 -54
  379. package/dist/server/node_modules/protobufjs/google/LICENSE +0 -27
  380. package/dist/server/node_modules/protobufjs/google/README.md +0 -1
  381. package/dist/server/node_modules/protobufjs/google/api/annotations.json +0 -83
  382. package/dist/server/node_modules/protobufjs/google/api/annotations.proto +0 -11
  383. package/dist/server/node_modules/protobufjs/google/api/http.json +0 -86
  384. package/dist/server/node_modules/protobufjs/google/api/http.proto +0 -31
  385. package/dist/server/node_modules/protobufjs/google/protobuf/api.json +0 -118
  386. package/dist/server/node_modules/protobufjs/google/protobuf/api.proto +0 -34
  387. package/dist/server/node_modules/protobufjs/google/protobuf/descriptor.json +0 -1382
  388. package/dist/server/node_modules/protobufjs/google/protobuf/descriptor.proto +0 -535
  389. package/dist/server/node_modules/protobufjs/google/protobuf/source_context.json +0 -20
  390. package/dist/server/node_modules/protobufjs/google/protobuf/source_context.proto +0 -7
  391. package/dist/server/node_modules/protobufjs/google/protobuf/type.json +0 -202
  392. package/dist/server/node_modules/protobufjs/google/protobuf/type.proto +0 -89
  393. package/dist/server/node_modules/protobufjs/index.d.ts +0 -2799
  394. package/dist/server/node_modules/protobufjs/index.js +0 -4
  395. package/dist/server/node_modules/protobufjs/light.d.ts +0 -2
  396. package/dist/server/node_modules/protobufjs/light.js +0 -4
  397. package/dist/server/node_modules/protobufjs/minimal.d.ts +0 -2
  398. package/dist/server/node_modules/protobufjs/minimal.js +0 -4
  399. package/dist/server/node_modules/protobufjs/package.json +0 -114
  400. package/dist/server/node_modules/protobufjs/scripts/postinstall.js +0 -32
  401. package/dist/server/node_modules/protobufjs/src/common.js +0 -399
  402. package/dist/server/node_modules/protobufjs/src/converter.js +0 -301
  403. package/dist/server/node_modules/protobufjs/src/decoder.js +0 -127
  404. package/dist/server/node_modules/protobufjs/src/encoder.js +0 -100
  405. package/dist/server/node_modules/protobufjs/src/enum.js +0 -223
  406. package/dist/server/node_modules/protobufjs/src/field.js +0 -453
  407. package/dist/server/node_modules/protobufjs/src/index-light.js +0 -104
  408. package/dist/server/node_modules/protobufjs/src/index-minimal.js +0 -36
  409. package/dist/server/node_modules/protobufjs/src/index.js +0 -12
  410. package/dist/server/node_modules/protobufjs/src/mapfield.js +0 -126
  411. package/dist/server/node_modules/protobufjs/src/message.js +0 -143
  412. package/dist/server/node_modules/protobufjs/src/method.js +0 -160
  413. package/dist/server/node_modules/protobufjs/src/namespace.js +0 -546
  414. package/dist/server/node_modules/protobufjs/src/object.js +0 -378
  415. package/dist/server/node_modules/protobufjs/src/oneof.js +0 -222
  416. package/dist/server/node_modules/protobufjs/src/parse.js +0 -969
  417. package/dist/server/node_modules/protobufjs/src/reader.js +0 -416
  418. package/dist/server/node_modules/protobufjs/src/reader_buffer.js +0 -51
  419. package/dist/server/node_modules/protobufjs/src/root.js +0 -404
  420. package/dist/server/node_modules/protobufjs/src/roots.js +0 -18
  421. package/dist/server/node_modules/protobufjs/src/rpc/service.js +0 -142
  422. package/dist/server/node_modules/protobufjs/src/rpc.js +0 -36
  423. package/dist/server/node_modules/protobufjs/src/service.js +0 -189
  424. package/dist/server/node_modules/protobufjs/src/tokenize.js +0 -416
  425. package/dist/server/node_modules/protobufjs/src/type.js +0 -615
  426. package/dist/server/node_modules/protobufjs/src/types.js +0 -196
  427. package/dist/server/node_modules/protobufjs/src/typescript.jsdoc +0 -15
  428. package/dist/server/node_modules/protobufjs/src/util/longbits.js +0 -200
  429. package/dist/server/node_modules/protobufjs/src/util/minimal.js +0 -438
  430. package/dist/server/node_modules/protobufjs/src/util.js +0 -215
  431. package/dist/server/node_modules/protobufjs/src/verifier.js +0 -177
  432. package/dist/server/node_modules/protobufjs/src/wrappers.js +0 -102
  433. package/dist/server/node_modules/protobufjs/src/writer.js +0 -465
  434. package/dist/server/node_modules/protobufjs/src/writer_buffer.js +0 -85
  435. package/dist/server/node_modules/protobufjs/tsconfig.json +0 -8
  436. package/dist/server/node_modules/split2/LICENSE +0 -13
  437. package/dist/server/node_modules/split2/README.md +0 -85
  438. package/dist/server/node_modules/split2/bench.js +0 -27
  439. package/dist/server/node_modules/split2/index.js +0 -141
  440. package/dist/server/node_modules/split2/package.json +0 -39
  441. package/dist/server/node_modules/split2/test.js +0 -409
@@ -1 +1 @@
1
- {"version":3,"file":"ResourceImpl.js","sourceRoot":"","sources":["../../src/ResourceImpl.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAsE;AACtE,8CAA+C;AAC/C,8EAK6C;AAE7C,yCAAgD;AAQhD,mCAAwC;AAExC,MAAM,YAAY;IACR,cAAc,CAAyB;IACvC,uBAAuB,GAAG,KAAK,CAAC;IAChC,UAAU,CAAU;IAEpB,mBAAmB,CAAc;IAEzC,MAAM,CAAC,iBAAiB,CACtB,UAAgE,EAChE,OAAyB;QAEzB,MAAM,GAAG,GAAG,IAAI,YAAY,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QAC1C,GAAG,CAAC,cAAc,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAC;QACtD,GAAG,CAAC,uBAAuB;YACzB,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,EAAE,CAAC,IAAA,qBAAa,EAAC,GAAG,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;QACjE,OAAO,GAAG,CAAC;IACb,CAAC;IAED;IACE;;;;OAIG;IACH,QAA0B,EAC1B,OAAyB;QAEzB,MAAM,UAAU,GAAG,QAAQ,CAAC,UAAU,IAAI,EAAE,CAAC;QAC7C,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE;YAC9D,IAAI,IAAA,qBAAa,EAAC,CAAC,CAAC,EAA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,UAAU,GAAG,YAAY,KAAK,SAAS,IAAI,YAAY,KAAK,EAAE,CAAC;IACrE,MAAM,eAAe,GACnB,iBAAiB,KAAK,SAAS,IAAI,iBAAiB,KAAK,EAAE,CAAC;IAE9D,IAAI,UAAU,EAAE;QACd,OAAO,iBAAiB,CAAC;KAC1B;IAED,IAAI,eAAe,EAAE;QACnB,OAAO,YAAY,CAAC;KACrB;IAED,IAAI,YAAY,KAAK,iBAAiB,EAAE;QACtC,OAAO,YAAY,CAAC;KACrB;IAED,UAAI,CAAC,IAAI,CACP,kIAAkI,EAClI,YAAY,EACZ,iBAAiB,CAClB,CAAC;IAEF,OAAO,SAAS,CAAC;AACnB,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Attributes, AttributeValue, diag } from '@opentelemetry/api';\nimport { SDK_INFO } from '@opentelemetry/core';\nimport {\n ATTR_SERVICE_NAME,\n ATTR_TELEMETRY_SDK_LANGUAGE,\n ATTR_TELEMETRY_SDK_NAME,\n ATTR_TELEMETRY_SDK_VERSION,\n} from '@opentelemetry/semantic-conventions';\nimport { Resource } from './Resource';\nimport { defaultServiceName } from './platform';\nimport {\n DetectedResource,\n DetectedResourceAttributes,\n MaybePromise,\n RawResourceAttribute,\n ResourceOptions,\n} from './types';\nimport { isPromiseLike } from './utils';\n\nclass ResourceImpl implements Resource {\n private _rawAttributes: RawResourceAttribute[];\n private _asyncAttributesPending = false;\n private _schemaUrl?: string;\n\n private _memoizedAttributes?: Attributes;\n\n static FromAttributeList(\n attributes: [string, MaybePromise<AttributeValue | undefined>][],\n options?: ResourceOptions\n ): Resource {\n const res = new ResourceImpl({}, options);\n res._rawAttributes = guardedRawAttributes(attributes);\n res._asyncAttributesPending =\n attributes.filter(([_, val]) => isPromiseLike(val)).length > 0;\n return res;\n }\n\n constructor(\n /**\n * A dictionary of attributes with string keys and values that provide\n * information about the entity as numbers, strings or booleans\n * TODO: Consider to add check/validation on attributes.\n */\n resource: DetectedResource,\n options?: ResourceOptions\n ) {\n const attributes = resource.attributes ?? {};\n this._rawAttributes = Object.entries(attributes).map(([k, v]) => {\n if (isPromiseLike(v)) {\n // side-effect\n this._asyncAttributesPending = true;\n }\n\n return [k, v];\n });\n\n this._rawAttributes = guardedRawAttributes(this._rawAttributes);\n this._schemaUrl = validateSchemaUrl(options?.schemaUrl);\n }\n\n public get asyncAttributesPending(): boolean {\n return this._asyncAttributesPending;\n }\n\n public async waitForAsyncAttributes(): Promise<void> {\n if (!this.asyncAttributesPending) {\n return;\n }\n\n for (let i = 0; i < this._rawAttributes.length; i++) {\n const [k, v] = this._rawAttributes[i];\n this._rawAttributes[i] = [k, isPromiseLike(v) ? await v : v];\n }\n\n this._asyncAttributesPending = false;\n }\n\n public get attributes(): Attributes {\n if (this.asyncAttributesPending) {\n diag.error(\n 'Accessing resource attributes before async attributes settled'\n );\n }\n\n if (this._memoizedAttributes) {\n return this._memoizedAttributes;\n }\n\n const attrs: Attributes = {};\n for (const [k, v] of this._rawAttributes) {\n if (isPromiseLike(v)) {\n diag.debug(`Unsettled resource attribute ${k} skipped`);\n continue;\n }\n if (v != null) {\n attrs[k] ??= v;\n }\n }\n\n // only memoize output if all attributes are settled\n if (!this._asyncAttributesPending) {\n this._memoizedAttributes = attrs;\n }\n\n return attrs;\n }\n\n public getRawAttributes(): RawResourceAttribute[] {\n return this._rawAttributes;\n }\n\n public get schemaUrl(): string | undefined {\n return this._schemaUrl;\n }\n\n public merge(resource: Resource | null): Resource {\n if (resource == null) return this;\n\n // Order is important\n // Spec states incoming attributes override existing attributes\n const mergedSchemaUrl = mergeSchemaUrl(this, resource);\n const mergedOptions: ResourceOptions | undefined = mergedSchemaUrl\n ? { schemaUrl: mergedSchemaUrl }\n : undefined;\n\n return ResourceImpl.FromAttributeList(\n [...resource.getRawAttributes(), ...this.getRawAttributes()],\n mergedOptions\n );\n }\n}\n\nexport function resourceFromAttributes(\n attributes: DetectedResourceAttributes,\n options?: ResourceOptions\n): Resource {\n return ResourceImpl.FromAttributeList(Object.entries(attributes), options);\n}\n\nexport function resourceFromDetectedResource(\n detectedResource: DetectedResource,\n options?: ResourceOptions\n): Resource {\n return new ResourceImpl(detectedResource, options);\n}\n\nexport function emptyResource(): Resource {\n return resourceFromAttributes({});\n}\n\nexport function defaultResource(): Resource {\n return resourceFromAttributes({\n [ATTR_SERVICE_NAME]: defaultServiceName(),\n [ATTR_TELEMETRY_SDK_LANGUAGE]: SDK_INFO[ATTR_TELEMETRY_SDK_LANGUAGE],\n [ATTR_TELEMETRY_SDK_NAME]: SDK_INFO[ATTR_TELEMETRY_SDK_NAME],\n [ATTR_TELEMETRY_SDK_VERSION]: SDK_INFO[ATTR_TELEMETRY_SDK_VERSION],\n });\n}\n\nfunction guardedRawAttributes(\n attributes: RawResourceAttribute[]\n): RawResourceAttribute[] {\n return attributes.map(([k, v]) => {\n if (isPromiseLike(v)) {\n return [\n k,\n v.catch(err => {\n diag.debug(\n 'promise rejection for resource attribute: %s - %s',\n k,\n err\n );\n return undefined;\n }),\n ];\n }\n return [k, v];\n });\n}\n\nfunction validateSchemaUrl(schemaUrl?: string): string | undefined {\n if (typeof schemaUrl === 'string' || schemaUrl === undefined) {\n return schemaUrl;\n }\n\n diag.warn(\n 'Schema URL must be string or undefined, got %s. Schema URL will be ignored.',\n schemaUrl\n );\n\n return undefined;\n}\n\nfunction mergeSchemaUrl(\n old: Resource,\n updating: Resource | null\n): string | undefined {\n const oldSchemaUrl = old?.schemaUrl;\n const updatingSchemaUrl = updating?.schemaUrl;\n\n const isOldEmpty = oldSchemaUrl === undefined || oldSchemaUrl === '';\n const isUpdatingEmpty =\n updatingSchemaUrl === undefined || updatingSchemaUrl === '';\n\n if (isOldEmpty) {\n return updatingSchemaUrl;\n }\n\n if (isUpdatingEmpty) {\n return oldSchemaUrl;\n }\n\n if (oldSchemaUrl === updatingSchemaUrl) {\n return oldSchemaUrl;\n }\n\n diag.warn(\n 'Schema URL merge conflict: old resource has \"%s\", updating resource has \"%s\". Resulting resource will have undefined Schema URL.',\n oldSchemaUrl,\n updatingSchemaUrl\n );\n\n return undefined;\n}\n"]}
1
+ {"version":3,"file":"ResourceImpl.js","sourceRoot":"","sources":["../../src/ResourceImpl.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAsE;AACtE,8CAA+C;AAC/C,8EAK6C;AAE7C,iEAA4D;AAQ5D,mCAAwC;AAExC,MAAM,YAAY;IACR,cAAc,CAAyB;IACvC,uBAAuB,GAAG,KAAK,CAAC;IAChC,UAAU,CAAU;IAEpB,mBAAmB,CAAc;IAEzC,MAAM,CAAC,iBAAiB,CACtB,UAAgE,EAChE,OAAyB;QAEzB,MAAM,GAAG,GAAG,IAAI,YAAY,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QAC1C,GAAG,CAAC,cAAc,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAC;QACtD,GAAG,CAAC,uBAAuB;YACzB,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,EAAE,CAAC,IAAA,qBAAa,EAAC,GAAG,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;QACjE,OAAO,GAAG,CAAC;IACb,CAAC;IAED;IACE;;;;OAIG;IACH,QAA0B,EAC1B,OAAyB;QAEzB,MAAM,UAAU,GAAG,QAAQ,CAAC,UAAU,IAAI,EAAE,CAAC;QAC7C,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CA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EAAE,SAAS,CAAC;IACpC,MAAM,iBAAiB,GAAG,QAAQ,EAAE,SAAS,CAAC;IAE9C,MAAM,UAAU,GAAG,YAAY,KAAK,SAAS,IAAI,YAAY,KAAK,EAAE,CAAC;IACrE,MAAM,eAAe,GACnB,iBAAiB,KAAK,SAAS,IAAI,iBAAiB,KAAK,EAAE,CAAC;IAE9D,IAAI,UAAU,EAAE;QACd,OAAO,iBAAiB,CAAC;KAC1B;IAED,IAAI,eAAe,EAAE;QACnB,OAAO,YAAY,CAAC;KACrB;IAED,IAAI,YAAY,KAAK,iBAAiB,EAAE;QACtC,OAAO,YAAY,CAAC;KACrB;IAED,UAAI,CAAC,IAAI,CACP,kIAAkI,EAClI,YAAY,EACZ,iBAAiB,CAClB,CAAC;IAEF,OAAO,SAAS,CAAC;AACnB,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Attributes, AttributeValue, diag } from '@opentelemetry/api';\nimport { SDK_INFO } from '@opentelemetry/core';\nimport {\n ATTR_SERVICE_NAME,\n ATTR_TELEMETRY_SDK_LANGUAGE,\n ATTR_TELEMETRY_SDK_NAME,\n ATTR_TELEMETRY_SDK_VERSION,\n} from '@opentelemetry/semantic-conventions';\nimport { Resource } from './Resource';\nimport { defaultServiceName } from './default-service-name';\nimport {\n DetectedResource,\n DetectedResourceAttributes,\n MaybePromise,\n RawResourceAttribute,\n ResourceOptions,\n} from './types';\nimport { isPromiseLike } from './utils';\n\nclass ResourceImpl implements Resource {\n private _rawAttributes: RawResourceAttribute[];\n private _asyncAttributesPending = false;\n private _schemaUrl?: string;\n\n private _memoizedAttributes?: Attributes;\n\n static FromAttributeList(\n attributes: [string, MaybePromise<AttributeValue | undefined>][],\n options?: ResourceOptions\n ): Resource {\n const res = new ResourceImpl({}, options);\n res._rawAttributes = guardedRawAttributes(attributes);\n res._asyncAttributesPending =\n attributes.filter(([_, val]) => isPromiseLike(val)).length > 0;\n return res;\n }\n\n constructor(\n /**\n * A dictionary of attributes with string keys and values that provide\n * information about the entity as numbers, strings or booleans\n * TODO: Consider to add check/validation on attributes.\n */\n resource: DetectedResource,\n options?: ResourceOptions\n ) {\n const attributes = resource.attributes ?? {};\n this._rawAttributes = Object.entries(attributes).map(([k, v]) => {\n if (isPromiseLike(v)) {\n // side-effect\n this._asyncAttributesPending = true;\n }\n\n return [k, v];\n });\n\n this._rawAttributes = guardedRawAttributes(this._rawAttributes);\n this._schemaUrl = validateSchemaUrl(options?.schemaUrl);\n }\n\n public get asyncAttributesPending(): boolean {\n return this._asyncAttributesPending;\n }\n\n public async waitForAsyncAttributes(): Promise<void> {\n if (!this.asyncAttributesPending) {\n return;\n }\n\n for (let i = 0; i < this._rawAttributes.length; i++) {\n const [k, v] = this._rawAttributes[i];\n this._rawAttributes[i] = [k, isPromiseLike(v) ? await v : v];\n }\n\n this._asyncAttributesPending = false;\n }\n\n public get attributes(): Attributes {\n if (this.asyncAttributesPending) {\n diag.error(\n 'Accessing resource attributes before async attributes settled'\n );\n }\n\n if (this._memoizedAttributes) {\n return this._memoizedAttributes;\n }\n\n const attrs: Attributes = {};\n for (const [k, v] of this._rawAttributes) {\n if (isPromiseLike(v)) {\n diag.debug(`Unsettled resource attribute ${k} skipped`);\n continue;\n }\n if (v != null) {\n attrs[k] ??= v;\n }\n }\n\n // only memoize output if all attributes are settled\n if (!this._asyncAttributesPending) {\n this._memoizedAttributes = attrs;\n }\n\n return attrs;\n }\n\n public getRawAttributes(): RawResourceAttribute[] {\n return this._rawAttributes;\n }\n\n public get schemaUrl(): string | undefined {\n return this._schemaUrl;\n }\n\n public merge(resource: Resource | null): Resource {\n if (resource == null) return this;\n\n // Order is important\n // Spec states incoming attributes override existing attributes\n const mergedSchemaUrl = mergeSchemaUrl(this, resource);\n const mergedOptions: ResourceOptions | undefined = mergedSchemaUrl\n ? { schemaUrl: mergedSchemaUrl }\n : undefined;\n\n return ResourceImpl.FromAttributeList(\n [...resource.getRawAttributes(), ...this.getRawAttributes()],\n mergedOptions\n );\n }\n}\n\nexport function resourceFromAttributes(\n attributes: DetectedResourceAttributes,\n options?: ResourceOptions\n): Resource {\n return ResourceImpl.FromAttributeList(Object.entries(attributes), options);\n}\n\nexport function resourceFromDetectedResource(\n detectedResource: DetectedResource,\n options?: ResourceOptions\n): Resource {\n return new ResourceImpl(detectedResource, options);\n}\n\nexport function emptyResource(): Resource {\n return resourceFromAttributes({});\n}\n\nexport function defaultResource(): Resource {\n return resourceFromAttributes({\n [ATTR_SERVICE_NAME]: defaultServiceName(),\n [ATTR_TELEMETRY_SDK_LANGUAGE]: SDK_INFO[ATTR_TELEMETRY_SDK_LANGUAGE],\n [ATTR_TELEMETRY_SDK_NAME]: SDK_INFO[ATTR_TELEMETRY_SDK_NAME],\n [ATTR_TELEMETRY_SDK_VERSION]: SDK_INFO[ATTR_TELEMETRY_SDK_VERSION],\n });\n}\n\nfunction guardedRawAttributes(\n attributes: RawResourceAttribute[]\n): RawResourceAttribute[] {\n return attributes.map(([k, v]) => {\n if (isPromiseLike(v)) {\n return [\n k,\n v.catch(err => {\n diag.debug(\n 'promise rejection for resource attribute: %s - %s',\n k,\n err\n );\n return undefined;\n }),\n ];\n }\n return [k, v];\n });\n}\n\nfunction validateSchemaUrl(schemaUrl?: string): string | undefined {\n if (typeof schemaUrl === 'string' || schemaUrl === undefined) {\n return schemaUrl;\n }\n\n diag.warn(\n 'Schema URL must be string or undefined, got %s. Schema URL will be ignored.',\n schemaUrl\n );\n\n return undefined;\n}\n\nfunction mergeSchemaUrl(\n old: Resource,\n updating: Resource | null\n): string | undefined {\n const oldSchemaUrl = old?.schemaUrl;\n const updatingSchemaUrl = updating?.schemaUrl;\n\n const isOldEmpty = oldSchemaUrl === undefined || oldSchemaUrl === '';\n const isUpdatingEmpty =\n updatingSchemaUrl === undefined || updatingSchemaUrl === '';\n\n if (isOldEmpty) {\n return updatingSchemaUrl;\n }\n\n if (isUpdatingEmpty) {\n return oldSchemaUrl;\n }\n\n if (oldSchemaUrl === updatingSchemaUrl) {\n return oldSchemaUrl;\n }\n\n diag.warn(\n 'Schema URL merge conflict: old resource has \"%s\", updating resource has \"%s\". Resulting resource will have undefined Schema URL.',\n oldSchemaUrl,\n updatingSchemaUrl\n );\n\n return undefined;\n}\n"]}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Returns the default service name for OpenTelemetry resources.
3
+ * In Node.js environments, returns "unknown_service:<process.argv0>".
4
+ * In browser/edge environments, returns "unknown_service".
5
+ */
6
+ export declare function defaultServiceName(): string;
7
+ /** @internal For testing purposes only */
8
+ export declare function _clearDefaultServiceNameCache(): void;
9
+ //# sourceMappingURL=default-service-name.d.ts.map
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright The OpenTelemetry Authors
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * https://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports._clearDefaultServiceNameCache = exports.defaultServiceName = void 0;
19
+ let serviceName;
20
+ /**
21
+ * Returns the default service name for OpenTelemetry resources.
22
+ * In Node.js environments, returns "unknown_service:<process.argv0>".
23
+ * In browser/edge environments, returns "unknown_service".
24
+ */
25
+ function defaultServiceName() {
26
+ if (serviceName === undefined) {
27
+ try {
28
+ const argv0 = globalThis.process.argv0;
29
+ serviceName = argv0 ? `unknown_service:${argv0}` : 'unknown_service';
30
+ }
31
+ catch {
32
+ serviceName = 'unknown_service';
33
+ }
34
+ }
35
+ return serviceName;
36
+ }
37
+ exports.defaultServiceName = defaultServiceName;
38
+ /** @internal For testing purposes only */
39
+ function _clearDefaultServiceNameCache() {
40
+ serviceName = undefined;
41
+ }
42
+ exports._clearDefaultServiceNameCache = _clearDefaultServiceNameCache;
43
+ //# sourceMappingURL=default-service-name.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-service-name.js","sourceRoot":"","sources":["../../src/default-service-name.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,IAAI,WAA+B,CAAC;AAEpC;;;;GAIG;AACH,SAAgB,kBAAkB;IAChC,IAAI,WAAW,KAAK,SAAS,EAAE;QAC7B,IAAI;YACF,MAAM,KAAK,GAAG,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC;YACvC,WAAW,GAAG,KAAK,CAAC,CAAC,CAAC,mBAAmB,KAAK,EAAE,CAAC,CAAC,CAAC,iBAAiB,CAAC;SACtE;QAAC,MAAM;YACN,WAAW,GAAG,iBAAiB,CAAC;SACjC;KACF;IACD,OAAO,WAAW,CAAC;AACrB,CAAC;AAVD,gDAUC;AAED,0CAA0C;AAC1C,SAAgB,6BAA6B;IAC3C,WAAW,GAAG,SAAS,CAAC;AAC1B,CAAC;AAFD,sEAEC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nlet serviceName: string | undefined;\n\n/**\n * Returns the default service name for OpenTelemetry resources.\n * In Node.js environments, returns \"unknown_service:<process.argv0>\".\n * In browser/edge environments, returns \"unknown_service\".\n */\nexport function defaultServiceName(): string {\n if (serviceName === undefined) {\n try {\n const argv0 = globalThis.process.argv0;\n serviceName = argv0 ? `unknown_service:${argv0}` : 'unknown_service';\n } catch {\n serviceName = 'unknown_service';\n }\n }\n return serviceName;\n}\n\n/** @internal For testing purposes only */\nexport function _clearDefaultServiceNameCache(): void {\n serviceName = undefined;\n}\n"]}
@@ -3,6 +3,6 @@ export { detectResources } from './detect-resources';
3
3
  export { envDetector, hostDetector, osDetector, processDetector, serviceInstanceIdDetector, } from './detectors';
4
4
  export type { Resource } from './Resource';
5
5
  export { resourceFromAttributes, defaultResource, emptyResource, } from './ResourceImpl';
6
- export { defaultServiceName } from './platform';
6
+ export { defaultServiceName } from './default-service-name';
7
7
  export type { ResourceDetector, DetectedResource, DetectedResourceAttributes, RawResourceAttribute, MaybePromise, } from './types';
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -28,6 +28,6 @@ var ResourceImpl_1 = require("./ResourceImpl");
28
28
  Object.defineProperty(exports, "resourceFromAttributes", { enumerable: true, get: function () { return ResourceImpl_1.resourceFromAttributes; } });
29
29
  Object.defineProperty(exports, "defaultResource", { enumerable: true, get: function () { return ResourceImpl_1.defaultResource; } });
30
30
  Object.defineProperty(exports, "emptyResource", { enumerable: true, get: function () { return ResourceImpl_1.emptyResource; } });
31
- var platform_1 = require("./platform");
32
- Object.defineProperty(exports, "defaultServiceName", { enumerable: true, get: function () { return platform_1.defaultServiceName; } });
31
+ var default_service_name_1 = require("./default-service-name");
32
+ Object.defineProperty(exports, "defaultServiceName", { enumerable: true, get: function () { return default_service_name_1.defaultServiceName; } });
33
33
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,uDAAqD;AAA5C,mHAAA,eAAe,OAAA;AACxB,yCAMqB;AALnB,wGAAA,WAAW,OAAA;AACX,yGAAA,YAAY,OAAA;AACZ,uGAAA,UAAU,OAAA;AACV,4GAAA,eAAe,OAAA;AACf,sHAAA,yBAAyB,OAAA;AAG3B,+CAIwB;AAHtB,sHAAA,sBAAsB,OAAA;AACtB,+GAAA,eAAe,OAAA;AACf,6GAAA,aAAa,OAAA;AAEf,uCAAgD;AAAvC,8GAAA,kBAAkB,OAAA","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type { ResourceDetectionConfig } from './config';\nexport { detectResources } from './detect-resources';\nexport {\n envDetector,\n hostDetector,\n osDetector,\n processDetector,\n serviceInstanceIdDetector,\n} from './detectors';\nexport type { Resource } from './Resource';\nexport {\n resourceFromAttributes,\n defaultResource,\n emptyResource,\n} from './ResourceImpl';\nexport { defaultServiceName } from './platform';\nexport type {\n ResourceDetector,\n DetectedResource,\n DetectedResourceAttributes,\n RawResourceAttribute,\n MaybePromise,\n} from './types';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,uDAAqD;AAA5C,mHAAA,eAAe,OAAA;AACxB,yCAMqB;AALnB,wGAAA,WAAW,OAAA;AACX,yGAAA,YAAY,OAAA;AACZ,uGAAA,UAAU,OAAA;AACV,4GAAA,eAAe,OAAA;AACf,sHAAA,yBAAyB,OAAA;AAG3B,+CAIwB;AAHtB,sHAAA,sBAAsB,OAAA;AACtB,+GAAA,eAAe,OAAA;AACf,6GAAA,aAAa,OAAA;AAEf,+DAA4D;AAAnD,0HAAA,kBAAkB,OAAA","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type { ResourceDetectionConfig } from './config';\nexport { detectResources } from './detect-resources';\nexport {\n envDetector,\n hostDetector,\n osDetector,\n processDetector,\n serviceInstanceIdDetector,\n} from './detectors';\nexport type { Resource } from './Resource';\nexport {\n resourceFromAttributes,\n defaultResource,\n emptyResource,\n} from './ResourceImpl';\nexport { defaultServiceName } from './default-service-name';\nexport type {\n ResourceDetector,\n DetectedResource,\n DetectedResourceAttributes,\n RawResourceAttribute,\n MaybePromise,\n} from './types';\n"]}
@@ -1,3 +1,2 @@
1
1
  export declare const isPromiseLike: <R>(val: unknown) => val is PromiseLike<R>;
2
- export declare function identity<T>(_: T): T;
3
2
  //# sourceMappingURL=utils.d.ts.map
@@ -15,15 +15,11 @@
15
15
  * limitations under the License.
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.identity = exports.isPromiseLike = void 0;
18
+ exports.isPromiseLike = void 0;
19
19
  const isPromiseLike = (val) => {
20
20
  return (val !== null &&
21
21
  typeof val === 'object' &&
22
22
  typeof val.then === 'function');
23
23
  };
24
24
  exports.isPromiseLike = isPromiseLike;
25
- function identity(_) {
26
- return _;
27
- }
28
- exports.identity = identity;
29
25
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEI,MAAM,aAAa,GAAG,CAAI,GAAY,EAAyB,EAAE;IACtE,OAAO,CACL,GAAG,KAAK,IAAI;QACZ,OAAO,GAAG,KAAK,QAAQ;QACvB,OAAQ,GAA+B,CAAC,IAAI,KAAK,UAAU,CAC5D,CAAC;AACJ,CAAC,CAAC;AANW,QAAA,aAAa,iBAMxB;AAEF,SAAgB,QAAQ,CAAI,CAAI;IAC9B,OAAO,CAAC,CAAC;AACX,CAAC;AAFD,4BAEC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const isPromiseLike = <R>(val: unknown): val is PromiseLike<R> => {\n return (\n val !== null &&\n typeof val === 'object' &&\n typeof (val as Partial<PromiseLike<R>>).then === 'function'\n );\n};\n\nexport function identity<T>(_: T): T {\n return _;\n}\n"]}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEI,MAAM,aAAa,GAAG,CAAI,GAAY,EAAyB,EAAE;IACtE,OAAO,CACL,GAAG,KAAK,IAAI;QACZ,OAAO,GAAG,KAAK,QAAQ;QACvB,OAAQ,GAA+B,CAAC,IAAI,KAAK,UAAU,CAC5D,CAAC;AACJ,CAAC,CAAC;AANW,QAAA,aAAa,iBAMxB","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const isPromiseLike = <R>(val: unknown): val is PromiseLike<R> => {\n return (\n val !== null &&\n typeof val === 'object' &&\n typeof (val as Partial<PromiseLike<R>>).then === 'function'\n );\n};\n"]}
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.2.0";
1
+ export declare const VERSION = "2.5.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -17,5 +17,5 @@
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.VERSION = void 0;
19
19
  // this is autogenerated file, see scripts/version-update.js
20
- exports.VERSION = '2.2.0';
20
+ exports.VERSION = '2.5.0';
21
21
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4DAA4D;AAC/C,QAAA,OAAO,GAAG,OAAO,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '2.2.0';\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4DAA4D;AAC/C,QAAA,OAAO,GAAG,OAAO,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '2.5.0';\n"]}
@@ -1,15 +1,11 @@
1
1
  {
2
2
  "name": "@opentelemetry/resources",
3
- "version": "2.2.0",
3
+ "version": "2.5.0",
4
4
  "description": "OpenTelemetry SDK resources",
5
5
  "main": "build/src/index.js",
6
6
  "module": "build/esm/index.js",
7
7
  "esnext": "build/esnext/index.js",
8
8
  "browser": {
9
- "./src/platform/index.ts": "./src/platform/browser/index.ts",
10
- "./build/esm/platform/index.js": "./build/esm/platform/browser/index.js",
11
- "./build/esnext/platform/index.js": "./build/esnext/platform/browser/index.js",
12
- "./build/src/platform/index.js": "./build/src/platform/browser/index.js",
13
9
  "./src/detectors/platform/index.ts": "./src/detectors/platform/browser/index.ts",
14
10
  "./build/esm/detectors/platform/index.js": "./build/esm/detectors/platform/browser/index.js",
15
11
  "./build/esnext/detectors/platform/index.js": "./build/esnext/detectors/platform/browser/index.js",
@@ -64,7 +60,7 @@
64
60
  "devDependencies": {
65
61
  "@opentelemetry/api": ">=1.3.0 <1.10.0",
66
62
  "@types/mocha": "10.0.10",
67
- "@types/node": "18.6.5",
63
+ "@types/node": "18.19.130",
68
64
  "@types/sinon": "17.0.4",
69
65
  "@types/webpack-env": "1.16.3",
70
66
  "karma": "6.4.4",
@@ -74,7 +70,7 @@
74
70
  "karma-mocha-webworker": "1.3.0",
75
71
  "karma-spec-reporter": "0.0.36",
76
72
  "karma-webpack": "5.0.1",
77
- "mocha": "11.7.4",
73
+ "mocha": "11.7.5",
78
74
  "nock": "13.5.6",
79
75
  "nyc": "17.1.0",
80
76
  "sinon": "18.0.1",
@@ -86,10 +82,10 @@
86
82
  "@opentelemetry/api": ">=1.3.0 <1.10.0"
87
83
  },
88
84
  "dependencies": {
89
- "@opentelemetry/core": "2.2.0",
85
+ "@opentelemetry/core": "2.5.0",
90
86
  "@opentelemetry/semantic-conventions": "^1.29.0"
91
87
  },
92
88
  "homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-resources",
93
89
  "sideEffects": false,
94
- "gitHead": "fb6476d8243ac8dcaaea74130b9c50c43938275c"
90
+ "gitHead": "38924cbff2a6e924ce8a2a227d3a72de52fbcd35"
95
91
  }
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2018 Luca Ban - Mesqueeb
3
+ Copyright (c) 2010 - 2021 Brian Carlson
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1,89 @@
1
+ # node-postgres
2
+
3
+ [![Build Status](https://secure.travis-ci.org/brianc/node-postgres.svg?branch=master)](http://travis-ci.org/brianc/node-postgres)
4
+ <span class="badge-npmversion"><a href="https://npmjs.org/package/pg" title="View this project on NPM"><img src="https://img.shields.io/npm/v/pg.svg" alt="NPM version" /></a></span>
5
+ <span class="badge-npmdownloads"><a href="https://npmjs.org/package/pg" title="View this project on NPM"><img src="https://img.shields.io/npm/dm/pg.svg" alt="NPM downloads" /></a></span>
6
+
7
+ Non-blocking PostgreSQL client for Node.js. Pure JavaScript and optional native libpq bindings.
8
+
9
+ ## Install
10
+
11
+ ```sh
12
+ $ npm install pg
13
+ ```
14
+
15
+ ---
16
+
17
+ ## :star: [Documentation](https://node-postgres.com) :star:
18
+
19
+ ### Features
20
+
21
+ - Pure JavaScript client and native libpq bindings share _the same API_
22
+ - Connection pooling
23
+ - Extensible JS ↔ PostgreSQL data-type coercion
24
+ - Supported PostgreSQL features
25
+ - Parameterized queries
26
+ - Named statements with query plan caching
27
+ - Async notifications with `LISTEN/NOTIFY`
28
+ - Bulk import & export with `COPY TO/COPY FROM`
29
+
30
+ ### Extras
31
+
32
+ node-postgres is by design pretty light on abstractions. These are some handy modules we've been using over the years to complete the picture.
33
+ The entire list can be found on our [wiki](https://github.com/brianc/node-postgres/wiki/Extras).
34
+
35
+ ## Support
36
+
37
+ node-postgres is free software. If you encounter a bug with the library please open an issue on the [GitHub repo](https://github.com/brianc/node-postgres). If you have questions unanswered by the documentation please open an issue pointing out how the documentation was unclear & I will do my best to make it better!
38
+
39
+ When you open an issue please provide:
40
+
41
+ - version of Node
42
+ - version of Postgres
43
+ - smallest possible snippet of code to reproduce the problem
44
+
45
+ You can also follow me [@briancarlson](https://twitter.com/briancarlson) if that's your thing. I try to always announce noteworthy changes & developments with node-postgres on Twitter.
46
+
47
+ ## Sponsorship :two_hearts:
48
+
49
+ node-postgres's continued development has been made possible in part by generous finanical support from [the community](https://github.com/brianc/node-postgres/blob/master/SPONSORS.md).
50
+
51
+ If you or your company are benefiting from node-postgres and would like to help keep the project financially sustainable [please consider supporting](https://github.com/sponsors/brianc) its development.
52
+
53
+ ## Contributing
54
+
55
+ **:heart: contributions!**
56
+
57
+ I will **happily** accept your pull request if it:
58
+
59
+ - **has tests**
60
+ - looks reasonable
61
+ - does not break backwards compatibility
62
+
63
+ If your change involves breaking backwards compatibility please please point that out in the pull request & we can discuss & plan when and how to release it and what type of documentation or communicate it will require.
64
+
65
+ ## Troubleshooting and FAQ
66
+
67
+ The causes and solutions to common errors can be found among the [Frequently Asked Questions (FAQ)](https://github.com/brianc/node-postgres/wiki/FAQ)
68
+
69
+ ## License
70
+
71
+ Copyright (c) 2010-2020 Brian Carlson (brian.m.carlson@gmail.com)
72
+
73
+ Permission is hereby granted, free of charge, to any person obtaining a copy
74
+ of this software and associated documentation files (the "Software"), to deal
75
+ in the Software without restriction, including without limitation the rights
76
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
77
+ copies of the Software, and to permit persons to whom the Software is
78
+ furnished to do so, subject to the following conditions:
79
+
80
+ The above copyright notice and this permission notice shall be included in
81
+ all copies or substantial portions of the Software.
82
+
83
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
84
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
85
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
86
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
87
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
88
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
89
+ THE SOFTWARE.