@sentry/node 8.0.0-alpha.5 → 8.0.0-alpha.7

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 (84) hide show
  1. package/cjs/index.js +65 -31
  2. package/cjs/index.js.map +1 -1
  3. package/esm/index.js +67 -34
  4. package/esm/index.js.map +1 -1
  5. package/esm/integrations/anr/worker-script.js +2 -2
  6. package/package.json +7 -7
  7. package/types/index.d.ts +1 -1
  8. package/types/index.d.ts.map +1 -1
  9. package/types/integrations/anr/index.d.ts +2 -2
  10. package/types/integrations/anr/index.d.ts.map +1 -1
  11. package/types/integrations/console.d.ts +1 -1
  12. package/types/integrations/console.d.ts.map +1 -1
  13. package/types/integrations/context.d.ts +1 -1
  14. package/types/integrations/context.d.ts.map +1 -1
  15. package/types/integrations/contextlines.d.ts +1 -1
  16. package/types/integrations/contextlines.d.ts.map +1 -1
  17. package/types/integrations/http.d.ts +1 -1
  18. package/types/integrations/http.d.ts.map +1 -1
  19. package/types/integrations/local-variables/index.d.ts +1 -1
  20. package/types/integrations/local-variables/index.d.ts.map +1 -1
  21. package/types/integrations/local-variables/local-variables-sync.d.ts +1 -1
  22. package/types/integrations/local-variables/local-variables-sync.d.ts.map +1 -1
  23. package/types/integrations/modules.d.ts +1 -1
  24. package/types/integrations/modules.d.ts.map +1 -1
  25. package/types/integrations/node-fetch.d.ts +1 -1
  26. package/types/integrations/node-fetch.d.ts.map +1 -1
  27. package/types/integrations/onuncaughtexception.d.ts +1 -1
  28. package/types/integrations/onuncaughtexception.d.ts.map +1 -1
  29. package/types/integrations/onunhandledrejection.d.ts +1 -1
  30. package/types/integrations/onunhandledrejection.d.ts.map +1 -1
  31. package/types/integrations/spotlight.d.ts +1 -1
  32. package/types/integrations/spotlight.d.ts.map +1 -1
  33. package/types/integrations/tracing/express.d.ts +1 -1
  34. package/types/integrations/tracing/express.d.ts.map +1 -1
  35. package/types/integrations/tracing/fastify.d.ts +1 -1
  36. package/types/integrations/tracing/fastify.d.ts.map +1 -1
  37. package/types/integrations/tracing/graphql.d.ts +1 -1
  38. package/types/integrations/tracing/graphql.d.ts.map +1 -1
  39. package/types/integrations/tracing/hapi/index.d.ts +1 -1
  40. package/types/integrations/tracing/hapi/index.d.ts.map +1 -1
  41. package/types/integrations/tracing/index.d.ts.map +1 -1
  42. package/types/integrations/tracing/koa.d.ts +1 -1
  43. package/types/integrations/tracing/koa.d.ts.map +1 -1
  44. package/types/integrations/tracing/mongo.d.ts +1 -1
  45. package/types/integrations/tracing/mongo.d.ts.map +1 -1
  46. package/types/integrations/tracing/mongoose.d.ts +1 -1
  47. package/types/integrations/tracing/mongoose.d.ts.map +1 -1
  48. package/types/integrations/tracing/mysql.d.ts +1 -1
  49. package/types/integrations/tracing/mysql.d.ts.map +1 -1
  50. package/types/integrations/tracing/mysql2.d.ts +1 -1
  51. package/types/integrations/tracing/mysql2.d.ts.map +1 -1
  52. package/types/integrations/tracing/nest.d.ts +1 -1
  53. package/types/integrations/tracing/nest.d.ts.map +1 -1
  54. package/types/integrations/tracing/postgres.d.ts +1 -1
  55. package/types/integrations/tracing/postgres.d.ts.map +1 -1
  56. package/types/integrations/tracing/prisma.d.ts +1 -1
  57. package/types/integrations/tracing/prisma.d.ts.map +1 -1
  58. package/types/sdk/init.d.ts.map +1 -1
  59. package/types/transports/http.d.ts.map +1 -1
  60. package/types-ts3.8/index.d.ts +1 -1
  61. package/types-ts3.8/integrations/anr/index.d.ts +2 -2
  62. package/types-ts3.8/integrations/console.d.ts +1 -1
  63. package/types-ts3.8/integrations/context.d.ts +1 -1
  64. package/types-ts3.8/integrations/contextlines.d.ts +1 -1
  65. package/types-ts3.8/integrations/http.d.ts +1 -1
  66. package/types-ts3.8/integrations/local-variables/index.d.ts +1 -1
  67. package/types-ts3.8/integrations/local-variables/local-variables-sync.d.ts +1 -1
  68. package/types-ts3.8/integrations/modules.d.ts +1 -1
  69. package/types-ts3.8/integrations/node-fetch.d.ts +1 -1
  70. package/types-ts3.8/integrations/onuncaughtexception.d.ts +1 -1
  71. package/types-ts3.8/integrations/onunhandledrejection.d.ts +1 -1
  72. package/types-ts3.8/integrations/spotlight.d.ts +1 -1
  73. package/types-ts3.8/integrations/tracing/express.d.ts +1 -1
  74. package/types-ts3.8/integrations/tracing/fastify.d.ts +1 -1
  75. package/types-ts3.8/integrations/tracing/graphql.d.ts +1 -1
  76. package/types-ts3.8/integrations/tracing/hapi/index.d.ts +1 -1
  77. package/types-ts3.8/integrations/tracing/koa.d.ts +1 -1
  78. package/types-ts3.8/integrations/tracing/mongo.d.ts +1 -1
  79. package/types-ts3.8/integrations/tracing/mongoose.d.ts +1 -1
  80. package/types-ts3.8/integrations/tracing/mysql.d.ts +1 -1
  81. package/types-ts3.8/integrations/tracing/mysql2.d.ts +1 -1
  82. package/types-ts3.8/integrations/tracing/nest.d.ts +1 -1
  83. package/types-ts3.8/integrations/tracing/postgres.d.ts +1 -1
  84. package/types-ts3.8/integrations/tracing/prisma.d.ts +1 -1
