sentry-uniapp 1.0.12 → 2.8.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 (375) hide show
  1. package/README.md +11 -9
  2. package/dist/client.d.ts +42 -40
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +62 -41
  5. package/dist/client.js.map +1 -1
  6. package/dist/crossPlatform.d.ts +1 -1
  7. package/dist/crossPlatform.d.ts.map +1 -1
  8. package/dist/crossPlatform.js +26 -10
  9. package/dist/crossPlatform.js.map +1 -1
  10. package/dist/debug.d.ts +4 -0
  11. package/dist/debug.d.ts.map +1 -0
  12. package/dist/debug.js +23 -0
  13. package/dist/debug.js.map +1 -0
  14. package/dist/eventbuilder.d.ts +9 -10
  15. package/dist/eventbuilder.d.ts.map +1 -1
  16. package/dist/eventbuilder.js +131 -58
  17. package/dist/eventbuilder.js.map +1 -1
  18. package/dist/flags.js +1 -0
  19. package/dist/flags.js.map +1 -1
  20. package/dist/index.d.ts +10 -9
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js +84 -21
  23. package/dist/index.js.map +1 -1
  24. package/dist/integrations/globalhandlers.d.ts +10 -44
  25. package/dist/integrations/globalhandlers.d.ts.map +1 -1
  26. package/dist/integrations/globalhandlers.js +101 -134
  27. package/dist/integrations/globalhandlers.js.map +1 -1
  28. package/dist/integrations/ignoreMpcrawlerErrors.d.ts +3 -18
  29. package/dist/integrations/ignoreMpcrawlerErrors.d.ts.map +1 -1
  30. package/dist/integrations/ignoreMpcrawlerErrors.js +28 -28
  31. package/dist/integrations/ignoreMpcrawlerErrors.js.map +1 -1
  32. package/dist/integrations/index.d.ts +4 -6
  33. package/dist/integrations/index.d.ts.map +1 -1
  34. package/dist/integrations/index.js +12 -10
  35. package/dist/integrations/index.js.map +1 -1
  36. package/dist/integrations/router.d.ts +6 -24
  37. package/dist/integrations/router.d.ts.map +1 -1
  38. package/dist/integrations/router.js +39 -42
  39. package/dist/integrations/router.js.map +1 -1
  40. package/dist/integrations/system.d.ts +5 -16
  41. package/dist/integrations/system.d.ts.map +1 -1
  42. package/dist/integrations/system.js +62 -60
  43. package/dist/integrations/system.js.map +1 -1
  44. package/dist/parsers.d.ts +2 -2
  45. package/dist/parsers.d.ts.map +1 -1
  46. package/dist/parsers.js +27 -26
  47. package/dist/parsers.js.map +1 -1
  48. package/dist/polyfills.d.ts +5 -0
  49. package/dist/polyfills.d.ts.map +1 -0
  50. package/dist/polyfills.js +100 -0
  51. package/dist/polyfills.js.map +1 -0
  52. package/dist/sdk.d.ts +10 -85
  53. package/dist/sdk.d.ts.map +1 -1
  54. package/dist/sdk.js +69 -127
  55. package/dist/sdk.js.map +1 -1
  56. package/dist/tracekit.js +35 -33
  57. package/dist/tracekit.js.map +1 -1
  58. package/dist/transport.d.ts +7 -0
  59. package/dist/transport.d.ts.map +1 -0
  60. package/dist/transport.js +75 -0
  61. package/dist/transport.js.map +1 -0
  62. package/dist/transports/index.d.ts +1 -2
  63. package/dist/transports/index.d.ts.map +1 -1
  64. package/dist/transports/index.js +4 -4
  65. package/dist/transports/index.js.map +1 -1
  66. package/dist/version.d.ts +1 -1
  67. package/dist/version.d.ts.map +1 -1
  68. package/dist/version.js +2 -2
  69. package/dist/version.js.map +1 -1
  70. package/esm/client.d.ts +42 -40
  71. package/esm/client.d.ts.map +1 -1
  72. package/esm/client.js +59 -40
  73. package/esm/client.js.map +1 -1
  74. package/esm/crossPlatform.d.ts +1 -1
  75. package/esm/crossPlatform.d.ts.map +1 -1
  76. package/esm/crossPlatform.js +25 -10
  77. package/esm/crossPlatform.js.map +1 -1
  78. package/esm/debug.d.ts +4 -0
  79. package/esm/debug.d.ts.map +1 -0
  80. package/esm/debug.js +18 -0
  81. package/esm/debug.js.map +1 -0
  82. package/esm/eventbuilder.d.ts +9 -10
  83. package/esm/eventbuilder.d.ts.map +1 -1
  84. package/esm/eventbuilder.js +125 -52
  85. package/esm/eventbuilder.js.map +1 -1
  86. package/esm/flags.js +1 -1
  87. package/esm/flags.js.map +1 -1
  88. package/esm/index.d.ts +10 -9
  89. package/esm/index.d.ts.map +1 -1
  90. package/esm/index.js +13 -8
  91. package/esm/index.js.map +1 -1
  92. package/esm/integrations/globalhandlers.d.ts +10 -44
  93. package/esm/integrations/globalhandlers.d.ts.map +1 -1
  94. package/esm/integrations/globalhandlers.js +99 -133
  95. package/esm/integrations/globalhandlers.js.map +1 -1
  96. package/esm/integrations/ignoreMpcrawlerErrors.d.ts +3 -18
  97. package/esm/integrations/ignoreMpcrawlerErrors.d.ts.map +1 -1
  98. package/esm/integrations/ignoreMpcrawlerErrors.js +25 -26
  99. package/esm/integrations/ignoreMpcrawlerErrors.js.map +1 -1
  100. package/esm/integrations/index.d.ts +4 -6
  101. package/esm/integrations/index.d.ts.map +1 -1
  102. package/esm/integrations/index.js +5 -6
  103. package/esm/integrations/index.js.map +1 -1
  104. package/esm/integrations/router.d.ts +6 -24
  105. package/esm/integrations/router.d.ts.map +1 -1
  106. package/esm/integrations/router.js +37 -41
  107. package/esm/integrations/router.js.map +1 -1
  108. package/esm/integrations/system.d.ts +5 -16
  109. package/esm/integrations/system.d.ts.map +1 -1
  110. package/esm/integrations/system.js +60 -59
  111. package/esm/integrations/system.js.map +1 -1
  112. package/esm/parsers.d.ts +2 -2
  113. package/esm/parsers.d.ts.map +1 -1
  114. package/esm/parsers.js +20 -19
  115. package/esm/parsers.js.map +1 -1
  116. package/esm/polyfills.d.ts +5 -0
  117. package/esm/polyfills.d.ts.map +1 -0
  118. package/esm/polyfills.js +100 -0
  119. package/esm/polyfills.js.map +1 -0
  120. package/esm/sdk.d.ts +10 -85
  121. package/esm/sdk.d.ts.map +1 -1
  122. package/esm/sdk.js +63 -120
  123. package/esm/sdk.js.map +1 -1
  124. package/esm/tracekit.js +33 -31
  125. package/esm/tracekit.js.map +1 -1
  126. package/esm/transport.d.ts +7 -0
  127. package/esm/transport.d.ts.map +1 -0
  128. package/esm/transport.js +71 -0
  129. package/esm/transport.js.map +1 -0
  130. package/esm/transports/index.d.ts +1 -2
  131. package/esm/transports/index.d.ts.map +1 -1
  132. package/esm/transports/index.js +1 -2
  133. package/esm/transports/index.js.map +1 -1
  134. package/esm/version.d.ts +1 -1
  135. package/esm/version.d.ts.map +1 -1
  136. package/esm/version.js +2 -3
  137. package/esm/version.js.map +1 -1
  138. package/package.json +23 -27
  139. package/dist/backend.d.ts +0 -41
  140. package/dist/backend.d.ts.map +0 -1
  141. package/dist/backend.js +0 -68
  142. package/dist/backend.js.map +0 -1
  143. package/dist/helpers.d.ts +0 -35
  144. package/dist/helpers.d.ts.map +0 -1
  145. package/dist/helpers.js +0 -236
  146. package/dist/helpers.js.map +0 -1
  147. package/dist/integrations/linkederrors.d.ts +0 -40
  148. package/dist/integrations/linkederrors.d.ts.map +0 -1
  149. package/dist/integrations/linkederrors.js +0 -65
  150. package/dist/integrations/linkederrors.js.map +0 -1
  151. package/dist/integrations/trycatch.d.ts +0 -26
  152. package/dist/integrations/trycatch.d.ts.map +0 -1
  153. package/dist/integrations/trycatch.js +0 -166
  154. package/dist/integrations/trycatch.js.map +0 -1
  155. package/dist/package.json +0 -52
  156. package/dist/sentry-uniapp.min.js +0 -3
  157. package/dist/sentry-uniapp.min.js.LICENSE.txt +0 -14
  158. package/dist/sentry-uniapp.min.js.map +0 -1
  159. package/dist/src/backend.d.ts +0 -41
  160. package/dist/src/backend.d.ts.map +0 -1
  161. package/dist/src/backend.js +0 -68
  162. package/dist/src/backend.js.map +0 -1
  163. package/dist/src/client.d.ts +0 -55
  164. package/dist/src/client.d.ts.map +0 -1
  165. package/dist/src/client.js +0 -51
  166. package/dist/src/client.js.map +0 -1
  167. package/dist/src/crossPlatform.d.ts +0 -18
  168. package/dist/src/crossPlatform.d.ts.map +0 -1
  169. package/dist/src/crossPlatform.js +0 -80
  170. package/dist/src/crossPlatform.js.map +0 -1
  171. package/dist/src/eventbuilder.d.ts +0 -11
  172. package/dist/src/eventbuilder.d.ts.map +0 -1
  173. package/dist/src/eventbuilder.js +0 -79
  174. package/dist/src/eventbuilder.js.map +0 -1
  175. package/dist/src/flags.d.ts +0 -3
  176. package/dist/src/flags.d.ts.map +0 -1
  177. package/dist/src/flags.js +0 -18
  178. package/dist/src/flags.js.map +0 -1
  179. package/dist/src/helpers.d.ts +0 -35
  180. package/dist/src/helpers.d.ts.map +0 -1
  181. package/dist/src/helpers.js +0 -236
  182. package/dist/src/helpers.js.map +0 -1
  183. package/dist/src/index.d.ts +0 -10
  184. package/dist/src/index.d.ts.map +0 -1
  185. package/dist/src/index.js +0 -40
  186. package/dist/src/index.js.map +0 -1
  187. package/dist/src/integrations/globalhandlers.d.ts +0 -47
  188. package/dist/src/integrations/globalhandlers.d.ts.map +0 -1
  189. package/dist/src/integrations/globalhandlers.js +0 -153
  190. package/dist/src/integrations/globalhandlers.js.map +0 -1
  191. package/dist/src/integrations/ignoreMpcrawlerErrors.d.ts +0 -21
  192. package/dist/src/integrations/ignoreMpcrawlerErrors.d.ts.map +0 -1
  193. package/dist/src/integrations/ignoreMpcrawlerErrors.js +0 -40
  194. package/dist/src/integrations/ignoreMpcrawlerErrors.js.map +0 -1
  195. package/dist/src/integrations/index.d.ts +0 -7
  196. package/dist/src/integrations/index.d.ts.map +0 -1
  197. package/dist/src/integrations/index.js +0 -14
  198. package/dist/src/integrations/index.js.map +0 -1
  199. package/dist/src/integrations/linkederrors.d.ts +0 -40
  200. package/dist/src/integrations/linkederrors.d.ts.map +0 -1
  201. package/dist/src/integrations/linkederrors.js +0 -65
  202. package/dist/src/integrations/linkederrors.js.map +0 -1
  203. package/dist/src/integrations/router.d.ts +0 -28
  204. package/dist/src/integrations/router.d.ts.map +0 -1
  205. package/dist/src/integrations/router.js +0 -47
  206. package/dist/src/integrations/router.js.map +0 -1
  207. package/dist/src/integrations/system.d.ts +0 -17
  208. package/dist/src/integrations/system.d.ts.map +0 -1
  209. package/dist/src/integrations/system.js +0 -65
  210. package/dist/src/integrations/system.js.map +0 -1
  211. package/dist/src/integrations/trycatch.d.ts +0 -26
  212. package/dist/src/integrations/trycatch.d.ts.map +0 -1
  213. package/dist/src/integrations/trycatch.js +0 -166
  214. package/dist/src/integrations/trycatch.js.map +0 -1
  215. package/dist/src/parsers.d.ts +0 -21
  216. package/dist/src/parsers.d.ts.map +0 -1
  217. package/dist/src/parsers.js +0 -97
  218. package/dist/src/parsers.js.map +0 -1
  219. package/dist/src/sdk.d.ts +0 -99
  220. package/dist/src/sdk.d.ts.map +0 -1
  221. package/dist/src/sdk.js +0 -155
  222. package/dist/src/sdk.js.map +0 -1
  223. package/dist/src/tracekit.d.ts +0 -38
  224. package/dist/src/tracekit.d.ts.map +0 -1
  225. package/dist/src/tracekit.js +0 -222
  226. package/dist/src/tracekit.js.map +0 -1
  227. package/dist/src/transports/base.d.ts +0 -22
  228. package/dist/src/transports/base.d.ts.map +0 -1
  229. package/dist/src/transports/base.js +0 -28
  230. package/dist/src/transports/base.js.map +0 -1
  231. package/dist/src/transports/index.d.ts +0 -3
  232. package/dist/src/transports/index.d.ts.map +0 -1
  233. package/dist/src/transports/index.js +0 -6
  234. package/dist/src/transports/index.js.map +0 -1
  235. package/dist/src/transports/xhr.d.ts +0 -10
  236. package/dist/src/transports/xhr.d.ts.map +0 -1
  237. package/dist/src/transports/xhr.js +0 -42
  238. package/dist/src/transports/xhr.js.map +0 -1
  239. package/dist/src/version.d.ts +0 -3
  240. package/dist/src/version.d.ts.map +0 -1
  241. package/dist/src/version.js +0 -6
  242. package/dist/src/version.js.map +0 -1
  243. package/dist/transports/base.d.ts +0 -22
  244. package/dist/transports/base.d.ts.map +0 -1
  245. package/dist/transports/base.js +0 -28
  246. package/dist/transports/base.js.map +0 -1
  247. package/dist/transports/xhr.d.ts +0 -10
  248. package/dist/transports/xhr.d.ts.map +0 -1
  249. package/dist/transports/xhr.js +0 -42
  250. package/dist/transports/xhr.js.map +0 -1
  251. package/dist/utils/debug-build.d.ts +0 -7
  252. package/dist/utils/debug-build.d.ts.map +0 -1
  253. package/dist/utils/debug-build.js +0 -9
  254. package/dist/utils/debug-build.js.map +0 -1
  255. package/dist/utils/logger.d.ts +0 -16
  256. package/dist/utils/logger.d.ts.map +0 -1
  257. package/dist/utils/logger.js +0 -50
  258. package/dist/utils/logger.js.map +0 -1
  259. package/esm/backend.d.ts +0 -41
  260. package/esm/backend.d.ts.map +0 -1
  261. package/esm/backend.js +0 -66
  262. package/esm/backend.js.map +0 -1
  263. package/esm/helpers.d.ts +0 -35
  264. package/esm/helpers.d.ts.map +0 -1
  265. package/esm/helpers.js +0 -229
  266. package/esm/helpers.js.map +0 -1
  267. package/esm/integrations/linkederrors.d.ts +0 -40
  268. package/esm/integrations/linkederrors.d.ts.map +0 -1
  269. package/esm/integrations/linkederrors.js +0 -63
  270. package/esm/integrations/linkederrors.js.map +0 -1
  271. package/esm/integrations/trycatch.d.ts +0 -26
  272. package/esm/integrations/trycatch.d.ts.map +0 -1
  273. package/esm/integrations/trycatch.js +0 -164
  274. package/esm/integrations/trycatch.js.map +0 -1
  275. package/esm/package.json +0 -52
  276. package/esm/src/backend.d.ts +0 -41
  277. package/esm/src/backend.d.ts.map +0 -1
  278. package/esm/src/backend.js +0 -66
  279. package/esm/src/backend.js.map +0 -1
  280. package/esm/src/client.d.ts +0 -55
  281. package/esm/src/client.d.ts.map +0 -1
  282. package/esm/src/client.js +0 -49
  283. package/esm/src/client.js.map +0 -1
  284. package/esm/src/crossPlatform.d.ts +0 -18
  285. package/esm/src/crossPlatform.d.ts.map +0 -1
  286. package/esm/src/crossPlatform.js +0 -77
  287. package/esm/src/crossPlatform.js.map +0 -1
  288. package/esm/src/eventbuilder.d.ts +0 -11
  289. package/esm/src/eventbuilder.d.ts.map +0 -1
  290. package/esm/src/eventbuilder.js +0 -75
  291. package/esm/src/eventbuilder.js.map +0 -1
  292. package/esm/src/flags.d.ts +0 -3
  293. package/esm/src/flags.d.ts.map +0 -1
  294. package/esm/src/flags.js +0 -16
  295. package/esm/src/flags.js.map +0 -1
  296. package/esm/src/helpers.d.ts +0 -35
  297. package/esm/src/helpers.d.ts.map +0 -1
  298. package/esm/src/helpers.js +0 -229
  299. package/esm/src/helpers.js.map +0 -1
  300. package/esm/src/index.d.ts +0 -10
  301. package/esm/src/index.d.ts.map +0 -1
  302. package/esm/src/index.js +0 -9
  303. package/esm/src/index.js.map +0 -1
  304. package/esm/src/integrations/globalhandlers.d.ts +0 -47
  305. package/esm/src/integrations/globalhandlers.d.ts.map +0 -1
  306. package/esm/src/integrations/globalhandlers.js +0 -151
  307. package/esm/src/integrations/globalhandlers.js.map +0 -1
  308. package/esm/src/integrations/ignoreMpcrawlerErrors.d.ts +0 -21
  309. package/esm/src/integrations/ignoreMpcrawlerErrors.d.ts.map +0 -1
  310. package/esm/src/integrations/ignoreMpcrawlerErrors.js +0 -38
  311. package/esm/src/integrations/ignoreMpcrawlerErrors.js.map +0 -1
  312. package/esm/src/integrations/index.d.ts +0 -7
  313. package/esm/src/integrations/index.d.ts.map +0 -1
  314. package/esm/src/integrations/index.js +0 -7
  315. package/esm/src/integrations/index.js.map +0 -1
  316. package/esm/src/integrations/linkederrors.d.ts +0 -40
  317. package/esm/src/integrations/linkederrors.d.ts.map +0 -1
  318. package/esm/src/integrations/linkederrors.js +0 -63
  319. package/esm/src/integrations/linkederrors.js.map +0 -1
  320. package/esm/src/integrations/router.d.ts +0 -28
  321. package/esm/src/integrations/router.d.ts.map +0 -1
  322. package/esm/src/integrations/router.js +0 -45
  323. package/esm/src/integrations/router.js.map +0 -1
  324. package/esm/src/integrations/system.d.ts +0 -17
  325. package/esm/src/integrations/system.d.ts.map +0 -1
  326. package/esm/src/integrations/system.js +0 -63
  327. package/esm/src/integrations/system.js.map +0 -1
  328. package/esm/src/integrations/trycatch.d.ts +0 -26
  329. package/esm/src/integrations/trycatch.d.ts.map +0 -1
  330. package/esm/src/integrations/trycatch.js +0 -164
  331. package/esm/src/integrations/trycatch.js.map +0 -1
  332. package/esm/src/parsers.d.ts +0 -21
  333. package/esm/src/parsers.d.ts.map +0 -1
  334. package/esm/src/parsers.js +0 -91
  335. package/esm/src/parsers.js.map +0 -1
  336. package/esm/src/sdk.d.ts +0 -99
  337. package/esm/src/sdk.d.ts.map +0 -1
  338. package/esm/src/sdk.js +0 -147
  339. package/esm/src/sdk.js.map +0 -1
  340. package/esm/src/tracekit.d.ts +0 -38
  341. package/esm/src/tracekit.d.ts.map +0 -1
  342. package/esm/src/tracekit.js +0 -219
  343. package/esm/src/tracekit.js.map +0 -1
  344. package/esm/src/transports/base.d.ts +0 -22
  345. package/esm/src/transports/base.d.ts.map +0 -1
  346. package/esm/src/transports/base.js +0 -26
  347. package/esm/src/transports/base.js.map +0 -1
  348. package/esm/src/transports/index.d.ts +0 -3
  349. package/esm/src/transports/index.d.ts.map +0 -1
  350. package/esm/src/transports/index.js +0 -3
  351. package/esm/src/transports/index.js.map +0 -1
  352. package/esm/src/transports/xhr.d.ts +0 -10
  353. package/esm/src/transports/xhr.d.ts.map +0 -1
  354. package/esm/src/transports/xhr.js +0 -40
  355. package/esm/src/transports/xhr.js.map +0 -1
  356. package/esm/src/version.d.ts +0 -3
  357. package/esm/src/version.d.ts.map +0 -1
  358. package/esm/src/version.js +0 -4
  359. package/esm/src/version.js.map +0 -1
  360. package/esm/transports/base.d.ts +0 -22
  361. package/esm/transports/base.d.ts.map +0 -1
  362. package/esm/transports/base.js +0 -26
  363. package/esm/transports/base.js.map +0 -1
  364. package/esm/transports/xhr.d.ts +0 -10
  365. package/esm/transports/xhr.d.ts.map +0 -1
  366. package/esm/transports/xhr.js +0 -40
  367. package/esm/transports/xhr.js.map +0 -1
  368. package/esm/utils/debug-build.d.ts +0 -7
  369. package/esm/utils/debug-build.d.ts.map +0 -1
  370. package/esm/utils/debug-build.js +0 -7
  371. package/esm/utils/debug-build.js.map +0 -1
  372. package/esm/utils/logger.d.ts +0 -25
  373. package/esm/utils/logger.d.ts.map +0 -1
  374. package/esm/utils/logger.js +0 -42
  375. package/esm/utils/logger.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/transports/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/transports/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC"}
