decocms 2.364.3 → 2.365.0

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 (449) hide show
  1. package/dist/client/assets/{AlertCircle-BNCl7-KE.js → AlertCircle-BUiQNi1g.js} +1 -1
  2. package/dist/client/assets/{ArrowNarrowLeft-DoLG4rPk.js → ArrowNarrowLeft-B-iJgi5p.js} +1 -1
  3. package/dist/client/assets/{ArrowUpRight-dM_balV_.js → ArrowUpRight-Bcc2ZOuq.js} +1 -1
  4. package/dist/client/assets/{Check-CVcAPsxw.js → Check-C6XoKiD0.js} +1 -1
  5. package/dist/client/assets/{CheckCircle-LNun5awz.js → CheckCircle-EJQkwVx_.js} +1 -1
  6. package/dist/client/assets/{ChevronDown-BrQ5SMJr.js → ChevronDown-BG0-uii1.js} +1 -1
  7. package/dist/client/assets/{ChevronRight-Cv88p4ps.js → ChevronRight-lpVCFpWI.js} +1 -1
  8. package/dist/client/assets/{ChevronUp-BEXPurOi.js → ChevronUp-C7MKl1aH.js} +1 -1
  9. package/dist/client/assets/{Container-UyfewUfa.js → Container-CCYhpski.js} +1 -1
  10. package/dist/client/assets/{DotsVertical-SlSMdJkj.js → DotsVertical-DUwrRRrO.js} +1 -1
  11. package/dist/client/assets/{FilterLines-D43-OQwr.js → FilterLines-C2GeuQuW.js} +1 -1
  12. package/dist/client/assets/{HardDrive-9oRtZKUj.js → HardDrive-JbvyX314.js} +1 -1
  13. package/dist/client/assets/{Key01-CR3cW4Ic.js → Key01-CDidhnng.js} +1 -1
  14. package/dist/client/assets/{LayoutLeft-DCkIyObc.js → LayoutLeft-D-a-mZcm.js} +1 -1
  15. package/dist/client/assets/{LinkExternal01-Di-5czt2.js → LinkExternal01-BgvZEm-X.js} +1 -1
  16. package/dist/client/assets/{Lock01-7UEvqN90.js → Lock01-DukFRLhX.js} +1 -1
  17. package/dist/client/assets/{Monitor01-B9n70Cxg.js → Monitor01-BBeIQXwu.js} +1 -1
  18. package/dist/client/assets/{Palette-CM8YcCMA.js → Palette-Cbp9TooA.js} +1 -1
  19. package/dist/client/assets/{Play-D-B65aXH.js → Play-Bu5xn8xm.js} +1 -1
  20. package/dist/client/assets/{Plus-Cy8cBKs0.js → Plus-D8dMVCG8.js} +1 -1
  21. package/dist/client/assets/{RefreshCcw01-DmmbBsed.js → RefreshCcw01-NZxMXXUu.js} +1 -1
  22. package/dist/client/assets/{SearchMd-DBFtSrcv.js → SearchMd-CZrB4Udl.js} +1 -1
  23. package/dist/client/assets/{Settings02-3MysM1BG.js → Settings02-DW-Wnk61.js} +1 -1
  24. package/dist/client/assets/{Shield01-HdcY4mrx.js → Shield01-BF1LUqlj.js} +1 -1
  25. package/dist/client/assets/{Star01-D8HBHDwu.js → Star01-Dsz3MamR.js} +1 -1
  26. package/dist/client/assets/{Stars02-GxNmnBiz.js → Stars02-DU-eReiu.js} +1 -1
  27. package/dist/client/assets/{Sun-CydVR3Ev.js → Sun-CjOl_eIW.js} +1 -1
  28. package/dist/client/assets/{SwitchHorizontal01-BnKnieWk.js → SwitchHorizontal01-DgnU6UpK.js} +1 -1
  29. package/dist/client/assets/{Tool01-A_tsfqwo.js → Tool01-B6glW0Sz.js} +1 -1
  30. package/dist/client/assets/{Trash01-ycnKf74n.js → Trash01-D5iQjfZH.js} +1 -1
  31. package/dist/client/assets/{Upload01-DYToW9Zt.js → Upload01-CRbIaVuw.js} +1 -1
  32. package/dist/client/assets/{User01-C3BOLDRp.js → User01-D-0COLHD.js} +1 -1
  33. package/dist/client/assets/{Users01-hicb3AcK.js → Users01-BXsiu59O.js} +1 -1
  34. package/dist/client/assets/{Users03-ZMVhIoHM.js → Users03-DxI7m72W.js} +1 -1
  35. package/dist/client/assets/{X-DPY2mUo2.js → X-CghOqPiW.js} +1 -1
  36. package/dist/client/assets/{XCircle-B83XL35R.js → XCircle-BAnMq3y8.js} +1 -1
  37. package/dist/client/assets/{XClose-4axhqxBQ.js → XClose-BtlseQCi.js} +1 -1
  38. package/dist/client/assets/{Zap-4q67D7Av.js → Zap-B9Rztg2v.js} +1 -1
  39. package/dist/client/assets/{ZapSquare-CLINFtDR.js → ZapSquare-B5X0r34a.js} +1 -1
  40. package/dist/client/assets/{accordion-DXkONO_m.js → accordion-B48sZGNg.js} +1 -1
  41. package/dist/client/assets/{add-connection-dialog-NHQqvsnL.js → add-connection-dialog-DeWWtS5l.js} +1 -1
  42. package/dist/client/assets/{agent-icon-iDRgsF6L.js → agent-icon-BtPamQTT.js} +1 -1
  43. package/dist/client/assets/{agent-icons-Cwm2SWG5.js → agent-icons-CfjWsNtB.js} +1 -1
  44. package/dist/client/assets/{agents-list-DzlzrVg4.js → agents-list-B0rifguo.js} +1 -1
  45. package/dist/client/assets/{ai-providers-vL31NHHj.js → ai-providers-CjAJVDeU.js} +1 -1
  46. package/dist/client/assets/{alert-DD3DsnPG.js → alert-DHu2hPyK.js} +1 -1
  47. package/dist/client/assets/{alert-dialog-30grTlQF.js → alert-dialog-B9ApqUuI.js} +1 -1
  48. package/dist/client/assets/{auth-catchall-CXal-oGb.js → auth-catchall-magvcZeO.js} +1 -1
  49. package/dist/client/assets/{auth-split-layout-DN4fv3Ih.js → auth-split-layout-DA4q8Bfk.js} +1 -1
  50. package/dist/client/assets/{automation-list-row-BHcl4Ohg.js → automation-list-row-9A_MZJgx.js} +1 -1
  51. package/dist/client/assets/{automations-BqqECuTg.js → automations-DiW8ArAp.js} +1 -1
  52. package/dist/client/assets/{avatar-KlYDn7qS.js → avatar-CC5qXjgF.js} +1 -1
  53. package/dist/client/assets/{badge-DuiHx46w.js → badge-BI7NQRYo.js} +1 -1
  54. package/dist/client/assets/{brand-context-BRwHlDBf.js → brand-context-DV3p99_h.js} +1 -1
  55. package/dist/client/assets/{card-BES0SMqR.js → card-BM5zwIyB.js} +1 -1
  56. package/dist/client/assets/{chat-context-DaCqMkjZ.js → chat-context-C7AI4EyX.js} +1 -1
  57. package/dist/client/assets/{checkbox-CjSQbGdc.js → checkbox-_FPlFvnC.js} +1 -1
  58. package/dist/client/assets/{cli-auth-success-CeBdZNYb.js → cli-auth-success-DxSIo4al.js} +1 -1
  59. package/dist/client/assets/{collection-detail-BMjP1kqy.js → collection-detail-ycc2WFgn.js} +1 -1
  60. package/dist/client/assets/{collection-display-button-D2FlqPoI.js → collection-display-button-CeEGick7.js} +1 -1
  61. package/dist/client/assets/{collection-search-C18GHA2r.js → collection-search-CRj5GlN2.js} +1 -1
  62. package/dist/client/assets/{collection-search-DVpwXfK_.js → collection-search-DvDmML5v.js} +1 -1
  63. package/dist/client/assets/{collection-table-wrapper-BCrn8XHN.js → collection-table-wrapper-CcVgetdF.js} +1 -1
  64. package/dist/client/assets/{collection-tabs-sb0bPFTC.js → collection-tabs-CkTIDC3A.js} +1 -1
  65. package/dist/client/assets/{collections-fkPfVMTg.js → collections-DYNhGJEX.js} +1 -1
  66. package/dist/client/assets/{command-CMqZx43I.js → command-CbYTzmrk.js} +1 -1
  67. package/dist/client/assets/{connect-desktop-dialog-BBezLAIc.js → connect-desktop-dialog-C_jFFd_F.js} +1 -1
  68. package/dist/client/assets/{connection-card-Dmdx8kTx.js → connection-card-BswapS_C.js} +1 -1
  69. package/dist/client/assets/{connection-detail-BO3q4d5o.js → connection-detail-DK4A8YWW.js} +1 -1
  70. package/dist/client/assets/{connection-form-helpers-DKAyPoDI.js → connection-form-helpers-Dn61c3nC.js} +1 -1
  71. package/dist/client/assets/{connections-BGh_njtW.js → connections-DuzgzZyf.js} +1 -1
  72. package/dist/client/assets/{constants-C4WRW-LO.js → constants-V3SVDRSK.js} +1 -1
  73. package/dist/client/assets/{decopilot-sse-pool-Cuj_gJYe.js → decopilot-sse-pool-DbOmfpLW.js} +1 -1
  74. package/dist/client/assets/{dialog-CEusfHMX.js → dialog-bygvGgb9.js} +1 -1
  75. package/dist/client/assets/{domain-settings-y81S8hCO.js → domain-settings-4vKE7ncf.js} +1 -1
  76. package/dist/client/assets/{drawer-T83Srv96.js → drawer-Bjmg0RR1.js} +1 -1
  77. package/dist/client/assets/{dropdown-menu-CT0lW-r3.js → dropdown-menu-CkTzcUR8.js} +1 -1
  78. package/dist/client/assets/{dynamic-plugin-layout-SdaMuY0y.js → dynamic-plugin-layout-D8yyBotc.js} +1 -1
  79. package/dist/client/assets/{empty-state-wvWmfCHy.js → empty-state-DW3JI1nZ.js} +1 -1
  80. package/dist/client/assets/{empty-state-DF748yNH.js → empty-state-Dg_dlwBN.js} +1 -1
  81. package/dist/client/assets/{extract-connection-data-DPlzs4kv.js → extract-connection-data-D3z53YWV.js} +1 -1
  82. package/dist/client/assets/{features-_BHWNmKI.js → features-ChVbD0gB.js} +1 -1
  83. package/dist/client/assets/{file-explorer-DO5wAK7w.js → file-explorer-0CMEQXCR.js} +1 -1
  84. package/dist/client/assets/{files-CjljowlM.js → files-hwxe9QZr.js} +1 -1
  85. package/dist/client/assets/{form-w71mMA8g.js → form-D_08NHUD.js} +1 -1
  86. package/dist/client/assets/{general-C_e5zcVD.js → general-BE7htsNN.js} +1 -1
  87. package/dist/client/assets/{generate-id-7pqGD8tV.js → generate-id-DtDqQvIv.js} +1 -1
  88. package/dist/client/assets/{github-repo-picker-BeChvUwA.js → github-repo-picker-TJIVPHBK.js} +1 -1
  89. package/dist/client/assets/{hooks-4Fwh9Blb.js → hooks-BXgqK-cH.js} +1 -1
  90. package/dist/client/assets/{hover-card-CYskLAbg.js → hover-card-TYrElsp0.js} +1 -1
  91. package/dist/client/assets/{index-LZKnK7-L.js → index-B6XA74F9.js} +1 -1
  92. package/dist/client/assets/{index-CVkezZw-.js → index-B6pGpYG6.js} +1 -1
  93. package/dist/client/assets/{index-Dd-6eUgN.js → index-B8fvR6LT.js} +1 -1
  94. package/dist/client/assets/{index-B8hvScUv.js → index-BtA594Jz.js} +1 -1
  95. package/dist/client/assets/{index-COBzfRZi.js → index-CNE80A83.js} +1 -1
  96. package/dist/client/assets/{index-BxHwWiH7.js → index-CkxTcifU.js} +1 -1
  97. package/dist/client/assets/{index-CYLlX3M9.js → index-D40kOj2v.js} +1 -1
  98. package/dist/client/assets/{index-vxjov_Cc.js → index-DBjlNX3z.js} +1 -1
  99. package/dist/client/assets/{index-gG2GSDDp.js → index-DFLHG9Oe.js} +1 -1
  100. package/dist/client/assets/{index-n2o4du3Y.js → index-DgmKj-EK.js} +1 -1
  101. package/dist/client/assets/{index-B_W9Dr0z.js → index-DiUgXBaI.js} +4 -4
  102. package/dist/client/assets/{index-DfaUClFh.js → index-KugLBWj9.js} +1 -1
  103. package/dist/client/assets/{index-BIUYFQag.js → index-P-hLEHL2.js} +1 -1
  104. package/dist/client/assets/{index-BQhmgiEq.js → index-c9Pbt5D9.js} +2 -2
  105. package/dist/client/assets/{index-BvtnVXmy.js → index-dXxsh3Iz.js} +1 -1
  106. package/dist/client/assets/index-zzGnf4We.js +1 -0
  107. package/dist/client/assets/{infiniteQueryObserver-CbM0kgNm.js → infiniteQueryObserver-CFFNkbfX.js} +1 -1
  108. package/dist/client/assets/{input-DZxKc7J0.js → input-BGaLq3ax.js} +1 -1
  109. package/dist/client/assets/{integration-icon-DewzWl2m.js → integration-icon-8egQk7i2.js} +1 -1
  110. package/dist/client/assets/{label-B1la-fci.js → label-BUt9seyW.js} +1 -1
  111. package/dist/client/assets/{layout-CKEXWCBb.js → layout-BQK7K5Pq.js} +1 -1
  112. package/dist/client/assets/{login-X1PhOapo.js → login-DwjnK22s.js} +1 -1
  113. package/dist/client/assets/{members-BzY4jGpr.js → members-DDG_y2wg.js} +1 -1
  114. package/dist/client/assets/{monaco-editor-UMtzBWTI.js → monaco-editor-6TmJdiGm.js} +1 -1
  115. package/dist/client/assets/{monitoring-stats-row-CYnzq1NO.js → monitoring-stats-row-D5sxIGbz.js} +1 -1
  116. package/dist/client/assets/{oauth-callback-D4lrgj7R.js → oauth-callback-B1F9NMJm.js} +1 -1
  117. package/dist/client/assets/{oauth-callback-ai-provider-CPKDMOtX.js → oauth-callback-ai-provider-DYl02pPg.js} +1 -1
  118. package/dist/client/assets/{onboarding-H8vSkvF8.js → onboarding-D6jujOMz.js} +1 -1
  119. package/dist/client/assets/{org-layout-C7b-Ct9H.js → org-layout-DKyZtL1W.js} +1 -1
  120. package/dist/client/assets/{org-plugin-layout-wOnrH2kj.js → org-plugin-layout-BVq0stpE.js} +1 -1
  121. package/dist/client/assets/{pair-Bfj0tAv6.js → pair-DbOJR5nL.js} +1 -1
  122. package/dist/client/assets/{plugin-empty-state-CwgJ7jY5.js → plugin-empty-state-lHHHsoKY.js} +1 -1
  123. package/dist/client/assets/{plugin-header-Cj7-LT8-.js → plugin-header-DgU6XRJp.js} +1 -1
  124. package/dist/client/assets/{plugin-layout-DLKyTrDc.js → plugin-layout-_zCxsn_M.js} +1 -1
  125. package/dist/client/assets/{popover-mJmOGcvZ.js → popover-BLsl1Wwx.js} +1 -1
  126. package/dist/client/assets/{profile-nye86xbC.js → profile-Ca8D8jB_.js} +1 -1
  127. package/dist/client/assets/{project-app-view-BEJERKGL.js → project-app-view-dfCAAazi.js} +1 -1
  128. package/dist/client/assets/registry-Bg-4_N8V.js +2 -0
  129. package/dist/client/assets/{registry-layout-BjSveN7C.js → registry-layout-C-YkiCiQ.js} +1 -1
  130. package/dist/client/assets/{required-auth-layout-BQrAafe2.js → required-auth-layout-DH-f2CaU.js} +1 -1
  131. package/dist/client/assets/{reset-password-Qhu37IkB.js → reset-password-B9rKZimn.js} +1 -1
  132. package/dist/client/assets/{roles-D5ciZufw.js → roles-8uscquIf.js} +1 -1
  133. package/dist/client/assets/{search-input-BqlqV-_0.js → search-input-DZC3FA9U.js} +1 -1
  134. package/dist/client/assets/{secrets-7Jk6eNEc.js → secrets-Bl71TYuF.js} +1 -1
  135. package/dist/client/assets/{sections-editor-D_2uvu0E.js → sections-editor-CtrNziR9.js} +1 -1
  136. package/dist/client/assets/{select-C-gPp7G9.js → select-btdbQqQB.js} +1 -1
  137. package/dist/client/assets/{settings-layout-Cw-_d_nm.js → settings-layout-Dqdbrajv.js} +1 -1
  138. package/dist/client/assets/{settings-section-DApFkTeu.js → settings-section-B8Od5ijm.js} +1 -1
  139. package/dist/client/assets/{shell-controls-DeJL2a7u.js → shell-controls-Cpc7zjLw.js} +1 -1
  140. package/dist/client/assets/{shell-layout-BOxsGjDb.js → shell-layout-DpoJLGrK.js} +1 -1
  141. package/dist/client/assets/{sidebar-D6d-v_Pc.js → sidebar-D-_ciNlc.js} +1 -1
  142. package/dist/client/assets/{skeleton-RfCTKn6Y.js → skeleton-CCsx--iC.js} +1 -1
  143. package/dist/client/assets/{sortable.esm-BXIgGJxQ.js → sortable.esm-DWCPENgE.js} +1 -1
  144. package/dist/client/assets/{spinner-NqyTThDx.js → spinner-Dbsg4e4M.js} +1 -1
  145. package/dist/client/assets/{sso-BK6CSnRS.js → sso-DKBw_dCD.js} +1 -1
  146. package/dist/client/assets/{store-C5VGH9Ff.js → store-DRHB__wC.js} +1 -1
  147. package/dist/client/assets/store-registry-DnyJL09S.js +2 -0
  148. package/dist/client/assets/{switch-BqVfJaaE.js → switch-BPaF7GST.js} +1 -1
  149. package/dist/client/assets/{table-RmWD5bZv.js → table-TcgYyI5g.js} +1 -1
  150. package/dist/client/assets/{tabs-C84e7ZOt.js → tabs-CArqhjUQ.js} +1 -1
  151. package/dist/client/assets/{task-status-Dl8gKUMi.js → task-status-Cosx-AHw.js} +1 -1
  152. package/dist/client/assets/{textarea-D08XpeH3.js → textarea-CLLp6KTK.js} +1 -1
  153. package/dist/client/assets/{toggle-group-D8XVv0W2.js → toggle-group-CyhRMoao.js} +1 -1
  154. package/dist/client/assets/{toolbar-DcHaxh2N.js → toolbar-BXyHZxUa.js} +1 -1
  155. package/dist/client/assets/{tools-list-rsD1aCdR.js → tools-list-CIfKFLCC.js} +1 -1
  156. package/dist/client/assets/{tooltip-IAEIrTVw.js → tooltip-DuHhGuNb.js} +1 -1
  157. package/dist/client/assets/{types-THJHjNYw.js → types-CKyex3WY.js} +1 -1
  158. package/dist/client/assets/{use-ai-providers-BtEkhdod.js → use-ai-providers-DXY8w1gk.js} +1 -1
  159. package/dist/client/assets/{use-collections-B5chukT1.js → use-collections-DV-Yw7Rl.js} +1 -1
  160. package/dist/client/assets/{use-connection-CqLc2kCT.js → use-connection-DPPCfeow.js} +1 -1
  161. package/dist/client/assets/{use-copy-x4stjSR_.js → use-copy-CObefyk7.js} +1 -1
  162. package/dist/client/assets/{use-create-virtual-mcp-B2e6V1M8.js → use-create-virtual-mcp-ClMf9M2U.js} +1 -1
  163. package/dist/client/assets/{use-create-website-agent-DO3Reh-r.js → use-create-website-agent-D_7O7M84.js} +1 -1
  164. package/dist/client/assets/{use-debounced-autosave-sCbU6V0n.js → use-debounced-autosave-CYLSA65X.js} +1 -1
  165. package/dist/client/assets/{use-delete-connection-CQU3mfvU.js → use-delete-connection-2Y6JpaXB.js} +1 -1
  166. package/dist/client/assets/{use-file-configs-jYMYwC9U.js → use-file-configs-CkJCW_0J.js} +1 -1
  167. package/dist/client/assets/{use-infinite-scroll-CgCif0T0.js → use-infinite-scroll-BIl8Btbp.js} +1 -1
  168. package/dist/client/assets/{use-list-state-D6p_uKvt.js → use-list-state-BCQHlt2C.js} +1 -1
  169. package/dist/client/assets/{use-mcp-prompts-e9YFDYF0.js → use-mcp-prompts-D707fXp5.js} +1 -1
  170. package/dist/client/assets/{use-mcp-tools-BsnzIOtc.js → use-mcp-tools-BpkMOXfX.js} +1 -1
  171. package/dist/client/assets/{use-members-MgBmqs7x.js → use-members-BBMhepEt.js} +1 -1
  172. package/dist/client/assets/{use-navigate-to-agent-BtQa4OwG.js → use-navigate-to-agent-CeGlZmmn.js} +1 -1
  173. package/dist/client/assets/{use-org-auth-client-BXGwtUzc.js → use-org-auth-client-DnKeoeEP.js} +1 -1
  174. package/dist/client/assets/{use-org-sso-JuaVORNY.js → use-org-sso-4uCrf8x0.js} +1 -1
  175. package/dist/client/assets/{use-organization-roles-CbkFJiRw.js → use-organization-roles-B4hkYRiT.js} +1 -1
  176. package/dist/client/assets/{use-organization-settings-DoIv1zqR.js → use-organization-settings-AWz6cpVk.js} +1 -1
  177. package/dist/client/assets/{use-registry-connections-C8o36UIG.js → use-registry-connections-BLF2Iu3j.js} +1 -1
  178. package/dist/client/assets/{use-secrets-BAKSVIhF.js → use-secrets-DE0Aqna8.js} +1 -1
  179. package/dist/client/assets/{use-status-sounds-BvXs5nVW.js → use-status-sounds-SJ0KRIgZ.js} +1 -1
  180. package/dist/client/assets/{use-view-mode-2VzWrKsP.js → use-view-mode-DPdHQRdb.js} +1 -1
  181. package/dist/client/assets/{use-virtual-mcp-DPVntSu2.js → use-virtual-mcp-BzxmTmXo.js} +1 -1
  182. package/dist/client/assets/useInfiniteQuery-B_xNiJ7y.js +1 -0
  183. package/dist/client/assets/{useRouterState-DZLFFWHa.js → useRouterState-DXQ9JAOk.js} +1 -1
  184. package/dist/client/assets/useSuspenseInfiniteQuery-B2fx93nW.js +1 -0
  185. package/dist/client/assets/{user-BIhwSu8_.js → user-BDVV447T.js} +1 -1
  186. package/dist/client/assets/{view-mode-toggle-D1dUZXpK.js → view-mode-toggle-BeU9M-dx.js} +1 -1
  187. package/dist/client/assets/{workflow-CYYTNdIs.js → workflow-6p4Uluo2.js} +1 -1
  188. package/dist/client/assets/workflow-detail-CZNMnpz0.js +1 -0
  189. package/dist/client/index.html +1 -1
  190. package/dist/server/cli.js +1 -1
  191. package/dist/server/node_modules/@opentelemetry/core/build/esm/baggage/utils.js +9 -22
  192. package/dist/server/node_modules/@opentelemetry/core/build/esm/baggage/utils.js.map +1 -1
  193. package/dist/server/node_modules/@opentelemetry/core/build/esm/common/time.d.ts +0 -3
  194. package/dist/server/node_modules/@opentelemetry/core/build/esm/common/time.js +8 -6
  195. package/dist/server/node_modules/@opentelemetry/core/build/esm/common/time.js.map +1 -1
  196. package/dist/server/node_modules/@opentelemetry/core/build/esm/common/types.d.ts +10 -0
  197. package/dist/server/node_modules/@opentelemetry/core/build/esm/common/types.js.map +1 -1
  198. package/dist/server/node_modules/@opentelemetry/core/build/esm/platform/browser/globalThis.d.ts +10 -0
  199. package/dist/server/node_modules/@opentelemetry/core/build/esm/platform/browser/globalThis.js +35 -0
  200. package/dist/server/node_modules/@opentelemetry/core/build/esm/platform/browser/globalThis.js.map +1 -0
  201. package/dist/server/node_modules/@opentelemetry/core/build/esm/platform/browser/index.d.ts +2 -5
  202. package/dist/server/node_modules/@opentelemetry/core/build/esm/platform/browser/index.js +2 -5
  203. package/dist/server/node_modules/@opentelemetry/core/build/esm/platform/browser/index.js.map +1 -1
  204. package/dist/server/node_modules/@opentelemetry/core/build/esm/platform/browser/performance.d.ts +5 -0
  205. package/dist/server/node_modules/@opentelemetry/core/build/esm/{common/globalThis.js → platform/browser/performance.js} +2 -5
  206. package/dist/server/node_modules/@opentelemetry/core/build/esm/platform/browser/performance.js.map +1 -0
  207. package/dist/server/node_modules/@opentelemetry/core/build/esm/platform/node/globalThis.d.ts +3 -0
  208. package/dist/server/node_modules/@opentelemetry/core/build/esm/platform/node/globalThis.js +19 -0
  209. package/dist/server/node_modules/@opentelemetry/core/build/esm/platform/node/globalThis.js.map +1 -0
  210. package/dist/server/node_modules/@opentelemetry/core/build/esm/platform/node/index.d.ts +2 -8
  211. package/dist/server/node_modules/@opentelemetry/core/build/esm/platform/node/index.js +2 -5
  212. package/dist/server/node_modules/@opentelemetry/core/build/esm/platform/node/index.js.map +1 -1
  213. package/dist/server/node_modules/@opentelemetry/core/build/esm/platform/node/performance.d.ts +5 -0
  214. package/dist/server/node_modules/@opentelemetry/core/build/{esnext/common/globalThis.js → esm/platform/node/performance.js} +3 -5
  215. package/dist/server/node_modules/@opentelemetry/core/build/esm/platform/node/performance.js.map +1 -0
  216. package/dist/server/node_modules/@opentelemetry/core/build/esm/utils/callback.d.ts +3 -3
  217. package/dist/server/node_modules/@opentelemetry/core/build/esm/utils/callback.js +5 -5
  218. package/dist/server/node_modules/@opentelemetry/core/build/esm/utils/callback.js.map +1 -1
  219. package/dist/server/node_modules/@opentelemetry/core/build/esm/version.d.ts +1 -1
  220. package/dist/server/node_modules/@opentelemetry/core/build/esm/version.js +1 -1
  221. package/dist/server/node_modules/@opentelemetry/core/build/esm/version.js.map +1 -1
  222. package/dist/server/node_modules/@opentelemetry/core/build/esnext/baggage/utils.js +9 -22
  223. package/dist/server/node_modules/@opentelemetry/core/build/esnext/baggage/utils.js.map +1 -1
  224. package/dist/server/node_modules/@opentelemetry/core/build/esnext/common/time.d.ts +0 -3
  225. package/dist/server/node_modules/@opentelemetry/core/build/esnext/common/time.js +8 -6
  226. package/dist/server/node_modules/@opentelemetry/core/build/esnext/common/time.js.map +1 -1
  227. package/dist/server/node_modules/@opentelemetry/core/build/esnext/common/types.d.ts +10 -0
  228. package/dist/server/node_modules/@opentelemetry/core/build/esnext/common/types.js.map +1 -1
  229. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/browser/globalThis.d.ts +10 -0
  230. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/browser/globalThis.js +35 -0
  231. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/browser/globalThis.js.map +1 -0
  232. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/browser/index.d.ts +2 -5
  233. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/browser/index.js +2 -5
  234. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/browser/index.js.map +1 -1
  235. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/browser/performance.d.ts +5 -0
  236. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/browser/performance.js +17 -0
  237. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/browser/performance.js.map +1 -0
  238. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/node/globalThis.d.ts +3 -0
  239. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/node/globalThis.js +19 -0
  240. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/node/globalThis.js.map +1 -0
  241. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/node/index.d.ts +2 -8
  242. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/node/index.js +2 -5
  243. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/node/index.js.map +1 -1
  244. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/node/performance.d.ts +5 -0
  245. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/node/performance.js +18 -0
  246. package/dist/server/node_modules/@opentelemetry/core/build/esnext/platform/node/performance.js.map +1 -0
  247. package/dist/server/node_modules/@opentelemetry/core/build/esnext/utils/callback.d.ts +3 -3
  248. package/dist/server/node_modules/@opentelemetry/core/build/esnext/utils/callback.js +5 -5
  249. package/dist/server/node_modules/@opentelemetry/core/build/esnext/utils/callback.js.map +1 -1
  250. package/dist/server/node_modules/@opentelemetry/core/build/esnext/version.d.ts +1 -1
  251. package/dist/server/node_modules/@opentelemetry/core/build/esnext/version.js +1 -1
  252. package/dist/server/node_modules/@opentelemetry/core/build/esnext/version.js.map +1 -1
  253. package/dist/server/node_modules/@opentelemetry/core/build/src/baggage/utils.js +9 -22
  254. package/dist/server/node_modules/@opentelemetry/core/build/src/baggage/utils.js.map +1 -1
  255. package/dist/server/node_modules/@opentelemetry/core/build/src/common/time.d.ts +0 -3
  256. package/dist/server/node_modules/@opentelemetry/core/build/src/common/time.js +8 -6
  257. package/dist/server/node_modules/@opentelemetry/core/build/src/common/time.js.map +1 -1
  258. package/dist/server/node_modules/@opentelemetry/core/build/src/common/types.d.ts +10 -0
  259. package/dist/server/node_modules/@opentelemetry/core/build/src/common/types.js.map +1 -1
  260. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/browser/globalThis.d.ts +10 -0
  261. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/browser/globalThis.js +38 -0
  262. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/browser/globalThis.js.map +1 -0
  263. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/browser/index.d.ts +2 -5
  264. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/browser/index.js +4 -6
  265. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/browser/index.js.map +1 -1
  266. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/browser/performance.d.ts +5 -0
  267. package/dist/server/node_modules/@opentelemetry/core/build/src/{common/globalThis.js → platform/browser/performance.js} +3 -6
  268. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/browser/performance.js.map +1 -0
  269. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/node/globalThis.d.ts +3 -0
  270. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/node/globalThis.js +22 -0
  271. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/node/globalThis.js.map +1 -0
  272. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/node/index.d.ts +2 -8
  273. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/node/index.js +4 -6
  274. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/node/index.js.map +1 -1
  275. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/node/performance.d.ts +5 -0
  276. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/node/performance.js +21 -0
  277. package/dist/server/node_modules/@opentelemetry/core/build/src/platform/node/performance.js.map +1 -0
  278. package/dist/server/node_modules/@opentelemetry/core/build/src/utils/callback.d.ts +3 -3
  279. package/dist/server/node_modules/@opentelemetry/core/build/src/utils/callback.js +5 -5
  280. package/dist/server/node_modules/@opentelemetry/core/build/src/utils/callback.js.map +1 -1
  281. package/dist/server/node_modules/@opentelemetry/core/build/src/version.d.ts +1 -1
  282. package/dist/server/node_modules/@opentelemetry/core/build/src/version.js +1 -1
  283. package/dist/server/node_modules/@opentelemetry/core/build/src/version.js.map +1 -1
  284. package/dist/server/node_modules/@opentelemetry/core/package.json +4 -5
  285. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esm/generated/root.js +6 -36
  286. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esm/generated/root.js.map +1 -1
  287. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/internal.js +0 -15
  288. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/internal.js.map +1 -1
  289. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/generated/root.js +6 -36
  290. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/generated/root.js.map +1 -1
  291. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/trace/internal.js +0 -15
  292. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/esnext/trace/internal.js.map +1 -1
  293. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/generated/root.js +6 -36
  294. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/generated/root.js.map +1 -1
  295. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/trace/internal.js +0 -15
  296. package/dist/server/node_modules/@opentelemetry/otlp-transformer/build/src/trace/internal.js.map +1 -1
  297. package/dist/server/node_modules/@opentelemetry/otlp-transformer/package.json +14 -12
  298. package/dist/server/node_modules/@opentelemetry/resources/build/esm/ResourceImpl.js +1 -1
  299. package/dist/server/node_modules/@opentelemetry/resources/build/esm/ResourceImpl.js.map +1 -1
  300. package/dist/server/node_modules/@opentelemetry/resources/build/esm/index.d.ts +1 -1
  301. package/dist/server/node_modules/@opentelemetry/resources/build/esm/index.js +1 -1
  302. package/dist/server/node_modules/@opentelemetry/resources/build/esm/index.js.map +1 -1
  303. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/browser/default-service-name.d.ts +2 -0
  304. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/browser/default-service-name.js +19 -0
  305. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/browser/default-service-name.js.map +1 -0
  306. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/browser/index.d.ts +2 -0
  307. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/browser/index.js +17 -0
  308. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/browser/index.js.map +1 -0
  309. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/index.d.ts +2 -0
  310. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/index.js +17 -0
  311. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/index.js.map +1 -0
  312. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/node/default-service-name.d.ts +2 -0
  313. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/node/default-service-name.js +19 -0
  314. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/node/default-service-name.js.map +1 -0
  315. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/node/index.d.ts +2 -0
  316. package/dist/server/node_modules/@opentelemetry/resources/build/esm/platform/node/index.js +17 -0
  317. package/dist/server/node_modules/@opentelemetry/{core/build/src/common/globalThis.js.map → resources/build/esm/platform/node/index.js.map} +1 -1
  318. package/dist/server/node_modules/@opentelemetry/resources/build/esm/utils.d.ts +1 -0
  319. package/dist/server/node_modules/@opentelemetry/resources/build/esm/utils.js +3 -0
  320. package/dist/server/node_modules/@opentelemetry/resources/build/esm/utils.js.map +1 -1
  321. package/dist/server/node_modules/@opentelemetry/resources/build/esm/version.d.ts +1 -1
  322. package/dist/server/node_modules/@opentelemetry/resources/build/esm/version.js +1 -1
  323. package/dist/server/node_modules/@opentelemetry/resources/build/esm/version.js.map +1 -1
  324. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/ResourceImpl.js +1 -1
  325. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/ResourceImpl.js.map +1 -1
  326. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/index.d.ts +1 -1
  327. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/index.js +1 -1
  328. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/index.js.map +1 -1
  329. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/browser/default-service-name.d.ts +2 -0
  330. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/browser/default-service-name.js +19 -0
  331. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/browser/default-service-name.js.map +1 -0
  332. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/browser/index.d.ts +2 -0
  333. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/browser/index.js +17 -0
  334. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/browser/index.js.map +1 -0
  335. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/index.d.ts +2 -0
  336. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/index.js +17 -0
  337. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/index.js.map +1 -0
  338. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/node/default-service-name.d.ts +2 -0
  339. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/node/default-service-name.js +19 -0
  340. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/node/default-service-name.js.map +1 -0
  341. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/node/index.d.ts +2 -0
  342. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/node/index.js +17 -0
  343. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/platform/node/index.js.map +1 -0
  344. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/utils.d.ts +1 -0
  345. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/utils.js +3 -0
  346. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/utils.js.map +1 -1
  347. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/version.d.ts +1 -1
  348. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/version.js +1 -1
  349. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/version.js.map +1 -1
  350. package/dist/server/node_modules/@opentelemetry/resources/build/src/ResourceImpl.js +2 -2
  351. package/dist/server/node_modules/@opentelemetry/resources/build/src/ResourceImpl.js.map +1 -1
  352. package/dist/server/node_modules/@opentelemetry/resources/build/src/index.d.ts +1 -1
  353. package/dist/server/node_modules/@opentelemetry/resources/build/src/index.js +2 -2
  354. package/dist/server/node_modules/@opentelemetry/resources/build/src/index.js.map +1 -1
  355. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/browser/default-service-name.d.ts +2 -0
  356. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/browser/default-service-name.js +23 -0
  357. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/browser/default-service-name.js.map +1 -0
  358. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/browser/index.d.ts +2 -0
  359. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/browser/index.js +21 -0
  360. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/browser/index.js.map +1 -0
  361. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/index.d.ts +2 -0
  362. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/index.js +21 -0
  363. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/index.js.map +1 -0
  364. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/node/default-service-name.d.ts +2 -0
  365. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/node/default-service-name.js +23 -0
  366. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/node/default-service-name.js.map +1 -0
  367. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/node/index.d.ts +2 -0
  368. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/node/index.js +21 -0
  369. package/dist/server/node_modules/@opentelemetry/resources/build/src/platform/node/index.js.map +1 -0
  370. package/dist/server/node_modules/@opentelemetry/resources/build/src/utils.d.ts +1 -0
  371. package/dist/server/node_modules/@opentelemetry/resources/build/src/utils.js +5 -1
  372. package/dist/server/node_modules/@opentelemetry/resources/build/src/utils.js.map +1 -1
  373. package/dist/server/node_modules/@opentelemetry/resources/build/src/version.d.ts +1 -1
  374. package/dist/server/node_modules/@opentelemetry/resources/build/src/version.js +1 -1
  375. package/dist/server/node_modules/@opentelemetry/resources/build/src/version.js.map +1 -1
  376. package/dist/server/node_modules/@opentelemetry/resources/package.json +9 -5
  377. package/dist/server/node_modules/get-east-asian-width/index.d.ts +60 -0
  378. package/dist/server/node_modules/get-east-asian-width/index.js +30 -0
  379. package/dist/server/node_modules/get-east-asian-width/lookup-data.js +18 -0
  380. package/dist/server/node_modules/get-east-asian-width/lookup.js +135 -0
  381. package/dist/server/node_modules/get-east-asian-width/package.json +71 -0
  382. package/dist/server/node_modules/get-east-asian-width/readme.md +65 -0
  383. package/dist/server/node_modules/get-east-asian-width/utilities.js +24 -0
  384. package/dist/server/node_modules/protobufjs/dist/light/protobuf.js +13 -10
  385. package/dist/server/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  386. package/dist/server/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  387. package/dist/server/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  388. package/dist/server/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
  389. package/dist/server/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
  390. package/dist/server/node_modules/protobufjs/dist/protobuf.js +14 -55
  391. package/dist/server/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  392. package/dist/server/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  393. package/dist/server/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  394. package/dist/server/node_modules/protobufjs/package.json +1 -1
  395. package/dist/server/node_modules/protobufjs/src/message.js +7 -3
  396. package/dist/server/node_modules/protobufjs/src/object.js +3 -6
  397. package/dist/server/node_modules/protobufjs/src/parse.js +1 -45
  398. package/dist/server/node_modules/protobufjs/src/type.js +1 -0
  399. package/dist/server/node_modules/xtend/.jshintrc +30 -0
  400. package/dist/server/node_modules/{postgres-date/license → xtend/LICENSE} +1 -2
  401. package/dist/server/node_modules/xtend/README.md +32 -0
  402. package/dist/server/node_modules/xtend/immutable.js +19 -0
  403. package/dist/server/node_modules/xtend/mutable.js +17 -0
  404. package/dist/server/node_modules/xtend/package.json +55 -0
  405. package/dist/server/node_modules/xtend/test.js +103 -0
  406. package/package.json +1 -1
  407. package/dist/client/assets/index-DOK7_ohT.js +0 -1
  408. package/dist/client/assets/registry-bNkBISAa.js +0 -2
  409. package/dist/client/assets/store-registry-CVqLvY0j.js +0 -2
  410. package/dist/client/assets/useInfiniteQuery-DKkhiiov.js +0 -1
  411. package/dist/client/assets/useSuspenseInfiniteQuery-m9tx-DXA.js +0 -1
  412. package/dist/client/assets/workflow-detail-BI1YgTJB.js +0 -1
  413. package/dist/server/node_modules/@opentelemetry/core/build/esm/common/globalThis.d.ts +0 -5
  414. package/dist/server/node_modules/@opentelemetry/core/build/esm/common/globalThis.js.map +0 -1
  415. package/dist/server/node_modules/@opentelemetry/core/build/esnext/common/globalThis.d.ts +0 -5
  416. package/dist/server/node_modules/@opentelemetry/core/build/esnext/common/globalThis.js.map +0 -1
  417. package/dist/server/node_modules/@opentelemetry/core/build/src/common/globalThis.d.ts +0 -5
  418. package/dist/server/node_modules/@opentelemetry/resources/build/esm/default-service-name.d.ts +0 -9
  419. package/dist/server/node_modules/@opentelemetry/resources/build/esm/default-service-name.js +0 -38
  420. package/dist/server/node_modules/@opentelemetry/resources/build/esm/default-service-name.js.map +0 -1
  421. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/default-service-name.d.ts +0 -9
  422. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/default-service-name.js +0 -38
  423. package/dist/server/node_modules/@opentelemetry/resources/build/esnext/default-service-name.js.map +0 -1
  424. package/dist/server/node_modules/@opentelemetry/resources/build/src/default-service-name.d.ts +0 -9
  425. package/dist/server/node_modules/@opentelemetry/resources/build/src/default-service-name.js +0 -43
  426. package/dist/server/node_modules/@opentelemetry/resources/build/src/default-service-name.js.map +0 -1
  427. package/dist/server/node_modules/@protobufjs/inquire/LICENSE +0 -26
  428. package/dist/server/node_modules/@protobufjs/inquire/README.md +0 -13
  429. package/dist/server/node_modules/@protobufjs/inquire/index.d.ts +0 -9
  430. package/dist/server/node_modules/@protobufjs/inquire/index.js +0 -37
  431. package/dist/server/node_modules/@protobufjs/inquire/package.json +0 -21
  432. package/dist/server/node_modules/@protobufjs/inquire/tests/data/array.js +0 -1
  433. package/dist/server/node_modules/@protobufjs/inquire/tests/data/emptyArray.js +0 -1
  434. package/dist/server/node_modules/@protobufjs/inquire/tests/data/emptyObject.js +0 -1
  435. package/dist/server/node_modules/@protobufjs/inquire/tests/data/object.js +0 -1
  436. package/dist/server/node_modules/@protobufjs/inquire/tests/index.js +0 -20
  437. package/dist/server/node_modules/ansi-styles/index.d.ts +0 -236
  438. package/dist/server/node_modules/ansi-styles/index.js +0 -223
  439. package/dist/server/node_modules/ansi-styles/package.json +0 -54
  440. package/dist/server/node_modules/ansi-styles/readme.md +0 -173
  441. package/dist/server/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  442. package/dist/server/node_modules/is-fullwidth-code-point/index.js +0 -12
  443. package/dist/server/node_modules/is-fullwidth-code-point/license +0 -9
  444. package/dist/server/node_modules/is-fullwidth-code-point/package.json +0 -53
  445. package/dist/server/node_modules/is-fullwidth-code-point/readme.md +0 -31
  446. package/dist/server/node_modules/postgres-date/index.js +0 -116
  447. package/dist/server/node_modules/postgres-date/package.json +0 -33
  448. package/dist/server/node_modules/postgres-date/readme.md +0 -49
  449. /package/dist/server/node_modules/{ansi-styles → get-east-asian-width}/license +0 -0