@@ -1,2 +1,2 @@
1
- /*! @sentry/node 8.0.0-alpha.5 (1445131) | https://github.com/getsentry/sentry-javascript */
2
- import{Session as t}from"inspector";import{workerData as n,parentPort as e}from"worker_threads";import{posix as r,sep as o}from"path";import*as s from"node:http";import*as i from"node:https";import{Readable as c}from"stream";import{createGzip as u}from"zlib";import*as a from"net";import*as f from"tls";import*as l from"http";const p=Object.prototype.toString;function d(t,n){return p.call(t)===`[object ${n}]`}function h(t){return d(t,"Object")}function y(t,n){try{return t instanceof n}catch(t){return!1}}function m(t){return t&&t.Math==Math?t:void 0}const g="object"==typeof globalThis&&m(globalThis)||"object"==typeof window&&m(window)||"object"==typeof self&&m(self)||"object"==typeof global&&m(global)||function(){return this}()||{};const b=g,v=80;function _(t,n){const e=t,r=[];let o,s,i,c,u;if(!e||!e.tagName)return"";if(b.HTMLElement&&e instanceof HTMLElement&&e.dataset&&e.dataset.sentryComponent)return e.dataset.sentryComponent;r.push(e.tagName.toLowerCase());const a=n&&n.length?n.filter((t=>e.getAttribute(t))).map((t=>[t,e.getAttribute(t)])):null;if(a&&a.length)a.forEach((t=>{r.push(`[${t[0]}="${t[1]}"]`)}));else if(e.id&&r.push(`#${e.id}`),o=e.className,o&&d(o,"String"))for(s=o.split(/\s+/),u=0;u<s.length;u++)r.push(`.${s[u]}`);const f=["aria-label","type","name","title","alt"];for(u=0;u<f.length;u++)i=f[u],c=e.getAttribute(i),c&&r.push(`[${i}="${c}"]`);return r.join("")}const w="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,$=["debug","info","warn","error","log","assert","trace"],E={};function N(t){if(!("console"in g))return t();const n=g.console,e={},r=Object.keys(E);r.forEach((t=>{const r=E[t];e[t]=n[t],n[t]=r}));try{return t()}finally{r.forEach((t=>{n[t]=e[t]}))}}const S=function(){let t=!1;const n={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return w?$.forEach((e=>{n[e]=(...n)=>{t&&N((()=>{g.console[e](`Sentry Logger [${e}]:`,...n)}))}})):$.forEach((t=>{n[t]=()=>{}})),n}();function k(t,n=!1){const{host:e,path:r,pass:o,port:s,projectId:i,protocol:c,publicKey:u}=t;return`${c}://${u}${n&&o?`:${o}`:""}@${e}${s?`:${s}`:""}/${r?`${r}/`:r}${i}`}class A extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}const x=50,C="?",D=/captureMessage|captureException/;const j="<anonymous>";function T(t){if(function(t){switch(p.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return y(t,Error)}}(t))return{message:t.message,name:t.name,stack:t.stack,...R(t)};if(n=t,"undefined"!=typeof Event&&y(n,Event)){const n={type:t.type,target:O(t.target),currentTarget:O(t.currentTarget),...R(t)};return"undefined"!=typeof CustomEvent&&y(t,CustomEvent)&&(n.detail=t.detail),n}return t;var n}function O(t){try{return n=t,"undefined"!=typeof Element&&y(n,Element)?function(t,n={}){if(!t)return"<unknown>";try{let e=t;const r=5,o=[];let s=0,i=0;const c=" > ",u=c.length;let a;const f=Array.isArray(n)?n:n.keyAttrs,l=!Array.isArray(n)&&n.maxStringLength||v;for(;e&&s++<r&&(a=_(e,f),!("html"===a||s>1&&i+o.length*u+a.length>=l));)o.push(a),i+=a.length,e=e.parentNode;return o.reverse().join(c)}catch(t){return"<unknown>"}}(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}var n}function R(t){if("object"==typeof t&&null!==t){const n={};for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n}return{}}function P(t){return I(t,new Map)}function I(t,n){if(function(t){if(!h(t))return!1;try{const n=Object.getPrototypeOf(t).constructor.name;return!n||"Object"===n}catch(t){return!0}}(t)){const e=n.get(t);if(void 0!==e)return e;const r={};n.set(t,r);for(const e of Object.keys(t))void 0!==t[e]&&(r[e]=I(t[e],n));return r}if(Array.isArray(t)){const e=n.get(t);if(void 0!==e)return e;const r=[];return n.set(t,r),t.forEach((t=>{r.push(I(t,n))})),r}return t}function U(){const t=g,n=t.crypto||t.msCrypto;let e=()=>16*Math.random();try{if(n&&n.randomUUID)return n.randomUUID().replace(/-/g,"");n&&n.getRandomValues&&(e=()=>{const t=new Uint8Array(1);return n.getRandomValues(t),t[0]})}catch(t){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&e())>>t/4).toString(16)))}function M(t,n=100,e=1/0){try{return L("",t,n,e)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function L(t,n,e=1/0,r=1/0,o=function(){const t="function"==typeof WeakSet,n=t?new WeakSet:[];return[function(e){if(t)return!!n.has(e)||(n.add(e),!1);for(let t=0;t<n.length;t++)if(n[t]===e)return!0;return n.push(e),!1},function(e){if(t)n.delete(e);else for(let t=0;t<n.length;t++)if(n[t]===e){n.splice(t,1);break}}]}()){const[s,i]=o;if(null==n||["number","boolean","string"].includes(typeof n)&&("number"!=typeof(c=n)||c==c))return n;var c;const u=function(t,n){try{if("domain"===t&&n&&"object"==typeof n&&n.t)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if("undefined"!=typeof global&&n===global)return"[Global]";if("undefined"!=typeof window&&n===window)return"[Window]";if("undefined"!=typeof document&&n===document)return"[Document]";if(function(t){return!("object"!=typeof t||null===t||!t.__isVue&&!t.o)}(n))return"[VueViewModel]";if(function(t){return h(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}(n))return"[SyntheticEvent]";if("number"==typeof n&&n!=n)return"[NaN]";if("function"==typeof n)return`[Function: ${function(t){try{return t&&"function"==typeof t&&t.name||j}catch(t){return j}}(n)}]`;if("symbol"==typeof n)return`[${String(n)}]`;if("bigint"==typeof n)return`[BigInt: ${String(n)}]`;const e=function(t){const n=Object.getPrototypeOf(t);return n?n.constructor.name:"null prototype"}(n);return/^HTML(\w*)Element$/.test(e)?`[HTMLElement: ${e}]`:`[object ${e}]`}catch(t){return`**non-serializable** (${t})`}}(t,n);if(!u.startsWith("[object "))return u;if(n.__sentry_skip_normalization__)return n;const a="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:e;if(0===a)return u.replace("object ","");if(s(n))return"[Circular ~]";const f=n;if(f&&"function"==typeof f.toJSON)try{return L("",f.toJSON(),a-1,r,o)}catch(t){}const l=Array.isArray(n)?[]:{};let p=0;const d=T(n);for(const t in d){if(!Object.prototype.hasOwnProperty.call(d,t))continue;if(p>=r){l[t]="[MaxProperties ~]";break}const n=d[t];l[t]=L(t,n,a-1,r,o),p++}return i(n),l}function B(t,n){const e=n.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");let r=t;try{r=decodeURI(t)}catch(t){}return r.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(new RegExp(`(file://)?/*${e}/*`,"ig"),"app:///")}const J=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function z(t){const n=function(t){const n=t.length>1024?`<truncated>${t.slice(-1024)}`:t,e=J.exec(n);return e?e.slice(1):[]}(t),e=n[0];let r=n[1];return e||r?(r&&(r=r.slice(0,r.length-1)),e+r):"."}var G;function H(t){return new W((n=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(G||(G={}));class W{constructor(t){W.prototype.__init.call(this),W.prototype.__init2.call(this),W.prototype.__init3.call(this),W.prototype.__init4.call(this),this.i=G.PENDING,this.u=[];try{t(this.l,this.p)}catch(t){this.p(t)}}then(t,n){return new W(((e,r)=>{this.u.push([!1,n=>{if(t)try{e(t(n))}catch(t){r(t)}else e(n)},t=>{if(n)try{e(n(t))}catch(t){r(t)}else r(t)}]),this.h()}))}catch(t){return this.then((t=>t),t)}finally(t){return new W(((n,e)=>{let r,o;return this.then((n=>{o=!1,r=n,t&&t()}),(n=>{o=!0,r=n,t&&t()})).then((()=>{o?e(r):n(r)}))}))}__init(){this.l=t=>{this.m(G.RESOLVED,t)}}__init2(){this.p=t=>{this.m(G.REJECTED,t)}}__init3(){this.m=(t,n)=>{var e;this.i===G.PENDING&&(e=n,Boolean(e&&e.then&&"function"==typeof e.then)?n.then(this.l,this.p):(this.i=t,this.v=n,this.h()))}}__init4(){this.h=()=>{if(this.i===G.PENDING)return;const t=this.u.slice();this.u=[],t.forEach((t=>{t[0]||(this.i===G.RESOLVED&&t[1](this.v),this.i===G.REJECTED&&t[2](this.v),t[0]=!0)}))}}}function Y(t){const n=[];function e(t){return n.splice(n.indexOf(t),1)[0]}return{$:n,add:function(r){if(!(void 0===t||n.length<t))return o=new A("Not adding Promise because buffer limit was reached."),new W(((t,n)=>{n(o)}));var o;const s=r();return-1===n.indexOf(s)&&n.push(s),s.then((()=>e(s))).then(null,(()=>e(s).then(null,(()=>{})))),s},drain:function(t){return new W(((e,r)=>{let o=n.length;if(!o)return e(!0);const s=setTimeout((()=>{t&&t>0&&e(!1)}),t);n.forEach((t=>{H(t).then((()=>{--o||(clearTimeout(s),e(!0))}),r)}))}))}}}function Z(t,n=!1){return!(n||t&&!t.startsWith("/")&&!t.match(/^[A-Z]:/)&&!t.startsWith(".")&&!t.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//))&&void 0!==t&&!t.includes("node_modules/")}const V=1e3;function q(){return Date.now()/V}const K=function(){const{performance:t}=g;if(!t||!t.now)return q;const n=Date.now()-t.now(),e=null==t.timeOrigin?n:t.timeOrigin;return()=>(e+t.now())/V}();function F(t,n=[]){return[t,n]}function Q(t,n){const e=t[1];for(const t of e){if(n(t,t[0].type))return!0}return!1}function X(t){return(new TextEncoder).encode(t)}function tt(t){const[n,e]=t;let r=JSON.stringify(n);function o(t){"string"==typeof r?r="string"==typeof t?r+t:[X(r),t]:r.push("string"==typeof t?X(t):t)}for(const t of e){const[n,e]=t;if(o(`\n${JSON.stringify(n)}\n`),"string"==typeof e||e instanceof Uint8Array)o(e);else{let t;try{t=JSON.stringify(e)}catch(n){t=JSON.stringify(M(e))}o(t)}}return"string"==typeof r?r:function(t){const n=t.reduce(((t,n)=>t+n.length),0),e=new Uint8Array(n);let r=0;for(const n of t)e.set(n,r),r+=n.length;return e}(r)}(()=>{const{performance:t}=g;if(!t||!t.now)return;const n=36e5,e=t.now(),r=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+e-r):n,s=o<n,i=t.timing&&t.timing.navigationStart,c="number"==typeof i?Math.abs(i+e-r):n;(s||c<n)&&(o<=c&&t.timeOrigin)})();const nt={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",statsd:"statsd"};function et(t){return nt[t]}function rt(t){if(!t||!t.sdk)return;const{name:n,version:e}=t.sdk;return{name:n,version:e}}const ot=6e4;function st(t,{statusCode:n,headers:e},r=Date.now()){const o={...t},s=e&&e["x-sentry-rate-limits"],i=e&&e["retry-after"];if(s)for(const t of s.trim().split(",")){const[n,e]=t.split(":",2),s=parseInt(n,10),i=1e3*(isNaN(s)?60:s);if(e)for(const t of e.split(";"))o[t]=r+i;else o.all=r+i}else i?o.all=r+function(t,n=Date.now()){const e=parseInt(`${t}`,10);if(!isNaN(e))return 1e3*e;const r=Date.parse(`${t}`);return isNaN(r)?ot:r-n}(i,r):429===n&&(o.all=r+6e4);return o}const it="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function ct(t){const n=K(),e={sid:U(),init:!0,timestamp:n,started:n,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return P({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(e)};return t&&ut(e,t),e}function ut(t,n={}){if(n.user&&(!t.ipAddress&&n.user.ip_address&&(t.ipAddress=n.user.ip_address),t.did||n.did||(t.did=n.user.id||n.user.email||n.user.username)),t.timestamp=n.timestamp||K(),n.abnormal_mechanism&&(t.abnormal_mechanism=n.abnormal_mechanism),n.ignoreDuration&&(t.ignoreDuration=n.ignoreDuration),n.sid&&(t.sid=32===n.sid.length?n.sid:U()),void 0!==n.init&&(t.init=n.init),!t.did&&n.did&&(t.did=`${n.did}`),"number"==typeof n.started&&(t.started=n.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof n.duration)t.duration=n.duration;else{const n=t.timestamp-t.started;t.duration=n>=0?n:0}n.release&&(t.release=n.release),n.environment&&(t.environment=n.environment),!t.ipAddress&&n.ipAddress&&(t.ipAddress=n.ipAddress),!t.userAgent&&n.userAgent&&(t.userAgent=n.userAgent),"number"==typeof n.errors&&(t.errors=n.errors),n.status&&(t.status=n.status)}function at(t,n,e,r){const o=rt(e),s=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,n){n&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||n.name,t.sdk.version=t.sdk.version||n.version,t.sdk.integrations=[...t.sdk.integrations||[],...n.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...n.packages||[]])}(t,e&&e.sdk);const i=function(t,n,e,r){const o=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...n&&{sdk:n},...!!e&&r&&{dsn:k(r)},...o&&{trace:P({...o})}}}(t,o,r,n);delete t.sdkProcessingMetadata;return F(i,[[{type:s},t]])}const ft="7";function lt(t,n){return e={sentry_key:t.publicKey,sentry_version:ft,...n&&{sentry_client:`${n.name}/${n.version}`}},Object.keys(e).map((t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`)).join("&");var e}const pt=30;function dt(t,n,e=Y(t.bufferSize||pt)){let r={};return{send:function(o){const s=[];if(Q(o,((n,e)=>{const o=et(e);if(function(t,n,e=Date.now()){return function(t,n){return t[n]||t.all||0}(t,n)>e}(r,o)){const r=ht(n,e);t.recordDroppedEvent("ratelimit_backoff",o,r)}else s.push(n)})),0===s.length)return H({});const i=F(o[0],s),c=n=>{Q(i,((e,r)=>{const o=ht(e,r);t.recordDroppedEvent(n,et(r),o)}))};return e.add((()=>n({body:tt(i)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&it&&S.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),r=st(r,t),t)),(t=>{throw c("network_error"),t})))).then((t=>t),(t=>{if(t instanceof A)return it&&S.error("Skipped sending event because buffer is full."),c("queue_overflow"),H({});throw t}))},flush:t=>e.drain(t)}}function ht(t,n){if("event"===n||"transaction"===n)return Array.isArray(t)?t[1]:void 0}function yt(t,n){return null!=t?t:n()}const mt=Symbol("AgentBaseInternalState");class gt extends l.Agent{constructor(t){super(t),this[mt]={}}isSecureEndpoint(t){if(t){if("boolean"==typeof t.secureEndpoint)return t.secureEndpoint;if("string"==typeof t.protocol)return"https:"===t.protocol}const{stack:n}=new Error;return"string"==typeof n&&n.split("\n").some((t=>-1!==t.indexOf("(https.js:")||-1!==t.indexOf("node:https:")))}createSocket(t,n,e){const r={...n,secureEndpoint:this.isSecureEndpoint(n)};Promise.resolve().then((()=>this.connect(t,r))).then((o=>{if(o instanceof l.Agent)return o.addRequest(t,r);this[mt].currentSocket=o,super.createSocket(t,n,e)}),e)}createConnection(){const t=this[mt].currentSocket;if(this[mt].currentSocket=void 0,!t)throw new Error("No socket was returned in the `connect()` function");return t}get defaultPort(){return yt(this[mt].defaultPort,(()=>"https:"===this.protocol?443:80))}set defaultPort(t){this[mt]&&(this[mt].defaultPort=t)}get protocol(){return yt(this[mt].protocol,(()=>this.isSecureEndpoint()?"https:":"http:"))}set protocol(t){this[mt]&&(this[mt].protocol=t)}}function bt(...t){S.log("[https-proxy-agent:parse-proxy-response]",...t)}function vt(t){return new Promise(((n,e)=>{let r=0;const o=[];function s(){const c=t.read();c?function(c){o.push(c),r+=c.length;const u=Buffer.concat(o,r),a=u.indexOf("\r\n\r\n");if(-1===a)return bt("have not received end of HTTP headers yet..."),void s();const f=u.slice(0,a).toString("ascii").split("\r\n"),l=f.shift();if(!l)return t.destroy(),e(new Error("No header received from proxy CONNECT response"));const p=l.split(" "),d=+p[1],h=p.slice(2).join(" "),y={};for(const n of f){if(!n)continue;const r=n.indexOf(":");if(-1===r)return t.destroy(),e(new Error(`Invalid header from proxy CONNECT response: "${n}"`));const o=n.slice(0,r).toLowerCase(),s=n.slice(r+1).trimStart(),i=y[o];"string"==typeof i?y[o]=[i,s]:Array.isArray(i)?i.push(s):y[o]=s}bt("got proxy server response: %o %o",l,y),i(),n({connect:{statusCode:d,statusText:h,headers:y},buffered:u})}(c):t.once("readable",s)}function i(){t.removeListener("end",c),t.removeListener("error",u),t.removeListener("readable",s)}function c(){i(),bt("onend"),e(new Error("Proxy connection ended before receiving CONNECT response"))}function u(t){i(),bt("onerror %o",t),e(t)}t.on("error",u),t.on("end",c),s()}))}function _t(...t){S.log("[https-proxy-agent]",...t)}class wt extends gt{static __initStatic(){this.protocols=["http","https"]}constructor(t,n){var e,r;super(n),this.options={},this.proxy="string"==typeof t?new URL(t):t,this.proxyHeaders=(e=function(t){let n,e=t[0],r=1;for(;r<t.length;){const o=t[r],s=t[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==e)return;"access"===o||"optionalAccess"===o?(n=e,e=s(e)):"call"!==o&&"optionalCall"!==o||(e=s(((...t)=>e.call(n,...t))),n=void 0)}return e}([n,"optionalAccess",t=>t.headers]),r=()=>({}),null!=e?e:r()),_t("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const o=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),s=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...n?Et(n,"headers"):null,host:o,port:s}}async connect(t,n){const{proxy:e}=this;if(!n.host)throw new TypeError('No "host" provided');let r;if("https:"===e.protocol){_t("Creating `tls.Socket`: %o",this.connectOpts);const t=this.connectOpts.servername||this.connectOpts.host;r=f.connect({...this.connectOpts,servername:t&&a.isIP(t)?void 0:t})}else _t("Creating `net.Socket`: %o",this.connectOpts),r=a.connect(this.connectOpts);const o="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},s=a.isIPv6(n.host)?`[${n.host}]`:n.host;let i=`CONNECT ${s}:${n.port} HTTP/1.1\r\n`;if(e.username||e.password){const t=`${decodeURIComponent(e.username)}:${decodeURIComponent(e.password)}`;o["Proxy-Authorization"]=`Basic ${Buffer.from(t).toString("base64")}`}o.Host=`${s}:${n.port}`,o["Proxy-Connection"]||(o["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(const t of Object.keys(o))i+=`${t}: ${o[t]}\r\n`;const c=vt(r);r.write(`${i}\r\n`);const{connect:u,buffered:l}=await c;if(t.emit("proxyConnect",u),this.emit("proxyConnect",u,t),200===u.statusCode){if(t.once("socket",$t),n.secureEndpoint){_t("Upgrading socket connection to TLS");const t=n.servername||n.host;return f.connect({...Et(n,"host","path","port"),socket:r,servername:a.isIP(t)?void 0:t})}return r}r.destroy();const p=new a.Socket({writable:!1});return p.readable=!0,t.once("socket",(t=>{_t("Replaying proxy buffer for failed request"),t.push(l),t.push(null)})),p}}function $t(t){t.resume()}function Et(t,...n){const e={};let r;for(r in t)n.includes(r)||(e[r]=t[r]);return e}function Nt(t,n){return null!=t?t:n()}wt.__initStatic();const St=32768;function kt(t){return t.replace(/^[A-Z]:/,"").replace(/\\/g,"/")}function At(t){let n,e=t[0],r=1;for(;r<t.length;){const o=t[r],s=t[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==e)return;"access"===o||"optionalAccess"===o?(n=e,e=s(e)):"call"!==o&&"optionalCall"!==o||(e=s(((...t)=>e.call(n,...t))),n=void 0)}return e}const xt=n;let Ct,Dt=!1;function jt(t){xt.debug&&console.log(`[ANR Worker] ${t}`)}var Tt,Ot,Rt;const Pt=function(t){let n;try{n=new URL(t.url)}catch(n){return N((()=>{console.warn("[@sentry/node]: Invalid dsn or tunnel option, will not send any events. The tunnel option must be a full URL when used.")})),dt(t,(()=>Promise.resolve({})))}const e="https:"===n.protocol,r=function(t,n){const{no_proxy:e}=process.env;return e&&e.split(",").some((n=>t.host.endsWith(n)||t.hostname.endsWith(n)))?void 0:n}(n,t.proxy||(e?process.env.https_proxy:void 0)||process.env.http_proxy),o=e?i:s,a=void 0!==t.keepAlive&&t.keepAlive,f=r?new wt(r):new o.Agent({keepAlive:a,maxSockets:30,timeout:2e3}),l=function(t,n,e){const{hostname:r,pathname:o,port:s,protocol:i,search:a}=new URL(t.url);return function(f){return new Promise(((l,p)=>{let d=function(t){return new c({read(){this.push(t),this.push(null)}})}(f.body);const h={...t.headers};f.body.length>St&&(h["content-encoding"]="gzip",d=d.pipe(u()));const y=n.request({method:"POST",agent:e,headers:h,hostname:r,path:`${o}${a}`,port:s,protocol:i,ca:t.caCerts},(t=>{t.on("data",(()=>{})),t.on("end",(()=>{})),t.setEncoding("utf8");const n=Nt(t.headers["retry-after"],(()=>null)),e=Nt(t.headers["x-sentry-rate-limits"],(()=>null));l({statusCode:t.statusCode,headers:{"retry-after":n,"x-sentry-rate-limits":Array.isArray(e)?e[0]:e}})}));y.on("error",p),d.pipe(y)}))}}(t,Nt(t.httpModule,(()=>o)),f);return dt(t,l)}({url:(Tt=xt.dsn,Ot=xt.tunnel,Rt=xt.sdkMetadata.sdk,Ot||`${function(t){return`${function(t){const n=t.protocol?`${t.protocol}:`:"",e=t.port?`:${t.port}`:"";return`${n}//${t.host}${e}${t.path?`/${t.path}`:""}/api/`}(t)}${t.projectId}/envelope/`}(Tt)}?${lt(Tt,Rt)}`),recordDroppedEvent:()=>{}});async function It(){if(Ct){jt("Sending abnormal session"),ut(Ct,{status:"abnormal",abnormal_mechanism:"anr_foreground"});const t=function(t,n,e,r){const o=rt(e);return F({sent_at:(new Date).toISOString(),...o&&{sdk:o},...!!r&&n&&{dsn:k(n)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])}(Ct,xt.dsn,xt.sdkMetadata,xt.tunnel);jt(JSON.stringify(t)),await Pt.send(t);try{At([e,"optionalAccess",t=>t.postMessage,"call",t=>t("session-ended")])}catch(t){}}}function Ut(t){if(!t)return;const n=function(t){if(!t.length)return[];const n=Array.from(t);return/sentryWrapped/.test(n[n.length-1].function||"")&&n.pop(),n.reverse(),D.test(n[n.length-1].function||"")&&(n.pop(),D.test(n[n.length-1].function||"")&&n.pop()),n.slice(0,x).map((t=>({...t,filename:t.filename||n[n.length-1].filename,function:t.function||C})))}(t);if(xt.appRootPath)for(const t of n)t.filename&&(t.filename=B(t.filename,xt.appRootPath));return n}async function Mt(t,n){if(Dt)return;Dt=!0,await It(),jt("Sending event");const e=at({event_id:U(),contexts:{...xt.contexts,trace:n},release:xt.release,environment:xt.environment,dist:xt.dist,platform:"node",level:"error",exception:{values:[{type:"ApplicationNotResponding",value:`Application Not Responding for at least ${xt.anrThreshold} ms`,stacktrace:{frames:Ut(t)},mechanism:{type:"ANR"}}]},tags:xt.staticTags},xt.dsn,xt.sdkMetadata,xt.tunnel);jt(JSON.stringify(e)),await Pt.send(e),await Pt.flush(2e3),setTimeout((()=>{process.exit(0)}),5e3)}let Lt;if(jt("Started"),xt.captureStackTrace){jt("Connecting to debugger");const n=new t;n.connectToMainThread(),jt("Connected to debugger");const e=new Map;n.on("Debugger.scriptParsed",(t=>{e.set(t.params.scriptId,t.params.url)})),n.on("Debugger.paused",(t=>{if("other"===t.params.reason)try{jt("Debugger paused");const s=[...t.params.callFrames],i=xt.appRootPath?function(t=(process.argv[1]?z(process.argv[1]):process.cwd()),n="\\"===o){const e=n?kt(t):t;return t=>{if(!t)return;const o=n?kt(t):t;let{dir:s,base:i,ext:c}=r.parse(o);".js"!==c&&".mjs"!==c&&".cjs"!==c||(i=i.slice(0,-1*c.length)),s||(s=".");const u=s.lastIndexOf("/node_modules");if(u>-1)return`${s.slice(u+14).replace(/\//g,".")}:${i}`;if(s.startsWith(e)){let t=s.slice(e.length+1).replace(/\//g,".");return t&&(t+=":"),t+=i,t}return i}}(xt.appRootPath):()=>{},c=s.map((t=>function(t,n,e){const r=n?n.replace(/^file:\/\//,""):void 0,o=t.location.columnNumber?t.location.columnNumber+1:void 0,s=t.location.lineNumber?t.location.lineNumber+1:void 0;return P({filename:r,module:e(r),function:t.functionName||C,colno:o,lineno:s,in_app:r?Z(r):void 0})}(t,e.get(t.location.scriptId),i)));n.post("Runtime.evaluate",{expression:'var __sentry_ctx = __SENTRY__.acs?.getCurrentScope().getPropagationContext() || {}; __sentry_ctx.traceId + "-" + __sentry_ctx.spanId + "-" + __sentry_ctx.parentSpanId',silent:!0},((t,e)=>{const r=e&&e.result?e.result.value:"--",[o,s,i]=r.split("-");n.post("Debugger.resume"),n.post("Debugger.disable");const u=At([o,"optionalAccess",t=>t.length])&&At([s,"optionalAccess",t=>t.length])?{trace_id:o,span_id:s,parent_span_id:i}:void 0;Mt(c,u).then(null,(()=>{jt("Sending ANR event failed.")}))}))}catch(t){throw n.post("Debugger.resume"),n.post("Debugger.disable"),t}})),Lt=()=>{try{n.post("Debugger.enable",(()=>{n.post("Debugger.pause")}))}catch(t){}}}const{poll:Bt}=function(t,n,e,r){const o=t();let s=!1,i=!0;return setInterval((()=>{const t=o.getTimeMs();!1===s&&t>n+e&&(s=!0,i&&r()),t<n+e&&(s=!1)}),20),{poll:()=>{o.reset()},enabled:t=>{i=t}}}((function(){let t=process.hrtime();return{getTimeMs:()=>{const[n,e]=process.hrtime(t);return Math.floor(1e3*n+e/1e6)},reset:()=>{t=process.hrtime()}}}),xt.pollInterval,xt.anrThreshold,(function(){jt("Watchdog timeout"),Lt?(jt("Pausing debugger to capture stack trace"),Lt()):(jt("Capturing event without a stack trace"),Mt().then(null,(()=>{jt("Sending ANR event failed on watchdog timeout.")})))}));At([e,"optionalAccess",t=>t.on,"call",t=>t("message",(t=>{t.session&&(Ct=ct(t.session)),Bt()}))]);
1
+ /*! @sentry/node 8.0.0-alpha.7 (e94507f) | https://github.com/getsentry/sentry-javascript */
2
+ import{Session as t}from"inspector";import{workerData as n,parentPort as e}from"worker_threads";import{posix as r,sep as o}from"path";import*as i from"node:http";import*as s from"node:https";import{Readable as c}from"stream";import{createGzip as u}from"zlib";import*as a from"net";import*as f from"tls";import*as h from"http";const l=Object.prototype.toString;function p(t,n){return l.call(t)===`[object ${n}]`}function d(t){return p(t,"Object")}function g(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function y(t,n){try{return t instanceof n}catch(t){return!1}}function m(t){return t&&t.Math==Math?t:void 0}const v="object"==typeof globalThis&&m(globalThis)||"object"==typeof window&&m(window)||"object"==typeof self&&m(self)||"object"==typeof global&&m(global)||function(){return this}()||{};function b(t,n,e){const r=e||v,o=r.__SENTRY__=r.__SENTRY__||{};return o[t]||(o[t]=n())}const w=v,_=80;function S(t,n){const e=t,r=[];let o,i,s,c,u;if(!e||!e.tagName)return"";if(w.HTMLElement&&e instanceof HTMLElement&&e.dataset&&e.dataset.sentryComponent)return e.dataset.sentryComponent;r.push(e.tagName.toLowerCase());const a=n&&n.length?n.filter((t=>e.getAttribute(t))).map((t=>[t,e.getAttribute(t)])):null;if(a&&a.length)a.forEach((t=>{r.push(`[${t[0]}="${t[1]}"]`)}));else if(e.id&&r.push(`#${e.id}`),o=e.className,o&&p(o,"String"))for(i=o.split(/\s+/),u=0;u<i.length;u++)r.push(`.${i[u]}`);const f=["aria-label","type","name","title","alt"];for(u=0;u<f.length;u++)s=f[u],c=e.getAttribute(s),c&&r.push(`[${s}="${c}"]`);return r.join("")}const E="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,$=["debug","info","warn","error","log","assert","trace"],x={};function A(t){if(!("console"in v))return t();const n=v.console,e={},r=Object.keys(x);r.forEach((t=>{const r=x[t];e[t]=n[t],n[t]=r}));try{return t()}finally{r.forEach((t=>{n[t]=e[t]}))}}const C=function(){let t=!1;const n={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return E?$.forEach((e=>{n[e]=(...n)=>{t&&A((()=>{v.console[e](`Sentry Logger [${e}]:`,...n)}))}})):$.forEach((t=>{n[t]=()=>{}})),n}();function N(t,n=!1){const{host:e,path:r,pass:o,port:i,projectId:s,protocol:c,publicKey:u}=t;return`${c}://${u}${n&&o?`:${o}`:""}@${e}${i?`:${i}`:""}/${r?`${r}/`:r}${s}`}class k extends Error{constructor(t,n="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=n}}const D=50,T="?",j=/captureMessage|captureException/;const O="<anonymous>";function R(t){if(function(t){switch(l.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return y(t,Error)}}(t))return{message:t.message,name:t.name,stack:t.stack,...P(t)};if(n=t,"undefined"!=typeof Event&&y(n,Event)){const n={type:t.type,target:I(t.target),currentTarget:I(t.currentTarget),...P(t)};return"undefined"!=typeof CustomEvent&&y(t,CustomEvent)&&(n.detail=t.detail),n}return t;var n}function I(t){try{return n=t,"undefined"!=typeof Element&&y(n,Element)?function(t,n={}){if(!t)return"<unknown>";try{let e=t;const r=5,o=[];let i=0,s=0;const c=" > ",u=c.length;let a;const f=Array.isArray(n)?n:n.keyAttrs,h=!Array.isArray(n)&&n.maxStringLength||_;for(;e&&i++<r&&(a=S(e,f),!("html"===a||i>1&&s+o.length*u+a.length>=h));)o.push(a),s+=a.length,e=e.parentNode;return o.reverse().join(c)}catch(t){return"<unknown>"}}(t):Object.prototype.toString.call(t)}catch(t){return"<unknown>"}var n}function P(t){if("object"==typeof t&&null!==t){const n={};for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n}return{}}function U(t){return M(t,new Map)}function M(t,n){if(function(t){if(!d(t))return!1;try{const n=Object.getPrototypeOf(t).constructor.name;return!n||"Object"===n}catch(t){return!0}}(t)){const e=n.get(t);if(void 0!==e)return e;const r={};n.set(t,r);for(const e of Object.keys(t))void 0!==t[e]&&(r[e]=M(t[e],n));return r}if(Array.isArray(t)){const e=n.get(t);if(void 0!==e)return e;const r=[];return n.set(t,r),t.forEach((t=>{r.push(M(t,n))})),r}return t}function L(){const t=v,n=t.crypto||t.msCrypto;let e=()=>16*Math.random();try{if(n&&n.randomUUID)return n.randomUUID().replace(/-/g,"");n&&n.getRandomValues&&(e=()=>{const t=new Uint8Array(1);return n.getRandomValues(t),t[0]})}catch(t){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&e())>>t/4).toString(16)))}function B(t,n=100,e=1/0){try{return G("",t,n,e)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}function G(t,n,e=1/0,r=1/0,o=function(){const t="function"==typeof WeakSet,n=t?new WeakSet:[];return[function(e){if(t)return!!n.has(e)||(n.add(e),!1);for(let t=0;t<n.length;t++)if(n[t]===e)return!0;return n.push(e),!1},function(e){if(t)n.delete(e);else for(let t=0;t<n.length;t++)if(n[t]===e){n.splice(t,1);break}}]}()){const[i,s]=o;if(null==n||["number","boolean","string"].includes(typeof n)&&("number"!=typeof(c=n)||c==c))return n;var c;const u=function(t,n){try{if("domain"===t&&n&&"object"==typeof n&&n.t)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if("undefined"!=typeof global&&n===global)return"[Global]";if("undefined"!=typeof window&&n===window)return"[Window]";if("undefined"!=typeof document&&n===document)return"[Document]";if(function(t){return!("object"!=typeof t||null===t||!t.__isVue&&!t.o)}(n))return"[VueViewModel]";if(function(t){return d(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}(n))return"[SyntheticEvent]";if("number"==typeof n&&n!=n)return"[NaN]";if("function"==typeof n)return`[Function: ${function(t){try{return t&&"function"==typeof t&&t.name||O}catch(t){return O}}(n)}]`;if("symbol"==typeof n)return`[${String(n)}]`;if("bigint"==typeof n)return`[BigInt: ${String(n)}]`;const e=function(t){const n=Object.getPrototypeOf(t);return n?n.constructor.name:"null prototype"}(n);return/^HTML(\w*)Element$/.test(e)?`[HTMLElement: ${e}]`:`[object ${e}]`}catch(t){return`**non-serializable** (${t})`}}(t,n);if(!u.startsWith("[object "))return u;if(n.__sentry_skip_normalization__)return n;const a="number"==typeof n.__sentry_override_normalization_depth__?n.__sentry_override_normalization_depth__:e;if(0===a)return u.replace("object ","");if(i(n))return"[Circular ~]";const f=n;if(f&&"function"==typeof f.toJSON)try{return G("",f.toJSON(),a-1,r,o)}catch(t){}const h=Array.isArray(n)?[]:{};let l=0;const p=R(n);for(const t in p){if(!Object.prototype.hasOwnProperty.call(p,t))continue;if(l>=r){h[t]="[MaxProperties ~]";break}const n=p[t];h[t]=G(t,n,a-1,r,o),l++}return s(n),h}function H(t,n){const e=n.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");let r=t;try{r=decodeURI(t)}catch(t){}return r.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(new RegExp(`(file://)?/*${e}/*`,"ig"),"app:///")}const J=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function W(t){const n=function(t){const n=t.length>1024?`<truncated>${t.slice(-1024)}`:t,e=J.exec(n);return e?e.slice(1):[]}(t),e=n[0];let r=n[1];return e||r?(r&&(r=r.slice(0,r.length-1)),e+r):"."}var z;function F(t){return new K((n=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(z||(z={}));class K{constructor(t){K.prototype.__init.call(this),K.prototype.__init2.call(this),K.prototype.__init3.call(this),K.prototype.__init4.call(this),this.i=z.PENDING,this.u=[];try{t(this.h,this.l)}catch(t){this.l(t)}}then(t,n){return new K(((e,r)=>{this.u.push([!1,n=>{if(t)try{e(t(n))}catch(t){r(t)}else e(n)},t=>{if(n)try{e(n(t))}catch(t){r(t)}else r(t)}]),this.p()}))}catch(t){return this.then((t=>t),t)}finally(t){return new K(((n,e)=>{let r,o;return this.then((n=>{o=!1,r=n,t&&t()}),(n=>{o=!0,r=n,t&&t()})).then((()=>{o?e(r):n(r)}))}))}__init(){this.h=t=>{this.m(z.RESOLVED,t)}}__init2(){this.l=t=>{this.m(z.REJECTED,t)}}__init3(){this.m=(t,n)=>{this.i===z.PENDING&&(g(n)?n.then(this.h,this.l):(this.i=t,this.v=n,this.p()))}}__init4(){this.p=()=>{if(this.i===z.PENDING)return;const t=this.u.slice();this.u=[],t.forEach((t=>{t[0]||(this.i===z.RESOLVED&&t[1](this.v),this.i===z.REJECTED&&t[2](this.v),t[0]=!0)}))}}}function V(t){const n=[];function e(t){return n.splice(n.indexOf(t),1)[0]}return{$:n,add:function(r){if(!(void 0===t||n.length<t))return o=new k("Not adding Promise because buffer limit was reached."),new K(((t,n)=>{n(o)}));var o;const i=r();return-1===n.indexOf(i)&&n.push(i),i.then((()=>e(i))).then(null,(()=>e(i).then(null,(()=>{})))),i},drain:function(t){return new K(((e,r)=>{let o=n.length;if(!o)return e(!0);const i=setTimeout((()=>{t&&t>0&&e(!1)}),t);n.forEach((t=>{F(t).then((()=>{--o||(clearTimeout(i),e(!0))}),r)}))}))}}}function Y(t,n=!1){return!(n||t&&!t.startsWith("/")&&!t.match(/^[A-Z]:/)&&!t.startsWith(".")&&!t.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//))&&void 0!==t&&!t.includes("node_modules/")}const q=1e3;function Z(){return Date.now()/q}const Q=function(){const{performance:t}=v;if(!t||!t.now)return Z;const n=Date.now()-t.now(),e=null==t.timeOrigin?n:t.timeOrigin;return()=>(e+t.now())/q}();function X(t,n=[]){return[t,n]}function tt(t,n){const e=t[1];for(const t of e){if(n(t,t[0].type))return!0}return!1}function nt(t){return v.__SENTRY__&&v.__SENTRY__.encodePolyfill?v.__SENTRY__.encodePolyfill(t):(new TextEncoder).encode(t)}function et(t){const[n,e]=t;let r=JSON.stringify(n);function o(t){"string"==typeof r?r="string"==typeof t?r+t:[nt(r),t]:r.push("string"==typeof t?nt(t):t)}for(const t of e){const[n,e]=t;if(o(`\n${JSON.stringify(n)}\n`),"string"==typeof e||e instanceof Uint8Array)o(e);else{let t;try{t=JSON.stringify(e)}catch(n){t=JSON.stringify(B(e))}o(t)}}return"string"==typeof r?r:function(t){const n=t.reduce(((t,n)=>t+n.length),0),e=new Uint8Array(n);let r=0;for(const n of t)e.set(n,r),r+=n.length;return e}(r)}(()=>{const{performance:t}=v;if(!t||!t.now)return;const n=36e5,e=t.now(),r=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+e-r):n,i=o<n,s=t.timing&&t.timing.navigationStart,c="number"==typeof s?Math.abs(s+e-r):n;(i||c<n)&&(o<=c&&t.timeOrigin)})();const rt={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",statsd:"statsd"};function ot(t){return rt[t]}function it(t){if(!t||!t.sdk)return;const{name:n,version:e}=t.sdk;return{name:n,version:e}}const st=6e4;function ct(t,{statusCode:n,headers:e},r=Date.now()){const o={...t},i=e&&e["x-sentry-rate-limits"],s=e&&e["retry-after"];if(i)for(const t of i.trim().split(",")){const[n,e]=t.split(":",2),i=parseInt(n,10),s=1e3*(isNaN(i)?60:i);if(e)for(const t of e.split(";"))o[t]=r+s;else o.all=r+s}else s?o.all=r+function(t,n=Date.now()){const e=parseInt(`${t}`,10);if(!isNaN(e))return 1e3*e;const r=Date.parse(`${t}`);return isNaN(r)?st:r-n}(s,r):429===n&&(o.all=r+6e4);return o}const ut="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function at(){return ft(v),v}function ft(t){return t.__SENTRY__||(t.__SENTRY__={extensions:{}}),t.__SENTRY__}const ht="production";function lt(t){const n=Q(),e={sid:L(),init:!0,timestamp:n,started:n,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return U({sid:`${t.sid}`,init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?`${t.did}`:void 0,duration:t.duration,abnormal_mechanism:t.abnormal_mechanism,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(e)};return t&&pt(e,t),e}function pt(t,n={}){if(n.user&&(!t.ipAddress&&n.user.ip_address&&(t.ipAddress=n.user.ip_address),t.did||n.did||(t.did=n.user.id||n.user.email||n.user.username)),t.timestamp=n.timestamp||Q(),n.abnormal_mechanism&&(t.abnormal_mechanism=n.abnormal_mechanism),n.ignoreDuration&&(t.ignoreDuration=n.ignoreDuration),n.sid&&(t.sid=32===n.sid.length?n.sid:L()),void 0!==n.init&&(t.init=n.init),!t.did&&n.did&&(t.did=`${n.did}`),"number"==typeof n.started&&(t.started=n.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof n.duration)t.duration=n.duration;else{const n=t.timestamp-t.started;t.duration=n>=0?n:0}n.release&&(t.release=n.release),n.environment&&(t.environment=n.environment),!t.ipAddress&&n.ipAddress&&(t.ipAddress=n.ipAddress),!t.userAgent&&n.userAgent&&(t.userAgent=n.userAgent),"number"==typeof n.errors&&(t.errors=n.errors),n.status&&(t.status=n.status)}const dt="_sentrySpan";function gt(t,n){n?function(t,n,e){try{Object.defineProperty(t,n,{value:e,writable:!0,configurable:!0})}catch(e){E&&C.log(`Failed to add non-enumerable property "${n}" to object`,t)}}(t,dt,n):delete t[dt]}function yt(t){return t[dt]}class mt{constructor(){this._=!1,this.S=[],this.A=[],this.C=[],this.N=[],this.k={},this.D={},this.T={},this.j={},this.O={},this.R=vt()}static clone(t){return t?t.clone():new mt}clone(){const t=new mt;return t.C=[...this.C],t.D={...this.D},t.T={...this.T},t.j={...this.j},t.k=this.k,t.I=this.I,t.P=this.P,t.U=this.U,t.M=this.M,t.A=[...this.A],t.L=this.L,t.N=[...this.N],t.O={...this.O},t.R={...this.R},t.B=this.B,gt(t,yt(this)),t}setClient(t){this.B=t}getClient(){return this.B}addScopeListener(t){this.S.push(t)}addEventProcessor(t){return this.A.push(t),this}setUser(t){return this.k=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this.P&&pt(this.P,{user:t}),this.G(),this}getUser(){return this.k}getRequestSession(){return this.L}setRequestSession(t){return this.L=t,this}setTags(t){return this.D={...this.D,...t},this.G(),this}setTag(t,n){return this.D={...this.D,[t]:n},this.G(),this}setExtras(t){return this.T={...this.T,...t},this.G(),this}setExtra(t,n){return this.T={...this.T,[t]:n},this.G(),this}setFingerprint(t){return this.M=t,this.G(),this}setLevel(t){return this.I=t,this.G(),this}setTransactionName(t){return this.U=t,this.G(),this}setContext(t,n){return null===n?delete this.j[t]:this.j[t]=n,this.G(),this}getTransaction(){const t=yt(this);if(t&&t.transaction)return t.transaction}setSession(t){return t?this.P=t:delete this.P,this.G(),this}getSession(){return this.P}update(t){if(!t)return this;const n="function"==typeof t?t(this):t;if(n instanceof mt){const t=n.getScopeData();this.D={...this.D,...t.tags},this.T={...this.T,...t.extra},this.j={...this.j,...t.contexts},t.user&&Object.keys(t.user).length&&(this.k=t.user),t.level&&(this.I=t.level),t.fingerprint.length&&(this.M=t.fingerprint),n.getRequestSession()&&(this.L=n.getRequestSession()),t.propagationContext&&(this.R=t.propagationContext)}else if(d(n)){const n=t;this.D={...this.D,...n.tags},this.T={...this.T,...n.extra},this.j={...this.j,...n.contexts},n.user&&(this.k=n.user),n.level&&(this.I=n.level),n.fingerprint&&(this.M=n.fingerprint),n.requestSession&&(this.L=n.requestSession),n.propagationContext&&(this.R=n.propagationContext)}return this}clear(){return this.C=[],this.D={},this.T={},this.k={},this.j={},this.I=void 0,this.U=void 0,this.M=void 0,this.L=void 0,this.P=void 0,gt(this,void 0),this.N=[],this.R=vt(),this.G(),this}addBreadcrumb(t,n){const e="number"==typeof n?n:100;if(e<=0)return this;const r={timestamp:Z(),...t},o=this.C;return o.push(r),this.C=o.length>e?o.slice(-e):o,this.G(),this}getLastBreadcrumb(){return this.C[this.C.length-1]}clearBreadcrumbs(){return this.C=[],this.G(),this}addAttachment(t){return this.N.push(t),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this.N=[],this}getScopeData(){const{C:t,N:n,j:e,D:r,T:o,k:i,I:s,M:c,A:u,R:a,O:f,U:h}=this;return{breadcrumbs:t,attachments:n,contexts:e,tags:r,extra:o,user:i,level:s,fingerprint:c||[],eventProcessors:u,propagationContext:a,sdkProcessingMetadata:f,transactionName:h,span:yt(this)}}setSDKProcessingMetadata(t){return this.O={...this.O,...t},this}setPropagationContext(t){return this.R=t,this}getPropagationContext(){return this.R}captureException(t,n){const e=n&&n.event_id?n.event_id:L();if(!this.B)return C.warn("No client configured on scope - will not capture exception!"),e;const r=new Error("Sentry syntheticException");return this.B.captureException(t,{originalException:t,syntheticException:r,...n,event_id:e},this),e}captureMessage(t,n,e){const r=e&&e.event_id?e.event_id:L();if(!this.B)return C.warn("No client configured on scope - will not capture message!"),r;const o=new Error(t);return this.B.captureMessage(t,n,{originalException:t,syntheticException:o,...e,event_id:r},this),r}captureEvent(t,n){const e=n&&n.event_id?n.event_id:L();return this.B?(this.B.captureEvent(t,{...n,event_id:e},this),e):(C.warn("No client configured on scope - will not capture event!"),e)}G(){this._||(this._=!0,this.S.forEach((t=>{t(this)})),this._=!1)}}function vt(){return{traceId:L(),spanId:L().substring(16)}}const bt=parseFloat("8.0.0-alpha.7"),wt=100;class _t{constructor(t,n,e,r=bt){let o,i;this.H=r,n?o=n:(o=new mt,o.setClient(t)),e?i=e:(i=new mt,i.setClient(t)),this.J=[{scope:o}],t&&this.bindClient(t),this.W=i}isOlderThan(t){return this.H<t}bindClient(t){const n=this.getStackTop();n.client=t,n.scope.setClient(t),t&&t.init()}pushScope(){const t=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(t){const n=this.pushScope();let e;try{e=t(n)}catch(t){throw this.popScope(),t}return g(e)?e.then((t=>(this.popScope(),t)),(t=>{throw this.popScope(),t})):(this.popScope(),e)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this.W}getStack(){return this.J}getStackTop(){return this.J[this.J.length-1]}captureException(t,n){const e=n&&n.event_id?n.event_id:L(),r=new Error("Sentry syntheticException");return this.getScope().captureException(t,{originalException:t,syntheticException:r,...n,event_id:e}),e}captureMessage(t,n,e){const r=e&&e.event_id?e.event_id:L(),o=new Error(t);return this.getScope().captureMessage(t,n,{originalException:t,syntheticException:o,...e,event_id:r}),r}captureEvent(t,n){const e=n&&n.event_id?n.event_id:L();return this.getScope().captureEvent(t,{...n,event_id:e}),e}addBreadcrumb(t,n){const{client:e}=this.getStackTop();if(!e)return;const{beforeBreadcrumb:r=null,maxBreadcrumbs:o=wt}=e.getOptions&&e.getOptions()||{};if(o<=0)return;const i={timestamp:Z(),...t},s=r?A((()=>r(i,n))):i;null!==s&&(e.emit("beforeAddBreadcrumb",s,n),this.getIsolationScope().addBreadcrumb(s,o))}setUser(t){this.getIsolationScope().setUser(t)}setTags(t){this.getIsolationScope().setTags(t)}setExtras(t){this.getIsolationScope().setExtras(t)}setTag(t,n){this.getIsolationScope().setTag(t,n)}setExtra(t,n){this.getIsolationScope().setExtra(t,n)}setContext(t,n){this.getIsolationScope().setContext(t,n)}getIntegration(t){const n=this.getClient();if(!n)return null;try{return n.getIntegrationByName(t.id)||null}catch(n){return ut&&C.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}captureSession(t=!1){if(t)return this.endSession();this.F()}endSession(){const t=this.getStackTop().scope,n=t.getSession();n&&function(t,n){let e={};n?e={status:n}:"ok"===t.status&&(e={status:"exited"}),pt(t,e)}(n),this.F(),t.setSession()}startSession(t){const{scope:n,client:e}=this.getStackTop(),{release:r,environment:o=ht}=e&&e.getOptions()||{},{userAgent:i}=v.navigator||{},s=lt({release:r,environment:o,user:n.getUser(),...i&&{userAgent:i},...t}),c=n.getSession&&n.getSession();return c&&"ok"===c.status&&pt(c,{status:"exited"}),this.endSession(),n.setSession(s),s}shouldSendDefaultPii(){const t=this.getClient(),n=t&&t.getOptions();return Boolean(n&&n.sendDefaultPii)}F(){const{scope:t,client:n}=this.getStackTop(),e=t.getSession();e&&n&&n.captureSession&&n.captureSession(e)}}function St(){const t=ft(at());return t.hub||(t.hub=new _t(void 0,b("defaultCurrentScope",(()=>new mt)),b("defaultIsolationScope",(()=>new mt)))),t.hub}function Et(t){const n=ft(t);return n.acs?n.acs:{getCurrentHub:St,withIsolationScope:At,withScope:$t,withSetScope:xt,withSetIsolationScope:(t,n)=>At(n),getCurrentScope:()=>St().getScope(),getIsolationScope:()=>St().getIsolationScope()}}function $t(t){return St().withScope(t)}function xt(t,n){const e=St();return e.withScope((()=>(e.getStackTop().scope=t,n(t))))}function At(t){return St().withScope((()=>t(St().getIsolationScope())))}function Ct(){return Et(at()).getCurrentScope().getClient()}const Nt="sentry.source",kt="sentry.op",Dt="sentry.origin",Tt=0,jt=1,Ot=1;function Rt(t){const{spanId:n,traceId:e}=t.spanContext(),{data:r,op:o,parent_span_id:i,status:s,origin:c}=Ut(t);return U({data:r,op:o,parent_span_id:i,span_id:n,status:s,trace_id:e,origin:c})}function It(t){return"number"==typeof t?Pt(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?Pt(t.getTime()):Q()}function Pt(t){return t>9999999999?t/1e3:t}function Ut(t){if(function(t){return"function"==typeof t.getSpanJSON}(t))return t.getSpanJSON();try{const{spanId:n,traceId:e}=t.spanContext();if(function(t){const n=t;return!!(n.attributes&&n.startTime&&n.name&&n.endTime&&n.status)}(t)){const{attributes:r,startTime:o,name:i,endTime:s,parentSpanId:c,status:u}=t;return U({span_id:n,trace_id:e,data:r,description:i,parent_span_id:c,start_timestamp:It(o),timestamp:It(s)||void 0,status:Mt(u),op:r[kt],origin:r[Dt],K:void 0})}return{span_id:n,trace_id:e}}catch(t){return{}}}function Mt(t){if(t&&t.code!==Tt)return t.code===jt?"ok":t.message||"unknown_error"}const Lt="_sentryRootSpan";function Bt(t){return t[Lt]||t}function Gt(t){const n=Ct();if(!n)return{};const e=function(t,n){const e=n.getOptions(),{publicKey:r}=n.getDsn()||{},o=U({environment:e.environment||ht,release:e.release,public_key:r,trace_id:t});return n.emit("createDsc",o),o}(Ut(t).trace_id||"",n),r=Bt(t);if(!r)return e;const o=r&&r._frozenDynamicSamplingContext;if(o)return o;const{sampleRate:i}=r.metadata||{};null!=i&&(e.sample_rate=`${i}`);const s=Ut(r),c=(s.data||{})[Nt];return c&&"url"!==c&&(e.transaction=s.description),e.sampled=String(function(t){const{traceFlags:n}=t.spanContext();return n===Ot}(r)),n.emit("createDsc",e),e}function Ht(t,n,e,r){const o=it(e),i=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,n){n&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||n.name,t.sdk.version=t.sdk.version||n.version,t.sdk.integrations=[...t.sdk.integrations||[],...n.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...n.packages||[]])}(t,e&&e.sdk);const s=function(t,n,e,r){const o=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...n&&{sdk:n},...!!e&&r&&{dsn:N(r)},...o&&{trace:U({...o})}}}(t,o,r,n);delete t.sdkProcessingMetadata;return X(s,[[{type:i},t]])}function Jt(t,n){const{fingerprint:e,span:r,breadcrumbs:o,sdkProcessingMetadata:i}=n;!function(t,n){const{extra:e,tags:r,user:o,contexts:i,level:s,transactionName:c}=n,u=U(e);u&&Object.keys(u).length&&(t.extra={...u,...t.extra});const a=U(r);a&&Object.keys(a).length&&(t.tags={...a,...t.tags});const f=U(o);f&&Object.keys(f).length&&(t.user={...f,...t.user});const h=U(i);h&&Object.keys(h).length&&(t.contexts={...h,...t.contexts});s&&(t.level=s);c&&"transaction"!==t.type&&(t.transaction=c)}(t,n),r&&function(t,n){t.contexts={trace:Rt(n),...t.contexts},t.sdkProcessingMetadata={dynamicSamplingContext:Gt(n),...t.sdkProcessingMetadata};const e=Bt(n),r=Ut(e).description;r&&!t.transaction&&"transaction"===t.type&&(t.transaction=r)}(t,r),function(t,n){t.fingerprint=t.fingerprint?function(t){return Array.isArray(t)?t:[t]}(t.fingerprint):[],n&&(t.fingerprint=t.fingerprint.concat(n));t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}(t,e),function(t,n){const e=[...t.breadcrumbs||[],...n];t.breadcrumbs=e.length?e:void 0}(t,o),function(t,n){t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...n}}(t,i)}const Wt="7";function zt(t,n){return e={sentry_key:t.publicKey,sentry_version:Wt,...n&&{sentry_client:`${n.name}/${n.version}`}},Object.keys(e).map((t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`)).join("&");var e}const Ft=30;function Kt(t,n,e=V(t.bufferSize||Ft)){let r={};return{send:function(o){const i=[];if(tt(o,((n,e)=>{const o=ot(e);if(function(t,n,e=Date.now()){return function(t,n){return t[n]||t.all||0}(t,n)>e}(r,o)){const r=Vt(n,e);t.recordDroppedEvent("ratelimit_backoff",o,r)}else i.push(n)})),0===i.length)return F({});const s=X(o[0],i),c=n=>{tt(s,((e,r)=>{const o=Vt(e,r);t.recordDroppedEvent(n,ot(r),o)}))};return e.add((()=>n({body:et(s)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&ut&&C.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),r=ct(r,t),t)),(t=>{throw c("network_error"),t})))).then((t=>t),(t=>{if(t instanceof k)return ut&&C.error("Skipped sending event because buffer is full."),c("queue_overflow"),F({});throw t}))},flush:t=>e.drain(t)}}function Vt(t,n){if("event"===n||"transaction"===n)return Array.isArray(t)?t[1]:void 0}var Yt="object"==typeof globalThis?globalThis:global,qt="1.7.0",Zt=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;var Qt=function(t){var n=new Set([t]),e=new Set,r=t.match(Zt);if(!r)return function(){return!1};var o=+r[1],i=+r[2],s=+r[3];if(null!=r[4])return function(n){return n===t};function c(t){return e.add(t),!1}function u(t){return n.add(t),!0}return function(t){if(n.has(t))return!0;if(e.has(t))return!1;var r=t.match(Zt);if(!r)return c(t);var a=+r[1],f=+r[2],h=+r[3];return null!=r[4]||o!==a?c(t):0===o?i===f&&s<=h?u(t):c(t):i<=f?u(t):c(t)}}(qt),Xt=qt.split(".")[0],tn=Symbol.for("opentelemetry.js.api."+Xt),nn=Yt;function en(t,n,e,r){var o;void 0===r&&(r=!1);var i=nn[tn]=null!==(o=nn[tn])&&void 0!==o?o:{version:qt};if(!r&&i[t]){var s=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+t);return e.error(s.stack||s.message),!1}if(i.version!==qt){s=new Error("@opentelemetry/api: Registration of version v"+i.version+" for "+t+" does not match previously registered API v"+qt);return e.error(s.stack||s.message),!1}return i[t]=n,e.debug("@opentelemetry/api: Registered a global for "+t+" v"+qt+"."),!0}function rn(t){var n,e,r=null===(n=nn[tn])||void 0===n?void 0:n.version;if(r&&Qt(r))return null===(e=nn[tn])||void 0===e?void 0:e[t]}function on(t,n){n.debug("@opentelemetry/api: Unregistering a global for "+t+" v"+qt+".");var e=nn[tn];e&&delete e[t]}var sn,cn=function(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),s=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return s},un=function(t,n,e){if(e||2===arguments.length)for(var r,o=0,i=n.length;o<i;o++)!r&&o in n||(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return t.concat(r||Array.prototype.slice.call(n))},an=function(){function t(t){this.V=t.namespace||"DiagComponentLogger"}return t.prototype.debug=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return fn("debug",this.V,t)},t.prototype.error=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return fn("error",this.V,t)},t.prototype.info=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return fn("info",this.V,t)},t.prototype.warn=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return fn("warn",this.V,t)},t.prototype.verbose=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return fn("verbose",this.V,t)},t}();function fn(t,n,e){var r=rn("diag");if(r)return e.unshift(n),r[t].apply(r,un([],cn(e),!1))}!function(t){t[t.NONE=0]="NONE",t[t.ERROR=30]="ERROR",t[t.WARN=50]="WARN",t[t.INFO=60]="INFO",t[t.DEBUG=70]="DEBUG",t[t.VERBOSE=80]="VERBOSE",t[t.ALL=9999]="ALL"}(sn||(sn={}));var hn=function(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),s=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return s},ln=function(t,n,e){if(e||2===arguments.length)for(var r,o=0,i=n.length;o<i;o++)!r&&o in n||(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return t.concat(r||Array.prototype.slice.call(n))},pn=function(){function t(){function t(t){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var r=rn("diag");if(r)return r[t].apply(r,ln([],hn(n),!1))}}var n=this;n.setLogger=function(t,e){var r,o,i;if(void 0===e&&(e={logLevel:sn.INFO}),t===n){var s=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return n.error(null!==(r=s.stack)&&void 0!==r?r:s.message),!1}"number"==typeof e&&(e={logLevel:e});var c=rn("diag"),u=function(t,n){function e(e,r){var o=n[e];return"function"==typeof o&&t>=r?o.bind(n):function(){}}return t<sn.NONE?t=sn.NONE:t>sn.ALL&&(t=sn.ALL),n=n||{},{error:e("error",sn.ERROR),warn:e("warn",sn.WARN),info:e("info",sn.INFO),debug:e("debug",sn.DEBUG),verbose:e("verbose",sn.VERBOSE)}}(null!==(o=e.logLevel)&&void 0!==o?o:sn.INFO,t);if(c&&!e.suppressOverrideMessage){var a=null!==(i=(new Error).stack)&&void 0!==i?i:"<failed to generate stacktrace>";c.warn("Current logger will be overwritten from "+a),u.warn("Current logger will overwrite one already registered from "+a)}return en("diag",u,n,!0)},n.disable=function(){on("diag",n)},n.createComponentLogger=function(t){return new an(t)},n.verbose=t("verbose"),n.debug=t("debug"),n.info=t("info"),n.warn=t("warn"),n.error=t("error")}return t.instance=function(){return this.Y||(this.Y=new t),this.Y},t}();var dn,gn=function t(n){var e=this;e.q=n?new Map(n):new Map,e.getValue=function(t){return e.q.get(t)},e.setValue=function(n,r){var o=new t(e.q);return o.q.set(n,r),o},e.deleteValue=function(n){var r=new t(e.q);return r.q.delete(n),r}},yn=new gn,mn=function(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),s=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return s},vn=function(t,n,e){if(e||2===arguments.length)for(var r,o=0,i=n.length;o<i;o++)!r&&o in n||(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return t.concat(r||Array.prototype.slice.call(n))},bn=function(){function t(){}return t.prototype.active=function(){return yn},t.prototype.with=function(t,n,e){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];return n.call.apply(n,vn([e],mn(r),!1))},t.prototype.bind=function(t,n){return n},t.prototype.enable=function(){return this},t.prototype.disable=function(){return this},t}(),wn=function(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),s=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return s},_n=function(t,n,e){if(e||2===arguments.length)for(var r,o=0,i=n.length;o<i;o++)!r&&o in n||(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return t.concat(r||Array.prototype.slice.call(n))},Sn="context",En=new bn,$n=function(){function t(){}return t.getInstance=function(){return this.Y||(this.Y=new t),this.Y},t.prototype.setGlobalContextManager=function(t){return en(Sn,t,pn.instance())},t.prototype.active=function(){return this.Z().active()},t.prototype.with=function(t,n,e){for(var r,o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];return(r=this.Z()).with.apply(r,_n([t,n,e],wn(o),!1))},t.prototype.bind=function(t,n){return this.Z().bind(t,n)},t.prototype.Z=function(){return rn(Sn)||En},t.prototype.disable=function(){this.Z().disable(),on(Sn,pn.instance())},t}(),xn=$n.getInstance(),An=(dn="OpenTelemetry SDK Context Key SUPPRESS_TRACING",Symbol.for(dn));function Cn(t,n){return null!=t?t:n()}const Nn=Symbol("AgentBaseInternalState");class kn extends h.Agent{constructor(t){super(t),this[Nn]={}}isSecureEndpoint(t){if(t){if("boolean"==typeof t.secureEndpoint)return t.secureEndpoint;if("string"==typeof t.protocol)return"https:"===t.protocol}const{stack:n}=new Error;return"string"==typeof n&&n.split("\n").some((t=>-1!==t.indexOf("(https.js:")||-1!==t.indexOf("node:https:")))}createSocket(t,n,e){const r={...n,secureEndpoint:this.isSecureEndpoint(n)};Promise.resolve().then((()=>this.connect(t,r))).then((o=>{if(o instanceof h.Agent)return o.addRequest(t,r);this[Nn].currentSocket=o,super.createSocket(t,n,e)}),e)}createConnection(){const t=this[Nn].currentSocket;if(this[Nn].currentSocket=void 0,!t)throw new Error("No socket was returned in the `connect()` function");return t}get defaultPort(){return Cn(this[Nn].defaultPort,(()=>"https:"===this.protocol?443:80))}set defaultPort(t){this[Nn]&&(this[Nn].defaultPort=t)}get protocol(){return Cn(this[Nn].protocol,(()=>this.isSecureEndpoint()?"https:":"http:"))}set protocol(t){this[Nn]&&(this[Nn].protocol=t)}}function Dn(...t){C.log("[https-proxy-agent:parse-proxy-response]",...t)}function Tn(t){return new Promise(((n,e)=>{let r=0;const o=[];function i(){const c=t.read();c?function(c){o.push(c),r+=c.length;const u=Buffer.concat(o,r),a=u.indexOf("\r\n\r\n");if(-1===a)return Dn("have not received end of HTTP headers yet..."),void i();const f=u.slice(0,a).toString("ascii").split("\r\n"),h=f.shift();if(!h)return t.destroy(),e(new Error("No header received from proxy CONNECT response"));const l=h.split(" "),p=+l[1],d=l.slice(2).join(" "),g={};for(const n of f){if(!n)continue;const r=n.indexOf(":");if(-1===r)return t.destroy(),e(new Error(`Invalid header from proxy CONNECT response: "${n}"`));const o=n.slice(0,r).toLowerCase(),i=n.slice(r+1).trimStart(),s=g[o];"string"==typeof s?g[o]=[s,i]:Array.isArray(s)?s.push(i):g[o]=i}Dn("got proxy server response: %o %o",h,g),s(),n({connect:{statusCode:p,statusText:d,headers:g},buffered:u})}(c):t.once("readable",i)}function s(){t.removeListener("end",c),t.removeListener("error",u),t.removeListener("readable",i)}function c(){s(),Dn("onend"),e(new Error("Proxy connection ended before receiving CONNECT response"))}function u(t){s(),Dn("onerror %o",t),e(t)}t.on("error",u),t.on("end",c),i()}))}function jn(...t){C.log("[https-proxy-agent]",...t)}class On extends kn{static __initStatic(){this.protocols=["http","https"]}constructor(t,n){var e,r;super(n),this.options={},this.proxy="string"==typeof t?new URL(t):t,this.proxyHeaders=(e=function(t){let n,e=t[0],r=1;for(;r<t.length;){const o=t[r],i=t[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==e)return;"access"===o||"optionalAccess"===o?(n=e,e=i(e)):"call"!==o&&"optionalCall"!==o||(e=i(((...t)=>e.call(n,...t))),n=void 0)}return e}([n,"optionalAccess",t=>t.headers]),r=()=>({}),null!=e?e:r()),jn("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const o=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...n?In(n,"headers"):null,host:o,port:i}}async connect(t,n){const{proxy:e}=this;if(!n.host)throw new TypeError('No "host" provided');let r;if("https:"===e.protocol){jn("Creating `tls.Socket`: %o",this.connectOpts);const t=this.connectOpts.servername||this.connectOpts.host;r=f.connect({...this.connectOpts,servername:t&&a.isIP(t)?void 0:t})}else jn("Creating `net.Socket`: %o",this.connectOpts),r=a.connect(this.connectOpts);const o="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},i=a.isIPv6(n.host)?`[${n.host}]`:n.host;let s=`CONNECT ${i}:${n.port} HTTP/1.1\r\n`;if(e.username||e.password){const t=`${decodeURIComponent(e.username)}:${decodeURIComponent(e.password)}`;o["Proxy-Authorization"]=`Basic ${Buffer.from(t).toString("base64")}`}o.Host=`${i}:${n.port}`,o["Proxy-Connection"]||(o["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(const t of Object.keys(o))s+=`${t}: ${o[t]}\r\n`;const c=Tn(r);r.write(`${s}\r\n`);const{connect:u,buffered:h}=await c;if(t.emit("proxyConnect",u),this.emit("proxyConnect",u,t),200===u.statusCode){if(t.once("socket",Rn),n.secureEndpoint){jn("Upgrading socket connection to TLS");const t=n.servername||n.host;return f.connect({...In(n,"host","path","port"),socket:r,servername:a.isIP(t)?void 0:t})}return r}r.destroy();const l=new a.Socket({writable:!1});return l.readable=!0,t.once("socket",(t=>{jn("Replaying proxy buffer for failed request"),t.push(h),t.push(null)})),l}}function Rn(t){t.resume()}function In(t,...n){const e={};let r;for(r in t)n.includes(r)||(e[r]=t[r]);return e}function Pn(t,n){return null!=t?t:n()}On.__initStatic();const Un=32768;function Mn(t){return t.replace(/^[A-Z]:/,"").replace(/\\/g,"/")}function Ln(t){let n,e=t[0],r=1;for(;r<t.length;){const o=t[r],i=t[r+1];if(r+=2,("optionalAccess"===o||"optionalCall"===o)&&null==e)return;"access"===o||"optionalAccess"===o?(n=e,e=i(e)):"call"!==o&&"optionalCall"!==o||(e=i(((...t)=>e.call(n,...t))),n=void 0)}return e}const Bn=n;let Gn,Hn=!1;function Jn(t){Bn.debug&&console.log(`[ANR Worker] ${t}`)}var Wn,zn,Fn;const Kn=function(t){let n;try{n=new URL(t.url)}catch(n){return A((()=>{console.warn("[@sentry/node]: Invalid dsn or tunnel option, will not send any events. The tunnel option must be a full URL when used.")})),Kt(t,(()=>Promise.resolve({})))}const e="https:"===n.protocol,r=function(t,n){const{no_proxy:e}=process.env;return e&&e.split(",").some((n=>t.host.endsWith(n)||t.hostname.endsWith(n)))?void 0:n}(n,t.proxy||(e?process.env.https_proxy:void 0)||process.env.http_proxy),o=e?s:i,a=void 0!==t.keepAlive&&t.keepAlive,f=r?new On(r):new o.Agent({keepAlive:a,maxSockets:30,timeout:2e3});return xn.with(function(t){return t.setValue(An,!0)}(xn.active()),(()=>{const n=function(t,n,e){const{hostname:r,pathname:o,port:i,protocol:s,search:a}=new URL(t.url);return function(f){return new Promise(((h,l)=>{let p=function(t){return new c({read(){this.push(t),this.push(null)}})}(f.body);const d={...t.headers};f.body.length>Un&&(d["content-encoding"]="gzip",p=p.pipe(u()));const g=n.request({method:"POST",agent:e,headers:d,hostname:r,path:`${o}${a}`,port:i,protocol:s,ca:t.caCerts},(t=>{t.on("data",(()=>{})),t.on("end",(()=>{})),t.setEncoding("utf8");const n=Pn(t.headers["retry-after"],(()=>null)),e=Pn(t.headers["x-sentry-rate-limits"],(()=>null));h({statusCode:t.statusCode,headers:{"retry-after":n,"x-sentry-rate-limits":Array.isArray(e)?e[0]:e}})}));g.on("error",l),p.pipe(g)}))}}(t,Pn(t.httpModule,(()=>o)),f);return Kt(t,n)}))}({url:(Wn=Bn.dsn,zn=Bn.tunnel,Fn=Bn.sdkMetadata.sdk,zn||`${function(t){return`${function(t){const n=t.protocol?`${t.protocol}:`:"",e=t.port?`:${t.port}`:"";return`${n}//${t.host}${e}${t.path?`/${t.path}`:""}/api/`}(t)}${t.projectId}/envelope/`}(Wn)}?${zt(Wn,Fn)}`),recordDroppedEvent:()=>{}});async function Vn(){if(Gn){Jn("Sending abnormal session"),pt(Gn,{status:"abnormal",abnormal_mechanism:"anr_foreground"});const t=function(t,n,e,r){const o=it(e);return X({sent_at:(new Date).toISOString(),...o&&{sdk:o},...!!r&&n&&{dsn:N(n)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])}(Gn,Bn.dsn,Bn.sdkMetadata,Bn.tunnel);Jn(JSON.stringify(t)),await Kn.send(t);try{Ln([e,"optionalAccess",t=>t.postMessage,"call",t=>t("session-ended")])}catch(t){}}}function Yn(t){if(!t)return;const n=function(t){if(!t.length)return[];const n=Array.from(t);return/sentryWrapped/.test(n[n.length-1].function||"")&&n.pop(),n.reverse(),j.test(n[n.length-1].function||"")&&(n.pop(),j.test(n[n.length-1].function||"")&&n.pop()),n.slice(0,D).map((t=>({...t,filename:t.filename||n[n.length-1].filename,function:t.function||T})))}(t);if(Bn.appRootPath)for(const t of n)t.filename&&(t.filename=H(t.filename,Bn.appRootPath));return n}async function qn(t,n){if(Hn)return;Hn=!0,await Vn(),Jn("Sending event");const e={event_id:L(),contexts:Bn.contexts,release:Bn.release,environment:Bn.environment,dist:Bn.dist,platform:"node",level:"error",exception:{values:[{type:"ApplicationNotResponding",value:`Application Not Responding for at least ${Bn.anrThreshold} ms`,stacktrace:{frames:Yn(t)},mechanism:{type:"ANR"}}]},tags:Bn.staticTags};n&&function(t,n){if(Jt(t,n),!Ln([t,"access",t=>t.contexts,"optionalAccess",t=>t.trace])){const{traceId:e,spanId:r,parentSpanId:o}=n.propagationContext;t.contexts={trace:{trace_id:e,span_id:r,parent_span_id:o},...t.contexts}}}(e,n);const r=Ht(e,Bn.dsn,Bn.sdkMetadata,Bn.tunnel);Jn(JSON.stringify(r)),await Kn.send(r),await Kn.flush(2e3),setTimeout((()=>{process.exit(0)}),5e3)}let Zn;if(Jn("Started"),Bn.captureStackTrace){Jn("Connecting to debugger");const n=new t;n.connectToMainThread(),Jn("Connected to debugger");const e=new Map;n.on("Debugger.scriptParsed",(t=>{e.set(t.params.scriptId,t.params.url)})),n.on("Debugger.paused",(t=>{if("other"===t.params.reason)try{Jn("Debugger paused");const i=[...t.params.callFrames],s=Bn.appRootPath?function(t=(process.argv[1]?W(process.argv[1]):process.cwd()),n="\\"===o){const e=n?Mn(t):t;return t=>{if(!t)return;const o=n?Mn(t):t;let{dir:i,base:s,ext:c}=r.parse(o);".js"!==c&&".mjs"!==c&&".cjs"!==c||(s=s.slice(0,-1*c.length)),i||(i=".");const u=i.lastIndexOf("/node_modules");if(u>-1)return`${i.slice(u+14).replace(/\//g,".")}:${s}`;if(i.startsWith(e)){let t=i.slice(e.length+1).replace(/\//g,".");return t&&(t+=":"),t+=s,t}return s}}(Bn.appRootPath):()=>{},c=i.map((t=>function(t,n,e){const r=n?n.replace(/^file:\/\//,""):void 0,o=t.location.columnNumber?t.location.columnNumber+1:void 0,i=t.location.lineNumber?t.location.lineNumber+1:void 0;return U({filename:r,module:e(r),function:t.functionName||T,colno:o,lineno:i,in_app:r?Y(r):void 0})}(t,e.get(t.location.scriptId),s)));n.post("Runtime.evaluate",{expression:"global.__SENTRY_GET_SCOPES__();",silent:!0,returnByValue:!0},((t,e)=>{t&&Jn(`Error executing script: '${t.message}'`);const r=e&&e.result?e.result.value:void 0;n.post("Debugger.resume"),n.post("Debugger.disable"),qn(c,r).then(null,(()=>{Jn("Sending ANR event failed.")}))}))}catch(t){throw n.post("Debugger.resume"),n.post("Debugger.disable"),t}})),Zn=()=>{try{n.post("Debugger.enable",(()=>{n.post("Debugger.pause")}))}catch(t){}}}const{poll:Qn}=function(t,n,e,r){const o=t();let i=!1,s=!0;return setInterval((()=>{const t=o.getTimeMs();!1===i&&t>n+e&&(i=!0,s&&r()),t<n+e&&(i=!1)}),20),{poll:()=>{o.reset()},enabled:t=>{s=t}}}((function(){let t=process.hrtime();return{getTimeMs:()=>{const[n,e]=process.hrtime(t);return Math.floor(1e3*n+e/1e6)},reset:()=>{t=process.hrtime()}}}),Bn.pollInterval,Bn.anrThreshold,(function(){Jn("Watchdog timeout"),Zn?(Jn("Pausing debugger to capture stack trace"),Zn()):(Jn("Capturing event without a stack trace"),qn().then(null,(()=>{Jn("Sending ANR event failed on watchdog timeout.")})))}));Ln([e,"optionalAccess",t=>t.on,"call",t=>t("message",(t=>{t.session&&(Gn=lt(t.session)),Qn()}))]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/node",
3
- "version": "8.0.0-alpha.5",
3
+ "version": "8.0.0-alpha.7",
4
4
  "description": "Sentry Node SDK using OpenTelemetry for performance instrumentation",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/node-experimental",
@@ -62,16 +62,16 @@
62
62
  "@opentelemetry/sdk-trace-base": "1.21.0",
63
63
  "@opentelemetry/semantic-conventions": "1.21.0",
64
64
  "@prisma/instrumentation": "5.9.0",
65
- "@sentry/core": "8.0.0-alpha.5",
66
- "@sentry/opentelemetry": "8.0.0-alpha.5",
67
- "@sentry/types": "8.0.0-alpha.5",
68
- "@sentry/utils": "8.0.0-alpha.5"
65
+ "@sentry/core": "8.0.0-alpha.7",
66
+ "@sentry/opentelemetry": "8.0.0-alpha.7",
67
+ "@sentry/types": "8.0.0-alpha.7",
68
+ "@sentry/utils": "8.0.0-alpha.7"
69
69
  },
70
70
  "devDependencies": {
71
- "@types/node": "14.18.63"
71
+ "@types/node": "^14.18.0"
72
72
  },
73
73
  "optionalDependencies": {
74
- "opentelemetry-instrumentation-fetch-node": "1.1.0"
74
+ "opentelemetry-instrumentation-fetch-node": "1.1.2"
75
75
  },
76
76
  "sideEffects": false
77
77
  }
package/types/index.d.ts CHANGED
@@ -31,6 +31,6 @@ export { cron } from './cron';
31
31
  export type { NodeOptions } from './types';
32
32
  export { addRequestDataToEvent, DEFAULT_USER_INCLUDES, extractRequestData, } from '@sentry/utils';
33
33
  export { continueTrace } from '@sentry/opentelemetry';
34
- export { addBreadcrumb, isInitialized, getGlobalScope, close, createTransport, flush, Hub, SDK_VERSION, getSpanStatusFromHttpCode, setHttpStatus, captureCheckIn, withMonitor, requestDataIntegration, functionToStringIntegration, inboundFiltersIntegration, linkedErrorsIntegration, addEventProcessor, setContext, setExtra, setExtras, setTag, setTags, setUser, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, setCurrentClient, Scope, setMeasurement, getSpanDescendants, parameterize, getClient, getCurrentHub, getCurrentScope, getIsolationScope, withScope, withIsolationScope, captureException, captureEvent, captureMessage, captureConsoleIntegration, debugIntegration, dedupeIntegration, extraErrorDataIntegration, rewriteFramesIntegration, sessionTimingIntegration, metricsDefault as metrics, startSession, captureSession, endSession, addIntegration, startSpan, startSpanManual, startInactiveSpan, getActiveSpan, withActiveSpan, getRootSpan, } from '@sentry/core';
34
+ export { addBreadcrumb, isInitialized, getGlobalScope, close, createTransport, flush, Hub, SDK_VERSION, getSpanStatusFromHttpCode, setHttpStatus, captureCheckIn, withMonitor, requestDataIntegration, functionToStringIntegration, inboundFiltersIntegration, linkedErrorsIntegration, addEventProcessor, setContext, setExtra, setExtras, setTag, setTags, setUser, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, setCurrentClient, Scope, setMeasurement, getSpanDescendants, parameterize, getClient, getCurrentHub, getCurrentScope, getIsolationScope, withScope, withIsolationScope, captureException, captureEvent, captureMessage, captureConsoleIntegration, debugIntegration, dedupeIntegration, extraErrorDataIntegration, rewriteFramesIntegration, sessionTimingIntegration, metricsDefault as metrics, startSession, captureSession, endSession, addIntegration, startSpan, startSpanManual, startInactiveSpan, getActiveSpan, withActiveSpan, getRootSpan, spanToJSON, } from '@sentry/core';
35
35
  export type { Breadcrumb, BreadcrumbHint, PolymorphicRequest, Request, SdkInfo, Event, EventHint, Exception, Session, SeverityLevel, StackFrame, Stacktrace, Thread, Transaction, User, Span, } from '@sentry/types';
36
36
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"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"}
@@ -1,10 +1,10 @@
1
- import type { IntegrationFnResult } from '@sentry/types';
1
+ import type { Integration } from '@sentry/types';
2
2
  import type { AnrIntegrationOptions } from './common';