@@ -1,3 +1,2 @@
1
- export { BaseTransport } from "./base";
2
- export { XHRTransport } from "./xhr";
1
+ export { XHRTransport } from '../transport';
3
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/transports/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC","sourcesContent":["export { BaseTransport } from \"./base\";\nexport { XHRTransport } from \"./xhr\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/transports/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC"}
package/esm/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export declare const SDK_NAME = "sentry.javascript.uniapp";
2
- export declare const SDK_VERSION: any;
2
+ export declare const SDK_VERSION = "2.8.1";
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,6BAA6B,CAAC;AACnD,eAAO,MAAM,WAAW,KAAU,CAAA"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,6BAA6B,CAAC;AACnD,eAAO,MAAM,WAAW,UAAU,CAAA"}
package/esm/version.js CHANGED
@@ -1,4 +1,3 @@
1
- import { version } from '../package.json';
2
- export var SDK_NAME = "sentry.javascript.uniapp";
3
- export var SDK_VERSION = version;
1
+ export const SDK_NAME = "sentry.javascript.uniapp";
2
+ export const SDK_VERSION = "2.8.1";
4
3
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,MAAM,CAAC,IAAM,QAAQ,GAAG,0BAA0B,CAAC;AACnD,MAAM,CAAC,IAAM,WAAW,GAAG,OAAO,CAAA","sourcesContent":["import { version } from '../package.json';\n\nexport const SDK_NAME = \"sentry.javascript.uniapp\";\nexport const SDK_VERSION = version\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG,0BAA0B,CAAC;AACnD,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAA"}
package/package.json CHANGED
@@ -1,52 +1,48 @@
1
1
  {
2
2
  "name": "sentry-uniapp",
3
- "version": "1.0.12",
3
+ "version": "2.8.1",
4
4
  "description": "用于Uniapp/小程序/快应用等平台的 Sentry SDK",
5
- "repository": "git://github.com/uappkit/sentry-uniapp.git",
6
- "homepage": "https://github.com/uappkit/sentry-uniapp",
7
- "miniprogram": "dist",
5
+ "repository": "git://github.com/uappx/sentry-uniapp.git",
6
+ "homepage": "https://github.com/uappx/sentry-uniapp",
8
7
  "main": "dist/index.js",
9
8
  "module": "esm/index.js",
9
+ "miniprogram": "dist",
10
10
  "types": "dist/index.d.ts",
11
+ "keywords": [
12
+ "sentry",
13
+ "uniapp",
14
+ "wechat",
15
+ "miniprogram",
16
+ "error-tracking",
17
+ "performance-monitoring"
18
+ ],
11
19
  "scripts": {
12
20
  "test": "echo \"Error: no test specified\" && exit 1",
13
- "build": "npm-run-all --parallel build:min build:esm build:ts version",
14
- "build:dist": "npm-run-all --parallel build:min",
15
- "build:min": "webpack --config ./webpack.config.min.js",
16
- "build:watch": "webpack --watch --config ./webpack.config.min.js",
21
+ "clean": "rm -rf dist esm",
22
+ "build": "npm-run-all clean version --parallel build:dist build:esm build:ts",
23
+ "build:dist": "tsc -p tsconfig.json",
17
24
  "build:ts": "tsc -p tsconfig.json",
18
25
  "build:esm": "tsc -p tsconfig.esm.json",
19
26
  "version": "node ./scripts/versionbump.js src/version.ts"
20
27
  },
21
- "keywords": [
22
- "sentry",
23
- "uniapp",
24
- "uniapp sentry"
25
- ],
26
- "author": "yinqisen@gmail.com",
27
- "license": "BSD-3-Clause",
28
28
  "engines": {
29
29
  "node": ">=14"
30
30
  },
31
31
  "devDependencies": {
32
- "@sentry/typescript": "^5.20.0",
33
- "@types/node": "^12.7.1",
32
+ "@types/node": "^20.0.0",
34
33
  "install": "^0.13.0",
35
34
  "miniprogram-api-typings": "^2.7.7-2",
36
35
  "npm": "^6.11.1",
37
36
  "npm-run-all": "^4.1.5",
38
37
  "replace-in-file": "^4.1.3",
39
- "ts-loader": "^6.0.4",
38
+ "ts-loader": "^9.0.0",
40
39
  "tslint": "^5.16.0",
41
- "typescript": "^3.5.3",
42
- "webpack": "^5.90.3",
43
- "webpack-cli": "^5.1.4",
44
- "webpack-merge": "^4.2.1"
40
+ "typescript": "^5.0.0"
45
41
  },
46
42
  "dependencies": {
47
- "@sentry/core": "6.19.7",
48
- "@sentry/types": "6.19.7",
49
- "@sentry/utils": "6.19.7",
50
- "tslib": "^1.10.0"
43
+ "@sentry/core": "^8.0.0",
44
+ "@sentry/types": "^8.0.0",
45
+ "@sentry/utils": "^8.0.0",
46
+ "tslib": "^2.6.0"
51
47
  }
52
- }
48
+ }
package/dist/backend.d.ts DELETED
@@ -1,41 +0,0 @@
1
- import { BaseBackend } from "@sentry/core";
2
- import { Event, EventHint, Options, Severity, Transport } from "@sentry/types";
3
- /**
4
- * Configuration options for the Sentry Miniapp SDK.
5
- * Sentry Miniapp SDK 的配置选项。
6
- * @see MiniappClient for more information.
7
- */
8
- export interface MiniappOptions extends Options {
9
- /**
10
- * A pattern for error URLs which should not be sent to Sentry.
11
- * To whitelist certain errors instead, use {@link Options.whitelistUrls}.
12
- * By default, all errors will be sent.
13
- */
14
- blacklistUrls?: Array<string | RegExp>;
15
- /**
16
- * A pattern for error URLs which should exclusively be sent to Sentry.
17
- * This is the opposite of {@link Options.blacklistUrls}.
18
- * By default, all errors will be sent.
19
- */
20
- whitelistUrls?: Array<string | RegExp>;
21
- extraOptions?: Object;
22
- }
23
- /**
24
- * The Sentry Browser SDK Backend.
25
- * @hidden
26
- */
27
- export declare class MiniappBackend extends BaseBackend<MiniappOptions> {
28
- /**
29
- * @inheritDoc
30
- */
31
- protected _setupTransport(): Transport;
32
- /**
33
- * @inheritDoc
34
- */
35
- eventFromException(exception: any, hint?: EventHint): PromiseLike<Event>;
36
- /**
37
- * @inheritDoc
38
- */
39
- eventFromMessage(message: string, level?: Severity, hint?: EventHint): PromiseLike<Event>;
40
- }
41
- //# sourceMappingURL=backend.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"backend.d.ts","sourceRoot":"","sources":["../src/backend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM/E;;;;GAIG;AACH,MAAM,WAAW,cAAe,SAAQ,OAAO;IAC7C;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAEvC;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAEvC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;GAGG;AACH,qBAAa,cAAe,SAAQ,WAAW,CAAC,cAAc,CAAC;IAC7D;;OAEG;IACH,SAAS,CAAC,eAAe,IAAI,SAAS;IAkBtC;;OAEG;IACI,kBAAkB,CAAC,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC;IAgB/E;;OAEG;IACI,gBAAgB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,GAAE,QAAwB,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC;CAWhH"}
package/dist/backend.js DELETED
@@ -1,68 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.MiniappBackend = void 0;
3
- var tslib_1 = require("tslib");
4
- var core_1 = require("@sentry/core");
5
- var types_1 = require("@sentry/types");
6
- var utils_1 = require("@sentry/utils");
7
- var eventbuilder_1 = require("./eventbuilder");
8
- var index_1 = require("./transports/index");
9
- /**
10
- * The Sentry Browser SDK Backend.
11
- * @hidden
12
- */
13
- var MiniappBackend = /** @class */ (function (_super) {
14
- tslib_1.__extends(MiniappBackend, _super);
15
- function MiniappBackend() {
16
- return _super !== null && _super.apply(this, arguments) || this;
17
- }
18
- /**
19
- * @inheritDoc
20
- */
21
- MiniappBackend.prototype._setupTransport = function () {
22
- if (!this._options.dsn) {
23
- // We return the noop transport here in case there is no Dsn.
24
- return _super.prototype._setupTransport.call(this);
25
- }
26
- var transportOptions = tslib_1.__assign(tslib_1.__assign({}, this._options.transportOptions), { dsn: this._options.dsn });
27
- if (this._options.transport) {
28
- return new this._options.transport(transportOptions);
29
- }
30
- return new index_1.XHRTransport(transportOptions);
31
- };
32
- /**
33
- * @inheritDoc
34
- */
35
- MiniappBackend.prototype.eventFromException = function (exception, hint) {
36
- var syntheticException = (hint && hint.syntheticException) || undefined;
37
- var event = eventbuilder_1.eventFromUnknownInput(exception, syntheticException, {
38
- attachStacktrace: this._options.attachStacktrace,
39
- });
40
- utils_1.addExceptionMechanism(event, {
41
- handled: true,
42
- type: 'generic',
43
- });
44
- event.level = types_1.Severity.Error;
45
- if (hint && hint.event_id) {
46
- event.event_id = hint.event_id;
47
- }
48
- return utils_1.resolvedSyncPromise(event);
49
- };
50
- /**
51
- * @inheritDoc
52
- */
53
- MiniappBackend.prototype.eventFromMessage = function (message, level, hint) {
54
- if (level === void 0) { level = types_1.Severity.Info; }
55
- var syntheticException = (hint && hint.syntheticException) || undefined;
56
- var event = eventbuilder_1.eventFromString(message, syntheticException, {
57
- attachStacktrace: this._options.attachStacktrace,
58
- });
59
- event.level = level;
60
- if (hint && hint.event_id) {
61
- event.event_id = hint.event_id;
62
- }
63
- return utils_1.resolvedSyncPromise(event);
64
- };
65
- return MiniappBackend;
66
- }(core_1.BaseBackend));
67
- exports.MiniappBackend = MiniappBackend;
68
- //# sourceMappingURL=backend.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"backend.js","sourceRoot":"","sources":["../src/backend.ts"],"names":[],"mappings":";;;AAAA,qCAA2C;AAC3C,uCAA+E;AAC/E,uCAA2E;AAE3E,+CAAwE;AACxE,4CAAkD;AAyBlD;;;GAGG;AACH;IAAoC,0CAA2B;IAA/D;;IAuDA,CAAC;IAtDC;;OAEG;IACO,wCAAe,GAAzB;QACE,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE;YACtB,6DAA6D;YAC7D,OAAO,iBAAM,eAAe,WAAE,CAAC;SAChC;QAED,IAAM,gBAAgB,yCACjB,IAAI,CAAC,QAAQ,CAAC,gBAAgB,KACjC,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,GACvB,CAAC;QAEF,IAAI,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE;YAC3B,OAAO,IAAI,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;SACtD;QAED,OAAO,IAAI,oBAAY,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED;;OAEG;IACI,2CAAkB,GAAzB,U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\nimport { Event, EventHint, Options, Severity, Transport } from \"@sentry/types\";\nimport { addExceptionMechanism, resolvedSyncPromise } from '@sentry/utils';\n\nimport { eventFromString, eventFromUnknownInput } from './eventbuilder';\nimport { XHRTransport } from \"./transports/index\";\n\n/**\n * Configuration options for the Sentry Miniapp SDK.\n * Sentry Miniapp SDK 的配置选项。\n * @see MiniappClient for more information.\n */\nexport interface MiniappOptions extends Options {\n /**\n * A pattern for error URLs which should not be sent to Sentry.\n * To whitelist certain errors instead, use {@link Options.whitelistUrls}.\n * By default, all errors will be sent.\n */\n blacklistUrls?: Array<string | RegExp>;\n\n /**\n * A pattern for error URLs which should exclusively be sent to Sentry.\n * This is the opposite of {@link Options.blacklistUrls}.\n * By default, all errors will be sent.\n */\n whitelistUrls?: Array<string | RegExp>;\n\n extraOptions?: Object;\n}\n\n/**\n * The Sentry Browser SDK Backend.\n * @hidden\n */\nexport class MiniappBackend extends BaseBackend<MiniappOptions> {\n /**\n * @inheritDoc\n */\n protected _setupTransport(): Transport {\n if (!this._options.dsn) {\n // We return the noop transport here in case there is no Dsn.\n return super._setupTransport();\n }\n\n const transportOptions = {\n ...this._options.transportOptions,\n dsn: this._options.dsn\n };\n\n if (this._options.transport) {\n return new this._options.transport(transportOptions);\n }\n\n return new XHRTransport(transportOptions);\n }\n\n /**\n * @inheritDoc\n */\n public eventFromException(exception: any, hint?: EventHint): PromiseLike<Event> {\n const syntheticException = (hint && hint.syntheticException) || undefined;\n const event = eventFromUnknownInput(exception, syntheticException, {\n attachStacktrace: this._options.attachStacktrace,\n });\n\n addExceptionMechanism(event, {\n handled: true,\n type: 'generic',\n });\n event.level = Severity.Error;\n if (hint && hint.event_id) {\n event.event_id = hint.event_id;\n }\n return resolvedSyncPromise(event);\n }\n /**\n * @inheritDoc\n */\n public eventFromMessage(message: string, level: Severity = Severity.Info, hint?: EventHint): PromiseLike<Event> {\n const syntheticException = (hint && hint.syntheticException) || undefined;\n const event = eventFromString(message, syntheticException, {\n attachStacktrace: this._options.attachStacktrace,\n });\n event.level = level;\n if (hint && hint.event_id) {\n event.event_id = hint.event_id;\n }\n return resolvedSyncPromise(event);\n }\n}\n"]}
package/dist/helpers.d.ts DELETED
@@ -1,35 +0,0 @@
1
- import { Mechanism, WrappedFunction } from '@sentry/types';
2
- /**
3
- * @hidden
4
- */
5
- export declare function shouldIgnoreOnError(): boolean;
6
- /**
7
- * @hidden
8
- */
9
- export declare function ignoreNextOnError(): void;
10
- /**
11
- * Instruments the given function and sends an event to Sentry every time the
12
- * function throws an exception.
13
- *
14
- * @param fn A function to wrap.
15
- * @returns The wrapped function.
16
- * @hidden
17
- */
18
- export declare function wrap(fn: WrappedFunction, options?: {
19
- mechanism?: Mechanism;
20
- capture?: boolean;
21
- }, before?: WrappedFunction): any;
22
- /**
23
- * Wraps addEventListener to capture UI breadcrumbs
24
- * @param eventName the event name (e.g. "click")
25
- * @returns wrapped breadcrumb events handler
26
- * @hidden
27
- */
28
- export declare function breadcrumbEventHandler(eventName: string, debounce?: boolean): (event: Event) => void;
29
- /**
30
- * Wraps addEventListener to capture keypress UI events
31
- * @returns wrapped keypress events handler
32
- * @hidden
33
- */
34
- export declare function keypressEventHandler(): (event: Event) => void;
35
- //# sourceMappingURL=helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,SAAS,EAAS,eAAe,EAAE,MAAM,eAAe,CAAC;AAQxF;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,OAAO,CAE7C;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,CAMxC;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAClB,EAAE,EAAE,eAAe,EACnB,OAAO,GAAE;IACP,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;CACd,EACN,MAAM,CAAC,EAAE,eAAe,GACvB,GAAG,CA2HL;AAID;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,GAAE,OAAe,GAAG,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAoD3G;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,IAAI,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAmC7D"}
package/dist/helpers.js DELETED
@@ -1,236 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.keypressEventHandler = exports.breadcrumbEventHandler = exports.wrap = exports.ignoreNextOnError = exports.shouldIgnoreOnError = void 0;
3
- var tslib_1 = require("tslib");
4
- var core_1 = require("@sentry/core");
5
- var utils_1 = require("@sentry/utils");
6
- var debounceDuration = 1000;
7
- var keypressTimeout;
8
- var lastCapturedEvent;
9
- var ignoreOnError = 0;
10
- /**
11
- * @hidden
12
- */
13
- function shouldIgnoreOnError() {
14
- return ignoreOnError > 0;
15
- }
16
- exports.shouldIgnoreOnError = shouldIgnoreOnError;
17
- /**
18
- * @hidden
19
- */
20
- function ignoreNextOnError() {
21
- // onerror should trigger before setTimeout
22
- ignoreOnError += 1;
23
- setTimeout(function () {
24
- ignoreOnError -= 1;
25
- });
26
- }
27
- exports.ignoreNextOnError = ignoreNextOnError;
28
- /**
29
- * Instruments the given function and sends an event to Sentry every time the
30
- * function throws an exception.
31
- *
32
- * @param fn A function to wrap.
33
- * @returns The wrapped function.
34
- * @hidden
35
- */
36
- function wrap(fn, options, before) {
37
- if (options === void 0) { options = {}; }
38
- // tslint:disable-next-line:strict-type-predicates
39
- if (typeof fn !== 'function') {
40
- return fn;
41
- }
42
- try {
43
- // We don't wanna wrap it twice
44
- if (fn.__sentry__) {
45
- return fn;
46
- }
47
- // If this has already been wrapped in the past, return that wrapped function
48
- if (fn.__sentry_wrapped__) {
49
- return fn.__sentry_wrapped__;
50
- }
51
- }
52
- catch (e) {
53
- // Just accessing custom props in some Selenium environments
54
- // can cause a "Permission denied" exception (see raven-js#495).
55
- // Bail on wrapping and return the function as-is (defers to window.onerror).
56
- return fn;
57
- }
58
- var sentryWrapped = function () {
59
- // tslint:disable-next-line:strict-type-predicates
60
- if (before && typeof before === 'function') {
61
- before.apply(this, arguments);
62
- }
63
- var args = Array.prototype.slice.call(arguments);
64
- // tslint:disable:no-unsafe-any
65
- try {
66
- var wrappedArguments = args.map(function (arg) { return wrap(arg, options); });
67
- if (fn.handleEvent) {
68
- // Attempt to invoke user-land function
69
- // NOTE: If you are a Sentry user, and you are seeing this stack frame, it
70
- // means the sentry.javascript SDK caught an error invoking your application code. This
71
- // is expected behavior and NOT indicative of a bug with sentry.javascript.
72
- return fn.handleEvent.apply(this, wrappedArguments);
73
- }
74
- // Attempt to invoke user-land function
75
- // NOTE: If you are a Sentry user, and you are seeing this stack frame, it
76
- // means the sentry.javascript SDK caught an error invoking your application code. This
77
- // is expected behavior and NOT indicative of a bug with sentry.javascript.
78
- return fn.apply(this, wrappedArguments);
79
- // tslint:enable:no-unsafe-any
80
- }
81
- catch (ex) {
82
- ignoreNextOnError();
83
- core_1.withScope(function (scope) {
84
- scope.addEventProcessor(function (event) {
85
- var processedEvent = tslib_1.__assign({}, event);
86
- if (options.mechanism) {
87
- utils_1.addExceptionTypeValue(processedEvent, undefined, undefined);
88
- utils_1.addExceptionMechanism(processedEvent, options.mechanism);
89
- }
90
- processedEvent.extra = tslib_1.__assign(tslib_1.__assign({}, processedEvent.extra), { arguments: utils_1.normalize(args, 3) });
91
- return processedEvent;
92
- });
93
- core_1.captureException(ex);
94
- });
95
- throw ex;
96
- }
97
- };
98
- // Accessing some objects may throw
99
- // ref: https://github.com/getsentry/sentry-javascript/issues/1168
100
- try {
101
- // tslint:disable-next-line: no-for-in
102
- for (var property in fn) {
103
- if (Object.prototype.hasOwnProperty.call(fn, property)) {
104
- sentryWrapped[property] = fn[property];
105
- }
106
- }
107
- }
108
- catch (_oO) { } // tslint:disable-line:no-empty
109
- fn.prototype = fn.prototype || {};
110
- sentryWrapped.prototype = fn.prototype;
111
- Object.defineProperty(fn, '__sentry_wrapped__', {
112
- enumerable: false,
113
- value: sentryWrapped,
114
- });
115
- // Signal that this function has been wrapped/filled already
116
- // for both debugging and to prevent it to being wrapped/filled twice
117
- Object.defineProperties(sentryWrapped, {
118
- __sentry__: {
119
- enumerable: false,
120
- value: true,
121
- },
122
- __sentry_original__: {
123
- enumerable: false,
124
- value: fn,
125
- },
126
- });
127
- // Restore original function name (not all browsers allow that)
128
- try {
129
- var descriptor = Object.getOwnPropertyDescriptor(sentryWrapped, 'name');
130
- if (descriptor.configurable) {
131
- Object.defineProperty(sentryWrapped, 'name', {
132
- get: function () {
133
- return fn.name;
134
- },
135
- });
136
- }
137
- }
138
- catch (_oO) {
139
- /*no-empty*/
140
- }
141
- return sentryWrapped;
142
- }
143
- exports.wrap = wrap;
144
- var debounceTimer = 0;
145
- /**
146
- * Wraps addEventListener to capture UI breadcrumbs
147
- * @param eventName the event name (e.g. "click")
148
- * @returns wrapped breadcrumb events handler
149
- * @hidden
150
- */
151
- function breadcrumbEventHandler(eventName, debounce) {
152
- if (debounce === void 0) { debounce = false; }
153
- return function (event) {
154
- // reset keypress timeout; e.g. triggering a 'click' after
155
- // a 'keypress' will reset the keypress debounce so that a new
156
- // set of keypresses can be recorded
157
- keypressTimeout = undefined;
158
- // It's possible this handler might trigger multiple times for the same
159
- // event (e.g. event propagation through node ancestors). Ignore if we've
160
- // already captured the event.
161
- // tslint:disable-next-line: strict-comparisons
162
- if (!event || lastCapturedEvent === event) {
163
- return;
164
- }
165
- lastCapturedEvent = event;
166
- var captureBreadcrumb = function () {
167
- var target;
168
- // Accessing event.target can throw (see getsentry/raven-js#838, #768)
169
- try {
170
- target = event.target ? utils_1.htmlTreeAsString(event.target) : utils_1.htmlTreeAsString(event);
171
- }
172
- catch (e) {
173
- target = '<unknown>';
174
- }
175
- if (target.length === 0) {
176
- return;
177
- }
178
- core_1.getCurrentHub().addBreadcrumb({
179
- category: "ui." + eventName,
180
- message: target,
181
- }, {
182
- event: event,
183
- name: eventName,
184
- });
185
- };
186
- if (debounceTimer) {
187
- clearTimeout(debounceTimer);
188
- }
189
- if (debounce) {
190
- debounceTimer = setTimeout(captureBreadcrumb);
191
- }
192
- else {
193
- captureBreadcrumb();
194
- }
195
- };
196
- }
197
- exports.breadcrumbEventHandler = breadcrumbEventHandler;
198
- /**
199
- * Wraps addEventListener to capture keypress UI events
200
- * @returns wrapped keypress events handler
201
- * @hidden
202
- */
203
- function keypressEventHandler() {
204
- // TODO: if somehow user switches keypress target before
205
- // debounce timeout is triggered, we will only capture
206
- // a single breadcrumb from the FIRST target (acceptable?)
207
- return function (event) {
208
- var target;
209
- try {
210
- target = event.target;
211
- }
212
- catch (e) {
213
- // just accessing event properties can throw an exception in some rare circumstances
214
- // see: https://github.com/getsentry/raven-js/issues/838
215
- return;
216
- }
217
- var tagName = target && target.tagName;
218
- // only consider keypress events on actual input elements
219
- // this will disregard keypresses targeting body (e.g. tabbing
220
- // through elements, hotkeys, etc)
221
- if (!tagName || (tagName !== 'INPUT' && tagName !== 'TEXTAREA' && !target.isContentEditable)) {
222
- return;
223
- }
224
- // record first keypress in a series, but ignore subsequent
225
- // keypresses until debounce clears
226
- if (!keypressTimeout) {
227
- breadcrumbEventHandler('input')(event);
228
- }
229
- clearTimeout(keypressTimeout);
230
- keypressTimeout = setTimeout(function () {
231
- keypressTimeout = undefined;
232
- }, debounceDuration);
233
- };
234
- }
235
- exports.keypressEventHandler = keypressEventHandler;
236
- //# sourceMappingURL=helpers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.js","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":";;;AAAA,qCAA0E;AAE1E,uCAA0G;AAE1G,IAAM,gBAAgB,GAAW,IAAI,CAAC;AACtC,IAAI,eAAmC,CAAC;AACxC,IAAI,iBAAoC,CAAC;AACzC,IAAI,aAAa,GAAW,CAAC,CAAC;AAE9B;;GAEG;AACH,SAAgB,mBAAmB;IACjC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C7G,OAAO;SACR;QAED,2DAA2D;QAC3D,mCAAmC;QACnC,IAAI,CAAC,eAAe,EAAE;YACpB,sBAAsB,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC;SACxC;QACD,YAAY,CAAC,eAAe,CAAC,CAAC;QAE9B,eAAe,GAAI,UAAU,CAAC;YAC5B,eAAe,GAAG,SAAS,CAAC;QAC9B,CAAC,EAAE,gBAAgB,CAAmB,CAAC;IACzC,CAAC,CAAC;AACJ,CAAC;AAnCD,oDAmCC","sourcesContent":["import { captureException, getCurrentHub, withScope } from '@sentry/core';\nimport { Event as SentryEvent, Mechanism, Scope, WrappedFunction } from '@sentry/types';\nimport { addExceptionMechanism, addExceptionTypeValue, htmlTreeAsString, normalize } from '@sentry/utils';\n\nconst debounceDuration: number = 1000;\nlet keypressTimeout: number | undefined;\nlet lastCapturedEvent: Event | undefined;\nlet ignoreOnError: number = 0;\n\n/**\n * @hidden\n */\nexport function shouldIgnoreOnError(): boolean {\n return ignoreOnError > 0;\n}\n\n/**\n * @hidden\n */\nexport function ignoreNextOnError(): void {\n // onerror should trigger before setTimeout\n ignoreOnError += 1;\n setTimeout(() => {\n ignoreOnError -= 1;\n });\n}\n\n/**\n * Instruments the given function and sends an event to Sentry every time the\n * function throws an exception.\n *\n * @param fn A function to wrap.\n * @returns The wrapped function.\n * @hidden\n */\nexport function wrap(\n fn: WrappedFunction,\n options: {\n mechanism?: Mechanism;\n capture?: boolean;\n } = {},\n before?: WrappedFunction,\n): any {\n // tslint:disable-next-line:strict-type-predicates\n if (typeof fn !== 'function') {\n return fn;\n }\n\n try {\n // We don't wanna wrap it twice\n if (fn.__sentry__) {\n return fn;\n }\n\n // If this has already been wrapped in the past, return that wrapped function\n if (fn.__sentry_wrapped__) {\n return fn.__sentry_wrapped__;\n }\n } catch (e) {\n // Just accessing custom props in some Selenium environments\n // can cause a \"Permission denied\" exception (see raven-js#495).\n // Bail on wrapping and return the function as-is (defers to window.onerror).\n return fn;\n }\n\n const sentryWrapped: WrappedFunction = function (this: any): void {\n // tslint:disable-next-line:strict-type-predicates\n if (before && typeof before === 'function') {\n before.apply(this, arguments);\n }\n\n const args = Array.prototype.slice.call(arguments);\n\n // tslint:disable:no-unsafe-any\n try {\n const wrappedArguments = args.map((arg: any) => wrap(arg, options));\n\n if (fn.handleEvent) {\n // Attempt to invoke user-land function\n // NOTE: If you are a Sentry user, and you are seeing this stack frame, it\n // means the sentry.javascript SDK caught an error invoking your application code. This\n // is expected behavior and NOT indicative of a bug with sentry.javascript.\n return fn.handleEvent.apply(this, wrappedArguments);\n }\n\n // Attempt to invoke user-land function\n // NOTE: If you are a Sentry user, and you are seeing this stack frame, it\n // means the sentry.javascript SDK caught an error invoking your application code. This\n // is expected behavior and NOT indicative of a bug with sentry.javascript.\n return fn.apply(this, wrappedArguments);\n // tslint:enable:no-unsafe-any\n } catch (ex) {\n ignoreNextOnError();\n\n withScope((scope: Scope) => {\n scope.addEventProcessor((event: SentryEvent) => {\n const processedEvent = { ...event };\n\n if (options.mechanism) {\n addExceptionTypeValue(processedEvent, undefined, undefined);\n addExceptionMechanism(processedEvent, options.mechanism);\n }\n\n processedEvent.extra = {\n ...processedEvent.extra,\n arguments: normalize(args, 3),\n };\n\n return processedEvent;\n });\n\n captureException(ex);\n });\n\n throw ex;\n }\n };\n\n // Accessing some objects may throw\n // ref: https://github.com/getsentry/sentry-javascript/issues/1168\n try {\n // tslint:disable-next-line: no-for-in\n for (const property in fn) {\n if (Object.prototype.hasOwnProperty.call(fn, property)) {\n sentryWrapped[property] = fn[property];\n }\n }\n } catch (_oO) { } // tslint:disable-line:no-empty\n\n fn.prototype = fn.prototype || {};\n sentryWrapped.prototype = fn.prototype;\n\n Object.defineProperty(fn, '__sentry_wrapped__', {\n enumerable: false,\n value: sentryWrapped,\n });\n\n // Signal that this function has been wrapped/filled already\n // for both debugging and to prevent it to being wrapped/filled twice\n Object.defineProperties(sentryWrapped, {\n __sentry__: {\n enumerable: false,\n value: true,\n },\n __sentry_original__: {\n enumerable: false,\n value: fn,\n },\n });\n\n // Restore original function name (not all browsers allow that)\n try {\n const descriptor = Object.getOwnPropertyDescriptor(sentryWrapped, 'name') as PropertyDescriptor;\n if (descriptor.configurable) {\n Object.defineProperty(sentryWrapped, 'name', {\n get(): string {\n return fn.name;\n },\n });\n }\n } catch (_oO) {\n /*no-empty*/\n }\n\n return sentryWrapped;\n}\n\nlet debounceTimer: number = 0;\n\n/**\n * Wraps addEventListener to capture UI breadcrumbs\n * @param eventName the event name (e.g. \"click\")\n * @returns wrapped breadcrumb events handler\n * @hidden\n */\nexport function breadcrumbEventHandler(eventName: string, debounce: boolean = false): (event: Event) => void {\n return (event: Event) => {\n // reset keypress timeout; e.g. triggering a 'click' after\n // a 'keypress' will reset the keypress debounce so that a new\n // set of keypresses can be recorded\n keypressTimeout = undefined;\n // It's possible this handler might trigger multiple times for the same\n // event (e.g. event propagation through node ancestors). Ignore if we've\n // already captured the event.\n // tslint:disable-next-line: strict-comparisons\n if (!event || lastCapturedEvent === event) {\n return;\n }\n\n lastCapturedEvent = event;\n\n const captureBreadcrumb = () => {\n let target;\n\n // Accessing event.target can throw (see getsentry/raven-js#838, #768)\n try {\n target = event.target ? htmlTreeAsString(event.target as Node) : htmlTreeAsString((event as unknown) as Node);\n } catch (e) {\n target = '<unknown>';\n }\n\n if (target.length === 0) {\n return;\n }\n\n getCurrentHub().addBreadcrumb(\n {\n category: `ui.${eventName}`, // e.g. ui.click, ui.input\n message: target,\n },\n {\n event,\n name: eventName,\n },\n );\n };\n\n if (debounceTimer) {\n clearTimeout(debounceTimer);\n }\n\n if (debounce) {\n debounceTimer = setTimeout(captureBreadcrumb);\n } else {\n captureBreadcrumb();\n }\n };\n}\n\n/**\n * Wraps addEventListener to capture keypress UI events\n * @returns wrapped keypress events handler\n * @hidden\n */\nexport function keypressEventHandler(): (event: Event) => void {\n // TODO: if somehow user switches keypress target before\n // debounce timeout is triggered, we will only capture\n // a single breadcrumb from the FIRST target (acceptable?)\n return (event: Event) => {\n let target;\n\n try {\n target = event.target;\n } catch (e) {\n // just accessing event properties can throw an exception in some rare circumstances\n // see: https://github.com/getsentry/raven-js/issues/838\n return;\n }\n\n const tagName = target && (target as HTMLElement).tagName;\n\n // only consider keypress events on actual input elements\n // this will disregard keypresses targeting body (e.g. tabbing\n // through elements, hotkeys, etc)\n if (!tagName || (tagName !== 'INPUT' && tagName !== 'TEXTAREA' && !(target as HTMLElement).isContentEditable)) {\n return;\n }\n\n // record first keypress in a series, but ignore subsequent\n // keypresses until debounce clears\n if (!keypressTimeout) {\n breadcrumbEventHandler('input')(event);\n }\n clearTimeout(keypressTimeout);\n\n keypressTimeout = (setTimeout(() => {\n keypressTimeout = undefined;\n }, debounceDuration) as any) as number;\n };\n}\n"]}
@@ -1,40 +0,0 @@
1
- import { Integration } from '@sentry/types';
2
- /** Adds SDK info to an event. */
3
- export declare class LinkedErrors implements Integration {
4
- /**
5
- * @inheritDoc
6
- */
7
- readonly name: string;
8
- /**
9
- * @inheritDoc
10
- */
11
- static id: string;
12
- /**
13
- * @inheritDoc
14
- */
15
- private readonly _key;
16
- /**
17
- * @inheritDoc
18
- */
19
- private readonly _limit;
20
- /**
21
- * @inheritDoc
22
- */
23
- constructor(options?: {
24
- key?: string;
25
- limit?: number;
26
- });
27
- /**
28
- * @inheritDoc
29
- */
30
- setupOnce(): void;
31
- /**
32
- * @inheritDoc
33
- */
34
- private _handler;
35
- /**
36
- * @inheritDoc
37
- */
38
- private _walkErrorTree;
39
- }
40
- //# sourceMappingURL=linkederrors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"linkederrors.d.ts","sourceRoot":"","sources":["../../src/integrations/linkederrors.ts"],"names":[],"mappings":"AACA,OAAO,EAA8C,WAAW,EAAE,MAAM,eAAe,CAAC;AAQxF,iCAAiC;AACjC,qBAAa,YAAa,YAAW,WAAW;IAC9C;;OAEG;IACH,SAAgB,IAAI,EAAE,MAAM,CAAmB;IAE/C;;OAEG;IACH,OAAc,EAAE,EAAE,MAAM,CAAkB;IAE1C;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAS;IAE9B;;OAEG;IACH,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;OAEG;gBACgB,OAAO,GAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAO;IAKjE;;OAEG;IACI,SAAS,IAAI,IAAI;IAUxB;;OAEG;IACH,OAAO,CAAC,QAAQ;IAShB;;OAEG;IACH,OAAO,CAAC,cAAc;CAQvB"}