@@ -14,10 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export { getStringFromEnv, getBooleanFromEnv, getNumberFromEnv, getStringListFromEnv, } from './environment';
17
- export { _globalThis } from '../../common/globalThis';
17
+ export { _globalThis } from './globalThis';
18
+ export { otperformance } from './performance';
18
19
  export { SDK_INFO } from './sdk-info';
19
- /**
20
- * @deprecated Use performance directly.
21
- */
22
- export const otperformance = performance;
23
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/platform/browser/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,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\nexport {\n getStringFromEnv,\n getBooleanFromEnv,\n getNumberFromEnv,\n getStringListFromEnv,\n} from './environment';\nexport { _globalThis } from '../../common/globalThis';\nexport { SDK_INFO } from './sdk-info';\n\n/**\n * @deprecated Use performance directly.\n */\nexport const otperformance = performance;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/platform/browser/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,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\nexport {\n getStringFromEnv,\n getBooleanFromEnv,\n getNumberFromEnv,\n getStringListFromEnv,\n} from './environment';\nexport { _globalThis } from './globalThis';\nexport { otperformance } from './performance';\nexport { SDK_INFO } from './sdk-info';\n"]}
@@ -0,0 +1,5 @@
1
+ export declare const otperformance: {
2
+ now(): number;
3
+ readonly timeOrigin: number;
4
+ };
5
+ //# sourceMappingURL=performance.d.ts.map
@@ -13,8 +13,5 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /**
17
- * @deprecated Use globalThis directly instead.
18
- */
19
- export const _globalThis = globalThis;
20
- //# sourceMappingURL=globalThis.js.map
16
+ export const otperformance = performance;
17
+ //# sourceMappingURL=performance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"performance.js","sourceRoot":"","sources":["../../../../src/platform/browser/performance.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,aAAa,GACxB,WAAW,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\nexport const otperformance: { now(): number; readonly timeOrigin: number } =\n performance;\n"]}
@@ -0,0 +1,3 @@
1
+ /** only globals that common to node and browsers are allowed */
2
+ export declare const _globalThis: typeof globalThis;
3
+ //# sourceMappingURL=globalThis.d.ts.map
@@ -0,0 +1,19 @@
1
+ /*
2
+ * Copyright The OpenTelemetry Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /** only globals that common to node and browsers are allowed */
17
+ // eslint-disable-next-line n/no-unsupported-features/es-builtins
18
+ export const _globalThis = typeof globalThis === 'object' ? globalThis : global;
19
+ //# sourceMappingURL=globalThis.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globalThis.js","sourceRoot":"","sources":["../../../../src/platform/node/globalThis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,gEAAgE;AAChE,iEAAiE;AACjE,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,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/** only globals that common to node and browsers are allowed */\n// eslint-disable-next-line n/no-unsupported-features/es-builtins\nexport const _globalThis = typeof globalThis === 'object' ? globalThis : global;\n"]}
@@ -1,11 +1,5 @@
1
1
  export { getStringFromEnv, getBooleanFromEnv, getNumberFromEnv, getStringListFromEnv, } from './environment';
