@jini-ai/provider-plugins 0.6.15-rc.2 → 0.6.22

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 (242) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/NOTICE +28 -0
  3. package/README.md +23 -8
  4. package/catalog.json +22 -12
  5. package/package.json +64 -15
  6. package/plugins/ai-trace-langfuse/0.6.22/CHANGELOG.md +7 -0
  7. package/plugins/ai-trace-langfuse/0.6.22/NOTICE +6 -0
  8. package/plugins/ai-trace-langfuse/0.6.22/README.md +13 -0
  9. package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/jini.plugin.json +7 -2
  10. package/plugins/ai-trace-langfuse/0.6.22/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
  11. package/plugins/{analytics-posthog/0.6.15-rc.2 → ai-trace-langfuse/0.6.22}/licenses/_jini-ai_provider-plugins/package-license.json +1 -1
  12. package/plugins/analytics-posthog/0.6.22/CHANGELOG.md +6 -0
  13. package/plugins/analytics-posthog/0.6.22/NOTICE +11 -0
  14. package/plugins/analytics-posthog/0.6.22/README.md +25 -0
  15. package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/jini.plugin.json +14 -8
  16. package/plugins/analytics-posthog/0.6.22/licenses/_jini-ai_cookie-consent/LICENSE-SOURCE +1 -0
  17. package/plugins/analytics-posthog/0.6.22/licenses/_jini-ai_cookie-consent/NOTICE +28 -0
  18. package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/_jini-ai_cookie-consent/package-license.json +1 -1
  19. package/plugins/{observability-opentelemetry/0.6.15-rc.2 → analytics-posthog/0.6.22}/licenses/_jini-ai_core/package-license.json +1 -1
  20. package/plugins/{observability-sentry/0.6.15-rc.2 → analytics-posthog/0.6.22}/licenses/_jini-ai_diagnostics/package-license.json +1 -1
  21. package/plugins/analytics-posthog/0.6.22/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
  22. package/plugins/{fixture-provider/0.6.15-rc.2 → analytics-posthog/0.6.22}/licenses/_jini-ai_provider-plugins/package-license.json +1 -1
  23. package/plugins/analytics-posthog/0.6.22/server/consent-adapter.mjs +1 -0
  24. package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/server/index.mjs +11 -7
  25. package/plugins/charts-echarts/0.6.22/client/provider.js +41 -0
  26. package/plugins/charts-echarts/0.6.22/client/styles.css +1 -0
  27. package/plugins/charts-echarts/0.6.22/jini.plugin.json +55 -0
  28. package/plugins/charts-echarts/0.6.22/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
  29. package/plugins/{ai-trace-langfuse/0.6.15-rc.2 → charts-echarts/0.6.22}/licenses/_jini-ai_provider-plugins/package-license.json +1 -1
  30. package/plugins/charts-echarts/0.6.22/licenses/_jini-ai_ui/LICENSE-SOURCE +1 -0
  31. package/plugins/charts-echarts/0.6.22/licenses/_jini-ai_ui/NOTICE +28 -0
  32. package/plugins/charts-echarts/0.6.22/licenses/_jini-ai_ui/package-license.json +5 -0
  33. package/plugins/charts-echarts/0.6.22/licenses/echarts/LICENSE +222 -0
  34. package/plugins/charts-echarts/0.6.22/licenses/echarts/NOTICE +5 -0
  35. package/plugins/charts-echarts/0.6.22/licenses/echarts/package-license.json +5 -0
  36. package/plugins/charts-echarts/0.6.22/licenses/tslib/LICENSE.txt +12 -0
  37. package/plugins/charts-echarts/0.6.22/licenses/tslib/package-license.json +5 -0
  38. package/plugins/charts-echarts/0.6.22/licenses/zod/LICENSE +21 -0
  39. package/plugins/charts-echarts/0.6.22/licenses/zod/package-license.json +5 -0
  40. package/plugins/charts-echarts/0.6.22/licenses/zrender/LICENSE +29 -0
  41. package/plugins/charts-echarts/0.6.22/licenses/zrender/package-license.json +5 -0
  42. package/plugins/charts-echarts/0.6.22/server/index.mjs +8 -0
  43. package/plugins/charts-recharts/0.6.22/client/provider.js +134 -0
  44. package/plugins/charts-recharts/0.6.22/client/styles.css +1 -0
  45. package/plugins/charts-recharts/0.6.22/jini.plugin.json +100 -0
  46. package/plugins/charts-recharts/0.6.22/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
  47. package/plugins/{observability-opentelemetry/0.6.15-rc.2 → charts-recharts/0.6.22}/licenses/_jini-ai_provider-plugins/package-license.json +1 -1
  48. package/plugins/charts-recharts/0.6.22/licenses/_jini-ai_ui/LICENSE-SOURCE +1 -0
  49. package/plugins/charts-recharts/0.6.22/licenses/_jini-ai_ui/NOTICE +28 -0
  50. package/plugins/charts-recharts/0.6.22/licenses/_jini-ai_ui/package-license.json +5 -0
  51. package/plugins/charts-recharts/0.6.22/licenses/_reduxjs_toolkit/LICENSE +21 -0
  52. package/plugins/charts-recharts/0.6.22/licenses/_reduxjs_toolkit/package-license.json +5 -0
  53. package/plugins/charts-recharts/0.6.22/licenses/clsx/license +9 -0
  54. package/plugins/charts-recharts/0.6.22/licenses/clsx/package-license.json +5 -0
  55. package/plugins/charts-recharts/0.6.22/licenses/d3-array/LICENSE +13 -0
  56. package/plugins/charts-recharts/0.6.22/licenses/d3-array/package-license.json +5 -0
  57. package/plugins/charts-recharts/0.6.22/licenses/d3-color/LICENSE +13 -0
  58. package/plugins/charts-recharts/0.6.22/licenses/d3-color/package-license.json +5 -0
  59. package/plugins/charts-recharts/0.6.22/licenses/d3-format/LICENSE +13 -0
  60. package/plugins/charts-recharts/0.6.22/licenses/d3-format/package-license.json +5 -0
  61. package/plugins/charts-recharts/0.6.22/licenses/d3-interpolate/LICENSE +13 -0
  62. package/plugins/charts-recharts/0.6.22/licenses/d3-interpolate/package-license.json +5 -0
  63. package/plugins/charts-recharts/0.6.22/licenses/d3-path/LICENSE +13 -0
  64. package/plugins/charts-recharts/0.6.22/licenses/d3-path/package-license.json +5 -0
  65. package/plugins/charts-recharts/0.6.22/licenses/d3-scale/LICENSE +13 -0
  66. package/plugins/charts-recharts/0.6.22/licenses/d3-scale/package-license.json +5 -0
  67. package/plugins/charts-recharts/0.6.22/licenses/d3-shape/LICENSE +13 -0
  68. package/plugins/charts-recharts/0.6.22/licenses/d3-shape/package-license.json +5 -0
  69. package/plugins/charts-recharts/0.6.22/licenses/d3-time/LICENSE +13 -0
  70. package/plugins/charts-recharts/0.6.22/licenses/d3-time/package-license.json +5 -0
  71. package/plugins/charts-recharts/0.6.22/licenses/d3-time-format/LICENSE +13 -0
  72. package/plugins/charts-recharts/0.6.22/licenses/d3-time-format/package-license.json +5 -0
  73. package/plugins/charts-recharts/0.6.22/licenses/decimal.js-light/LICENCE.md +23 -0
  74. package/plugins/charts-recharts/0.6.22/licenses/decimal.js-light/package-license.json +5 -0
  75. package/plugins/charts-recharts/0.6.22/licenses/es-toolkit/LICENSE +21 -0
  76. package/plugins/charts-recharts/0.6.22/licenses/es-toolkit/package-license.json +5 -0
  77. package/plugins/charts-recharts/0.6.22/licenses/eventemitter3/LICENSE +21 -0
  78. package/plugins/charts-recharts/0.6.22/licenses/eventemitter3/package-license.json +5 -0
  79. package/plugins/charts-recharts/0.6.22/licenses/immer/LICENSE +21 -0
  80. package/plugins/charts-recharts/0.6.22/licenses/immer/package-license.json +5 -0
  81. package/plugins/charts-recharts/0.6.22/licenses/internmap/LICENSE +13 -0
  82. package/plugins/charts-recharts/0.6.22/licenses/internmap/package-license.json +5 -0
  83. package/plugins/charts-recharts/0.6.22/licenses/react/LICENSE +21 -0
  84. package/plugins/charts-recharts/0.6.22/licenses/react/package-license.json +5 -0
  85. package/plugins/charts-recharts/0.6.22/licenses/react-dom/LICENSE +21 -0
  86. package/plugins/charts-recharts/0.6.22/licenses/react-dom/package-license.json +5 -0
  87. package/plugins/charts-recharts/0.6.22/licenses/react-is/LICENSE +21 -0
  88. package/plugins/charts-recharts/0.6.22/licenses/react-is/package-license.json +5 -0
  89. package/plugins/charts-recharts/0.6.22/licenses/react-redux/LICENSE.md +21 -0
  90. package/plugins/charts-recharts/0.6.22/licenses/react-redux/package-license.json +5 -0
  91. package/plugins/charts-recharts/0.6.22/licenses/recharts/LICENSE +22 -0
  92. package/plugins/charts-recharts/0.6.22/licenses/recharts/package-license.json +5 -0
  93. package/plugins/charts-recharts/0.6.22/licenses/redux/LICENSE.md +21 -0
  94. package/plugins/charts-recharts/0.6.22/licenses/redux/package-license.json +5 -0
  95. package/plugins/charts-recharts/0.6.22/licenses/redux-thunk/LICENSE.md +21 -0
  96. package/plugins/charts-recharts/0.6.22/licenses/redux-thunk/package-license.json +5 -0
  97. package/plugins/charts-recharts/0.6.22/licenses/reselect/LICENSE +21 -0
  98. package/plugins/charts-recharts/0.6.22/licenses/reselect/package-license.json +5 -0
  99. package/plugins/charts-recharts/0.6.22/licenses/scheduler/LICENSE +21 -0
  100. package/plugins/charts-recharts/0.6.22/licenses/scheduler/package-license.json +5 -0
  101. package/plugins/charts-recharts/0.6.22/licenses/tiny-invariant/LICENSE +21 -0
  102. package/plugins/charts-recharts/0.6.22/licenses/tiny-invariant/package-license.json +5 -0
  103. package/plugins/charts-recharts/0.6.22/licenses/use-sync-external-store/LICENSE +21 -0
  104. package/plugins/charts-recharts/0.6.22/licenses/use-sync-external-store/package-license.json +5 -0
  105. package/plugins/charts-recharts/0.6.22/licenses/victory-vendor/LICENSE.txt +150 -0
  106. package/plugins/charts-recharts/0.6.22/licenses/victory-vendor/package-license.json +5 -0
  107. package/plugins/charts-recharts/0.6.22/licenses/zod/LICENSE +21 -0
  108. package/plugins/charts-recharts/0.6.22/licenses/zod/package-license.json +5 -0
  109. package/plugins/charts-recharts/0.6.22/server/index.mjs +8 -0
  110. package/plugins/fixture-provider/{0.6.15-rc.2 → 0.6.22}/jini.plugin.json +3 -2
  111. package/plugins/fixture-provider/0.6.22/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
  112. package/plugins/fixture-provider/0.6.22/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
  113. package/plugins/observability-opentelemetry/0.6.22/CHANGELOG.md +19 -0
  114. package/plugins/observability-opentelemetry/0.6.22/NOTICE +11 -0
  115. package/plugins/observability-opentelemetry/0.6.22/README.md +32 -0
  116. package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/jini.plugin.json +12 -9
  117. package/plugins/{analytics-posthog/0.6.15-rc.2 → observability-opentelemetry/0.6.22}/licenses/_jini-ai_core/package-license.json +1 -1
  118. package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_jini-ai_diagnostics/package-license.json +1 -1
  119. package/plugins/observability-opentelemetry/0.6.22/licenses/_jini-ai_plugins/LICENSE +201 -0
  120. package/plugins/observability-opentelemetry/0.6.22/licenses/_jini-ai_plugins/LICENSE-SOURCE +1 -0
  121. package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_jini-ai_plugins/package-license.json +1 -1
  122. package/plugins/observability-opentelemetry/0.6.22/licenses/_jini-ai_provider-plugins/LICENSE +201 -0
  123. package/plugins/observability-opentelemetry/0.6.22/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
  124. package/plugins/observability-opentelemetry/0.6.22/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
  125. package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/server/index.mjs +198 -61
  126. package/plugins/observability-sentry/0.6.22/CHANGELOG.md +19 -0
  127. package/plugins/observability-sentry/0.6.22/LICENSE +201 -0
  128. package/plugins/observability-sentry/0.6.22/NOTICE +11 -0
  129. package/plugins/observability-sentry/0.6.22/README.md +32 -0
  130. package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/jini.plugin.json +10 -5
  131. package/plugins/observability-sentry/0.6.22/licenses/_jini-ai_core/LICENSE +201 -0
  132. package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_jini-ai_core/package-license.json +1 -1
  133. package/plugins/observability-sentry/0.6.22/licenses/_jini-ai_diagnostics/LICENSE +201 -0
  134. package/plugins/{analytics-posthog/0.6.15-rc.2 → observability-sentry/0.6.22}/licenses/_jini-ai_diagnostics/package-license.json +1 -1
  135. package/plugins/observability-sentry/0.6.22/licenses/_jini-ai_provider-plugins/LICENSE +201 -0
  136. package/plugins/observability-sentry/0.6.22/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
  137. package/plugins/observability-sentry/0.6.22/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
  138. package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/server/index.mjs +158 -55
  139. package/plugins/payments-stripe/0.6.22/CHANGELOG.md +7 -0
  140. package/plugins/payments-stripe/0.6.22/LICENSE +201 -0
  141. package/plugins/payments-stripe/0.6.22/NOTICE +28 -0
  142. package/plugins/payments-stripe/0.6.22/README.md +36 -0
  143. package/plugins/payments-stripe/0.6.22/jini.plugin.json +72 -0
  144. package/plugins/payments-stripe/0.6.22/licenses/_jini-ai_commerce/LICENSE +201 -0
  145. package/plugins/payments-stripe/0.6.22/licenses/_jini-ai_commerce/NOTICE +28 -0
  146. package/plugins/payments-stripe/0.6.22/licenses/_jini-ai_commerce/package-license.json +5 -0
  147. package/plugins/payments-stripe/0.6.22/licenses/_jini-ai_core/LICENSE +201 -0
  148. package/plugins/payments-stripe/0.6.22/licenses/_jini-ai_core/package-license.json +5 -0
  149. package/plugins/payments-stripe/0.6.22/licenses/_jini-ai_provider-plugins/LICENSE +201 -0
  150. package/plugins/payments-stripe/0.6.22/licenses/_jini-ai_provider-plugins/NOTICE +28 -0
  151. package/plugins/payments-stripe/0.6.22/licenses/_jini-ai_provider-plugins/package-license.json +5 -0
  152. package/plugins/payments-stripe/0.6.22/server/index.mjs +311 -0
  153. package/plugins/analytics-posthog/0.6.15-rc.2/licenses/_jini-ai_cookie-consent/LICENSE-SOURCE +0 -1
  154. package/plugins/analytics-posthog/0.6.15-rc.2/server/consent-adapter.mjs +0 -1
  155. package/plugins/observability-opentelemetry/0.6.15-rc.2/licenses/_jini-ai_analytics/package-license.json +0 -5
  156. package/plugins/observability-opentelemetry/0.6.15-rc.2/licenses/_jini-ai_plugins/LICENSE-SOURCE +0 -1
  157. package/plugins/observability-sentry/0.6.15-rc.2/licenses/_jini-ai_provider-plugins/package-license.json +0 -5
  158. package/plugins/payments-stripe/0.6.15-rc.2/jini.plugin.json +0 -35
  159. package/plugins/payments-stripe/0.6.15-rc.2/licenses/_jini-ai_provider-plugins/package-license.json +0 -5
  160. package/plugins/payments-stripe/0.6.15-rc.2/server/index.mjs +0 -153
  161. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2/licenses/_jini-ai_provider-plugins → 0.6.22}/LICENSE +0 -0
  162. /package/plugins/{analytics-posthog/0.6.15-rc.2/licenses/_jini-ai_cookie-consent → ai-trace-langfuse/0.6.22/licenses/_jini-ai_provider-plugins}/LICENSE +0 -0
  163. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/langfuse/LICENSE +0 -0
  164. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/langfuse/LICENSE-SOURCE +0 -0
  165. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/langfuse/SOURCE +0 -0
  166. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/langfuse/package-license.json +0 -0
  167. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/langfuse-core/LICENSE +0 -0
  168. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/langfuse-core/LICENSE-SOURCE +0 -0
  169. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/langfuse-core/SOURCE +0 -0
  170. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/langfuse-core/package-license.json +0 -0
  171. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/mustache/LICENSE +0 -0
  172. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/licenses/mustache/package-license.json +0 -0
  173. /package/plugins/ai-trace-langfuse/{0.6.15-rc.2 → 0.6.22}/server/index.mjs +0 -0
  174. /package/plugins/analytics-posthog/{0.6.15-rc.2/licenses/_jini-ai_core → 0.6.22}/LICENSE +0 -0
  175. /package/plugins/analytics-posthog/{0.6.15-rc.2/licenses/_jini-ai_diagnostics → 0.6.22/licenses/_jini-ai_cookie-consent}/LICENSE +0 -0
  176. /package/plugins/analytics-posthog/{0.6.15-rc.2/licenses/_jini-ai_provider-plugins → 0.6.22/licenses/_jini-ai_core}/LICENSE +0 -0
  177. /package/plugins/{fixture-provider/0.6.15-rc.2/licenses/_jini-ai_provider-plugins → analytics-posthog/0.6.22/licenses/_jini-ai_diagnostics}/LICENSE +0 -0
  178. /package/plugins/{observability-opentelemetry/0.6.15-rc.2/licenses/_jini-ai_analytics → analytics-posthog/0.6.22/licenses/_jini-ai_provider-plugins}/LICENSE +0 -0
  179. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/_posthog_core/LICENSE +0 -0
  180. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/_posthog_core/package-license.json +0 -0
  181. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/js-tokens/LICENSE +0 -0
  182. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/js-tokens/package-license.json +0 -0
  183. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/posthog-js/LICENSE +0 -0
  184. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/posthog-js/package-license.json +0 -0
  185. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/posthog-node/LICENSE +0 -0
  186. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/licenses/posthog-node/package-license.json +0 -0
  187. /package/plugins/analytics-posthog/{0.6.15-rc.2 → 0.6.22}/server/posthog-browser.js +0 -0
  188. /package/plugins/{observability-opentelemetry/0.6.15-rc.2/licenses/_jini-ai_core → charts-echarts/0.6.22/licenses/_jini-ai_provider-plugins}/LICENSE +0 -0
  189. /package/plugins/{observability-opentelemetry/0.6.15-rc.2/licenses/_jini-ai_diagnostics → charts-echarts/0.6.22/licenses/_jini-ai_ui}/LICENSE +0 -0
  190. /package/plugins/{observability-opentelemetry/0.6.15-rc.2/licenses/_jini-ai_plugins → charts-recharts/0.6.22/licenses/_jini-ai_provider-plugins}/LICENSE +0 -0
  191. /package/plugins/{observability-opentelemetry/0.6.15-rc.2/licenses/_jini-ai_provider-plugins → charts-recharts/0.6.22/licenses/_jini-ai_ui}/LICENSE +0 -0
  192. /package/plugins/{observability-sentry/0.6.15-rc.2/licenses/_jini-ai_core → fixture-provider/0.6.22/licenses/_jini-ai_provider-plugins}/LICENSE +0 -0
  193. /package/plugins/fixture-provider/{0.6.15-rc.2 → 0.6.22}/server/index.mjs +0 -0
  194. /package/plugins/{observability-sentry/0.6.15-rc.2/licenses/_jini-ai_diagnostics → observability-opentelemetry/0.6.22}/LICENSE +0 -0
  195. /package/plugins/{observability-sentry/0.6.15-rc.2/licenses/_jini-ai_provider-plugins → observability-opentelemetry/0.6.22/licenses/_jini-ai_core}/LICENSE +0 -0
  196. /package/plugins/{payments-stripe/0.6.15-rc.2/licenses/_jini-ai_provider-plugins → observability-opentelemetry/0.6.22/licenses/_jini-ai_diagnostics}/LICENSE +0 -0
  197. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_api/LICENSE +0 -0
  198. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_api/package-license.json +0 -0
  199. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_api-logs/LICENSE +0 -0
  200. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_api-logs/package-license.json +0 -0
  201. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_context-async-hooks/LICENSE +0 -0
  202. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_context-async-hooks/package-license.json +0 -0
  203. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_core/LICENSE +0 -0
  204. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_core/package-license.json +0 -0
  205. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_otlp-exporter-base/LICENSE +0 -0
  206. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_otlp-exporter-base/package-license.json +0 -0
  207. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_otlp-transformer/LICENSE +0 -0
  208. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_otlp-transformer/package-license.json +0 -0
  209. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_resources/LICENSE +0 -0
  210. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_resources/package-license.json +0 -0
  211. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_sdk-metrics/LICENSE +0 -0
  212. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_sdk-metrics/package-license.json +0 -0
  213. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_sdk-trace/LICENSE +0 -0
  214. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_sdk-trace/package-license.json +0 -0
  215. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_sdk-trace-base/LICENSE +0 -0
  216. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_sdk-trace-base/package-license.json +0 -0
  217. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_sdk-trace-node/LICENSE +0 -0
  218. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_sdk-trace-node/package-license.json +0 -0
  219. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_semantic-conventions/LICENSE +0 -0
  220. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_semantic-conventions/package-license.json +0 -0
  221. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/js-tokens/LICENSE +0 -0
  222. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/js-tokens/package-license.json +0 -0
  223. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/semver/LICENSE +0 -0
  224. /package/plugins/observability-opentelemetry/{0.6.15-rc.2 → 0.6.22}/licenses/semver/package-license.json +0 -0
  225. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_api/LICENSE +0 -0
  226. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_opentelemetry_api/package-license.json +0 -0
  227. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_conventions/LICENSE +0 -0
  228. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_conventions/package-license.json +0 -0
  229. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_core/LICENSE +0 -0
  230. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_core/package-license.json +0 -0
  231. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_node/LICENSE +0 -0
  232. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_node/package-license.json +0 -0
  233. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_opentelemetry/LICENSE +0 -0
  234. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_opentelemetry/package-license.json +0 -0
  235. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_server-runtime-injection/LICENSE +0 -0
  236. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_server-runtime-injection/LICENSE-SOURCE +0 -0
  237. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_server-runtime-injection/package-license.json +0 -0
  238. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_server-utils/LICENSE +0 -0
  239. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_server-utils/LICENSE-SOURCE +0 -0
  240. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/_sentry_server-utils/package-license.json +0 -0
  241. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/js-tokens/LICENSE +0 -0
  242. /package/plugins/observability-sentry/{0.6.15-rc.2 → 0.6.22}/licenses/js-tokens/package-license.json +0 -0