3
3
  type AnrInternal = {
4
4
  startWorker: () => void;
5
5
  stopWorker: () => void;
6
6
  };
7
- type AnrReturn = (options?: Partial<AnrIntegrationOptions>) => IntegrationFnResult & AnrInternal;
7
+ type AnrReturn = (options?: Partial<AnrIntegrationOptions>) => Integration & AnrInternal;
8
8
  export declare const anrIntegration: AnrReturn;
9
9
  export {};
10
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/anr/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA6C,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAMpG,OAAO,KAAK,EAAE,qBAAqB,EAAmB,MAAM,UAAU,CAAC;AA2BvE,KAAK,WAAW,GAAG;IAAE,WAAW,EAAE,MAAM,IAAI,CAAC;IAAC,UAAU,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAwCvE,KAAK,SAAS,GAAG,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,KAAK,mBAAmB,GAAG,WAAW,CAAC;AAEjG,eAAO,MAAM,cAAc,WAAkD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/anr/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA8B,WAAW,EAA4B,MAAM,eAAe,CAAC;AAOvG,OAAO,KAAK,EAAE,qBAAqB,EAAmB,MAAM,UAAU,CAAC;AA6CvE,KAAK,WAAW,GAAG;IAAE,WAAW,EAAE,MAAM,IAAI,CAAC;IAAC,UAAU,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AA6CvE,KAAK,SAAS,GAAG,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,KAAK,WAAW,GAAG,WAAW,CAAC;AAEzF,eAAO,MAAM,cAAc,WAAkD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Capture console logs as breadcrumbs.
3
3
  */