2
- export { _globalThis } from '../../common/globalThis';
2
+ export { _globalThis } from './globalThis';
3
+ export { otperformance } from './performance';
3
4
  export { SDK_INFO } from './sdk-info';
4
- /**
5
- * @deprecated Use performance directly.
6
- */
7
- export declare const otperformance: {
8
- now(): number;
9
- readonly timeOrigin: number;
10
- };
11
5
  //# sourceMappingURL=index.d.ts.map
@@ -14,10 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export { getStringFromEnv, getBooleanFromEnv, getNumberFromEnv, getStringListFromEnv, } from './environment';
17
- export { _globalThis } from '../../common/globalThis';
17
+ export { _globalThis } from './globalThis';
18
+ export { otperformance } from './performance';
18
19
  export { SDK_INFO } from './sdk-info';
19
- /**
20
- * @deprecated Use performance directly.
21
- */
22
- export const otperformance = performance;
23
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/platform/node/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GACxB,WAAW,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\nexport {\n getStringFromEnv,\n getBooleanFromEnv,\n getNumberFromEnv,\n getStringListFromEnv,\n} from './environment';\nexport { _globalThis } from '../../common/globalThis';\nexport { SDK_INFO } from './sdk-info';\n\n/**\n * @deprecated Use performance directly.\n */\nexport const otperformance: { now(): number; readonly timeOrigin: number } =\n performance;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/platform/node/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,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\nexport {\n getStringFromEnv,\n getBooleanFromEnv,\n getNumberFromEnv,\n getStringListFromEnv,\n} from './environment';\nexport { _globalThis } from './globalThis';\nexport { otperformance } from './performance';\nexport { SDK_INFO } from './sdk-info';\n"]}
@@ -0,0 +1,5 @@
1
+ export declare const otperformance: {
2
+ now(): number;
3
+ readonly timeOrigin: number;
4
+ };
5
+ //# sourceMappingURL=performance.d.ts.map
@@ -13,8 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /**
17
- * @deprecated Use globalThis directly instead.
18
- */
19
- export const _globalThis = globalThis;
20
- //# sourceMappingURL=globalThis.js.map
16
+ import { performance } from 'perf_hooks';
17
+ export const otperformance = performance;
18
+ //# sourceMappingURL=performance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"performance.js","sourceRoot":"","sources":["../../../../src/platform/node/performance.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,MAAM,CAAC,MAAM,aAAa,GACxB,WAAW,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 { performance } from 'perf_hooks';\n\nexport const otperformance: { now(): number; readonly timeOrigin: number } =\n performance;\n"]}
@@ -2,11 +2,11 @@
2
2
  * Bind the callback and only invoke the callback once regardless how many times `BindOnceFuture.call` is invoked.
