@medipass/utils 12.0.0 → 12.0.1

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 (712) hide show
  1. package/dist/_virtual/rolldown_runtime.js +1 -29
  2. package/dist/build-validation-schema.d.ts +17 -18
  3. package/dist/build-validation-schema.js +26 -32
  4. package/dist/build-validation-schema.js.map +1 -1
  5. package/dist/datetime.js +3 -3
  6. package/dist/documents/workflow-state-formatted.d.ts +4 -4
  7. package/dist/documents/workflow-state-formatted.js +5 -7
  8. package/dist/documents/workflow-state-formatted.js.map +1 -1
  9. package/dist/funders.js +2 -4
  10. package/dist/funders.js.map +1 -1
  11. package/dist/get-env.js +5 -9
  12. package/dist/get-env.js.map +1 -1
  13. package/dist/get-select-options.js +7 -9
  14. package/dist/get-select-options.js.map +1 -1
  15. package/dist/google-addresses.js +4 -7
  16. package/dist/google-addresses.js.map +1 -1
  17. package/dist/masked.js +4 -7
  18. package/dist/masked.js.map +1 -1
  19. package/dist/products.js +4 -6
  20. package/dist/products.js.map +1 -1
  21. package/dist/redux-actions.js +2 -4
  22. package/dist/redux-actions.js.map +1 -1
  23. package/dist/redux-reducer.js +4 -7
  24. package/dist/redux-reducer.js.map +1 -1
  25. package/dist/sanitise-url.js +2 -4
  26. package/dist/sanitise-url.js.map +1 -1
  27. package/dist/sentry.js +15 -21
  28. package/dist/sentry.js.map +1 -1
  29. package/dist/service-items.js +18 -22
  30. package/dist/service-items.js.map +1 -1
  31. package/dist/transaction-status-helpers.js +2 -4
  32. package/dist/transaction-status-helpers.js.map +1 -1
  33. package/dist/transaction-status.js +7 -9
  34. package/dist/transaction-status.js.map +1 -1
  35. package/dist/validate-form.js +11 -14
  36. package/dist/validate-form.js.map +1 -1
  37. package/dist/validate.js +9 -14
  38. package/dist/validate.js.map +1 -1
  39. package/dist/workflow-state-formatted.d.ts +3 -3
  40. package/dist/workflow-state-formatted.js +4 -6
  41. package/dist/workflow-state-formatted.js.map +1 -1
  42. package/package.json +10 -7
  43. package/dist/node_modules/@sentry/browser/esm/backend.js +0 -59
  44. package/dist/node_modules/@sentry/browser/esm/backend.js.map +0 -1
  45. package/dist/node_modules/@sentry/browser/esm/client.js +0 -75
  46. package/dist/node_modules/@sentry/browser/esm/client.js.map +0 -1
  47. package/dist/node_modules/@sentry/browser/esm/eventbuilder.js +0 -48
  48. package/dist/node_modules/@sentry/browser/esm/eventbuilder.js.map +0 -1
  49. package/dist/node_modules/@sentry/browser/esm/helpers.js +0 -94
  50. package/dist/node_modules/@sentry/browser/esm/helpers.js.map +0 -1
  51. package/dist/node_modules/@sentry/browser/esm/index.js +0 -59
  52. package/dist/node_modules/@sentry/browser/esm/index.js.map +0 -1
  53. package/dist/node_modules/@sentry/browser/esm/integrations/breadcrumbs.js +0 -218
  54. package/dist/node_modules/@sentry/browser/esm/integrations/breadcrumbs.js.map +0 -1
  55. package/dist/node_modules/@sentry/browser/esm/integrations/globalhandlers.js +0 -166
  56. package/dist/node_modules/@sentry/browser/esm/integrations/globalhandlers.js.map +0 -1
  57. package/dist/node_modules/@sentry/browser/esm/integrations/index.js +0 -19
  58. package/dist/node_modules/@sentry/browser/esm/integrations/index.js.map +0 -1
  59. package/dist/node_modules/@sentry/browser/esm/integrations/linkederrors.js +0 -62
  60. package/dist/node_modules/@sentry/browser/esm/integrations/linkederrors.js.map +0 -1
  61. package/dist/node_modules/@sentry/browser/esm/integrations/trycatch.js +0 -172
  62. package/dist/node_modules/@sentry/browser/esm/integrations/trycatch.js.map +0 -1
  63. package/dist/node_modules/@sentry/browser/esm/integrations/useragent.js +0 -41
  64. package/dist/node_modules/@sentry/browser/esm/integrations/useragent.js.map +0 -1
  65. package/dist/node_modules/@sentry/browser/esm/parsers.js +0 -65
  66. package/dist/node_modules/@sentry/browser/esm/parsers.js.map +0 -1
  67. package/dist/node_modules/@sentry/browser/esm/sdk.js +0 -157
  68. package/dist/node_modules/@sentry/browser/esm/sdk.js.map +0 -1
  69. package/dist/node_modules/@sentry/browser/esm/tracekit.js +0 -146
  70. package/dist/node_modules/@sentry/browser/esm/tracekit.js.map +0 -1
  71. package/dist/node_modules/@sentry/browser/esm/transports/base.js +0 -31
  72. package/dist/node_modules/@sentry/browser/esm/transports/base.js.map +0 -1
  73. package/dist/node_modules/@sentry/browser/esm/transports/fetch.js +0 -57
  74. package/dist/node_modules/@sentry/browser/esm/transports/fetch.js.map +0 -1
  75. package/dist/node_modules/@sentry/browser/esm/transports/index.js +0 -15
  76. package/dist/node_modules/@sentry/browser/esm/transports/index.js.map +0 -1
  77. package/dist/node_modules/@sentry/browser/esm/transports/xhr.js +0 -54
  78. package/dist/node_modules/@sentry/browser/esm/transports/xhr.js.map +0 -1
  79. package/dist/node_modules/@sentry/browser/esm/version.js +0 -7
  80. package/dist/node_modules/@sentry/browser/esm/version.js.map +0 -1
  81. package/dist/node_modules/@sentry/browser/node_modules/tslib/tslib.es6.js +0 -65
  82. package/dist/node_modules/@sentry/browser/node_modules/tslib/tslib.es6.js.map +0 -1
  83. package/dist/node_modules/@sentry/core/esm/api.js +0 -75
  84. package/dist/node_modules/@sentry/core/esm/api.js.map +0 -1
  85. package/dist/node_modules/@sentry/core/esm/basebackend.js +0 -54
  86. package/dist/node_modules/@sentry/core/esm/basebackend.js.map +0 -1
  87. package/dist/node_modules/@sentry/core/esm/baseclient.js +0 -331
  88. package/dist/node_modules/@sentry/core/esm/baseclient.js.map +0 -1
  89. package/dist/node_modules/@sentry/core/esm/integration.js +0 -65
  90. package/dist/node_modules/@sentry/core/esm/integration.js.map +0 -1
  91. package/dist/node_modules/@sentry/core/esm/integrations/functiontostring.js +0 -32
  92. package/dist/node_modules/@sentry/core/esm/integrations/functiontostring.js.map +0 -1
  93. package/dist/node_modules/@sentry/core/esm/integrations/inboundfilters.js +0 -143
  94. package/dist/node_modules/@sentry/core/esm/integrations/inboundfilters.js.map +0 -1
  95. package/dist/node_modules/@sentry/core/esm/integrations/index.js +0 -13
  96. package/dist/node_modules/@sentry/core/esm/integrations/index.js.map +0 -1
  97. package/dist/node_modules/@sentry/core/esm/sdk.js +0 -19
  98. package/dist/node_modules/@sentry/core/esm/sdk.js.map +0 -1
  99. package/dist/node_modules/@sentry/core/esm/transports/noop.js +0 -28
  100. package/dist/node_modules/@sentry/core/esm/transports/noop.js.map +0 -1
  101. package/dist/node_modules/@sentry/core/node_modules/tslib/tslib.es6.js +0 -36
  102. package/dist/node_modules/@sentry/core/node_modules/tslib/tslib.es6.js.map +0 -1
  103. package/dist/node_modules/@sentry/hub/esm/hub.js +0 -383
  104. package/dist/node_modules/@sentry/hub/esm/hub.js.map +0 -1
  105. package/dist/node_modules/@sentry/hub/esm/scope.js +0 -271
  106. package/dist/node_modules/@sentry/hub/esm/scope.js.map +0 -1
  107. package/dist/node_modules/@sentry/hub/node_modules/tslib/tslib.es6.js +0 -36
  108. package/dist/node_modules/@sentry/hub/node_modules/tslib/tslib.es6.js.map +0 -1
  109. package/dist/node_modules/@sentry/minimal/esm/index.js +0 -146
  110. package/dist/node_modules/@sentry/minimal/esm/index.js.map +0 -1
  111. package/dist/node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.js +0 -26
  112. package/dist/node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.js.map +0 -1
  113. package/dist/node_modules/@sentry/types/esm/severity.js +0 -45
  114. package/dist/node_modules/@sentry/types/esm/severity.js.map +0 -1
  115. package/dist/node_modules/@sentry/types/esm/status.js +0 -37
  116. package/dist/node_modules/@sentry/types/esm/status.js.map +0 -1
  117. package/dist/node_modules/@sentry/utils/esm/dsn.js +0 -82
  118. package/dist/node_modules/@sentry/utils/esm/dsn.js.map +0 -1
  119. package/dist/node_modules/@sentry/utils/esm/error.js +0 -21
  120. package/dist/node_modules/@sentry/utils/esm/error.js.map +0 -1
  121. package/dist/node_modules/@sentry/utils/esm/instrument.js +0 -336
  122. package/dist/node_modules/@sentry/utils/esm/instrument.js.map +0 -1
  123. package/dist/node_modules/@sentry/utils/esm/is.js +0 -142
  124. package/dist/node_modules/@sentry/utils/esm/is.js.map +0 -1
  125. package/dist/node_modules/@sentry/utils/esm/logger.js +0 -55
  126. package/dist/node_modules/@sentry/utils/esm/logger.js.map +0 -1
  127. package/dist/node_modules/@sentry/utils/esm/memo.js +0 -40
  128. package/dist/node_modules/@sentry/utils/esm/memo.js.map +0 -1
  129. package/dist/node_modules/@sentry/utils/esm/misc.js +0 -250
  130. package/dist/node_modules/@sentry/utils/esm/misc.js.map +0 -1
  131. package/dist/node_modules/@sentry/utils/esm/object.js +0 -190
  132. package/dist/node_modules/@sentry/utils/esm/object.js.map +0 -1
  133. package/dist/node_modules/@sentry/utils/esm/polyfill.js +0 -20
  134. package/dist/node_modules/@sentry/utils/esm/polyfill.js.map +0 -1
  135. package/dist/node_modules/@sentry/utils/esm/promisebuffer.js +0 -75
  136. package/dist/node_modules/@sentry/utils/esm/promisebuffer.js.map +0 -1
  137. package/dist/node_modules/@sentry/utils/esm/string.js +0 -48
  138. package/dist/node_modules/@sentry/utils/esm/string.js.map +0 -1
  139. package/dist/node_modules/@sentry/utils/esm/supports.js +0 -84
  140. package/dist/node_modules/@sentry/utils/esm/supports.js.map +0 -1
  141. package/dist/node_modules/@sentry/utils/esm/syncpromise.js +0 -171
  142. package/dist/node_modules/@sentry/utils/esm/syncpromise.js.map +0 -1
  143. package/dist/node_modules/@sentry/utils/node_modules/tslib/tslib.es6.js +0 -73
  144. package/dist/node_modules/@sentry/utils/node_modules/tslib/tslib.es6.js.map +0 -1
  145. package/dist/node_modules/escape-html/index.js +0 -68
  146. package/dist/node_modules/escape-html/index.js.map +0 -1
  147. package/dist/node_modules/globalthis/implementation.browser.js +0 -14
  148. package/dist/node_modules/globalthis/implementation.browser.js.map +0 -1
  149. package/dist/node_modules/globalthis/polyfill.js +0 -17
  150. package/dist/node_modules/globalthis/polyfill.js.map +0 -1
  151. package/dist/node_modules/google-libphonenumber/dist/libphonenumber.js +0 -84028
  152. package/dist/node_modules/google-libphonenumber/dist/libphonenumber.js.map +0 -1
  153. package/dist/node_modules/lodash/_DataView.js +0 -15
  154. package/dist/node_modules/lodash/_DataView.js.map +0 -1
  155. package/dist/node_modules/lodash/_Hash.js +0 -38
  156. package/dist/node_modules/lodash/_Hash.js.map +0 -1
  157. package/dist/node_modules/lodash/_ListCache.js +0 -38
  158. package/dist/node_modules/lodash/_ListCache.js.map +0 -1
  159. package/dist/node_modules/lodash/_Map.js +0 -15
  160. package/dist/node_modules/lodash/_Map.js.map +0 -1
  161. package/dist/node_modules/lodash/_MapCache.js +0 -38
  162. package/dist/node_modules/lodash/_MapCache.js.map +0 -1
  163. package/dist/node_modules/lodash/_Promise.js +0 -15
  164. package/dist/node_modules/lodash/_Promise.js.map +0 -1
  165. package/dist/node_modules/lodash/_Set.js +0 -15
  166. package/dist/node_modules/lodash/_Set.js.map +0 -1
  167. package/dist/node_modules/lodash/_SetCache.js +0 -31
  168. package/dist/node_modules/lodash/_SetCache.js.map +0 -1
  169. package/dist/node_modules/lodash/_Stack.js +0 -34
  170. package/dist/node_modules/lodash/_Stack.js.map +0 -1
  171. package/dist/node_modules/lodash/_Symbol.js +0 -15
  172. package/dist/node_modules/lodash/_Symbol.js.map +0 -1
  173. package/dist/node_modules/lodash/_Uint8Array.js +0 -15
  174. package/dist/node_modules/lodash/_Uint8Array.js.map +0 -1
  175. package/dist/node_modules/lodash/_WeakMap.js +0 -15
  176. package/dist/node_modules/lodash/_WeakMap.js.map +0 -1
  177. package/dist/node_modules/lodash/_apply.js +0 -31
  178. package/dist/node_modules/lodash/_apply.js.map +0 -1
  179. package/dist/node_modules/lodash/_arrayEach.js +0 -26
  180. package/dist/node_modules/lodash/_arrayEach.js.map +0 -1
  181. package/dist/node_modules/lodash/_arrayFilter.js +0 -29
  182. package/dist/node_modules/lodash/_arrayFilter.js.map +0 -1
  183. package/dist/node_modules/lodash/_arrayIncludes.js +0 -26
  184. package/dist/node_modules/lodash/_arrayIncludes.js.map +0 -1
  185. package/dist/node_modules/lodash/_arrayIncludesWith.js +0 -26
  186. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +0 -1
  187. package/dist/node_modules/lodash/_arrayLikeKeys.js +0 -34
  188. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +0 -1
  189. package/dist/node_modules/lodash/_arrayMap.js +0 -26
  190. package/dist/node_modules/lodash/_arrayMap.js.map +0 -1
  191. package/dist/node_modules/lodash/_arrayPush.js +0 -25
  192. package/dist/node_modules/lodash/_arrayPush.js.map +0 -1
  193. package/dist/node_modules/lodash/_arrayReduce.js +0 -30
  194. package/dist/node_modules/lodash/_arrayReduce.js.map +0 -1
  195. package/dist/node_modules/lodash/_arraySome.js +0 -27
  196. package/dist/node_modules/lodash/_arraySome.js.map +0 -1
  197. package/dist/node_modules/lodash/_asciiToArray.js +0 -22
  198. package/dist/node_modules/lodash/_asciiToArray.js.map +0 -1
  199. package/dist/node_modules/lodash/_asciiWords.js +0 -24
  200. package/dist/node_modules/lodash/_asciiWords.js.map +0 -1
  201. package/dist/node_modules/lodash/_assignValue.js +0 -31
  202. package/dist/node_modules/lodash/_assignValue.js.map +0 -1
  203. package/dist/node_modules/lodash/_assocIndexOf.js +0 -27
  204. package/dist/node_modules/lodash/_assocIndexOf.js.map +0 -1
  205. package/dist/node_modules/lodash/_baseAssignValue.js +0 -32
  206. package/dist/node_modules/lodash/_baseAssignValue.js.map +0 -1
  207. package/dist/node_modules/lodash/_baseDifference.js +0 -55
  208. package/dist/node_modules/lodash/_baseDifference.js.map +0 -1
  209. package/dist/node_modules/lodash/_baseEach.js +0 -24
  210. package/dist/node_modules/lodash/_baseEach.js.map +0 -1
  211. package/dist/node_modules/lodash/_baseFindIndex.js +0 -28
  212. package/dist/node_modules/lodash/_baseFindIndex.js.map +0 -1
  213. package/dist/node_modules/lodash/_baseFlatten.js +0 -38
  214. package/dist/node_modules/lodash/_baseFlatten.js.map +0 -1
  215. package/dist/node_modules/lodash/_baseFor.js +0 -25
  216. package/dist/node_modules/lodash/_baseFor.js.map +0 -1
  217. package/dist/node_modules/lodash/_baseForOwn.js +0 -26
  218. package/dist/node_modules/lodash/_baseForOwn.js.map +0 -1
  219. package/dist/node_modules/lodash/_baseGet.js +0 -29
  220. package/dist/node_modules/lodash/_baseGet.js.map +0 -1
  221. package/dist/node_modules/lodash/_baseGetAllKeys.js +0 -30
  222. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +0 -1
  223. package/dist/node_modules/lodash/_baseGetTag.js +0 -31
  224. package/dist/node_modules/lodash/_baseGetTag.js.map +0 -1
  225. package/dist/node_modules/lodash/_baseHas.js +0 -25
  226. package/dist/node_modules/lodash/_baseHas.js.map +0 -1
  227. package/dist/node_modules/lodash/_baseHasIn.js +0 -23
  228. package/dist/node_modules/lodash/_baseHasIn.js.map +0 -1
  229. package/dist/node_modules/lodash/_baseIndexOf.js +0 -28
  230. package/dist/node_modules/lodash/_baseIndexOf.js.map +0 -1
  231. package/dist/node_modules/lodash/_baseIsArguments.js +0 -27
  232. package/dist/node_modules/lodash/_baseIsArguments.js.map +0 -1
  233. package/dist/node_modules/lodash/_baseIsEqual.js +0 -34
  234. package/dist/node_modules/lodash/_baseIsEqual.js.map +0 -1
  235. package/dist/node_modules/lodash/_baseIsEqualDeep.js +0 -67
  236. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +0 -1
  237. package/dist/node_modules/lodash/_baseIsMatch.js +0 -48
  238. package/dist/node_modules/lodash/_baseIsMatch.js.map +0 -1
  239. package/dist/node_modules/lodash/_baseIsNaN.js +0 -22
  240. package/dist/node_modules/lodash/_baseIsNaN.js.map +0 -1
  241. package/dist/node_modules/lodash/_baseIsNative.js +0 -44
  242. package/dist/node_modules/lodash/_baseIsNative.js.map +0 -1
  243. package/dist/node_modules/lodash/_baseIsTypedArray.js +0 -33
  244. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +0 -1
  245. package/dist/node_modules/lodash/_baseIteratee.js +0 -31
  246. package/dist/node_modules/lodash/_baseIteratee.js.map +0 -1
  247. package/dist/node_modules/lodash/_baseKeys.js +0 -30
  248. package/dist/node_modules/lodash/_baseKeys.js.map +0 -1
  249. package/dist/node_modules/lodash/_baseKeysIn.js +0 -31
  250. package/dist/node_modules/lodash/_baseKeysIn.js.map +0 -1
  251. package/dist/node_modules/lodash/_baseMatches.js +0 -30
  252. package/dist/node_modules/lodash/_baseMatches.js.map +0 -1
  253. package/dist/node_modules/lodash/_baseMatchesProperty.js +0 -37
  254. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +0 -1
  255. package/dist/node_modules/lodash/_basePick.js +0 -29
  256. package/dist/node_modules/lodash/_basePick.js.map +0 -1
  257. package/dist/node_modules/lodash/_basePickBy.js +0 -33
  258. package/dist/node_modules/lodash/_basePickBy.js.map +0 -1
  259. package/dist/node_modules/lodash/_baseProperty.js +0 -24
  260. package/dist/node_modules/lodash/_baseProperty.js.map +0 -1
  261. package/dist/node_modules/lodash/_basePropertyDeep.js +0 -26
  262. package/dist/node_modules/lodash/_basePropertyDeep.js.map +0 -1
  263. package/dist/node_modules/lodash/_basePropertyOf.js +0 -24
  264. package/dist/node_modules/lodash/_basePropertyOf.js.map +0 -1
  265. package/dist/node_modules/lodash/_baseRepeat.js +0 -33
  266. package/dist/node_modules/lodash/_baseRepeat.js.map +0 -1
  267. package/dist/node_modules/lodash/_baseRest.js +0 -27
  268. package/dist/node_modules/lodash/_baseRest.js.map +0 -1
  269. package/dist/node_modules/lodash/_baseSet.js +0 -45
  270. package/dist/node_modules/lodash/_baseSet.js.map +0 -1
  271. package/dist/node_modules/lodash/_baseSetToString.js +0 -32
  272. package/dist/node_modules/lodash/_baseSetToString.js.map +0 -1
  273. package/dist/node_modules/lodash/_baseSlice.js +0 -32
  274. package/dist/node_modules/lodash/_baseSlice.js.map +0 -1
  275. package/dist/node_modules/lodash/_baseTimes.js +0 -26
  276. package/dist/node_modules/lodash/_baseTimes.js.map +0 -1
  277. package/dist/node_modules/lodash/_baseToString.js +0 -36
  278. package/dist/node_modules/lodash/_baseToString.js.map +0 -1
  279. package/dist/node_modules/lodash/_baseTrim.js +0 -26
  280. package/dist/node_modules/lodash/_baseTrim.js.map +0 -1
  281. package/dist/node_modules/lodash/_baseUnary.js +0 -24
  282. package/dist/node_modules/lodash/_baseUnary.js.map +0 -1
  283. package/dist/node_modules/lodash/_cacheHas.js +0 -23
  284. package/dist/node_modules/lodash/_cacheHas.js.map +0 -1
  285. package/dist/node_modules/lodash/_castFunction.js +0 -24
  286. package/dist/node_modules/lodash/_castFunction.js.map +0 -1
  287. package/dist/node_modules/lodash/_castPath.js +0 -29
  288. package/dist/node_modules/lodash/_castPath.js.map +0 -1
  289. package/dist/node_modules/lodash/_castSlice.js +0 -28
  290. package/dist/node_modules/lodash/_castSlice.js.map +0 -1
  291. package/dist/node_modules/lodash/_coreJsData.js +0 -15
  292. package/dist/node_modules/lodash/_coreJsData.js.map +0 -1
  293. package/dist/node_modules/lodash/_createBaseEach.js +0 -31
  294. package/dist/node_modules/lodash/_createBaseEach.js.map +0 -1
  295. package/dist/node_modules/lodash/_createBaseFor.js +0 -29
  296. package/dist/node_modules/lodash/_createBaseFor.js.map +0 -1
  297. package/dist/node_modules/lodash/_createCaseFirst.js +0 -33
  298. package/dist/node_modules/lodash/_createCaseFirst.js.map +0 -1
  299. package/dist/node_modules/lodash/_createCompounder.js +0 -30
  300. package/dist/node_modules/lodash/_createCompounder.js.map +0 -1
  301. package/dist/node_modules/lodash/_deburrLetter.js +0 -213
  302. package/dist/node_modules/lodash/_deburrLetter.js.map +0 -1
  303. package/dist/node_modules/lodash/_defineProperty.js +0 -21
  304. package/dist/node_modules/lodash/_defineProperty.js.map +0 -1
  305. package/dist/node_modules/lodash/_equalArrays.js +0 -64
  306. package/dist/node_modules/lodash/_equalArrays.js.map +0 -1
  307. package/dist/node_modules/lodash/_equalByTag.js +0 -74
  308. package/dist/node_modules/lodash/_equalByTag.js.map +0 -1
  309. package/dist/node_modules/lodash/_equalObjects.js +0 -64
  310. package/dist/node_modules/lodash/_equalObjects.js.map +0 -1
  311. package/dist/node_modules/lodash/_flatRest.js +0 -26
  312. package/dist/node_modules/lodash/_flatRest.js.map +0 -1
  313. package/dist/node_modules/lodash/_freeGlobal.js +0 -14
  314. package/dist/node_modules/lodash/_freeGlobal.js.map +0 -1
  315. package/dist/node_modules/lodash/_getAllKeys.js +0 -26
  316. package/dist/node_modules/lodash/_getAllKeys.js.map +0 -1
  317. package/dist/node_modules/lodash/_getAllKeysIn.js +0 -27
  318. package/dist/node_modules/lodash/_getAllKeysIn.js.map +0 -1
  319. package/dist/node_modules/lodash/_getMapData.js +0 -26
  320. package/dist/node_modules/lodash/_getMapData.js.map +0 -1
  321. package/dist/node_modules/lodash/_getMatchData.js +0 -34
  322. package/dist/node_modules/lodash/_getMatchData.js.map +0 -1
  323. package/dist/node_modules/lodash/_getNative.js +0 -27
  324. package/dist/node_modules/lodash/_getNative.js.map +0 -1
  325. package/dist/node_modules/lodash/_getPrototype.js +0 -15
  326. package/dist/node_modules/lodash/_getPrototype.js.map +0 -1
  327. package/dist/node_modules/lodash/_getRawTag.js +0 -44
  328. package/dist/node_modules/lodash/_getRawTag.js.map +0 -1
  329. package/dist/node_modules/lodash/_getSymbols.js +0 -32
  330. package/dist/node_modules/lodash/_getSymbols.js.map +0 -1
  331. package/dist/node_modules/lodash/_getSymbolsIn.js +0 -32
  332. package/dist/node_modules/lodash/_getSymbolsIn.js.map +0 -1
  333. package/dist/node_modules/lodash/_getTag.js +0 -44
  334. package/dist/node_modules/lodash/_getTag.js.map +0 -1
  335. package/dist/node_modules/lodash/_getValue.js +0 -23
  336. package/dist/node_modules/lodash/_getValue.js.map +0 -1
  337. package/dist/node_modules/lodash/_hasPath.js +0 -40
  338. package/dist/node_modules/lodash/_hasPath.js.map +0 -1
  339. package/dist/node_modules/lodash/_hasUnicode.js +0 -24
  340. package/dist/node_modules/lodash/_hasUnicode.js.map +0 -1
  341. package/dist/node_modules/lodash/_hasUnicodeWord.js +0 -24
  342. package/dist/node_modules/lodash/_hasUnicodeWord.js.map +0 -1
  343. package/dist/node_modules/lodash/_hashClear.js +0 -25
  344. package/dist/node_modules/lodash/_hashClear.js.map +0 -1
  345. package/dist/node_modules/lodash/_hashDelete.js +0 -27
  346. package/dist/node_modules/lodash/_hashDelete.js.map +0 -1
  347. package/dist/node_modules/lodash/_hashGet.js +0 -35
  348. package/dist/node_modules/lodash/_hashGet.js.map +0 -1
  349. package/dist/node_modules/lodash/_hashHas.js +0 -29
  350. package/dist/node_modules/lodash/_hashHas.js.map +0 -1
  351. package/dist/node_modules/lodash/_hashSet.js +0 -32
  352. package/dist/node_modules/lodash/_hashSet.js.map +0 -1
  353. package/dist/node_modules/lodash/_isFlattenable.js +0 -28
  354. package/dist/node_modules/lodash/_isFlattenable.js.map +0 -1
  355. package/dist/node_modules/lodash/_isIndex.js +0 -29
  356. package/dist/node_modules/lodash/_isIndex.js.map +0 -1
  357. package/dist/node_modules/lodash/_isIterateeCall.js +0 -33
  358. package/dist/node_modules/lodash/_isIterateeCall.js.map +0 -1
  359. package/dist/node_modules/lodash/_isKey.js +0 -31
  360. package/dist/node_modules/lodash/_isKey.js.map +0 -1
  361. package/dist/node_modules/lodash/_isKeyable.js +0 -23
  362. package/dist/node_modules/lodash/_isKeyable.js.map +0 -1
  363. package/dist/node_modules/lodash/_isMasked.js +0 -29
  364. package/dist/node_modules/lodash/_isMasked.js.map +0 -1
  365. package/dist/node_modules/lodash/_isPrototype.js +0 -25
  366. package/dist/node_modules/lodash/_isPrototype.js.map +0 -1
  367. package/dist/node_modules/lodash/_isStrictComparable.js +0 -25
  368. package/dist/node_modules/lodash/_isStrictComparable.js.map +0 -1
  369. package/dist/node_modules/lodash/_listCacheClear.js +0 -23
  370. package/dist/node_modules/lodash/_listCacheClear.js.map +0 -1
  371. package/dist/node_modules/lodash/_listCacheDelete.js +0 -33
  372. package/dist/node_modules/lodash/_listCacheDelete.js.map +0 -1
  373. package/dist/node_modules/lodash/_listCacheGet.js +0 -27
  374. package/dist/node_modules/lodash/_listCacheGet.js.map +0 -1
  375. package/dist/node_modules/lodash/_listCacheHas.js +0 -26
  376. package/dist/node_modules/lodash/_listCacheHas.js.map +0 -1
  377. package/dist/node_modules/lodash/_listCacheSet.js +0 -32
  378. package/dist/node_modules/lodash/_listCacheSet.js.map +0 -1
  379. package/dist/node_modules/lodash/_mapCacheClear.js +0 -31
  380. package/dist/node_modules/lodash/_mapCacheClear.js.map +0 -1
  381. package/dist/node_modules/lodash/_mapCacheDelete.js +0 -28
  382. package/dist/node_modules/lodash/_mapCacheDelete.js.map +0 -1
  383. package/dist/node_modules/lodash/_mapCacheGet.js +0 -26
  384. package/dist/node_modules/lodash/_mapCacheGet.js.map +0 -1
  385. package/dist/node_modules/lodash/_mapCacheHas.js +0 -26
  386. package/dist/node_modules/lodash/_mapCacheHas.js.map +0 -1
  387. package/dist/node_modules/lodash/_mapCacheSet.js +0 -30
  388. package/dist/node_modules/lodash/_mapCacheSet.js.map +0 -1
  389. package/dist/node_modules/lodash/_mapToArray.js +0 -26
  390. package/dist/node_modules/lodash/_mapToArray.js.map +0 -1
  391. package/dist/node_modules/lodash/_matchesStrictComparable.js +0 -27
  392. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +0 -1
  393. package/dist/node_modules/lodash/_memoizeCapped.js +0 -32
  394. package/dist/node_modules/lodash/_memoizeCapped.js.map +0 -1
  395. package/dist/node_modules/lodash/_nativeCreate.js +0 -14
  396. package/dist/node_modules/lodash/_nativeCreate.js.map +0 -1
  397. package/dist/node_modules/lodash/_nativeKeys.js +0 -14
  398. package/dist/node_modules/lodash/_nativeKeys.js.map +0 -1
  399. package/dist/node_modules/lodash/_nativeKeysIn.js +0 -26
  400. package/dist/node_modules/lodash/_nativeKeysIn.js.map +0 -1
  401. package/dist/node_modules/lodash/_nodeUtil.js +0 -28
  402. package/dist/node_modules/lodash/_nodeUtil.js.map +0 -1
  403. package/dist/node_modules/lodash/_objectToString.js +0 -28
  404. package/dist/node_modules/lodash/_objectToString.js.map +0 -1
  405. package/dist/node_modules/lodash/_overArg.js +0 -25
  406. package/dist/node_modules/lodash/_overArg.js.map +0 -1
  407. package/dist/node_modules/lodash/_overRest.js +0 -36
  408. package/dist/node_modules/lodash/_overRest.js.map +0 -1
  409. package/dist/node_modules/lodash/_root.js +0 -18
  410. package/dist/node_modules/lodash/_root.js.map +0 -1
  411. package/dist/node_modules/lodash/_setCacheAdd.js +0 -28
  412. package/dist/node_modules/lodash/_setCacheAdd.js.map +0 -1
  413. package/dist/node_modules/lodash/_setCacheHas.js +0 -24
  414. package/dist/node_modules/lodash/_setCacheHas.js.map +0 -1
  415. package/dist/node_modules/lodash/_setToArray.js +0 -26
  416. package/dist/node_modules/lodash/_setToArray.js.map +0 -1
  417. package/dist/node_modules/lodash/_setToString.js +0 -24
  418. package/dist/node_modules/lodash/_setToString.js.map +0 -1
  419. package/dist/node_modules/lodash/_shortOut.js +0 -35
  420. package/dist/node_modules/lodash/_shortOut.js.map +0 -1
  421. package/dist/node_modules/lodash/_stackClear.js +0 -25
  422. package/dist/node_modules/lodash/_stackClear.js.map +0 -1
  423. package/dist/node_modules/lodash/_stackDelete.js +0 -26
  424. package/dist/node_modules/lodash/_stackDelete.js.map +0 -1
  425. package/dist/node_modules/lodash/_stackGet.js +0 -24
  426. package/dist/node_modules/lodash/_stackGet.js.map +0 -1
  427. package/dist/node_modules/lodash/_stackHas.js +0 -24
  428. package/dist/node_modules/lodash/_stackHas.js.map +0 -1
  429. package/dist/node_modules/lodash/_stackSet.js +0 -43
  430. package/dist/node_modules/lodash/_stackSet.js.map +0 -1
  431. package/dist/node_modules/lodash/_strictIndexOf.js +0 -27
  432. package/dist/node_modules/lodash/_strictIndexOf.js.map +0 -1
  433. package/dist/node_modules/lodash/_stringToArray.js +0 -26
  434. package/dist/node_modules/lodash/_stringToArray.js.map +0 -1
  435. package/dist/node_modules/lodash/_stringToPath.js +0 -33
  436. package/dist/node_modules/lodash/_stringToPath.js.map +0 -1
  437. package/dist/node_modules/lodash/_toKey.js +0 -28
  438. package/dist/node_modules/lodash/_toKey.js.map +0 -1
  439. package/dist/node_modules/lodash/_toSource.js +0 -32
  440. package/dist/node_modules/lodash/_toSource.js.map +0 -1
  441. package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -27
  442. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +0 -1
  443. package/dist/node_modules/lodash/_unicodeToArray.js +0 -40
  444. package/dist/node_modules/lodash/_unicodeToArray.js.map +0 -1
  445. package/dist/node_modules/lodash/_unicodeWords.js +0 -55
  446. package/dist/node_modules/lodash/_unicodeWords.js.map +0 -1
  447. package/dist/node_modules/lodash/camelCase.js +0 -39
  448. package/dist/node_modules/lodash/camelCase.js.map +0 -1
  449. package/dist/node_modules/lodash/capitalize.js +0 -33
  450. package/dist/node_modules/lodash/capitalize.js.map +0 -1
  451. package/dist/node_modules/lodash/constant.js +0 -36
  452. package/dist/node_modules/lodash/constant.js.map +0 -1
  453. package/dist/node_modules/lodash/deburr.js +0 -44
  454. package/dist/node_modules/lodash/deburr.js.map +0 -1
  455. package/dist/node_modules/lodash/difference.js +0 -41
  456. package/dist/node_modules/lodash/difference.js.map +0 -1
  457. package/dist/node_modules/lodash/eq.js +0 -47
  458. package/dist/node_modules/lodash/eq.js.map +0 -1
  459. package/dist/node_modules/lodash/flatten.js +0 -31
  460. package/dist/node_modules/lodash/flatten.js.map +0 -1
  461. package/dist/node_modules/lodash/forEach.js +0 -50
  462. package/dist/node_modules/lodash/forEach.js.map +0 -1
  463. package/dist/node_modules/lodash/forOwn.js +0 -46
  464. package/dist/node_modules/lodash/forOwn.js.map +0 -1
  465. package/dist/node_modules/lodash/get.js +0 -43
  466. package/dist/node_modules/lodash/get.js.map +0 -1
  467. package/dist/node_modules/lodash/has.js +0 -45
  468. package/dist/node_modules/lodash/has.js.map +0 -1
  469. package/dist/node_modules/lodash/hasIn.js +0 -44
  470. package/dist/node_modules/lodash/hasIn.js.map +0 -1
  471. package/dist/node_modules/lodash/identity.js +0 -31
  472. package/dist/node_modules/lodash/identity.js.map +0 -1
  473. package/dist/node_modules/lodash/isArguments.js +0 -44
  474. package/dist/node_modules/lodash/isArguments.js.map +0 -1
  475. package/dist/node_modules/lodash/isArray.js +0 -36
  476. package/dist/node_modules/lodash/isArray.js.map +0 -1
  477. package/dist/node_modules/lodash/isArrayLike.js +0 -43
  478. package/dist/node_modules/lodash/isArrayLike.js.map +0 -1
  479. package/dist/node_modules/lodash/isArrayLikeObject.js +0 -43
  480. package/dist/node_modules/lodash/isArrayLikeObject.js.map +0 -1
  481. package/dist/node_modules/lodash/isBuffer.js +0 -39
  482. package/dist/node_modules/lodash/isBuffer.js.map +0 -1
  483. package/dist/node_modules/lodash/isEmpty.js +0 -67
  484. package/dist/node_modules/lodash/isEmpty.js.map +0 -1
  485. package/dist/node_modules/lodash/isFunction.js +0 -39
  486. package/dist/node_modules/lodash/isFunction.js.map +0 -1
  487. package/dist/node_modules/lodash/isLength.js +0 -43
  488. package/dist/node_modules/lodash/isLength.js.map +0 -1
  489. package/dist/node_modules/lodash/isObject.js +0 -41
  490. package/dist/node_modules/lodash/isObject.js.map +0 -1
  491. package/dist/node_modules/lodash/isObjectLike.js +0 -39
  492. package/dist/node_modules/lodash/isObjectLike.js.map +0 -1
  493. package/dist/node_modules/lodash/isSymbol.js +0 -37
  494. package/dist/node_modules/lodash/isSymbol.js.map +0 -1
  495. package/dist/node_modules/lodash/isTypedArray.js +0 -35
  496. package/dist/node_modules/lodash/isTypedArray.js.map +0 -1
  497. package/dist/node_modules/lodash/keys.js +0 -47
  498. package/dist/node_modules/lodash/keys.js.map +0 -1
  499. package/dist/node_modules/lodash/keysIn.js +0 -42
  500. package/dist/node_modules/lodash/keysIn.js.map +0 -1
  501. package/dist/node_modules/lodash/mapKeys.js +0 -45
  502. package/dist/node_modules/lodash/mapKeys.js.map +0 -1
  503. package/dist/node_modules/lodash/mapValues.js +0 -52
  504. package/dist/node_modules/lodash/mapValues.js.map +0 -1
  505. package/dist/node_modules/lodash/memoize.js +0 -73
  506. package/dist/node_modules/lodash/memoize.js.map +0 -1
  507. package/dist/node_modules/lodash/negate.js +0 -47
  508. package/dist/node_modules/lodash/negate.js.map +0 -1
  509. package/dist/node_modules/lodash/omitBy.js +0 -39
  510. package/dist/node_modules/lodash/omitBy.js.map +0 -1
  511. package/dist/node_modules/lodash/pick.js +0 -35
  512. package/dist/node_modules/lodash/pick.js.map +0 -1
  513. package/dist/node_modules/lodash/pickBy.js +0 -45
  514. package/dist/node_modules/lodash/pickBy.js.map +0 -1
  515. package/dist/node_modules/lodash/property.js +0 -42
  516. package/dist/node_modules/lodash/property.js.map +0 -1
  517. package/dist/node_modules/lodash/repeat.js +0 -44
  518. package/dist/node_modules/lodash/repeat.js.map +0 -1
  519. package/dist/node_modules/lodash/set.js +0 -45
  520. package/dist/node_modules/lodash/set.js.map +0 -1
  521. package/dist/node_modules/lodash/snakeCase.js +0 -37
  522. package/dist/node_modules/lodash/snakeCase.js.map +0 -1
  523. package/dist/node_modules/lodash/stubArray.js +0 -33
  524. package/dist/node_modules/lodash/stubArray.js.map +0 -1
  525. package/dist/node_modules/lodash/stubFalse.js +0 -28
  526. package/dist/node_modules/lodash/stubFalse.js.map +0 -1
  527. package/dist/node_modules/lodash/toFinite.js +0 -45
  528. package/dist/node_modules/lodash/toFinite.js.map +0 -1
  529. package/dist/node_modules/lodash/toInteger.js +0 -44
  530. package/dist/node_modules/lodash/toInteger.js.map +0 -1
  531. package/dist/node_modules/lodash/toNumber.js +0 -61
  532. package/dist/node_modules/lodash/toNumber.js.map +0 -1
  533. package/dist/node_modules/lodash/toString.js +0 -38
  534. package/dist/node_modules/lodash/toString.js.map +0 -1
  535. package/dist/node_modules/lodash/upperFirst.js +0 -31
  536. package/dist/node_modules/lodash/upperFirst.js.map +0 -1
  537. package/dist/node_modules/lodash/words.js +0 -42
  538. package/dist/node_modules/lodash/words.js.map +0 -1
  539. package/dist/node_modules/nanoclone/src/index.js +0 -38
  540. package/dist/node_modules/nanoclone/src/index.js.map +0 -1
  541. package/dist/node_modules/payment/lib/index.js +0 -565
  542. package/dist/node_modules/payment/lib/index.js.map +0 -1
  543. package/dist/node_modules/property-expr/index.js +0 -100
  544. package/dist/node_modules/property-expr/index.js.map +0 -1
  545. package/dist/node_modules/qj/lib/index.js +0 -175
  546. package/dist/node_modules/qj/lib/index.js.map +0 -1
  547. package/dist/node_modules/redux-sentry-middleware/dist/index.umd.js +0 -86
  548. package/dist/node_modules/redux-sentry-middleware/dist/index.umd.js.map +0 -1
  549. package/dist/node_modules/toposort/index.js +0 -78
  550. package/dist/node_modules/toposort/index.js.map +0 -1
  551. package/dist/node_modules/yup/es/Condition.d.ts +0 -23
  552. package/dist/node_modules/yup/es/Condition.js +0 -40
  553. package/dist/node_modules/yup/es/Condition.js.map +0 -1
  554. package/dist/node_modules/yup/es/Lazy.d.ts +0 -29
  555. package/dist/node_modules/yup/es/Lazy.js +0 -49
  556. package/dist/node_modules/yup/es/Lazy.js.map +0 -1
  557. package/dist/node_modules/yup/es/Reference.d.ts +0 -36
  558. package/dist/node_modules/yup/es/Reference.js +0 -61
  559. package/dist/node_modules/yup/es/Reference.js.map +0 -1
  560. package/dist/node_modules/yup/es/ValidationError.d.ts +0 -16
  561. package/dist/node_modules/yup/es/ValidationError.js +0 -48
  562. package/dist/node_modules/yup/es/ValidationError.js.map +0 -1
  563. package/dist/node_modules/yup/es/array.js +0 -181
  564. package/dist/node_modules/yup/es/array.js.map +0 -1
  565. package/dist/node_modules/yup/es/boolean.js +0 -53
  566. package/dist/node_modules/yup/es/boolean.js.map +0 -1
  567. package/dist/node_modules/yup/es/date.js +0 -67
  568. package/dist/node_modules/yup/es/date.js.map +0 -1
  569. package/dist/node_modules/yup/es/index.js +0 -52
  570. package/dist/node_modules/yup/es/index.js.map +0 -1
  571. package/dist/node_modules/yup/es/locale.js +0 -61
  572. package/dist/node_modules/yup/es/locale.js.map +0 -1
  573. package/dist/node_modules/yup/es/mixed.js +0 -13
  574. package/dist/node_modules/yup/es/mixed.js.map +0 -1
  575. package/dist/node_modules/yup/es/number.js +0 -108
  576. package/dist/node_modules/yup/es/number.js.map +0 -1
  577. package/dist/node_modules/yup/es/object.d.ts +0 -48
  578. package/dist/node_modules/yup/es/object.js +0 -266
  579. package/dist/node_modules/yup/es/object.js.map +0 -1
  580. package/dist/node_modules/yup/es/schema.d.ts +0 -148
  581. package/dist/node_modules/yup/es/schema.js +0 -407
  582. package/dist/node_modules/yup/es/schema.js.map +0 -1
  583. package/dist/node_modules/yup/es/setLocale.js +0 -14
  584. package/dist/node_modules/yup/es/setLocale.js.map +0 -1
  585. package/dist/node_modules/yup/es/string.js +0 -132
  586. package/dist/node_modules/yup/es/string.js.map +0 -1
  587. package/dist/node_modules/yup/es/types.d.ts +0 -56
  588. package/dist/node_modules/yup/es/util/ReferenceSet.d.ts +0 -19
  589. package/dist/node_modules/yup/es/util/ReferenceSet.js +0 -51
  590. package/dist/node_modules/yup/es/util/ReferenceSet.js.map +0 -1
  591. package/dist/node_modules/yup/es/util/createValidation.d.ts +0 -43
  592. package/dist/node_modules/yup/es/util/createValidation.js +0 -96
  593. package/dist/node_modules/yup/es/util/createValidation.js.map +0 -1
  594. package/dist/node_modules/yup/es/util/isAbsent.js +0 -6
  595. package/dist/node_modules/yup/es/util/isAbsent.js.map +0 -1
  596. package/dist/node_modules/yup/es/util/isSchema.js +0 -6
  597. package/dist/node_modules/yup/es/util/isSchema.js.map +0 -1
  598. package/dist/node_modules/yup/es/util/isodate.js +0 -39
  599. package/dist/node_modules/yup/es/util/isodate.js.map +0 -1
  600. package/dist/node_modules/yup/es/util/printValue.js +0 -36
  601. package/dist/node_modules/yup/es/util/printValue.js.map +0 -1
  602. package/dist/node_modules/yup/es/util/reach.js +0 -47
  603. package/dist/node_modules/yup/es/util/reach.js.map +0 -1
  604. package/dist/node_modules/yup/es/util/runTests.js +0 -48
  605. package/dist/node_modules/yup/es/util/runTests.js.map +0 -1
  606. package/dist/node_modules/yup/es/util/sortByKeyOrder.js +0 -21
  607. package/dist/node_modules/yup/es/util/sortByKeyOrder.js.map +0 -1
  608. package/dist/node_modules/yup/es/util/sortFields.js +0 -31
  609. package/dist/node_modules/yup/es/util/sortFields.js.map +0 -1
  610. package/dist/node_modules/yup/es/util/toArray.js +0 -8
  611. package/dist/node_modules/yup/es/util/toArray.js.map +0 -1
  612. package/dist/node_modules/yup/es/util/types.d.ts +0 -11
  613. package/dist/node_modules/yup/lib/Condition.d.ts +0 -23
  614. package/dist/node_modules/yup/lib/Lazy.d.ts +0 -29
  615. package/dist/node_modules/yup/lib/Reference.d.ts +0 -36
  616. package/dist/node_modules/yup/lib/ValidationError.d.ts +0 -16
  617. package/dist/node_modules/yup/lib/locale.d.ts +0 -18
  618. package/dist/node_modules/yup/lib/object.d.ts +0 -13
  619. package/dist/node_modules/yup/lib/schema.d.ts +0 -141
  620. package/dist/node_modules/yup/lib/string.d.ts +0 -74
  621. package/dist/node_modules/yup/lib/types.d.ts +0 -54
  622. package/dist/node_modules/yup/lib/util/ReferenceSet.d.ts +0 -19
  623. package/dist/node_modules/yup/lib/util/createValidation.d.ts +0 -43
  624. package/dist/node_modules/yup/lib/util/types.d.ts +0 -12
  625. package/dist/packages/utils/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js +0 -11
  626. package/dist/packages/utils/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js.map +0 -1
  627. package/dist/packages/utils/node_modules/date-fns/esm/_lib/assign/index.js +0 -11
  628. package/dist/packages/utils/node_modules/date-fns/esm/_lib/assign/index.js.map +0 -1
  629. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/formatters/index.js +0 -437
  630. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/formatters/index.js.map +0 -1
  631. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js +0 -50
  632. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js.map +0 -1
  633. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/longFormatters/index.js +0 -51
  634. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/longFormatters/index.js.map +0 -1
  635. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js +0 -27
  636. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js.map +0 -1
  637. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js +0 -18
  638. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js.map +0 -1
  639. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js +0 -17
  640. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js.map +0 -1
  641. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js +0 -25
  642. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js.map +0 -1
  643. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeek/index.js +0 -17
  644. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeek/index.js.map +0 -1
  645. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js +0 -32
  646. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js.map +0 -1
  647. package/dist/packages/utils/node_modules/date-fns/esm/_lib/protectedTokens/index.js +0 -19
  648. package/dist/packages/utils/node_modules/date-fns/esm/_lib/protectedTokens/index.js.map +0 -1
  649. package/dist/packages/utils/node_modules/date-fns/esm/_lib/requiredArgs/index.js +0 -8
  650. package/dist/packages/utils/node_modules/date-fns/esm/_lib/requiredArgs/index.js.map +0 -1
  651. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCDay/index.js +0 -24
  652. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCDay/index.js.map +0 -1
  653. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISODay/index.js +0 -20
  654. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISODay/index.js.map +0 -1
  655. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js +0 -18
  656. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js.map +0 -1
  657. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCWeek/index.js +0 -18
  658. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCWeek/index.js.map +0 -1
  659. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js +0 -18
  660. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js.map +0 -1
  661. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js +0 -17
  662. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js.map +0 -1
  663. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js +0 -24
  664. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js.map +0 -1
  665. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js +0 -23
  666. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js.map +0 -1
  667. package/dist/packages/utils/node_modules/date-fns/esm/_lib/toInteger/index.js +0 -11
  668. package/dist/packages/utils/node_modules/date-fns/esm/_lib/toInteger/index.js.map +0 -1
  669. package/dist/packages/utils/node_modules/date-fns/esm/addMilliseconds/index.js +0 -37
  670. package/dist/packages/utils/node_modules/date-fns/esm/addMilliseconds/index.js.map +0 -1
  671. package/dist/packages/utils/node_modules/date-fns/esm/format/index.js +0 -378
  672. package/dist/packages/utils/node_modules/date-fns/esm/format/index.js.map +0 -1
  673. package/dist/packages/utils/node_modules/date-fns/esm/getMinutes/index.js +0 -33
  674. package/dist/packages/utils/node_modules/date-fns/esm/getMinutes/index.js.map +0 -1
  675. package/dist/packages/utils/node_modules/date-fns/esm/isBefore/index.js +0 -36
  676. package/dist/packages/utils/node_modules/date-fns/esm/isBefore/index.js.map +0 -1
  677. package/dist/packages/utils/node_modules/date-fns/esm/isFuture/index.js +0 -37
  678. package/dist/packages/utils/node_modules/date-fns/esm/isFuture/index.js.map +0 -1
  679. package/dist/packages/utils/node_modules/date-fns/esm/isValid/index.js +0 -70
  680. package/dist/packages/utils/node_modules/date-fns/esm/isValid/index.js.map +0 -1
  681. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js +0 -12
  682. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js.map +0 -1
  683. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js +0 -23
  684. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js.map +0 -1
  685. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js +0 -36
  686. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js.map +0 -1
  687. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js +0 -22
  688. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js.map +0 -1
  689. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js +0 -78
  690. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js.map +0 -1
  691. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js +0 -37
  692. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js.map +0 -1
  693. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js +0 -16
  694. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js.map +0 -1
  695. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js +0 -217
  696. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js.map +0 -1
  697. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js +0 -133
  698. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js.map +0 -1
  699. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/index.js +0 -33
  700. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/index.js.map +0 -1
  701. package/dist/packages/utils/node_modules/date-fns/esm/parse/_lib/parsers/index.js +0 -1346
  702. package/dist/packages/utils/node_modules/date-fns/esm/parse/_lib/parsers/index.js.map +0 -1
  703. package/dist/packages/utils/node_modules/date-fns/esm/parse/index.js +0 -461
  704. package/dist/packages/utils/node_modules/date-fns/esm/parse/index.js.map +0 -1
  705. package/dist/packages/utils/node_modules/date-fns/esm/setMinutes/index.js +0 -38
  706. package/dist/packages/utils/node_modules/date-fns/esm/setMinutes/index.js.map +0 -1
  707. package/dist/packages/utils/node_modules/date-fns/esm/startOfMinute/index.js +0 -36
  708. package/dist/packages/utils/node_modules/date-fns/esm/startOfMinute/index.js.map +0 -1
  709. package/dist/packages/utils/node_modules/date-fns/esm/subMilliseconds/index.js +0 -35
  710. package/dist/packages/utils/node_modules/date-fns/esm/subMilliseconds/index.js.map +0 -1
  711. package/dist/packages/utils/node_modules/date-fns/esm/toDate/index.js +0 -50
  712. package/dist/packages/utils/node_modules/date-fns/esm/toDate/index.js.map +0 -1