4
- export declare const consoleIntegration: () => import("@sentry/types").IntegrationFnResult;
4
+ export declare const consoleIntegration: () => import("@sentry/types").Integration;
5
5
  //# sourceMappingURL=console.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../../src/integrations/console.ts"],"names":[],"mappings":"AAgCA;;GAEG;AACH,eAAO,MAAM,kBAAkB,mDAAyC,CAAC"}
1
+ {"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../../src/integrations/console.ts"],"names":[],"mappings":"AAgCA;;GAEG;AACH,eAAO,MAAM,kBAAkB,2CAAyC,CAAC"}
@@ -17,7 +17,7 @@ interface ContextOptions {
17
17
  /**
18
18
  * Capture context about the environment and the device that the client is running on, to events.
19
19
  */
20
- export declare const nodeContextIntegration: (options?: ContextOptions | undefined) => import("@sentry/types").IntegrationFnResult;
20
+ export declare const nodeContextIntegration: (options?: ContextOptions | undefined) => import("@sentry/types").Integration;
21
21
  /**
22
22
  * Gets device information from os
23
23
  */
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/integrations/context.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAKvC,OAAO,KAAK,EAKV,aAAa,EAId,MAAM,eAAe,CAAC;AAEvB,eAAO,MAAM,aAAa,+BAAsB,CAAC;AACjD,eAAO,MAAM,YAAY,8BAAqB,CAAC;AAI/C,UAAU,oBAAoB;IAC5B,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,UAAU,cAAc;IACtB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,MAAM,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC;IACxC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAyED;;GAEG;AACH,eAAO,MAAM,sBAAsB,uFAA6C,CAAC;AAmFjF;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,oBAAoB,GAAG,IAAI,GAAG,aAAa,CAqCtF"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/integrations/context.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC;AAKvC,OAAO,KAAK,EAKV,aAAa,EAId,MAAM,eAAe,CAAC;AAEvB,eAAO,MAAM,aAAa,+BAAsB,CAAC;AACjD,eAAO,MAAM,YAAY,8BAAqB,CAAC;AAI/C,UAAU,oBAAoB;IAC5B,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,UAAU,cAAc;IACtB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,MAAM,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC;IACxC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAyED;;GAEG;AACH,eAAO,MAAM,sBAAsB,+EAA6C,CAAC;AAmFjF;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,oBAAoB,GAAG,IAAI,GAAG,aAAa,CAqCtF"}
@@ -21,6 +21,6 @@ export declare const _contextLinesIntegration: (options?: ContextLinesOptions) =
21
21
  /**
22
22
  * Capture the lines before and after the frame's context.
23
23
  */