3
3
  */
4
4
  export declare class BindOnceFuture<R, This = unknown, T extends (this: This, ...args: unknown[]) => R = () => R> {
5
- private _isCalled;
6
- private _deferred;
7
5
  private _callback;
8
6
  private _that;
9
- constructor(callback: T, that: This);
7
+ private _isCalled;
8
+ private _deferred;
9
+ constructor(_callback: T, _that: This);
10
10
  get isCalled(): boolean;
11
11
  get promise(): Promise<R>;
12
12
  call(...args: Parameters<T>): Promise<R>;
@@ -18,13 +18,13 @@ import { Deferred } from './promise';
18
18
  * Bind the callback and only invoke the callback once regardless how many times `BindOnceFuture.call` is invoked.
19
19
  */
20
20
  export class BindOnceFuture {
21
- _isCalled = false;
22
- _deferred = new Deferred();
23
21
  _callback;
24
22
  _that;
25
- constructor(callback, that) {
26
- this._callback = callback;
27
- this._that = that;
23
+ _isCalled = false;
24
+ _deferred = new Deferred();
25
+ constructor(_callback, _that) {
26
+ this._callback = _callback;
27
+ this._that = _that;
28
28
  }
29
29
  get isCalled() {
30
30
  return this._isCalled;
@@ -1 +1 @@
1
- {"version":3,"file":"callback.js","sourceRoot":"","sources":["../../../src/utils/callback.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC;;GAEG;AACH,MAAM,OAAO,cAAc;IAKjB,SAAS,GAAG,KAAK,CAAC;IAClB,SAAS,GAAG,IAAI,QAAQ,EAAK,CAAC;IAC9B,SAAS,CAAI;IACb,KAAK,CAAO;IAEpB,YAAY,QAAW,EAAE,IAAU;QACjC,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;QAC1B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACpB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;IAChC,CAAC;IAED,IAAI,CAAC,GAAG,IAAmB;QACzB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACnB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;YACtB,IAAI;gBACF,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAC5D,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,EAClC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,CAClC,CAAC;aACH;YAAC,OAAO,GAAG,EAAE;gBACZ,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;aAC5B;SACF;QACD,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;IAChC,CAAC;CACF","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 { Deferred } from './promise';\n\n/**\n * Bind the callback and only invoke the callback once regardless how many times `BindOnceFuture.call` is invoked.\n */\nexport class BindOnceFuture<\n R,\n This = unknown,\n T extends (this: This, ...args: unknown[]) => R = () => R,\n> {\n private _isCalled = false;\n private _deferred = new Deferred<R>();\n private _callback: T;\n private _that: This;\n\n constructor(callback: T, that: This) {\n this._callback = callback;\n this._that = that;\n }\n\n get isCalled() {\n return this._isCalled;\n }\n\n get promise() {\n return this._deferred.promise;\n }\n\n call(...args: Parameters<T>): Promise<R> {\n if (!this._isCalled) {\n this._isCalled = true;\n try {\n Promise.resolve(this._callback.call(this._that, ...args)).then(\n val => this._deferred.resolve(val),\n err => this._deferred.reject(err)\n );\n } catch (err) {\n this._deferred.reject(err);\n }\n }\n return this._deferred.promise;\n }\n}\n"]}
1
+ {"version":3,"file":"callback.js","sourceRoot":"","sources":["../../../src/utils/callback.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC;;GAEG;AACH,MAAM,OAAO,cAAc;IAQf;IACA;IAJF,SAAS,GAAG,KAAK,CAAC;IAClB,SAAS,GAAG,IAAI,QAAQ,EAAK,CAAC;IACtC,YACU,SAAY,EACZ,KAAW;QADX,cAAS,GAAT,SAAS,CAAG;QACZ,UAAK,GAAL,KAAK,CAAM;IAClB,CAAC;IAEJ,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;IAChC,CAAC;IAED,IAAI,CAAC,GAAG,IAAmB;QACzB,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACnB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;YACtB,IAAI;gBACF,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAC5D,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,EAClC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,CAClC,CAAC;aACH;YAAC,OAAO,GAAG,EAAE;gBACZ,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;aAC5B;SACF;QACD,OAAO,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;IAChC,CAAC;CACF","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 { Deferred } from './promise';\n\n/**\n * Bind the callback and only invoke the callback once regardless how many times `BindOnceFuture.call` is invoked.\n */\nexport class BindOnceFuture<\n R,\n This = unknown,\n T extends (this: This, ...args: unknown[]) => R = () => R,\n> {\n private _isCalled = false;\n private _deferred = new Deferred<R>();\n constructor(\n private _callback: T,\n private _that: This\n ) {}\n\n get isCalled() {\n return this._isCalled;\n }\n\n get promise() {\n return this._deferred.promise;\n }\n\n call(...args: Parameters<T>): Promise<R> {\n if (!this._isCalled) {\n this._isCalled = true;\n try {\n Promise.resolve(this._callback.call(this._that, ...args)).then(\n val => this._deferred.resolve(val),\n err => this._deferred.reject(err)\n );\n } catch (err) {\n this._deferred.reject(err);\n }\n }\n return this._deferred.promise;\n }\n}\n"]}
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.5.0";
1
+ export declare const VERSION = "2.2.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -14,5 +14,5 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  // this is autogenerated file, see scripts/version-update.js
17
- export const VERSION = '2.5.0';
17
+ export const VERSION = '2.2.0';
18
18
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,4DAA4D;AAC5D,MAAM,CAAC,MAAM,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
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,4DAA4D;AAC5D,MAAM,CAAC,MAAM,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"]}
@@ -33,33 +33,20 @@ export function getKeyPairs(baggage) {
33
33
  });
34
34
  }
35
35
  export function parsePairKeyValue(entry) {
36
- if (!entry)
36
+ const valueProps = entry.split(BAGGAGE_PROPERTIES_SEPARATOR);
37
+ if (valueProps.length <= 0)
38
+ return;
39
+ const keyPairPart = valueProps.shift();
40
+ if (!keyPairPart)
37
41
  return;
38
- const metadataSeparatorIndex = entry.indexOf(BAGGAGE_PROPERTIES_SEPARATOR);
39
- const keyPairPart = metadataSeparatorIndex === -1
40
- ? entry
41
- : entry.substring(0, metadataSeparatorIndex);
42
42
  const separatorIndex = keyPairPart.indexOf(BAGGAGE_KEY_PAIR_SEPARATOR);
43
43
  if (separatorIndex <= 0)
44
44
  return;
45
- const rawKey = keyPairPart.substring(0, separatorIndex).trim();
46
- const rawValue = keyPairPart.substring(separatorIndex + 1).trim();
47
- if (!rawKey || !rawValue)
48
- return;
49
- let key;
50
- let value;
51
- try {
52
- key = decodeURIComponent(rawKey);
53
- value = decodeURIComponent(rawValue);
54
- }
55
- catch {
56
- return;
57
- }
45
+ const key = decodeURIComponent(keyPairPart.substring(0, separatorIndex).trim());
46
+ const value = decodeURIComponent(keyPairPart.substring(separatorIndex + 1).trim());
58
47
  let metadata;
59
- if (metadataSeparatorIndex !== -1 &&
60
- metadataSeparatorIndex < entry.length - 1) {
61
- const metadataString = entry.substring(metadataSeparatorIndex + 1);
62
- metadata = baggageEntryMetadataFromString(metadataString);
48
+ if (valueProps.length > 0) {
49
+ metadata = baggageEntryMetadataFromString(valueProps.join(BAGGAGE_PROPERTIES_SEPARATOR));
63
50
  }
64
51
  return { key, value, metadata };
65
52
  }
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/baggage/utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAGL,8BAA8B,GAC/B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,uBAAuB,EACvB,4BAA4B,EAC5B,0BAA0B,EAC1B,wBAAwB,GACzB,MAAM,aAAa,CAAC;AAQrB,MAAM,UAAU,iBAAiB,CAAC,QAAkB;IAClD,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC,MAAc,EAAE,OAAe,EAAE,EAAE;QACzD,MAAM,KAAK,GAAG,GAAG,MAAM,GACrB,MAAM,KAAK,EAAE,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAC5C,GAAG,OAAO,EAAE,CAAC;QACb,OAAO,KAAK,CAAC,MAAM,GAAG,wBAAwB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC;IAClE,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,OAAgB;IAC1C,OAAO,OAAO,CAAC,aAAa,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QAClD,IAAI,KAAK,GAAG,GAAG,kBAAkB,CAAC,GAAG,CAAC,IAAI,kBAAkB,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC;QAE5E,sCAAsC;QACtC,kHAAkH;QAClH,IAAI,KAAK,CAAC,QAAQ,KAAK,SAAS,EAAE;YAChC,KAAK,IAAI,4BAA4B,GAAG,KAAK,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;SACnE;QAED,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,UAAU,iBAAiB,CAC/B,KAAa;IAEb,IAAI,CAAC,KAAK;QAAE,OAAO;IACnB,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,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;QACjD,KAAK,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YACnD,MAAM,OAAO,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAAC;YAEzC,IAAI,OAAO,KAAK,SAAS,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;gBACrD,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC;aACrC;QACH,CAAC,CAAC,CAAC;KACJ;IAED,OAAO,MAAM,CAAC;AAChB,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 */\nimport {\n Baggage,\n BaggageEntryMetadata,\n baggageEntryMetadataFromString,\n} from '@opentelemetry/api';\nimport {\n BAGGAGE_ITEMS_SEPARATOR,\n BAGGAGE_PROPERTIES_SEPARATOR,\n BAGGAGE_KEY_PAIR_SEPARATOR,\n BAGGAGE_MAX_TOTAL_LENGTH,\n} from './constants';\n\ntype ParsedBaggageKeyValue = {\n key: string;\n value: string;\n metadata: BaggageEntryMetadata | undefined;\n};\n\nexport function serializeKeyPairs(keyPairs: string[]): string {\n return keyPairs.reduce((hValue: string, current: string) => {\n const value = `${hValue}${\n hValue !== '' ? BAGGAGE_ITEMS_SEPARATOR : ''\n }${current}`;\n return value.length > BAGGAGE_MAX_TOTAL_LENGTH ? hValue : value;\n }, '');\n}\n\nexport function getKeyPairs(baggage: Baggage): string[] {\n return baggage.getAllEntries().map(([key, value]) => {\n let entry = `${encodeURIComponent(key)}=${encodeURIComponent(value.value)}`;\n\n // include opaque metadata if provided\n // NOTE: we intentionally don't URI-encode the metadata - that responsibility falls on the metadata implementation\n if (value.metadata !== undefined) {\n entry += BAGGAGE_PROPERTIES_SEPARATOR + value.metadata.toString();\n }\n\n return entry;\n });\n}\n\nexport function parsePairKeyValue(\n entry: string\n): ParsedBaggageKeyValue | undefined {\n if (!entry) return;\n const metadataSeparatorIndex = entry.indexOf(BAGGAGE_PROPERTIES_SEPARATOR);\n const keyPairPart =\n metadataSeparatorIndex === -1\n ? entry\n : entry.substring(0, metadataSeparatorIndex);\n\n const separatorIndex = keyPairPart.indexOf(BAGGAGE_KEY_PAIR_SEPARATOR);\n if (separatorIndex <= 0) return;\n\n const rawKey = keyPairPart.substring(0, separatorIndex).trim();\n const rawValue = keyPairPart.substring(separatorIndex + 1).trim();\n\n if (!rawKey || !rawValue) return;\n let key: string;\n let value: string;\n try {\n key = decodeURIComponent(rawKey);\n value = decodeURIComponent(rawValue);\n } catch {\n return;\n }\n\n let metadata;\n if (\n metadataSeparatorIndex !== -1 &&\n metadataSeparatorIndex < entry.length - 1\n ) {\n const metadataString = entry.substring(metadataSeparatorIndex + 1);\n metadata = baggageEntryMetadataFromString(metadataString);\n }\n\n return { key, value, metadata };\n}\n\n/**\n * Parse a string serialized in the baggage HTTP Format (without metadata):\n * https://github.com/w3c/baggage/blob/master/baggage/HTTP_HEADER_FORMAT.md\n */\nexport function parseKeyPairsIntoRecord(\n value?: string\n): Record<string, string> {\n const result: Record<string, string> = {};\n\n if (typeof value === 'string' && value.length > 0) {\n value.split(BAGGAGE_ITEMS_SEPARATOR).forEach(entry => {\n const keyPair = parsePairKeyValue(entry);\n\n if (keyPair !== undefined && keyPair.value.length > 0) {\n result[keyPair.key] = keyPair.value;\n }\n });\n }\n\n return result;\n}\n"]}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/baggage/utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;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* 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 */\nimport {\n Baggage,\n BaggageEntryMetadata,\n baggageEntryMetadataFromString,\n} from '@opentelemetry/api';\nimport {\n BAGGAGE_ITEMS_SEPARATOR,\n BAGGAGE_PROPERTIES_SEPARATOR,\n BAGGAGE_KEY_PAIR_SEPARATOR,\n BAGGAGE_MAX_TOTAL_LENGTH,\n} from './constants';\n\ntype ParsedBaggageKeyValue = {\n key: string;\n value: string;\n metadata: BaggageEntryMetadata | undefined;\n};\n\nexport function serializeKeyPairs(keyPairs: string[]): string {\n return keyPairs.reduce((hValue: string, current: string) => {\n const value = `${hValue}${\n hValue !== '' ? BAGGAGE_ITEMS_SEPARATOR : ''\n }${current}`;\n return value.length > BAGGAGE_MAX_TOTAL_LENGTH ? hValue : value;\n }, '');\n}\n\nexport function getKeyPairs(baggage: Baggage): string[] {\n return baggage.getAllEntries().map(([key, value]) => {\n let entry = `${encodeURIComponent(key)}=${encodeURIComponent(value.value)}`;\n\n // include opaque metadata if provided\n // NOTE: we intentionally don't URI-encode the metadata - that responsibility falls on the metadata implementation\n if (value.metadata !== undefined) {\n entry += BAGGAGE_PROPERTIES_SEPARATOR + value.metadata.toString();\n }\n\n return entry;\n });\n}\n\nexport function parsePairKeyValue(\n entry: string\n): ParsedBaggageKeyValue | undefined {\n const valueProps = entry.split(BAGGAGE_PROPERTIES_SEPARATOR);\n if (valueProps.length <= 0) return;\n const keyPairPart = valueProps.shift();\n if (!keyPairPart) return;\n const separatorIndex = keyPairPart.indexOf(BAGGAGE_KEY_PAIR_SEPARATOR);\n if (separatorIndex <= 0) return;\n const key = decodeURIComponent(\n keyPairPart.substring(0, separatorIndex).trim()\n );\n const value = decodeURIComponent(\n keyPairPart.substring(separatorIndex + 1).trim()\n );\n let metadata;\n if (valueProps.length > 0) {\n metadata = baggageEntryMetadataFromString(\n valueProps.join(BAGGAGE_PROPERTIES_SEPARATOR)\n );\n }\n return { key, value, metadata };\n}\n\n/**\n * Parse a string serialized in the baggage HTTP Format (without metadata):\n * https://github.com/w3c/baggage/blob/master/baggage/HTTP_HEADER_FORMAT.md\n */\nexport function parseKeyPairsIntoRecord(\n value?: string\n): Record<string, string> {\n const result: Record<string, string> = {};\n\n if (typeof value === 'string' && value.length > 0) {\n value.split(BAGGAGE_ITEMS_SEPARATOR).forEach(entry => {\n const keyPair = parsePairKeyValue(entry);\n\n if (keyPair !== undefined && keyPair.value.length > 0) {\n result[keyPair.key] = keyPair.value;\n }\n });\n }\n\n return result;\n}\n"]}
@@ -4,9 +4,6 @@ import * as api from '@opentelemetry/api';
4
4
  * @param epochMillis
5
5
  */
6
6
  export declare function millisToHrTime(epochMillis: number): api.HrTime;
7
- /**
8
- * @deprecated Use `performance.timeOrigin` directly.
9
- */
10
7
  export declare function getTimeOrigin(): number;
11
8
  /**
12
9
  * Returns an hrtime calculated via performance component.
@@ -30,18 +30,20 @@ export function millisToHrTime(epochMillis) {
30
30
  const nanos = Math.round((epochMillis % 1000) * MILLISECONDS_TO_NANOSECONDS);
31
31
  return [seconds, nanos];
32
32
  }
33
- /**
34
- * @deprecated Use `performance.timeOrigin` directly.
35
- */
36
33
  export function getTimeOrigin() {
37
- return performance.timeOrigin;
34
+ let timeOrigin = performance.timeOrigin;
35
+ if (typeof timeOrigin !== 'number') {
36
+ const perf = performance;
37
+ timeOrigin = perf.timing && perf.timing.fetchStart;
38
+ }
39
+ return timeOrigin;
38
40
  }
39
41
  /**
40
42
  * Returns an hrtime calculated via performance component.
41
43
  * @param performanceNow
42
44
  */
43
45
  export function hrTime(performanceNow) {
44
- const timeOrigin = millisToHrTime(performance.timeOrigin);
46
+ const timeOrigin = millisToHrTime(getTimeOrigin());
45
47
  const now = millisToHrTime(typeof performanceNow === 'number' ? performanceNow : performance.now());
46
48
  return addHrTimes(timeOrigin, now);
47
49
  }
@@ -57,7 +59,7 @@ export function timeInputToHrTime(time) {
57
59
  }
58
60
  else if (typeof time === 'number') {
59
61
  // Must be a performance.now() if it's smaller than process start time.
60
- if (time < performance.timeOrigin) {
62
+ if (time < getTimeOrigin()) {
61
63
  return hrTime(time);
62
64
  }
63
65
  else {
@@ -1 +1 @@
1
- {"version":3,"file":"time.js","sourceRoot":"","sources":["../../../src/common/time.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,aAAa,IAAI,WAAW,EAAE,MAAM,aAAa,CAAC;AAE3D,MAAM,iBAAiB,GAAG,CAAC,CAAC;AAC5B,MAAM,2BAA2B,GAAG,CAAC,CAAC;AACtC,MAAM,2BAA2B,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,2BAA2B,CAAC,CAAC;AAC9E,MAAM,qBAAqB,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,iBAAiB,CAAC,CAAC;AAE9D;;;GAGG;AACH,MAAM,UAAU,cAAc,CAAC,WAAmB;IAChD,MAAM,YAAY,GAAG,WAAW,GAAG,IAAI,CAAC;IACxC,iBAAiB;IACjB,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IACzC,+CAA+C;IAC/C,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,WAAW,GAAG,IAAI,CAAC,GAAG,2BAA2B,CAAC,CAAC;IAC7E,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;AAC1B,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,aAAa;IAC3B,OAAO,WAAW,CAAC,UAAU,CAAC;AAChC,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,MAAM,CAAC,cAAuB;IAC5C,MAAM,UAAU,GAAG,cAAc,CAAC,WAAW,CAAC,UAAU,C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AO,CACL,iBAAiB,CAAC,KAAK,CAAC;QACxB,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,YAAY,IAAI,CACtB,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,UAAU,CAAC,KAAiB,EAAE,KAAiB;IAC7D,MAAM,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAe,CAAC;IAErE,cAAc;IACd,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,qBAAqB,EAAE;QACnC,GAAG,CAAC,CAAC,CAAC,IAAI,qBAAqB,CAAC;QAChC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;KACb;IAED,OAAO,GAAG,CAAC;AACb,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 * as api from '@opentelemetry/api';\nimport { otperformance as performance } from '../platform';\n\nconst NANOSECOND_DIGITS = 9;\nconst NANOSECOND_DIGITS_IN_MILLIS = 6;\nconst MILLISECONDS_TO_NANOSECONDS = Math.pow(10, NANOSECOND_DIGITS_IN_MILLIS);\nconst SECOND_TO_NANOSECONDS = Math.pow(10, NANOSECOND_DIGITS);\n\n/**\n * Converts a number of milliseconds from epoch to HrTime([seconds, remainder in nanoseconds]).\n * @param epochMillis\n */\nexport function millisToHrTime(epochMillis: number): api.HrTime {\n const epochSeconds = epochMillis / 1000;\n // Decimals only.\n const seconds = Math.trunc(epochSeconds);\n // Round sub-nanosecond accuracy to nanosecond.\n const nanos = Math.round((epochMillis % 1000) * MILLISECONDS_TO_NANOSECONDS);\n return [seconds, nanos];\n}\n\n/**\n * @deprecated Use `performance.timeOrigin` directly.\n */\nexport function getTimeOrigin(): number {\n return performance.timeOrigin;\n}\n\n/**\n * Returns an hrtime calculated via performance component.\n * @param performanceNow\n */\nexport function hrTime(performanceNow?: number): api.HrTime {\n const timeOrigin = millisToHrTime(performance.timeOrigin);\n const now = millisToHrTime(\n typeof performanceNow === 'number' ? performanceNow : performance.now()\n );\n\n return addHrTimes(timeOrigin, now);\n}\n\n/**\n *\n * Converts a TimeInput to an HrTime, defaults to _hrtime().\n * @param time\n */\nexport function timeInputToHrTime(time: api.TimeInput): api.HrTime {\n // process.hrtime\n if (isTimeInputHrTime(time)) {\n return time as api.HrTime;\n } else if (typeof time === 'number') {\n // Must be a performance.now() if it's smaller than process start time.\n if (time < performance.timeOrigin) {\n return hrTime(time);\n } else {\n // epoch milliseconds or performance.timeOrigin\n return millisToHrTime(time);\n }\n } else if (time instanceof Date) {\n return millisToHrTime(time.getTime());\n } else {\n throw TypeError('Invalid input type');\n }\n}\n\n/**\n * Returns a duration of two hrTime.\n * @param startTime\n * @param endTime\n */\nexport function hrTimeDuration(\n startTime: api.HrTime,\n endTime: api.HrTime\n): api.HrTime {\n let seconds = endTime[0] - startTime[0];\n let nanos = endTime[1] - startTime[1];\n\n // overflow\n if (nanos < 0) {\n seconds -= 1;\n // negate\n nanos += SECOND_TO_NANOSECONDS;\n }\n\n return [seconds, nanos];\n}\n\n/**\n * Convert hrTime to timestamp, for example \"2019-05-14T17:00:00.000123456Z\"\n * @param time\n */\nexport function hrTimeToTimeStamp(time: api.HrTime): string {\n const precision = NANOSECOND_DIGITS;\n const tmp = `${'0'.repeat(precision)}${time[1]}Z`;\n const nanoString = tmp.substring(tmp.length - precision - 1);\n const date = new Date(time[0] * 1000).toISOString();\n return date.replace('000Z', nanoString);\n}\n\n/**\n * Convert hrTime to nanoseconds.\n * @param time\n */\nexport function hrTimeToNanoseconds(time: api.HrTime): number {\n return time[0] * SECOND_TO_NANOSECONDS + time[1];\n}\n\n/**\n * Convert hrTime to milliseconds.\n * @param time\n */\nexport function hrTimeToMilliseconds(time: api.HrTime): number {\n return time[0] * 1e3 + time[1] / 1e6;\n}\n\n/**\n * Convert hrTime to microseconds.\n * @param time\n */\nexport function hrTimeToMicroseconds(time: api.HrTime): number {\n return time[0] * 1e6 + time[1] / 1e3;\n}\n\n/**\n * check if time is HrTime\n * @param value\n */\nexport function isTimeInputHrTime(value: unknown): value is api.HrTime {\n return (\n Array.isArray(value) &&\n value.length === 2 &&\n typeof value[0] === 'number' &&\n typeof value[1] === 'number'\n );\n}\n\n/**\n * check if input value is a correct types.TimeInput\n * @param value\n */\nexport function isTimeInput(\n value: unknown\n): value is api.HrTime | number | Date {\n return (\n isTimeInputHrTime(value) ||\n typeof value === 'number' ||\n value instanceof Date\n );\n}\n\n/**\n * Given 2 HrTime formatted times, return their sum as an HrTime.\n */\nexport function addHrTimes(time1: api.HrTime, time2: api.HrTime): api.HrTime {\n const out = [time1[0] + time2[0], time1[1] + time2[1]] as api.HrTime;\n\n // Nanoseconds\n if (out[1] >= SECOND_TO_NANOSECONDS) {\n out[1] -= SECOND_TO_NANOSECONDS;\n out[0] += 1;\n }\n\n return out;\n}\n"]}
1
+ {"version":3,"file":"time.js","sourceRoot":"","sources":["../../../src/common/time.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,aAAa,IAAI,WAAW,EAAE,MAAM,aAAa,CAAC;AAG3D,MAAM,iBAAiB,GAAG,CAAC,CAAC;AAC5B,MAAM,2BAA2B,GAAG,CAAC,CAAC;AACtC,MAAM,2BAA2B,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,2BAA2B,CAAC,CAAC;AAC9E,MAAM,qBAAqB,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,iBAAiB,CAAC,C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AC;KACb;IAED,OAAO,GAAG,CAAC;AACb,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 * as api from '@opentelemetry/api';\nimport { otperformance as performance } from '../platform';\nimport { TimeOriginLegacy } from './types';\n\nconst NANOSECOND_DIGITS = 9;\nconst NANOSECOND_DIGITS_IN_MILLIS = 6;\nconst MILLISECONDS_TO_NANOSECONDS = Math.pow(10, NANOSECOND_DIGITS_IN_MILLIS);\nconst SECOND_TO_NANOSECONDS = Math.pow(10, NANOSECOND_DIGITS);\n\n/**\n * Converts a number of milliseconds from epoch to HrTime([seconds, remainder in nanoseconds]).\n * @param epochMillis\n */\nexport function millisToHrTime(epochMillis: number): api.HrTime {\n const epochSeconds = epochMillis / 1000;\n // Decimals only.\n const seconds = Math.trunc(epochSeconds);\n // Round sub-nanosecond accuracy to nanosecond.\n const nanos = Math.round((epochMillis % 1000) * MILLISECONDS_TO_NANOSECONDS);\n return [seconds, nanos];\n}\n\nexport function getTimeOrigin(): number {\n let timeOrigin = performance.timeOrigin;\n if (typeof timeOrigin !== 'number') {\n const perf: TimeOriginLegacy = performance as unknown as TimeOriginLegacy;\n timeOrigin = perf.timing && perf.timing.fetchStart;\n }\n return timeOrigin;\n}\n\n/**\n * Returns an hrtime calculated via performance component.\n * @param performanceNow\n */\nexport function hrTime(performanceNow?: number): api.HrTime {\n const timeOrigin = millisToHrTime(getTimeOrigin());\n const now = millisToHrTime(\n typeof performanceNow === 'number' ? performanceNow : performance.now()\n );\n\n return addHrTimes(timeOrigin, now);\n}\n\n/**\n *\n * Converts a TimeInput to an HrTime, defaults to _hrtime().\n * @param time\n */\nexport function timeInputToHrTime(time: api.TimeInput): api.HrTime {\n // process.hrtime\n if (isTimeInputHrTime(time)) {\n return time as api.HrTime;\n } else if (typeof time === 'number') {\n // Must be a performance.now() if it's smaller than process start time.\n if (time < getTimeOrigin()) {\n return hrTime(time);\n } else {\n // epoch milliseconds or performance.timeOrigin\n return millisToHrTime(time);\n }\n } else if (time instanceof Date) {\n return millisToHrTime(time.getTime());\n } else {\n throw TypeError('Invalid input type');\n }\n}\n\n/**\n * Returns a duration of two hrTime.\n * @param startTime\n * @param endTime\n */\nexport function hrTimeDuration(\n startTime: api.HrTime,\n endTime: api.HrTime\n): api.HrTime {\n let seconds = endTime[0] - startTime[0];\n let nanos = endTime[1] - startTime[1];\n\n // overflow\n if (nanos < 0) {\n seconds -= 1;\n // negate\n nanos += SECOND_TO_NANOSECONDS;\n }\n\n return [seconds, nanos];\n}\n\n/**\n * Convert hrTime to timestamp, for example \"2019-05-14T17:00:00.000123456Z\"\n * @param time\n */\nexport function hrTimeToTimeStamp(time: api.HrTime): string {\n const precision = NANOSECOND_DIGITS;\n const tmp = `${'0'.repeat(precision)}${time[1]}Z`;\n const nanoString = tmp.substring(tmp.length - precision - 1);\n const date = new Date(time[0] * 1000).toISOString();\n return date.replace('000Z', nanoString);\n}\n\n/**\n * Convert hrTime to nanoseconds.\n * @param time\n */\nexport function hrTimeToNanoseconds(time: api.HrTime): number {\n return time[0] * SECOND_TO_NANOSECONDS + time[1];\n}\n\n/**\n * Convert hrTime to milliseconds.\n * @param time\n */\nexport function hrTimeToMilliseconds(time: api.HrTime): number {\n return time[0] * 1e3 + time[1] / 1e6;\n}\n\n/**\n * Convert hrTime to microseconds.\n * @param time\n */\nexport function hrTimeToMicroseconds(time: api.HrTime): number {\n return time[0] * 1e6 + time[1] / 1e3;\n}\n\n/**\n * check if time is HrTime\n * @param value\n */\nexport function isTimeInputHrTime(value: unknown): value is api.HrTime {\n return (\n Array.isArray(value) &&\n value.length === 2 &&\n typeof value[0] === 'number' &&\n typeof value[1] === 'number'\n );\n}\n\n/**\n * check if input value is a correct types.TimeInput\n * @param value\n */\nexport function isTimeInput(\n value: unknown\n): value is api.HrTime | number | Date {\n return (\n isTimeInputHrTime(value) ||\n typeof value === 'number' ||\n value instanceof Date\n );\n}\n\n/**\n * Given 2 HrTime formatted times, return their sum as an HrTime.\n */\nexport function addHrTimes(time1: api.HrTime, time2: api.HrTime): api.HrTime {\n const out = [time1[0] + time2[0], time1[1] + time2[1]] as api.HrTime;\n\n // Nanoseconds\n if (out[1] >= SECOND_TO_NANOSECONDS) {\n out[1] -= SECOND_TO_NANOSECONDS;\n out[0] += 1;\n }\n\n return out;\n}\n"]}
@@ -1,4 +1,14 @@
1
1
  import { Exception } from '@opentelemetry/api';
2
+ /**
3
+ * This interface defines a fallback to read a timeOrigin when it is not available on performance.timeOrigin,
4
+ * this happens for example on Safari Mac
5
+ * then the timeOrigin is taken from fetchStart - which is the closest to timeOrigin
6
+ */
7
+ export interface TimeOriginLegacy {
8
+ timing: {
9
+ fetchStart: number;
10
+ };
11
+ }
2
12
  /**
3
13
  * This interface defines the params that are be added to the wrapped function
4
14
  * using the "shimmer.wrap"
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/common/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG","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 { Exception } from '@opentelemetry/api';\n\n/**\n * This interface defines the params that are be added to the wrapped function\n * using the \"shimmer.wrap\"\n */\nexport interface ShimWrapped extends Function {\n __wrapped: boolean;\n // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type\n __unwrap: Function;\n // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type\n __original: Function;\n}\n\n/**\n * An instrumentation scope consists of the name and optional version\n * used to obtain a tracer or meter from a provider. This metadata is made\n * available on ReadableSpan and MetricRecord for use by the export pipeline.\n */\nexport interface InstrumentationScope {\n readonly name: string;\n readonly version?: string;\n readonly schemaUrl?: string;\n}\n\n/** Defines an error handler function */\nexport type ErrorHandler = (ex: Exception) => void;\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/common/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG","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 { Exception } from '@opentelemetry/api';\n\n/**\n * This interface defines a fallback to read a timeOrigin when it is not available on performance.timeOrigin,\n * this happens for example on Safari Mac\n * then the timeOrigin is taken from fetchStart - which is the closest to timeOrigin\n */\nexport interface TimeOriginLegacy {\n timing: {\n fetchStart: number;\n };\n}\n\n/**\n * This interface defines the params that are be added to the wrapped function\n * using the \"shimmer.wrap\"\n */\nexport interface ShimWrapped extends Function {\n __wrapped: boolean;\n // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type\n __unwrap: Function;\n // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type\n __original: Function;\n}\n\n/**\n * An instrumentation scope consists of the name and optional version\n * used to obtain a tracer or meter from a provider. This metadata is made\n * available on ReadableSpan and MetricRecord for use by the export pipeline.\n */\nexport interface InstrumentationScope {\n readonly name: string;\n readonly version?: string;\n readonly schemaUrl?: string;\n}\n\n/** Defines an error handler function */\nexport type ErrorHandler = (ex: Exception) => void;\n"]}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * - globalThis (New standard)
3
+ * - self (Will return the current window instance for supported browsers)
4
+ * - window (fallback for older browser implementations)
5
+ * - global (NodeJS implementation)
6
+ * - <object> (When all else fails)
7
+ */
8
+ /** only globals that common to node and browsers are allowed */
9
+ export declare const _globalThis: typeof globalThis;
10
+ //# sourceMappingURL=globalThis.d.ts.map
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Copyright The OpenTelemetry Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ // Updates to this file should also be replicated to @opentelemetry/api too.
17
+ /**
18
+ * - globalThis (New standard)
19
+ * - self (Will return the current window instance for supported browsers)
20
+ * - window (fallback for older browser implementations)
21
+ * - global (NodeJS implementation)
22
+ * - <object> (When all else fails)
23
+ */
24
+ /** only globals that common to node and browsers are allowed */
25
+ // eslint-disable-next-line n/no-unsupported-features/es-builtins, no-undef
26
+ export const _globalThis = typeof globalThis === 'object'
27
+ ? globalThis
28
+ : typeof self === 'object'
29
+ ? self
30
+ : typeof window === 'object'
31
+ ? window
32
+ : typeof global === 'object'
33
+ ? global
34
+ : {};
35
+ //# sourceMappingURL=globalThis.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globalThis.js","sourceRoot":"","sources":["../../../../src/platform/browser/globalThis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,4EAA4E;AAE5E;;;;;;GAMG;AAEH,gEAAgE;AAChE,2EAA2E;AAC3E,MAAM,CAAC,MAAM,WAAW,GACtB,OAAO,UAAU,KAAK,QAAQ;IAC5B,CAAC,CAAC,UAAU;IACZ,CAAC,CAAC,OAAO,IAAI,KAAK,QAAQ;QACxB,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,OAAO,MAAM,KAAK,QAAQ;YAC1B,CAAC,CAAC,MAAM;YACR,CAAC,CAAC,OAAO,MAAM,KAAK,QAAQ;gBAC1B,CAAC,CAAC,MAAM;gBACR,CAAC,CAAE,EAAwB,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// Updates to this file should also be replicated to @opentelemetry/api too.\n\n/**\n * - globalThis (New standard)\n * - self (Will return the current window instance for supported browsers)\n * - window (fallback for older browser implementations)\n * - global (NodeJS implementation)\n * - <object> (When all else fails)\n */\n\n/** only globals that common to node and browsers are allowed */\n// eslint-disable-next-line n/no-unsupported-features/es-builtins, no-undef\nexport const _globalThis: typeof globalThis =\n typeof globalThis === 'object'\n ? globalThis\n : typeof self === 'object'\n ? self\n : typeof window === 'object'\n ? window\n : typeof global === 'object'\n ? global\n : ({} as typeof globalThis);\n"]}
@@ -1,8 +1,5 @@
1
1
  export { getStringFromEnv, getBooleanFromEnv, getNumberFromEnv, getStringListFromEnv, } from './environment';
2
- export { _globalThis } from '../../common/globalThis';
2
+ export { _globalThis } from './globalThis';
3
+ export { otperformance } from './performance';
3
4
  export { SDK_INFO } from './sdk-info';
4
- /**
5
- * @deprecated Use performance directly.
6
- */
7
- export declare const otperformance: Performance;
8
5
  //# sourceMappingURL=index.d.ts.map
@@ -14,10 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export { getStringFromEnv, getBooleanFromEnv, getNumberFromEnv, getStringListFromEnv, } from './environment';
17
- export { _globalThis } from '../../common/globalThis';
17
+ export { _globalThis } from './globalThis';
18
+ export { otperformance } from './performance';
18
19
  export { SDK_INFO } from './sdk-info';
19
- /**
20
- * @deprecated Use performance directly.
21
- */
22
- export const otperformance = performance;
23
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/platform/browser/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,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\nexport {\n getStringFromEnv,\n getBooleanFromEnv,\n getNumberFromEnv,\n getStringListFromEnv,\n} from './environment';\nexport { _globalThis } from '../../common/globalThis';\nexport { SDK_INFO } from './sdk-info';\n\n/**\n * @deprecated Use performance directly.\n */\nexport const otperformance = performance;\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/platform/browser/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,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\nexport {\n getStringFromEnv,\n getBooleanFromEnv,\n getNumberFromEnv,\n getStringListFromEnv,\n} from './environment';\nexport { _globalThis } from './globalThis';\nexport { otperformance } from './performance';\nexport { SDK_INFO } from './sdk-info';\n"]}
@@ -0,0 +1,5 @@
1
+ export declare const otperformance: {
2
+ now(): number;
3
+ readonly timeOrigin: number;
4
+ };
5
+ //# sourceMappingURL=performance.d.ts.map
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright The OpenTelemetry Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export const otperformance = performance;
17
+ //# sourceMappingURL=performance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"performance.js","sourceRoot":"","sources":["../../../../src/platform/browser/performance.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,aAAa,GACxB,WAAW,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\nexport const otperformance: { now(): number; readonly timeOrigin: number } =\n performance;\n"]}
@@ -0,0 +1,3 @@
1
+ /** only globals that common to node and browsers are allowed */
2
+ export declare const _globalThis: typeof globalThis;
3
+ //# sourceMappingURL=globalThis.d.ts.map
@@ -0,0 +1,19 @@
1
+ /*
2
+ * Copyright The OpenTelemetry Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /** only globals that common to node and browsers are allowed */
17
+ // eslint-disable-next-line n/no-unsupported-features/es-builtins
18
+ export const _globalThis = typeof globalThis === 'object' ? globalThis : global;
19
+ //# sourceMappingURL=globalThis.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globalThis.js","sourceRoot":"","sources":["../../../../src/platform/node/globalThis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,gEAAgE;AAChE,iEAAiE;AACjE,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,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/** only globals that common to node and browsers are allowed */\n// eslint-disable-next-line n/no-unsupported-features/es-builtins\nexport const _globalThis = typeof globalThis === 'object' ? globalThis : global;\n"]}
@@ -1,11 +1,5 @@
1
1
  export { getStringFromEnv, getBooleanFromEnv, getNumberFromEnv, getStringListFromEnv, } from './environment';
2
- export { _globalThis } from '../../common/globalThis';
2
+ export { _globalThis } from './globalThis';
3
+ export { otperformance } from './performance';
3
4
  export { SDK_INFO } from './sdk-info';
4
- /**
5
- * @deprecated Use performance directly.
6
- */
7
- export declare const otperformance: {
8
- now(): number;
9
- readonly timeOrigin: number;
10
- };
11
5
  //# sourceMappingURL=index.d.ts.map
@@ -14,10 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export { getStringFromEnv, getBooleanFromEnv, getNumberFromEnv, getStringListFromEnv, } from './environment';
17
- export { _globalThis } from '../../common/globalThis';
17
+ export { _globalThis } from './globalThis';
18
+ export { otperformance } from './performance';
18
19
  export { SDK_INFO } from './sdk-info';
19
- /**
20
- * @deprecated Use performance directly.
21
- */
22
- export const otperformance = performance;
23
20
  //# sourceMappingURL=index.js.map