@@ -1,153 +0,0 @@
1
- import { createRequire as __jiniCreateRequire } from "node:module"; const require = __jiniCreateRequire(import.meta.url);
2
-
3
- // src/payments-stripe/stripe.ts
4
- var STRIPE_API_BASE = "https://api.stripe.com/v1";
5
- var StripePaymentsProviderError = class extends Error {
6
- /** The HTTP status Stripe (or a local pre-flight check) returned. */
7
- status;
8
- /** Stripe's `error.type` — one of `api_error`, `card_error`, `idempotency_error`, `invalid_request_error`. Undefined for a local pre-flight rejection (e.g. a non-positive amount) that never reached Stripe. */
9
- stripeType;
10
- /** Stripe's `error.code`, when present. */
11
- stripeCode;
12
- constructor({ message, status }, { stripeType, stripeCode } = {}) {
13
- super(message);
14
- this.name = "StripePaymentsProviderError";
15
- this.status = status;
16
- if (stripeType !== void 0) this.stripeType = stripeType;
17
- if (stripeCode !== void 0) this.stripeCode = stripeCode;
18
- }
19
- };
20
- function mapStripeChargeStatus(raw, refunded) {
21
- if (refunded === true) return "refunded";
22
- if (raw === "succeeded" || raw === "pending" || raw === "failed") return raw;
23
- return "pending";
24
- }
25
- var StripePaymentsProvider = class {
26
- constructor(options, optional = {}) {
27
- this.options = options;
28
- if (!options.secretKey) {
29
- throw new StripePaymentsProviderError({ message: "StripePaymentsProvider requires a non-empty options.secretKey", status: 401 });
30
- }
31
- const fn = optional.fetchFn ?? globalThis.fetch;
32
- if (!fn) {
33
- throw new StripePaymentsProviderError({ message: "StripePaymentsProvider requires a fetch implementation", status: 500 });
34
- }
35
- this.fetchFn = fn;
36
- this.now = optional.now ?? Date.now;
37
- this.apiBase = (optional.apiBase ?? STRIPE_API_BASE).replace(/\/+$/, "");
38
- }
39
- options;
40
- fetchFn;
41
- apiBase;
42
- now;
43
- async charge(input, optional = {}) {
44
- if (input.amountCents <= 0) {
45
- throw new StripePaymentsProviderError({ message: "amountCents must be positive", status: 400 });
46
- }
47
- const body = new URLSearchParams({
48
- amount: String(input.amountCents),
49
- currency: input.currency,
50
- customer: input.customerRef
51
- });
52
- if (optional.description !== void 0) body.set("description", optional.description);
53
- const json = await this.request("POST", "/charges", body);
54
- return this.toCharge(json);
55
- }
56
- async getCharge({ id }) {
57
- try {
58
- const json = await this.request("GET", `/charges/${encodeURIComponent(id)}`);
59
- return this.toCharge(json);
60
- } catch (err) {
61
- if (err instanceof StripePaymentsProviderError && err.status === 404) return null;
62
- throw err;
63
- }
64
- }
65
- /**
66
- * `PaymentsProvider.refund` returns a completed `Charge`, but a real Stripe `Refund` object's
67
- * own `status` can be `'succeeded'`, `'pending'` (common for bank-sourced refunds that settle
68
- * over days), `'failed'`, or `'canceled'` — a richer state machine than this port's
69
- * `ChargeStatus` has room for. Since `ChargeStatus` has no "refund in flight" state, `'pending'`
70
- * is treated the same as `'succeeded'` here (Stripe accepted the refund; it will settle) and
71
- * only `'failed'`/`'canceled'` reject. A host that needs to distinguish "refund accepted" from
72
- * "refund settled" should track Stripe's own refund object separately — out of scope for this
73
- * port's `Charge`-shaped return value.
74
- */
75
- async refund({ id }) {
76
- const existing = await this.getCharge({ id });
77
- if (!existing) {
78
- throw new StripePaymentsProviderError({ message: `unknown charge: ${id}`, status: 404 });
79
- }
80
- if (existing.status !== "succeeded") {
81
- throw new StripePaymentsProviderError({ message: `charge ${id} is not refundable from status "${existing.status}"`, status: 400 });
82
- }
83
- const json = await this.request("POST", "/refunds", new URLSearchParams({ charge: id }));
84
- const refundStatus = json.status;
85
- if (refundStatus === "failed" || refundStatus === "canceled") {
86
- throw new StripePaymentsProviderError({ message: `Stripe refund ${String(refundStatus)} for charge ${id}`, status: 402 }, { stripeType: "api_error" });
87
- }
88
- return { ...existing, status: "refunded" };
89
- }
90
- authHeader() {
91
- const bytes = new TextEncoder().encode(`${this.options.secretKey}:`);
92
- return `Basic ${btoa(Array.from(bytes, (byte) => String.fromCharCode(byte)).join(""))}`;
93
- }
94
- async request(method, path, formBody) {
95
- const headers = { Authorization: this.authHeader() };
96
- const init = { method, headers };
97
- if (formBody) {
98
- headers["Content-Type"] = "application/x-www-form-urlencoded";
99
- init.body = formBody.toString();
100
- }
101
- const res = await this.fetchFn(`${this.apiBase}${path}`, init);
102
- const json = await this.safeJson(res);
103
- if (!res.ok) throw this.toError(res.status, json);
104
- return json;
105
- }
106
- async safeJson(res) {
107
- try {
108
- const parsed = await res.json();
109
- return parsed && typeof parsed === "object" ? parsed : {};
110
- } catch {
111
- return {};
112
- }
113
- }
114
- toError(status, json) {
115
- const errorObj = json.error && typeof json.error === "object" ? json.error : {};
116
- const message = typeof errorObj.message === "string" && errorObj.message ? errorObj.message : `Stripe request failed (${status}).`;
117
- const stripeType = typeof errorObj.type === "string" ? errorObj.type : void 0;
118
- const stripeCode = typeof errorObj.code === "string" ? errorObj.code : void 0;
119
- return new StripePaymentsProviderError({ message, status }, {
120
- ...stripeType === void 0 ? {} : { stripeType },
121
- ...stripeCode === void 0 ? {} : { stripeCode }
122
- });
123
- }
124
- toCharge(json) {
125
- return {
126
- id: typeof json.id === "string" ? json.id : "",
127
- status: mapStripeChargeStatus(json.status, json.refunded),
128
- amountCents: typeof json.amount === "number" ? json.amount : 0,
129
- currency: typeof json.currency === "string" ? json.currency : "",
130
- customerRef: typeof json.customer === "string" ? json.customer : "",
131
- // Stripe's `created` is Unix seconds; this port's `createdAt` is epoch milliseconds.
132
- createdAt: typeof json.created === "number" ? json.created * 1e3 : this.now()
133
- };
134
- }
135
- };
136
-
137
- // src/payments-stripe/index.ts
138
- function createStripeProvider(required, optional = {}) {
139
- const port = new StripePaymentsProvider({ secretKey: typeof required.secretKey === "string" ? required.secretKey : "" }, optional);
140
- return { port, dispose: (_required, _optional = {}) => {
141
- } };
142
- }
143
- var index_default = {
144
- definition: {
145
- setup(sdk) {
146
- sdk.providers.register({ contract: "payments", id: "stripe", contractVersion: 1, factory: createStripeProvider });
147
- }
148
- }
149
- };
150
- export {
151
- createStripeProvider,
152
- index_default as default
153
- };