24
- export declare const contextLinesIntegration: (options?: ContextLinesOptions | undefined) => import("@sentry/types").IntegrationFnResult;
24
+ export declare const contextLinesIntegration: (options?: ContextLinesOptions | undefined) => import("@sentry/types").Integration;
25
25
  export {};
26
26
  //# sourceMappingURL=contextlines.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"contextlines.d.ts","sourceRoot":"","sources":["../../../src/integrations/contextlines.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAA6B,MAAM,eAAe,CAAC;AAStE;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,IAAI,CAE5C;AAED,UAAU,mBAAmB;IAC3B;;;;;QAKI;IACJ,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,uDAAuD;AACvD,eAAO,MAAM,wBAAwB,aAAc,mBAAmB;;;CAS5C,CAAC;AAE3B;;GAEG;AACH,eAAO,MAAM,uBAAuB,4FAA8C,CAAC"}
1
+ {"version":3,"file":"contextlines.d.ts","sourceRoot":"","sources":["../../../src/integrations/contextlines.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAA6B,MAAM,eAAe,CAAC;AAStE;;;GAGG;AACH,wBAAgB,qBAAqB,IAAI,IAAI,CAE5C;AAED,UAAU,mBAAmB;IAC3B;;;;;QAKI;IACJ,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,uDAAuD;AACvD,eAAO,MAAM,wBAAwB,aAAc,mBAAmB;;;CAS5C,CAAC;AAE3B;;GAEG;AACH,eAAO,MAAM,uBAAuB,oFAA8C,CAAC"}
@@ -19,6 +19,6 @@ interface HttpOptions {
19
19
  * The http integration instruments Node's internal http and https modules.
20
20
  * It creates breadcrumbs and spans for outgoing HTTP requests which will be attached to the currently active span.
21
21
  */
22
- export declare const httpIntegration: (options?: HttpOptions | undefined) => import("@sentry/types").IntegrationFnResult;
22
+ export declare const httpIntegration: (options?: HttpOptions | undefined) => import("@sentry/types").Integration;
23
23
  export {};
24
24
  //# sourceMappingURL=http.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../src/integrations/http.ts"],"names":[],"mappings":"AAgBA,UAAU,WAAW;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,sBAAsB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;IAElD;;;OAGG;IACH,sBAAsB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CACnD;AAqFD;;;GAGG;AACH,eAAO,MAAM,eAAe,oFAAsC,CAAC"}
1
+ {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../src/integrations/http.ts"],"names":[],"mappings":"AAgBA,UAAU,WAAW;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,sBAAsB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;IAElD;;;OAGG;IACH,sBAAsB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CACnD;AAqFD;;;GAGG;AACH,eAAO,MAAM,eAAe,4EAAsC,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const localVariablesIntegration: (options?: import("./common").LocalVariablesIntegrationOptions | undefined, session?: import("./local-variables-sync").DebugSession | undefined) => import("@sentry/types").IntegrationFnResult;
1
+ export declare const localVariablesIntegration: (options?: import("./common").LocalVariablesIntegrationOptions | undefined, session?: import("./local-variables-sync").DebugSession | undefined) => import("@sentry/types").Integration;
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/local-variables/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,iMAAgC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/local-variables/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,yLAAgC,CAAC"}
@@ -21,6 +21,6 @@ export declare function createCallbackList<T>(complete: Next<T>): CallbackWrappe
21
21
  /**
22
22
  * Adds local variables to exception frames.
23
23
  */
24
- export declare const localVariablesSyncIntegration: (options?: LocalVariablesIntegrationOptions | undefined, session?: DebugSession | undefined) => import("@sentry/types").IntegrationFnResult;
24
+ export declare const localVariablesSyncIntegration: (options?: LocalVariablesIntegrationOptions | undefined, session?: DebugSession | undefined) => import("@sentry/types").Integration;
25
25
  export {};
26
26
  //# sourceMappingURL=local-variables-sync.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"local-variables-sync.d.ts","sourceRoot":"","sources":["../../../../src/integrations/local-variables/local-variables-sync.ts"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,qBAAqB,EAAW,MAAM,WAAW,CAAC;AAK1E,OAAO,KAAK,EAEV,gCAAgC,EAGhC,SAAS,EACV,MAAM,UAAU,CAAC;AAGlB,KAAK,YAAY,GAAG,qBAAqB,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;AACxE,MAAM,WAAW,YAAY;IAC3B,mDAAmD;IACnD,mBAAmB,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,EAAE,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IAC/G,kDAAkD;IAClD,oBAAoB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IAChD,2CAA2C;IAC3C,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,GAAG,IAAI,CAAC;CAChF;AAED,KAAK,IAAI,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;AACnC,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;AACpC,KAAK,eAAe,CAAC,CAAC,IAAI;IAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC;AAEzD,kEAAkE;AAClE,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,CAiC3E;AAiUD;;GAEG;AACH,eAAO,MAAM,6BAA6B,6IAAoD,CAAC"}
1
+ {"version":3,"file":"local-variables-sync.d.ts","sourceRoot":"","sources":["../../../../src/integrations/local-variables/local-variables-sync.ts"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,qBAAqB,EAAW,MAAM,WAAW,CAAC;AAK1E,OAAO,KAAK,EAEV,gCAAgC,EAGhC,SAAS,EACV,MAAM,UAAU,CAAC;AAGlB,KAAK,YAAY,GAAG,qBAAqB,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;AACxE,MAAM,WAAW,YAAY;IAC3B,mDAAmD;IACnD,mBAAmB,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,EAAE,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IAC/G,kDAAkD;IAClD,oBAAoB,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IAChD,2CAA2C;IAC3C,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,GAAG,IAAI,CAAC;CAChF;AAED,KAAK,IAAI,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;AACnC,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;AACpC,KAAK,eAAe,CAAC,CAAC,IAAI;IAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC;AAEzD,kEAAkE;AAClE,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,CAiC3E;AAmUD;;GAEG;AACH,eAAO,MAAM,6BAA6B,qIAAoD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * Add node modules / packages to the event.
3
3
  */
4
- export declare const modulesIntegration: () => import("@sentry/types").IntegrationFnResult;
4
+ export declare const modulesIntegration: () => import("@sentry/types").Integration;
5
5
  //# sourceMappingURL=modules.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"modules.d.ts","sourceRoot":"","sources":["../../../src/integrations/modules.ts"],"names":[],"mappings":"AAuBA;;GAEG;AACH,eAAO,MAAM,kBAAkB,mDAAyC,CAAC"}
1
+ {"version":3,"file":"modules.d.ts","sourceRoot":"","sources":["../../../src/integrations/modules.ts"],"names":[],"mappings":"AAuBA;;GAEG;AACH,eAAO,MAAM,kBAAkB,2CAAyC,CAAC"}
@@ -10,6 +10,6 @@ interface NodeFetchOptions {
10
10
  */
11
11
  ignoreOutgoingRequests?: (url: string) => boolean;
12
12
  }
13
- export declare const nativeNodeFetchIntegration: (options?: NodeFetchOptions | undefined) => import("@sentry/types").IntegrationFnResult;
13
+ export declare const nativeNodeFetchIntegration: (options?: NodeFetchOptions | undefined) => import("@sentry/types").Integration;
14
14
  export {};
15
15
  //# sourceMappingURL=node-fetch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"node-fetch.d.ts","sourceRoot":"","sources":["../../../src/integrations/node-fetch.ts"],"names":[],"mappings":"AAWA,UAAU,gBAAgB;IACxB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,sBAAsB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CACnD;AAkDD,eAAO,MAAM,0BAA0B,yFAAiD,CAAC"}
1
+ {"version":3,"file":"node-fetch.d.ts","sourceRoot":"","sources":["../../../src/integrations/node-fetch.ts"],"names":[],"mappings":"AAaA,UAAU,gBAAgB;IACxB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,sBAAsB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CACnD;AAoDD,eAAO,MAAM,0BAA0B,iFAAiD,CAAC"}
@@ -21,7 +21,7 @@ interface OnUncaughtExceptionOptions {
21
21
  /**
22
22
  * Add a global exception handler.
23
23
  */
24
- export declare const onUncaughtExceptionIntegration: (options?: Partial<OnUncaughtExceptionOptions> | undefined) => import("@sentry/types").IntegrationFnResult;
24
+ export declare const onUncaughtExceptionIntegration: (options?: Partial<OnUncaughtExceptionOptions> | undefined) => import("@sentry/types").Integration;
25
25
  type ErrorHandler = {
26
26
  _errorHandler: boolean;
27
27
  } & ((error: Error) => void);
@@ -1 +1 @@
1
- {"version":3,"file":"onuncaughtexception.d.ts","sourceRoot":"","sources":["../../../src/integrations/onuncaughtexception.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAUhD,UAAU,0BAA0B;IAIlC;;;;;;OAMG;IACH,oCAAoC,EAAE,OAAO,CAAC;IAE9C;;;;;;;OAOG;IACH,YAAY,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,WAAW,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACzE;AAkBD;;GAEG;AACH,eAAO,MAAM,8BAA8B,4GAAqD,CAAC;AAEjG,KAAK,YAAY,GAAG;IAAE,aAAa,EAAE,OAAO,CAAA;CAAE,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC;AAE1E,8BAA8B;AAC9B,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,0BAA0B,GAAG,YAAY,CAyGtG"}
1
+ {"version":3,"file":"onuncaughtexception.d.ts","sourceRoot":"","sources":["../../../src/integrations/onuncaughtexception.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAUhD,UAAU,0BAA0B;IAIlC;;;;;;OAMG;IACH,oCAAoC,EAAE,OAAO,CAAC;IAE9C;;;;;;;OAOG;IACH,YAAY,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,WAAW,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CACzE;AAkBD;;GAEG;AACH,eAAO,MAAM,8BAA8B,oGAAqD,CAAC;AAEjG,KAAK,YAAY,GAAG;IAAE,aAAa,EAAE,OAAO,CAAA;CAAE,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC;AAE1E,8BAA8B;AAC9B,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,0BAA0B,GAAG,YAAY,CAyGtG"}
@@ -10,7 +10,7 @@ interface OnUnhandledRejectionOptions {
10
10
  /**
11
11
  * Add a global promise rejection handler.
12
12
  */
13
- export declare const onUnhandledRejectionIntegration: (options?: Partial<OnUnhandledRejectionOptions> | undefined) => import("@sentry/types").IntegrationFnResult;
13
+ export declare const onUnhandledRejectionIntegration: (options?: Partial<OnUnhandledRejectionOptions> | undefined) => import("@sentry/types").Integration;
14
14
  /**
15
15
  * Send an exception with reason
16
16
  * @param reason string
@@ -1 +1 @@
1
- {"version":3,"file":"onunhandledrejection.d.ts","sourceRoot":"","sources":["../../../src/integrations/onunhandledrejection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAiB,MAAM,eAAe,CAAC;AAI3D,KAAK,sBAAsB,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEzD,UAAU,2BAA2B;IACnC;;;OAGG;IACH,IAAI,EAAE,sBAAsB,CAAC;CAC9B;AAeD;;GAEG;AACH,eAAO,MAAM,+BAA+B,6GAAsD,CAAC;AAEnG;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,2BAA2B,GACnC,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAmB7C"}
1
+ {"version":3,"file":"onunhandledrejection.d.ts","sourceRoot":"","sources":["../../../src/integrations/onunhandledrejection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAiB,MAAM,eAAe,CAAC;AAI3D,KAAK,sBAAsB,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEzD,UAAU,2BAA2B;IACnC;;;OAGG;IACH,IAAI,EAAE,sBAAsB,CAAC;CAC9B;AAeD;;GAEG;AACH,eAAO,MAAM,+BAA+B,qGAAsD,CAAC;AAEnG;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,2BAA2B,GACnC,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAmB7C"}
@@ -13,7 +13,7 @@ type SpotlightConnectionOptions = {
13
13
  *
14
14
  * Important: This integration only works with Node 18 or newer.
15
15
  */
16
- export declare const spotlightIntegration: (options?: Partial<SpotlightConnectionOptions> | undefined) => import("@sentry/types").IntegrationFnResult;
16
+ export declare const spotlightIntegration: (options?: Partial<SpotlightConnectionOptions> | undefined) => import("@sentry/types").Integration;
17
17
  type HttpRequestImpl = typeof http.request;
18
18
  /**
19
19
  * We want to get an unpatched http request implementation to avoid capturing our own calls.
@@ -1 +1 @@
1
- {"version":3,"file":"spotlight.d.ts","sourceRoot":"","sources":["../../../src/integrations/spotlight.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAK7B,KAAK,0BAA0B,GAAG;IAChC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAoBF;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,4GAA2C,CAAC;AA2D7E,KAAK,eAAe,GAAG,OAAO,IAAI,CAAC,OAAO,CAAC;AAG3C;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,eAAe,CAOtD"}
1
+ {"version":3,"file":"spotlight.d.ts","sourceRoot":"","sources":["../../../src/integrations/spotlight.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAK7B,KAAK,0BAA0B,GAAG;IAChC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAoBF;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,oGAA2C,CAAC;AA2D7E,KAAK,eAAe,GAAG,OAAO,IAAI,CAAC,OAAO,CAAC;AAG3C;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,eAAe,CAOtD"}
@@ -6,7 +6,7 @@ import type * as http from 'http';
6
6
  * Capture tracing data for express.
7
7
  * In order to capture exceptions, you have to call `setupExpressErrorHandler(app)` before any other middleware and after all controllers.
8
8
  */
9
- export declare const expressIntegration: () => import("@sentry/types").IntegrationFnResult;
9
+ export declare const expressIntegration: () => import("@sentry/types").Integration;
10
10
  interface MiddlewareError extends Error {
11
11
  status?: number | string;
12
12
  statusCode?: number | string;
@@ -1 +1 @@
1
- {"version":3,"file":"express.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/express.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,IAAI,MAAM,MAAM,CAAC;AA2BlC;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,mDAAyC,CAAC;AAEzE,UAAU,eAAgB,SAAQ,KAAK;IACrC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,MAAM,CAAC,EAAE;QACP,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KAC9B,CAAC;CACH;AAED,KAAK,iBAAiB,GAAG,CACvB,KAAK,EAAE,eAAe,EACtB,GAAG,EAAE,IAAI,CAAC,eAAe,EACzB,GAAG,EAAE,IAAI,CAAC,cAAc,EACxB,IAAI,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,KACnC,IAAI,CAAC;AAEV;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,CAAC,EAAE;IAC5C;;;OAGG;IACH,iBAAiB,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC;CACjE,GAAG,iBAAiB,CAqCpB;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,GAAG,EAAE;IAAE,GAAG,EAAE,CAAC,UAAU,EAAE,iBAAiB,KAAK,OAAO,CAAA;CAAE,GAAG,IAAI,CAEvG"}
1
+ {"version":3,"file":"express.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/express.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,IAAI,MAAM,MAAM,CAAC;AA2BlC;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,2CAAyC,CAAC;AAEzE,UAAU,eAAgB,SAAQ,KAAK;IACrC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,MAAM,CAAC,EAAE;QACP,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KAC9B,CAAC;CACH;AAED,KAAK,iBAAiB,GAAG,CACvB,KAAK,EAAE,eAAe,EACtB,GAAG,EAAE,IAAI,CAAC,eAAe,EACzB,GAAG,EAAE,IAAI,CAAC,cAAc,EACxB,IAAI,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,KACnC,IAAI,CAAC;AAEV;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,CAAC,EAAE;IAC5C;;;OAGG;IACH,iBAAiB,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC;CACjE,GAAG,iBAAiB,CAqCpB;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,GAAG,EAAE;IAAE,GAAG,EAAE,CAAC,UAAU,EAAE,iBAAiB,KAAK,OAAO,CAAA;CAAE,GAAG,IAAI,CAEvG"}
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Capture tracing data for fastify.
5
5
  */
6
- export declare const fastifyIntegration: () => import("@sentry/types").IntegrationFnResult;
6
+ export declare const fastifyIntegration: () => import("@sentry/types").Integration;
7
7
  interface Fastify {
8
8
  register: (plugin: unknown) => void;
9
9
  addHook: (hook: string, handler: (request: unknown, reply: unknown, error: Error) => void) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"fastify.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/fastify.ts"],"names":[],"mappings":"AAwBA;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,mDAAyC,CAAC;AAGzE,UAAU,OAAO;IACf,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACpC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,KAAK,IAAI,CAAC;CACpG;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAgB/D"}
1
+ {"version":3,"file":"fastify.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/fastify.ts"],"names":[],"mappings":"AAwBA;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,2CAAyC,CAAC;AAGzE,UAAU,OAAO;IACf,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACpC,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,KAAK,IAAI,CAAC;CACpG;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAgB/D"}
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * Capture tracing data for GraphQL.
5
5
  */
6
- export declare const graphqlIntegration: () => import("@sentry/types").IntegrationFnResult;
6
+ export declare const graphqlIntegration: () => import("@sentry/types").Integration;
7
7
  //# sourceMappingURL=graphql.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/graphql.ts"],"names":[],"mappings":"AAyBA;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,mDAAyC,CAAC"}
1
+ {"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/graphql.ts"],"names":[],"mappings":"AAyBA;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,2CAAyC,CAAC"}
@@ -5,7 +5,7 @@ import type { Server } from './types';
5
5
  * Capture tracing data for Hapi.
6
6
  * If you also want to capture errors, you need to call `setupHapiErrorHandler(server)` after you set up your server.
7
7
  */
8
- export declare const hapiIntegration: () => import("@sentry/types").IntegrationFnResult;
8
+ export declare const hapiIntegration: () => import("@sentry/types").Integration;
9
9
  export declare const hapiErrorPlugin: {
10
10
  name: string;
11
11
  version: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/hapi/index.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAsC,MAAM,EAAE,MAAM,SAAS,CAAC;AAa1E;;;;;GAKG;AACH,eAAO,MAAM,eAAe,mDAAsC,CAAC;AAsBnE,eAAO,MAAM,eAAe;;;0BAIW,OAAO,GAAG,EAAE,GAAG,CAAC;CAmBtD,CAAC;AAEF;;GAEG;AACH,wBAAsB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAEzE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/hapi/index.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAsC,MAAM,EAAE,MAAM,SAAS,CAAC;AAa1E;;;;;GAKG;AACH,eAAO,MAAM,eAAe,2CAAsC,CAAC;AAsBnE,eAAO,MAAM,eAAe;;;0BAIW,OAAO,GAAG,EAAE,GAAG,CAAC;CAmBtD,CAAC;AAEF;;GAEG;AACH,wBAAsB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAEzE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAejD;;GAEG;AACH,wBAAgB,8BAA8B,IAAI,WAAW,EAAE,CAe9D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAcjD;;GAEG;AACH,wBAAgB,8BAA8B,IAAI,WAAW,EAAE,CAkB9D"}
@@ -1,2 +1,2 @@
1
- export declare const koaIntegration: () => import("@sentry/types").IntegrationFnResult;
1
+ export declare const koaIntegration: () => import("@sentry/types").Integration;
2
2
  //# sourceMappingURL=koa.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"koa.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/koa.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,cAAc,mDAAqC,CAAC"}
1
+ {"version":3,"file":"koa.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/koa.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,cAAc,2CAAqC,CAAC"}
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * Capture tracing data for MongoDB.
5
5
  */
6
- export declare const mongoIntegration: () => import("@sentry/types").IntegrationFnResult;
6
+ export declare const mongoIntegration: () => import("@sentry/types").Integration;
7
7
  //# sourceMappingURL=mongo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mongo.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/mongo.ts"],"names":[],"mappings":"AAwBA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,mDAAuC,CAAC"}
1
+ {"version":3,"file":"mongo.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/mongo.ts"],"names":[],"mappings":"AAwBA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,2CAAuC,CAAC"}
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * Capture tracing data for Mongoose.
5
5
  */
6
- export declare const mongooseIntegration: () => import("@sentry/types").IntegrationFnResult;
6
+ export declare const mongooseIntegration: () => import("@sentry/types").Integration;
7
7
  //# sourceMappingURL=mongoose.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mongoose.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/mongoose.ts"],"names":[],"mappings":"AAwBA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,mDAA0C,CAAC"}
1
+ {"version":3,"file":"mongoose.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/mongoose.ts"],"names":[],"mappings":"AAwBA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,2CAA0C,CAAC"}
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * Capture tracing data for mysql.
5
5
  */
6
- export declare const mysqlIntegration: () => import("@sentry/types").IntegrationFnResult;
6
+ export declare const mysqlIntegration: () => import("@sentry/types").Integration;
7
7
  //# sourceMappingURL=mysql.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mysql.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/mysql.ts"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,mDAAuC,CAAC"}
1
+ {"version":3,"file":"mysql.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/mysql.ts"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,2CAAuC,CAAC"}
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * Capture tracing data for mysql2
5
5
  */
6
- export declare const mysql2Integration: () => import("@sentry/types").IntegrationFnResult;
6
+ export declare const mysql2Integration: () => import("@sentry/types").Integration;
7
7
  //# sourceMappingURL=mysql2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mysql2.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/mysql2.ts"],"names":[],"mappings":"AAwBA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,mDAAwC,CAAC"}
1
+ {"version":3,"file":"mysql2.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/mysql2.ts"],"names":[],"mappings":"AAwBA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,2CAAwC,CAAC"}
@@ -3,5 +3,5 @@
3
3
  *
4
4
  * Capture tracing data for nest.
5
5
  */
6
- export declare const nestIntegration: () => import("@sentry/types").IntegrationFnResult;
6
+ export declare const nestIntegration: () => import("@sentry/types").Integration;
7
7
  //# sourceMappingURL=nest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nest.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/nest.ts"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH,eAAO,MAAM,eAAe,mDAAsC,CAAC"}
1
+ {"version":3,"file":"nest.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing/nest.ts"],"names":[],"mappings":"AAgBA;;;;GAIG;AACH,eAAO,MAAM,eAAe,2CAAsC,CAAC"}