@@ -1,331 +0,0 @@
1
- import { isPrimitive, isThenable } from "../../utils/esm/is.js";
2
- import { truncate } from "../../utils/esm/string.js";
3
- import { uuid4 } from "../../utils/esm/misc.js";
4
- import { logger } from "../../utils/esm/logger.js";
5
- import { normalize } from "../../utils/esm/object.js";
6
- import { SyncPromise } from "../../utils/esm/syncpromise.js";
7
- import { Dsn } from "../../utils/esm/dsn.js";
8
- import { __assign } from "../node_modules/tslib/tslib.es6.js";
9
- import { setupIntegrations } from "./integration.js";
10
-
11
- //#region ../../node_modules/@sentry/core/esm/baseclient.js
12
- /**
13
- * Base implementation for all JavaScript SDK clients.
14
- *
15
- * Call the constructor with the corresponding backend constructor and options
16
- * specific to the client subclass. To access these options later, use
17
- * {@link Client.getOptions}. Also, the Backend instance is available via
18
- * {@link Client.getBackend}.
19
- *
20
- * If a Dsn is specified in the options, it will be parsed and stored. Use
21
- * {@link Client.getDsn} to retrieve the Dsn at any moment. In case the Dsn is
22
- * invalid, the constructor will throw a {@link SentryException}. Note that
23
- * without a valid Dsn, the SDK will not send any events to Sentry.
24
- *
25
- * Before sending an event via the backend, it is passed through
26
- * {@link BaseClient.prepareEvent} to add SDK information and scope data
27
- * (breadcrumbs and context). To add more custom information, override this
28
- * method and extend the resulting prepared event.
29
- *
30
- * To issue automatically created events (e.g. via instrumentation), use
31
- * {@link Client.captureEvent}. It will prepare the event and pass it through
32
- * the callback lifecycle. To issue auto-breadcrumbs, use
33
- * {@link Client.addBreadcrumb}.
34
- *
35
- * @example
36
- * class NodeClient extends BaseClient<NodeBackend, NodeOptions> {
37
- * public constructor(options: NodeOptions) {
38
- * super(NodeBackend, options);
39
- * }
40
- *
41
- * // ...
42
- * }
43
- */
44
- var BaseClient = function() {
45
- /**
46
- * Initializes this client instance.
47
- *
48
- * @param backendClass A constructor function to create the backend.
49
- * @param options Options for the client.
50
- */
51
- function BaseClient$1(backendClass, options) {
52
- /** Array of used integrations. */
53
- this._integrations = {};
54
- /** Is the client still processing a call? */
55
- this._processing = false;
56
- this._backend = new backendClass(options);
57
- this._options = options;
58
- if (options.dsn) this._dsn = new Dsn(options.dsn);
59
- if (this._isEnabled()) this._integrations = setupIntegrations(this._options);
60
- }
61
- /**
62
- * @inheritDoc
63
- */
64
- BaseClient$1.prototype.captureException = function(exception, hint, scope) {
65
- var _this = this;
66
- var eventId = hint && hint.event_id;
67
- this._processing = true;
68
- this._getBackend().eventFromException(exception, hint).then(function(event) {
69
- return _this._processEvent(event, hint, scope);
70
- }).then(function(finalEvent) {
71
- eventId = finalEvent && finalEvent.event_id;
72
- _this._processing = false;
73
- }).then(null, function(reason) {
74
- logger.error(reason);
75
- _this._processing = false;
76
- });
77
- return eventId;
78
- };
79
- /**
80
- * @inheritDoc
81
- */
82
- BaseClient$1.prototype.captureMessage = function(message, level, hint, scope) {
83
- var _this = this;
84
- var eventId = hint && hint.event_id;
85
- this._processing = true;
86
- (isPrimitive(message) ? this._getBackend().eventFromMessage("" + message, level, hint) : this._getBackend().eventFromException(message, hint)).then(function(event) {
87
- return _this._processEvent(event, hint, scope);
88
- }).then(function(finalEvent) {
89
- eventId = finalEvent && finalEvent.event_id;
90
- _this._processing = false;
91
- }).then(null, function(reason) {
92
- logger.error(reason);
93
- _this._processing = false;
94
- });
95
- return eventId;
96
- };
97
- /**
98
- * @inheritDoc
99
- */
100
- BaseClient$1.prototype.captureEvent = function(event, hint, scope) {
101
- var _this = this;
102
- var eventId = hint && hint.event_id;
103
- this._processing = true;
104
- this._processEvent(event, hint, scope).then(function(finalEvent) {
105
- eventId = finalEvent && finalEvent.event_id;
106
- _this._processing = false;
107
- }).then(null, function(reason) {
108
- logger.error(reason);
109
- _this._processing = false;
110
- });
111
- return eventId;
112
- };
113
- /**
114
- * @inheritDoc
115
- */
116
- BaseClient$1.prototype.getDsn = function() {
117
- return this._dsn;
118
- };
119
- /**
120
- * @inheritDoc
121
- */
122
- BaseClient$1.prototype.getOptions = function() {
123
- return this._options;
124
- };
125
- /**
126
- * @inheritDoc
127
- */
128
- BaseClient$1.prototype.flush = function(timeout) {
129
- var _this = this;
130
- return this._isClientProcessing(timeout).then(function(status) {
131
- clearInterval(status.interval);
132
- return _this._getBackend().getTransport().close(timeout).then(function(transportFlushed) {
133
- return status.ready && transportFlushed;
134
- });
135
- });
136
- };
137
- /**
138
- * @inheritDoc
139
- */
140
- BaseClient$1.prototype.close = function(timeout) {
141
- var _this = this;
142
- return this.flush(timeout).then(function(result) {
143
- _this.getOptions().enabled = false;
144
- return result;
145
- });
146
- };
147
- /**
148
- * @inheritDoc
149
- */
150
- BaseClient$1.prototype.getIntegrations = function() {
151
- return this._integrations || {};
152
- };
153
- /**
154
- * @inheritDoc
155
- */
156
- BaseClient$1.prototype.getIntegration = function(integration) {
157
- try {
158
- return this._integrations[integration.id] || null;
159
- } catch (_oO) {
160
- logger.warn("Cannot retrieve integration " + integration.id + " from the current Client");
161
- return null;
162
- }
163
- };
164
- /** Waits for the client to be done with processing. */
165
- BaseClient$1.prototype._isClientProcessing = function(timeout) {
166
- var _this = this;
167
- return new SyncPromise(function(resolve) {
168
- var ticked = 0;
169
- var tick = 1;
170
- var interval = 0;
171
- clearInterval(interval);
172
- interval = setInterval(function() {
173
- if (!_this._processing) resolve({
174
- interval,
175
- ready: true
176
- });
177
- else {
178
- ticked += tick;
179
- if (timeout && ticked >= timeout) resolve({
180
- interval,
181
- ready: false
182
- });
183
- }
184
- }, tick);
185
- });
186
- };
187
- /** Returns the current backend. */
188
- BaseClient$1.prototype._getBackend = function() {
189
- return this._backend;
190
- };
191
- /** Determines whether this SDK is enabled and a valid Dsn is present. */
192
- BaseClient$1.prototype._isEnabled = function() {
193
- return this.getOptions().enabled !== false && this._dsn !== void 0;
194
- };
195
- /**
196
- * Adds common information to events.
197
- *
198
- * The information includes release and environment from `options`,
199
- * breadcrumbs and context (extra, tags and user) from the scope.
200
- *
201
- * Information that is already present in the event is never overwritten. For
202
- * nested objects, such as the context, keys are merged.
203
- *
204
- * @param event The original event.
205
- * @param hint May contain additional informartion about the original exception.
206
- * @param scope A scope containing event metadata.
207
- * @returns A new event with more information.
208
- */
209
- BaseClient$1.prototype._prepareEvent = function(event, scope, hint) {
210
- var _this = this;
211
- var _a = this.getOptions(), environment = _a.environment, release = _a.release, dist = _a.dist, _b = _a.maxValueLength, maxValueLength = _b === void 0 ? 250 : _b, _c = _a.normalizeDepth, normalizeDepth = _c === void 0 ? 3 : _c;
212
- var prepared = __assign({}, event);
213
- if (prepared.environment === void 0 && environment !== void 0) prepared.environment = environment;
214
- if (prepared.release === void 0 && release !== void 0) prepared.release = release;
215
- if (prepared.dist === void 0 && dist !== void 0) prepared.dist = dist;
216
- if (prepared.message) prepared.message = truncate(prepared.message, maxValueLength);
217
- var exception = prepared.exception && prepared.exception.values && prepared.exception.values[0];
218
- if (exception && exception.value) exception.value = truncate(exception.value, maxValueLength);
219
- var request = prepared.request;
220
- if (request && request.url) request.url = truncate(request.url, maxValueLength);
221
- if (prepared.event_id === void 0) prepared.event_id = hint && hint.event_id ? hint.event_id : uuid4();
222
- this._addIntegrations(prepared.sdk);
223
- var result = SyncPromise.resolve(prepared);
224
- if (scope) result = scope.applyToEvent(prepared, hint);
225
- return result.then(function(evt) {
226
- if (typeof normalizeDepth === "number" && normalizeDepth > 0) return _this._normalizeEvent(evt, normalizeDepth);
227
- return evt;
228
- });
229
- };
230
- /**
231
- * Applies `normalize` function on necessary `Event` attributes to make them safe for serialization.
232
- * Normalized keys:
233
- * - `breadcrumbs.data`
234
- * - `user`
235
- * - `contexts`
236
- * - `extra`
237
- * @param event Event
238
- * @returns Normalized event
239
- */
240
- BaseClient$1.prototype._normalizeEvent = function(event, depth) {
241
- if (!event) return null;
242
- return __assign({}, event, event.breadcrumbs && { breadcrumbs: event.breadcrumbs.map(function(b) {
243
- return __assign({}, b, b.data && { data: normalize(b.data, depth) });
244
- }) }, event.user && { user: normalize(event.user, depth) }, event.contexts && { contexts: normalize(event.contexts, depth) }, event.extra && { extra: normalize(event.extra, depth) });
245
- };
246
- /**
247
- * This function adds all used integrations to the SDK info in the event.
248
- * @param sdkInfo The sdkInfo of the event that will be filled with all integrations.
249
- */
250
- BaseClient$1.prototype._addIntegrations = function(sdkInfo) {
251
- var integrationsArray = Object.keys(this._integrations);
252
- if (sdkInfo && integrationsArray.length > 0) sdkInfo.integrations = integrationsArray;
253
- };
254
- /**
255
- * Processes an event (either error or message) and sends it to Sentry.
256
- *
257
- * This also adds breadcrumbs and context information to the event. However,
258
- * platform specific meta data (such as the User's IP address) must be added
259
- * by the SDK implementor.
260
- *
261
- *
262
- * @param event The event to send to Sentry.
263
- * @param hint May contain additional informartion about the original exception.
264
- * @param scope A scope containing event metadata.
265
- * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.
266
- */
267
- BaseClient$1.prototype._processEvent = function(event, hint, scope) {
268
- var _this = this;
269
- var _a = this.getOptions(), beforeSend = _a.beforeSend, sampleRate = _a.sampleRate;
270
- if (!this._isEnabled()) return SyncPromise.reject("SDK not enabled, will not send event.");
271
- if (typeof sampleRate === "number" && Math.random() > sampleRate) return SyncPromise.reject("This event has been sampled, will not send event.");
272
- return new SyncPromise(function(resolve, reject) {
273
- _this._prepareEvent(event, scope, hint).then(function(prepared) {
274
- if (prepared === null) {
275
- reject("An event processor returned null, will not send event.");
276
- return;
277
- }
278
- var finalEvent = prepared;
279
- try {
280
- if (hint && hint.data && hint.data.__sentry__ === true || !beforeSend) {
281
- _this._getBackend().sendEvent(finalEvent);
282
- resolve(finalEvent);
283
- return;
284
- }
285
- var beforeSendResult = beforeSend(prepared, hint);
286
- if (typeof beforeSendResult === "undefined") logger.error("`beforeSend` method has to return `null` or a valid event.");
287
- else if (isThenable(beforeSendResult)) _this._handleAsyncBeforeSend(beforeSendResult, resolve, reject);
288
- else {
289
- finalEvent = beforeSendResult;
290
- if (finalEvent === null) {
291
- logger.log("`beforeSend` returned `null`, will not send event.");
292
- resolve(null);
293
- return;
294
- }
295
- _this._getBackend().sendEvent(finalEvent);
296
- resolve(finalEvent);
297
- }
298
- } catch (exception) {
299
- _this.captureException(exception, {
300
- data: { __sentry__: true },
301
- originalException: exception
302
- });
303
- reject("`beforeSend` threw an error, will not send event.");
304
- }
305
- }).then(null, function() {
306
- reject("`beforeSend` threw an error, will not send event.");
307
- });
308
- });
309
- };
310
- /**
311
- * Resolves before send Promise and calls resolve/reject on parent SyncPromise.
312
- */
313
- BaseClient$1.prototype._handleAsyncBeforeSend = function(beforeSend, resolve, reject) {
314
- var _this = this;
315
- beforeSend.then(function(processedEvent) {
316
- if (processedEvent === null) {
317
- reject("`beforeSend` returned `null`, will not send event.");
318
- return;
319
- }
320
- _this._getBackend().sendEvent(processedEvent);
321
- resolve(processedEvent);
322
- }).then(null, function(e) {
323
- reject("beforeSend rejected with " + e);
324
- });
325
- };
326
- return BaseClient$1;
327
- }();
328
-
329
- //#endregion
330
- export { BaseClient };
331
- //# sourceMappingURL=baseclient.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"baseclient.js","names":["BaseClient","tslib_1.__assign"],"sources":["../../../../../../../node_modules/@sentry/core/esm/baseclient.js"],"sourcesContent":["import * as tslib_1 from \"tslib\";\nimport { Dsn, isPrimitive, isThenable, logger, normalize, SyncPromise, truncate, uuid4 } from '@sentry/utils';\nimport { setupIntegrations } from './integration';\n/**\n * Base implementation for all JavaScript SDK clients.\n *\n * Call the constructor with the corresponding backend constructor and options\n * specific to the client subclass. To access these options later, use\n * {@link Client.getOptions}. Also, the Backend instance is available via\n * {@link Client.getBackend}.\n *\n * If a Dsn is specified in the options, it will be parsed and stored. Use\n * {@link Client.getDsn} to retrieve the Dsn at any moment. In case the Dsn is\n * invalid, the constructor will throw a {@link SentryException}. Note that\n * without a valid Dsn, the SDK will not send any events to Sentry.\n *\n * Before sending an event via the backend, it is passed through\n * {@link BaseClient.prepareEvent} to add SDK information and scope data\n * (breadcrumbs and context). To add more custom information, override this\n * method and extend the resulting prepared event.\n *\n * To issue automatically created events (e.g. via instrumentation), use\n * {@link Client.captureEvent}. It will prepare the event and pass it through\n * the callback lifecycle. To issue auto-breadcrumbs, use\n * {@link Client.addBreadcrumb}.\n *\n * @example\n * class NodeClient extends BaseClient<NodeBackend, NodeOptions> {\n * public constructor(options: NodeOptions) {\n * super(NodeBackend, options);\n * }\n *\n * // ...\n * }\n */\nvar BaseClient = /** @class */ (function () {\n /**\n * Initializes this client instance.\n *\n * @param backendClass A constructor function to create the backend.\n * @param options Options for the client.\n */\n function BaseClient(backendClass, options) {\n /** Array of used integrations. */\n this._integrations = {};\n /** Is the client still processing a call? */\n this._processing = false;\n this._backend = new backendClass(options);\n this._options = options;\n if (options.dsn) {\n this._dsn = new Dsn(options.dsn);\n }\n if (this._isEnabled()) {\n this._integrations = setupIntegrations(this._options);\n }\n }\n /**\n * @inheritDoc\n */\n BaseClient.prototype.captureException = function (exception, hint, scope) {\n var _this = this;\n var eventId = hint && hint.event_id;\n this._processing = true;\n this._getBackend()\n .eventFromException(exception, hint)\n .then(function (event) { return _this._processEvent(event, hint, scope); })\n .then(function (finalEvent) {\n // We need to check for finalEvent in case beforeSend returned null\n eventId = finalEvent && finalEvent.event_id;\n _this._processing = false;\n })\n .then(null, function (reason) {\n logger.error(reason);\n _this._processing = false;\n });\n return eventId;\n };\n /**\n * @inheritDoc\n */\n BaseClient.prototype.captureMessage = function (message, level, hint, scope) {\n var _this = this;\n var eventId = hint && hint.event_id;\n this._processing = true;\n var promisedEvent = isPrimitive(message)\n ? this._getBackend().eventFromMessage(\"\" + message, level, hint)\n : this._getBackend().eventFromException(message, hint);\n promisedEvent\n .then(function (event) { return _this._processEvent(event, hint, scope); })\n .then(function (finalEvent) {\n // We need to check for finalEvent in case beforeSend returned null\n eventId = finalEvent && finalEvent.event_id;\n _this._processing = false;\n })\n .then(null, function (reason) {\n logger.error(reason);\n _this._processing = false;\n });\n return eventId;\n };\n /**\n * @inheritDoc\n */\n BaseClient.prototype.captureEvent = function (event, hint, scope) {\n var _this = this;\n var eventId = hint && hint.event_id;\n this._processing = true;\n this._processEvent(event, hint, scope)\n .then(function (finalEvent) {\n // We need to check for finalEvent in case beforeSend returned null\n eventId = finalEvent && finalEvent.event_id;\n _this._processing = false;\n })\n .then(null, function (reason) {\n logger.error(reason);\n _this._processing = false;\n });\n return eventId;\n };\n /**\n * @inheritDoc\n */\n BaseClient.prototype.getDsn = function () {\n return this._dsn;\n };\n /**\n * @inheritDoc\n */\n BaseClient.prototype.getOptions = function () {\n return this._options;\n };\n /**\n * @inheritDoc\n */\n BaseClient.prototype.flush = function (timeout) {\n var _this = this;\n return this._isClientProcessing(timeout).then(function (status) {\n clearInterval(status.interval);\n return _this._getBackend()\n .getTransport()\n .close(timeout)\n .then(function (transportFlushed) { return status.ready && transportFlushed; });\n });\n };\n /**\n * @inheritDoc\n */\n BaseClient.prototype.close = function (timeout) {\n var _this = this;\n return this.flush(timeout).then(function (result) {\n _this.getOptions().enabled = false;\n return result;\n });\n };\n /**\n * @inheritDoc\n */\n BaseClient.prototype.getIntegrations = function () {\n return this._integrations || {};\n };\n /**\n * @inheritDoc\n */\n BaseClient.prototype.getIntegration = function (integration) {\n try {\n return this._integrations[integration.id] || null;\n }\n catch (_oO) {\n logger.warn(\"Cannot retrieve integration \" + integration.id + \" from the current Client\");\n return null;\n }\n };\n /** Waits for the client to be done with processing. */\n BaseClient.prototype._isClientProcessing = function (timeout) {\n var _this = this;\n return new SyncPromise(function (resolve) {\n var ticked = 0;\n var tick = 1;\n var interval = 0;\n clearInterval(interval);\n interval = setInterval(function () {\n if (!_this._processing) {\n resolve({\n interval: interval,\n ready: true,\n });\n }\n else {\n ticked += tick;\n if (timeout && ticked >= timeout) {\n resolve({\n interval: interval,\n ready: false,\n });\n }\n }\n }, tick);\n });\n };\n /** Returns the current backend. */\n BaseClient.prototype._getBackend = function () {\n return this._backend;\n };\n /** Determines whether this SDK is enabled and a valid Dsn is present. */\n BaseClient.prototype._isEnabled = function () {\n return this.getOptions().enabled !== false && this._dsn !== undefined;\n };\n /**\n * Adds common information to events.\n *\n * The information includes release and environment from `options`,\n * breadcrumbs and context (extra, tags and user) from the scope.\n *\n * Information that is already present in the event is never overwritten. For\n * nested objects, such as the context, keys are merged.\n *\n * @param event The original event.\n * @param hint May contain additional informartion about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A new event with more information.\n */\n BaseClient.prototype._prepareEvent = function (event, scope, hint) {\n var _this = this;\n var _a = this.getOptions(), environment = _a.environment, release = _a.release, dist = _a.dist, _b = _a.maxValueLength, maxValueLength = _b === void 0 ? 250 : _b, _c = _a.normalizeDepth, normalizeDepth = _c === void 0 ? 3 : _c;\n var prepared = tslib_1.__assign({}, event);\n if (prepared.environment === undefined && environment !== undefined) {\n prepared.environment = environment;\n }\n if (prepared.release === undefined && release !== undefined) {\n prepared.release = release;\n }\n if (prepared.dist === undefined && dist !== undefined) {\n prepared.dist = dist;\n }\n if (prepared.message) {\n prepared.message = truncate(prepared.message, maxValueLength);\n }\n var exception = prepared.exception && prepared.exception.values && prepared.exception.values[0];\n if (exception && exception.value) {\n exception.value = truncate(exception.value, maxValueLength);\n }\n var request = prepared.request;\n if (request && request.url) {\n request.url = truncate(request.url, maxValueLength);\n }\n if (prepared.event_id === undefined) {\n prepared.event_id = hint && hint.event_id ? hint.event_id : uuid4();\n }\n this._addIntegrations(prepared.sdk);\n // We prepare the result here with a resolved Event.\n var result = SyncPromise.resolve(prepared);\n // This should be the last thing called, since we want that\n // {@link Hub.addEventProcessor} gets the finished prepared event.\n if (scope) {\n // In case we have a hub we reassign it.\n result = scope.applyToEvent(prepared, hint);\n }\n return result.then(function (evt) {\n // tslint:disable-next-line:strict-type-predicates\n if (typeof normalizeDepth === 'number' && normalizeDepth > 0) {\n return _this._normalizeEvent(evt, normalizeDepth);\n }\n return evt;\n });\n };\n /**\n * Applies `normalize` function on necessary `Event` attributes to make them safe for serialization.\n * Normalized keys:\n * - `breadcrumbs.data`\n * - `user`\n * - `contexts`\n * - `extra`\n * @param event Event\n * @returns Normalized event\n */\n BaseClient.prototype._normalizeEvent = function (event, depth) {\n if (!event) {\n return null;\n }\n // tslint:disable:no-unsafe-any\n return tslib_1.__assign({}, event, (event.breadcrumbs && {\n breadcrumbs: event.breadcrumbs.map(function (b) { return (tslib_1.__assign({}, b, (b.data && {\n data: normalize(b.data, depth),\n }))); }),\n }), (event.user && {\n user: normalize(event.user, depth),\n }), (event.contexts && {\n contexts: normalize(event.contexts, depth),\n }), (event.extra && {\n extra: normalize(event.extra, depth),\n }));\n };\n /**\n * This function adds all used integrations to the SDK info in the event.\n * @param sdkInfo The sdkInfo of the event that will be filled with all integrations.\n */\n BaseClient.prototype._addIntegrations = function (sdkInfo) {\n var integrationsArray = Object.keys(this._integrations);\n if (sdkInfo && integrationsArray.length > 0) {\n sdkInfo.integrations = integrationsArray;\n }\n };\n /**\n * Processes an event (either error or message) and sends it to Sentry.\n *\n * This also adds breadcrumbs and context information to the event. However,\n * platform specific meta data (such as the User's IP address) must be added\n * by the SDK implementor.\n *\n *\n * @param event The event to send to Sentry.\n * @param hint May contain additional informartion about the original exception.\n * @param scope A scope containing event metadata.\n * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.\n */\n BaseClient.prototype._processEvent = function (event, hint, scope) {\n var _this = this;\n var _a = this.getOptions(), beforeSend = _a.beforeSend, sampleRate = _a.sampleRate;\n if (!this._isEnabled()) {\n return SyncPromise.reject('SDK not enabled, will not send event.');\n }\n // 1.0 === 100% events are sent\n // 0.0 === 0% events are sent\n if (typeof sampleRate === 'number' && Math.random() > sampleRate) {\n return SyncPromise.reject('This event has been sampled, will not send event.');\n }\n return new SyncPromise(function (resolve, reject) {\n _this._prepareEvent(event, scope, hint)\n .then(function (prepared) {\n if (prepared === null) {\n reject('An event processor returned null, will not send event.');\n return;\n }\n var finalEvent = prepared;\n try {\n var isInternalException = hint && hint.data && hint.data.__sentry__ === true;\n if (isInternalException || !beforeSend) {\n _this._getBackend().sendEvent(finalEvent);\n resolve(finalEvent);\n return;\n }\n var beforeSendResult = beforeSend(prepared, hint);\n // tslint:disable-next-line:strict-type-predicates\n if (typeof beforeSendResult === 'undefined') {\n logger.error('`beforeSend` method has to return `null` or a valid event.');\n }\n else if (isThenable(beforeSendResult)) {\n _this._handleAsyncBeforeSend(beforeSendResult, resolve, reject);\n }\n else {\n finalEvent = beforeSendResult;\n if (finalEvent === null) {\n logger.log('`beforeSend` returned `null`, will not send event.');\n resolve(null);\n return;\n }\n // From here on we are really async\n _this._getBackend().sendEvent(finalEvent);\n resolve(finalEvent);\n }\n }\n catch (exception) {\n _this.captureException(exception, {\n data: {\n __sentry__: true,\n },\n originalException: exception,\n });\n reject('`beforeSend` threw an error, will not send event.');\n }\n })\n .then(null, function () {\n reject('`beforeSend` threw an error, will not send event.');\n });\n });\n };\n /**\n * Resolves before send Promise and calls resolve/reject on parent SyncPromise.\n */\n BaseClient.prototype._handleAsyncBeforeSend = function (beforeSend, resolve, reject) {\n var _this = this;\n beforeSend\n .then(function (processedEvent) {\n if (processedEvent === null) {\n reject('`beforeSend` returned `null`, will not send event.');\n return;\n }\n // From here on we are really async\n _this._getBackend().sendEvent(processedEvent);\n resolve(processedEvent);\n })\n .then(null, function (e) {\n reject(\"beforeSend rejected with \" + e);\n });\n };\n return BaseClient;\n}());\nexport { BaseClient };\n//# sourceMappingURL=baseclient.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCA,IAAI,aAA4B,WAAY;;;;;;;CAOxC,SAASA,aAAW,cAAc,SAAS;;AAEvC,OAAK,gBAAgB,EAAE;;AAEvB,OAAK,cAAc;AACnB,OAAK,WAAW,IAAI,aAAa,QAAQ;AACzC,OAAK,WAAW;AAChB,MAAI,QAAQ,IACR,MAAK,OAAO,IAAI,IAAI,QAAQ,IAAI;AAEpC,MAAI,KAAK,YAAY,CACjB,MAAK,gBAAgB,kBAAkB,KAAK,SAAS;;;;;AAM7D,cAAW,UAAU,mBAAmB,SAAU,WAAW,MAAM,OAAO;EACtE,IAAI,QAAQ;EACZ,IAAI,UAAU,QAAQ,KAAK;AAC3B,OAAK,cAAc;AACnB,OAAK,aAAa,CACb,mBAAmB,WAAW,KAAK,CACnC,KAAK,SAAU,OAAO;AAAE,UAAO,MAAM,cAAc,OAAO,MAAM,MAAM;IAAI,CAC1E,KAAK,SAAU,YAAY;AAE5B,aAAU,cAAc,WAAW;AACnC,SAAM,cAAc;IACtB,CACG,KAAK,MAAM,SAAU,QAAQ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,CAAC;AACF,YAAO,oDAAoD;;KAEjE,CACG,KAAK,MAAM,WAAY;AACxB,WAAO,oDAAoD;KAC7D;IACJ;;;;;AAKN,cAAW,UAAU,yBAAyB,SAAU,YAAY,SAAS,QAAQ;EACjF,IAAI,QAAQ;AACZ,aACK,KAAK,SAAU,gBAAgB;AAChC,OAAI,mBAAmB,MAAM;AACzB,WAAO,qDAAqD;AAC5D;;AAGJ,SAAM,aAAa,CAAC,UAAU,eAAe;AAC7C,WAAQ,eAAe;IACzB,CACG,KAAK,MAAM,SAAU,GAAG;AACzB,UAAO,8BAA8B,EAAE;IACzC;;AAEN,QAAOD;GACR"}
@@ -1,65 +0,0 @@
1
- import { logger } from "../../utils/esm/logger.js";
2
- import { addGlobalEventProcessor } from "../../hub/esm/scope.js";
3
- import { getCurrentHub } from "../../hub/esm/hub.js";
4
- import { __spread } from "../node_modules/tslib/tslib.es6.js";
5
-
6
- //#region ../../node_modules/@sentry/core/esm/integration.js
7
- var installedIntegrations = [];
8
- /** Gets integration to install */
9
- function getIntegrationsToSetup(options) {
10
- var defaultIntegrations = options.defaultIntegrations && __spread(options.defaultIntegrations) || [];
11
- var userIntegrations = options.integrations;
12
- var integrations = [];
13
- if (Array.isArray(userIntegrations)) {
14
- var userIntegrationsNames_1 = userIntegrations.map(function(i) {
15
- return i.name;
16
- });
17
- var pickedIntegrationsNames_1 = [];
18
- defaultIntegrations.forEach(function(defaultIntegration) {
19
- if (userIntegrationsNames_1.indexOf(defaultIntegration.name) === -1 && pickedIntegrationsNames_1.indexOf(defaultIntegration.name) === -1) {
20
- integrations.push(defaultIntegration);
21
- pickedIntegrationsNames_1.push(defaultIntegration.name);
22
- }
23
- });
24
- userIntegrations.forEach(function(userIntegration) {
25
- if (pickedIntegrationsNames_1.indexOf(userIntegration.name) === -1) {
26
- integrations.push(userIntegration);
27
- pickedIntegrationsNames_1.push(userIntegration.name);
28
- }
29
- });
30
- } else if (typeof userIntegrations === "function") {
31
- integrations = userIntegrations(defaultIntegrations);
32
- integrations = Array.isArray(integrations) ? integrations : [integrations];
33
- } else integrations = __spread(defaultIntegrations);
34
- var integrationsNames = integrations.map(function(i) {
35
- return i.name;
36
- });
37
- var alwaysLastToRun = "Debug";
38
- if (integrationsNames.indexOf(alwaysLastToRun) !== -1) integrations.push.apply(integrations, __spread(integrations.splice(integrationsNames.indexOf(alwaysLastToRun), 1)));
39
- return integrations;
40
- }
41
- /** Setup given integration */
42
- function setupIntegration(integration) {
43
- if (installedIntegrations.indexOf(integration.name) !== -1) return;
44
- integration.setupOnce(addGlobalEventProcessor, getCurrentHub);
45
- installedIntegrations.push(integration.name);
46
- logger.log("Integration installed: " + integration.name);
47
- }
48
- /**
49
- * Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default
50
- * integrations are added unless they were already provided before.
51
- * @param integrations array of integration instances
52
- * @param withDefault should enable default integrations
53
- */
54
- function setupIntegrations(options) {
55
- var integrations = {};
56
- getIntegrationsToSetup(options).forEach(function(integration) {
57
- integrations[integration.name] = integration;
58
- setupIntegration(integration);
59
- });
60
- return integrations;
61
- }
62
-
63
- //#endregion
64
- export { setupIntegrations };
65
- //# sourceMappingURL=integration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"integration.js","names":["tslib_1.__spread"],"sources":["../../../../../../../node_modules/@sentry/core/esm/integration.js"],"sourcesContent":["import * as tslib_1 from \"tslib\";\nimport { addGlobalEventProcessor, getCurrentHub } from '@sentry/hub';\nimport { logger } from '@sentry/utils';\nexport var installedIntegrations = [];\n/** Gets integration to install */\nexport function getIntegrationsToSetup(options) {\n var defaultIntegrations = (options.defaultIntegrations && tslib_1.__spread(options.defaultIntegrations)) || [];\n var userIntegrations = options.integrations;\n var integrations = [];\n if (Array.isArray(userIntegrations)) {\n var userIntegrationsNames_1 = userIntegrations.map(function (i) { return i.name; });\n var pickedIntegrationsNames_1 = [];\n // Leave only unique default integrations, that were not overridden with provided user integrations\n defaultIntegrations.forEach(function (defaultIntegration) {\n if (userIntegrationsNames_1.indexOf(defaultIntegration.name) === -1 &&\n pickedIntegrationsNames_1.indexOf(defaultIntegration.name) === -1) {\n integrations.push(defaultIntegration);\n pickedIntegrationsNames_1.push(defaultIntegration.name);\n }\n });\n // Don't add same user integration twice\n userIntegrations.forEach(function (userIntegration) {\n if (pickedIntegrationsNames_1.indexOf(userIntegration.name) === -1) {\n integrations.push(userIntegration);\n pickedIntegrationsNames_1.push(userIntegration.name);\n }\n });\n }\n else if (typeof userIntegrations === 'function') {\n integrations = userIntegrations(defaultIntegrations);\n integrations = Array.isArray(integrations) ? integrations : [integrations];\n }\n else {\n integrations = tslib_1.__spread(defaultIntegrations);\n }\n // Make sure that if present, `Debug` integration will always run last\n var integrationsNames = integrations.map(function (i) { return i.name; });\n var alwaysLastToRun = 'Debug';\n if (integrationsNames.indexOf(alwaysLastToRun) !== -1) {\n integrations.push.apply(integrations, tslib_1.__spread(integrations.splice(integrationsNames.indexOf(alwaysLastToRun), 1)));\n }\n return integrations;\n}\n/** Setup given integration */\nexport function setupIntegration(integration) {\n if (installedIntegrations.indexOf(integration.name) !== -1) {\n return;\n }\n integration.setupOnce(addGlobalEventProcessor, getCurrentHub);\n installedIntegrations.push(integration.name);\n logger.log(\"Integration installed: \" + integration.name);\n}\n/**\n * Given a list of integration instances this installs them all. When `withDefaults` is set to `true` then all default\n * integrations are added unless they were already provided before.\n * @param integrations array of integration instances\n * @param withDefault should enable default integrations\n */\nexport function setupIntegrations(options) {\n var integrations = {};\n getIntegrationsToSetup(options).forEach(function (integration) {\n integrations[integration.name] = integration;\n setupIntegration(integration);\n });\n return integrations;\n}\n//# sourceMappingURL=integration.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;AAGA,IAAW,wBAAwB,EAAE;;AAErC,SAAgB,uBAAuB,SAAS;CAC5C,IAAI,sBAAuB,QAAQ,uBAAuBA,SAAiB,QAAQ,oBAAoB,IAAK,EAAE;CAC9G,IAAI,mBAAmB,QAAQ;CAC/B,IAAI,eAAe,EAAE;A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iB,YAAY;GAC/B;AACF,QAAO"}
@@ -1,32 +0,0 @@
1
- //#region ../../node_modules/@sentry/core/esm/integrations/functiontostring.js
2
- var originalFunctionToString;
3
- /** Patch toString calls to return proper name for wrapped functions */
4
- var FunctionToString = function() {
5
- function FunctionToString$1() {
6
- /**
7
- * @inheritDoc
8
- */
9
- this.name = FunctionToString$1.id;
10
- }
11
- /**
12
- * @inheritDoc
13
- */
14
- FunctionToString$1.prototype.setupOnce = function() {
15
- originalFunctionToString = Function.prototype.toString;
16
- Function.prototype.toString = function() {
17
- var args = [];
18
- for (var _i = 0; _i < arguments.length; _i++) args[_i] = arguments[_i];
19
- var context = this.__sentry_original__ || this;
20
- return originalFunctionToString.apply(context, args);
21
- };
22
- };
23
- /**
24
- * @inheritDoc
25
- */
26
- FunctionToString$1.id = "FunctionToString";
27
- return FunctionToString$1;
28
- }();
29
-
30
- //#endregion
31
- export { FunctionToString };
32
- //# sourceMappingURL=functiontostring.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"functiontostring.js","names":["FunctionToString"],"sources":["../../../../../../../../node_modules/@sentry/core/esm/integrations/functiontostring.js"],"sourcesContent":["var originalFunctionToString;\n/** Patch toString calls to return proper name for wrapped functions */\nvar FunctionToString = /** @class */ (function () {\n function FunctionToString() {\n /**\n * @inheritDoc\n */\n this.name = FunctionToString.id;\n }\n /**\n * @inheritDoc\n */\n FunctionToString.prototype.setupOnce = function () {\n originalFunctionToString = Function.prototype.toString;\n Function.prototype.toString = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var context = this.__sentry_original__ || this;\n // tslint:disable-next-line:no-unsafe-any\n return originalFunctionToString.apply(context, args);\n };\n };\n /**\n * @inheritDoc\n */\n FunctionToString.id = 'FunctionToString';\n return FunctionToString;\n}());\nexport { FunctionToString };\n//# sourceMappingURL=functiontostring.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI;;AAEJ,IAAI,mBAAkC,WAAY;CAC9C,SAASA,qBAAmB;;;;AAIxB,OAAK,OAAOA,mBAAiB;;;;;AAKjC,oBAAiB,UAAU,YAAY,WAAY;AAC/C,6BAA2B,SAAS,UAAU;AAC9C,WAAS,UAAU,WAAW,WAAY;GACtC,IAAI,OAAO,EAAE;AACb,QAAK,IAAI,KAAK,GAAG,KAAK,UAAU,QAAQ,KACpC,MAAK,MAAM,UAAU;GAEzB,IAAI,UAAU,KAAK,uBAAuB;AAE1C,UAAO,yBAAyB,MAAM,SAAS,KAAK;;;;;;AAM5D,oBAAiB,KAAK;AACtB,QAAOA;GACR"}
@@ -1,143 +0,0 @@
1
- import { isMatchingPattern } from "../../../utils/esm/string.js";
2
- import { getEventDescription } from "../../../utils/esm/misc.js";
3
- import { logger } from "../../../utils/esm/logger.js";
4
- import { addGlobalEventProcessor } from "../../../hub/esm/scope.js";
5
- import { getCurrentHub } from "../../../hub/esm/hub.js";
6
- import { __spread } from "../../node_modules/tslib/tslib.es6.js";
7
-
8
- //#region ../../node_modules/@sentry/core/esm/integrations/inboundfilters.js
9
- var DEFAULT_IGNORE_ERRORS = [/^Script error\.?$/, /^Javascript error: Script error\.? on line 0$/];
10
- /** Inbound filters configurable by the user */
11
- var InboundFilters = function() {
12
- function InboundFilters$1(_options) {
13
- if (_options === void 0) _options = {};
14
- this._options = _options;
15
- /**
16
- * @inheritDoc
17
- */
18
- this.name = InboundFilters$1.id;
19
- }
20
- /**
21
- * @inheritDoc
22
- */
23
- InboundFilters$1.prototype.setupOnce = function() {
24
- addGlobalEventProcessor(function(event) {
25
- var hub = getCurrentHub();
26
- if (!hub) return event;
27
- var self = hub.getIntegration(InboundFilters$1);
28
- if (self) {
29
- var client = hub.getClient();
30
- var clientOptions = client ? client.getOptions() : {};
31
- var options = self._mergeOptions(clientOptions);
32
- if (self._shouldDropEvent(event, options)) return null;
33
- }
34
- return event;
35
- });
36
- };
37
- /** JSDoc */
38
- InboundFilters$1.prototype._shouldDropEvent = function(event, options) {
39
- if (this._isSentryError(event, options)) {
40
- logger.warn("Event dropped due to being internal Sentry Error.\nEvent: " + getEventDescription(event));
41
- return true;
42
- }
43
- if (this._isIgnoredError(event, options)) {
44
- logger.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: " + getEventDescription(event));
45
- return true;
46
- }
47
- if (this._isBlacklistedUrl(event, options)) {
48
- logger.warn("Event dropped due to being matched by `blacklistUrls` option.\nEvent: " + getEventDescription(event) + ".\nUrl: " + this._getEventFilterUrl(event));
49
- return true;
50
- }
51
- if (!this._isWhitelistedUrl(event, options)) {
52
- logger.warn("Event dropped due to not being matched by `whitelistUrls` option.\nEvent: " + getEventDescription(event) + ".\nUrl: " + this._getEventFilterUrl(event));
53
- return true;
54
- }
55
- return false;
56
- };
57
- /** JSDoc */
58
- InboundFilters$1.prototype._isSentryError = function(event, options) {
59
- if (options === void 0) options = {};
60
- if (!options.ignoreInternal) return false;
61
- try {
62
- return event && event.exception && event.exception.values && event.exception.values[0] && event.exception.values[0].type === "SentryError" || false;
63
- } catch (_oO) {
64
- return false;
65
- }
66
- };
67
- /** JSDoc */
68
- InboundFilters$1.prototype._isIgnoredError = function(event, options) {
69
- if (options === void 0) options = {};
70
- if (!options.ignoreErrors || !options.ignoreErrors.length) return false;
71
- return this._getPossibleEventMessages(event).some(function(message) {
72
- return options.ignoreErrors.some(function(pattern) {
73
- return isMatchingPattern(message, pattern);
74
- });
75
- });
76
- };
77
- /** JSDoc */
78
- InboundFilters$1.prototype._isBlacklistedUrl = function(event, options) {
79
- if (options === void 0) options = {};
80
- if (!options.blacklistUrls || !options.blacklistUrls.length) return false;
81
- var url = this._getEventFilterUrl(event);
82
- return !url ? false : options.blacklistUrls.some(function(pattern) {
83
- return isMatchingPattern(url, pattern);
84
- });
85
- };
86
- /** JSDoc */
87
- InboundFilters$1.prototype._isWhitelistedUrl = function(event, options) {
88
- if (options === void 0) options = {};
89
- if (!options.whitelistUrls || !options.whitelistUrls.length) return true;
90
- var url = this._getEventFilterUrl(event);
91
- return !url ? true : options.whitelistUrls.some(function(pattern) {
92
- return isMatchingPattern(url, pattern);
93
- });
94
- };
95
- /** JSDoc */
96
- InboundFilters$1.prototype._mergeOptions = function(clientOptions) {
97
- if (clientOptions === void 0) clientOptions = {};
98
- return {
99
- blacklistUrls: __spread(this._options.blacklistUrls || [], clientOptions.blacklistUrls || []),
100
- ignoreErrors: __spread(this._options.ignoreErrors || [], clientOptions.ignoreErrors || [], DEFAULT_IGNORE_ERRORS),
101
- ignoreInternal: typeof this._options.ignoreInternal !== "undefined" ? this._options.ignoreInternal : true,
102
- whitelistUrls: __spread(this._options.whitelistUrls || [], clientOptions.whitelistUrls || [])
103
- };
104
- };
105
- /** JSDoc */
106
- InboundFilters$1.prototype._getPossibleEventMessages = function(event) {
107
- if (event.message) return [event.message];
108
- if (event.exception) try {
109
- var _a = event.exception.values && event.exception.values[0] || {}, _b = _a.type, type = _b === void 0 ? "" : _b, _c = _a.value, value = _c === void 0 ? "" : _c;
110
- return ["" + value, type + ": " + value];
111
- } catch (oO) {
112
- logger.error("Cannot extract message for event " + getEventDescription(event));
113
- return [];
114
- }
115
- return [];
116
- };
117
- /** JSDoc */
118
- InboundFilters$1.prototype._getEventFilterUrl = function(event) {
119
- try {
120
- if (event.stacktrace) {
121
- var frames_1 = event.stacktrace.frames;
122
- return frames_1 && frames_1[frames_1.length - 1].filename || null;
123
- }
124
- if (event.exception) {
125
- var frames_2 = event.exception.values && event.exception.values[0].stacktrace && event.exception.values[0].stacktrace.frames;
126
- return frames_2 && frames_2[frames_2.length - 1].filename || null;
127
- }
128
- return null;
129
- } catch (oO) {
130
- logger.error("Cannot extract url for event " + getEventDescription(event));
131
- return null;
132
- }
133
- };
134
- /**
135
- * @inheritDoc
136
- */
137
- InboundFilters$1.id = "InboundFilters";
138
- return InboundFilters$1;
139
- }();
140
-
141
- //#endregion
142
- export { InboundFilters };
143
- //# sourceMappingURL=inboundfilters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inboundfilters.js","names":["InboundFilters","tslib_1.__spread"],"sources":["../../../../../../../../node_modules/@sentry/core/esm/integrations/inboundfilters.js"],"sourcesContent":["import * as tslib_1 from \"tslib\";\nimport { addGlobalEventProcessor, getCurrentHub } from '@sentry/hub';\nimport { getEventDescription, isMatchingPattern, logger } from '@sentry/utils';\n// \"Script error.\" is hard coded into browsers for errors that it can't read.\n// this is the result of a script being pulled in from an external domain and CORS.\nvar DEFAULT_IGNORE_ERRORS = [/^Script error\\.?$/, /^Javascript error: Script error\\.? on line 0$/];\n/** Inbound filters configurable by the user */\nvar InboundFilters = /** @class */ (function () {\n function InboundFilters(_options) {\n if (_options === void 0) { _options = {}; }\n this._options = _options;\n /**\n * @inheritDoc\n */\n this.name = InboundFilters.id;\n }\n /**\n * @inheritDoc\n */\n InboundFilters.prototype.setupOnce = function () {\n addGlobalEventProcessor(function (event) {\n var hub = getCurrentHub();\n if (!hub) {\n return event;\n }\n var self = hub.getIntegration(InboundFilters);\n if (self) {\n var client = hub.getClient();\n var clientOptions = client ? client.getOptions() : {};\n var options = self._mergeOptions(clientOptions);\n if (self._shouldDropEvent(event, options)) {\n return null;\n }\n }\n return event;\n });\n };\n /** JSDoc */\n InboundFilters.prototype._shouldDropEvent = function (event, options) {\n if (this._isSentryError(event, options)) {\n logger.warn(\"Event dropped due to being internal Sentry Error.\\nEvent: \" + getEventDescription(event));\n return true;\n }\n if (this._isIgnoredError(event, options)) {\n logger.warn(\"Event dropped due to being matched by `ignoreErrors` option.\\nEvent: \" + getEventDescription(event));\n return true;\n }\n if (this._isBlacklistedUrl(event, options)) {\n logger.warn(\"Event dropped due to being matched by `blacklistUrls` option.\\nEvent: \" + getEventDescription(event) + \".\\nUrl: \" + this._getEventFilterUrl(event));\n return true;\n }\n if (!this._isWhitelistedUrl(event, options)) {\n logger.warn(\"Event dropped due to not being matched by `whitelistUrls` option.\\nEvent: \" + getEventDescription(event) + \".\\nUrl: \" + this._getEventFilterUrl(event));\n return true;\n }\n return false;\n };\n /** JSDoc */\n InboundFilters.prototype._isSentryError = function (event, options) {\n if (options === void 0) { options = {}; }\n if (!options.ignoreInternal) {\n return false;\n }\n try {\n return ((event &&\n event.exception &&\n event.exception.values &&\n event.exception.values[0] &&\n event.exception.values[0].type === 'SentryError') ||\n false);\n }\n catch (_oO) {\n return false;\n }\n };\n /** JSDoc */\n InboundFilters.prototype._isIgnoredError = function (event, options) {\n if (options === void 0) { options = {}; }\n if (!options.ignoreErrors || !options.ignoreErrors.length) {\n return false;\n }\n return this._getPossibleEventMessages(event).some(function (message) {\n // Not sure why TypeScript complains here...\n return options.ignoreErrors.some(function (pattern) { return isMatchingPattern(message, pattern); });\n });\n };\n /** JSDoc */\n InboundFilters.prototype._isBlacklistedUrl = function (event, options) {\n if (options === void 0) { options = {}; }\n // TODO: Use Glob instead?\n if (!options.blacklistUrls || !options.blacklistUrls.length) {\n return false;\n }\n var url = this._getEventFilterUrl(event);\n return !url ? false : options.blacklistUrls.some(function (pattern) { return isMatchingPattern(url, pattern); });\n };\n /** JSDoc */\n InboundFilters.prototype._isWhitelistedUrl = function (event, options) {\n if (options === void 0) { options = {}; }\n // TODO: Use Glob instead?\n if (!options.whitelistUrls || !options.whitelistUrls.length) {\n return true;\n }\n var url = this._getEventFilterUrl(event);\n return !url ? true : options.whitelistUrls.some(function (pattern) { return isMatchingPattern(url, pattern); });\n };\n /** JSDoc */\n InboundFilters.prototype._mergeOptions = function (clientOptions) {\n if (clientOptions === void 0) { clientOptions = {}; }\n return {\n blacklistUrls: tslib_1.__spread((this._options.blacklistUrls || []), (clientOptions.blacklistUrls || [])),\n ignoreErrors: tslib_1.__spread((this._options.ignoreErrors || []), (clientOptions.ignoreErrors || []), DEFAULT_IGNORE_ERRORS),\n ignoreInternal: typeof this._options.ignoreInternal !== 'undefined' ? this._options.ignoreInternal : true,\n whitelistUrls: tslib_1.__spread((this._options.whitelistUrls || []), (clientOptions.whitelistUrls || [])),\n };\n };\n /** JSDoc */\n InboundFilters.prototype._getPossibleEventMessages = function (event) {\n if (event.message) {\n return [event.message];\n }\n if (event.exception) {\n try {\n var _a = (event.exception.values && event.exception.values[0]) || {}, _b = _a.type, type = _b === void 0 ? '' : _b, _c = _a.value, value = _c === void 0 ? '' : _c;\n return [\"\" + value, type + \": \" + value];\n }\n catch (oO) {\n logger.error(\"Cannot extract message for event \" + getEventDescription(event));\n return [];\n }\n }\n return [];\n };\n /** JSDoc */\n InboundFilters.prototype._getEventFilterUrl = function (event) {\n try {\n if (event.stacktrace) {\n var frames_1 = event.stacktrace.frames;\n return (frames_1 && frames_1[frames_1.length - 1].filename) || null;\n }\n if (event.exception) {\n var frames_2 = event.exception.values && event.exception.values[0].stacktrace && event.exception.values[0].stacktrace.frames;\n return (frames_2 && frames_2[frames_2.length - 1].filename) || null;\n }\n return null;\n }\n catch (oO) {\n logger.error(\"Cannot extract url for event \" + getEventDescription(event));\n return null;\n }\n };\n /**\n * @inheritDoc\n */\n InboundFilters.id = 'InboundFilters';\n return InboundFilters;\n}());\nexport { InboundFilters };\n//# sourceMappingURL=inboundfilters.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AAKA,IAAI,wBAAwB,CAAC,qBAAqB,gDAAgD;;AAElG,IAAI,iBAAgC,WAAY;CAC5C,SAASA,iBAAe,UAAU;AAC9B,MAAI,aAAa,KAAK,EAAK,YAAW,EAAE;AACxC,OAAK,WAAW;;;;AAIhB,OAAK,OAAOA,iBAAe;;;;;AAK/B,kBAAe,UAAU,YAAY,WAAY;AAC7C,0BAAwB,SAAU,OAAO;GACrC,IAAI,MAAM,eAAe;AACzB,OAAI,CAAC,IACD,QAAO;GAEX,IAAI,OAAO,IAAI,eAAeA,iBAAe;AAC7C,OAAI,MAAM;IACN,IAAI,SAAS,IAAI,WAAW;IAC5B,IAAI,gBAAgB,SAAS,OAAO,YAAY,GAAG,EAAE;IACrD,IAAI,UAAU,KAAK,cAAc,cAAc;AAC/C,QAAI,KAAK,iBAAiB,OAAO,QAAQ,CACrC,QAAO;;A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