{"id":20046393,"url":"https://github.com/aneldev/dyna-sentry","last_synced_at":"2026-02-18T03:36:59.802Z","repository":{"id":43534364,"uuid":"240580371","full_name":"aneldev/dyna-sentry","owner":"aneldev","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-09T09:58:37.000Z","size":1374,"stargazers_count":2,"open_issues_count":19,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-30T15:42:32.195Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aneldev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-14T19:08:18.000Z","updated_at":"2023-08-28T13:53:48.000Z","dependencies_parsed_at":"2024-11-13T11:23:57.121Z","dependency_job_id":"bfc2eec9-dc3b-4a3c-b124-4e0581cd1615","html_url":"https://github.com/aneldev/dyna-sentry","commit_stats":{"total_commits":29,"total_committers":2,"mean_commits":14.5,"dds":0.2068965517241379,"last_synced_commit":"54eec57f6770c007a231dbb170e7647ec4463813"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/aneldev/dyna-sentry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneldev%2Fdyna-sentry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneldev%2Fdyna-sentry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneldev%2Fdyna-sentry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneldev%2Fdyna-sentry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aneldev","download_url":"https://codeload.github.com/aneldev/dyna-sentry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aneldev%2Fdyna-sentry/sbom","scorecard":{"id":195603,"data":{"date":"2025-08-11","repo":{"name":"github.com/aneldev/dyna-sentry","commit":"54eec57f6770c007a231dbb170e7647ec4463813"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/19 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"107 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-593m-55hh-j8gv","Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-whgm-jr23-g3j9","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-pp7h-53gx-mx7r","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx","Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-qgfr-5hqp-vrw9","Warn: Project is vulnerable to: GHSA-3wcq-x3mq-6r9p","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-phwq-j96m-2c2q","Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-6h5x-7c5m-7cr7","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-pfq8-rq6v-vf5m","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-7r28-3m3f-r2pr","Warn: Project is vulnerable to: GHSA-r8j5-h5cx-65gg","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-92xj-mqp7-vmcj","Warn: Project is vulnerable to: GHSA-wxgw-qj99-44c2","Warn: Project is vulnerable to: GHSA-5rrq-pxf6-6jx5","Warn: Project is vulnerable to: GHSA-8fr3-hfg3-gpgp","Warn: Project is vulnerable to: GHSA-gf8q-jrpm-jvxq","Warn: Project is vulnerable to: GHSA-2r2c-g63r-vccr","Warn: Project is vulnerable to: GHSA-cfm4-qjh2-4765","Warn: Project is vulnerable to: GHSA-x4jg-mjrx-434g","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-566m-qj78-rww5","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx","Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-hxcc-f52p-wc94","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-c9g6-9335-x697","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-332q-7ff2-57h2","Warn: Project is vulnerable to: GHSA-9m6j-fcg5-2442","Warn: Project is vulnerable to: GHSA-hh27-ffr2-f2jc","Warn: Project is vulnerable to: GHSA-rqff-837h-mm52","Warn: Project is vulnerable to: GHSA-8v38-pw62-9cw2","Warn: Project is vulnerable to: GHSA-hgjh-723h-mx2j","Warn: Project is vulnerable to: GHSA-jf5r-8hm2-f872","Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6","Warn: Project is vulnerable to: GHSA-4v9v-hfq4-rm2v","Warn: Project is vulnerable to: GHSA-9jgg-88mc-972h","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T21:46:23.773Z","repository_id":43534364,"created_at":"2025-08-16T21:46:23.774Z","updated_at":"2025-08-16T21:46:23.774Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29567589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T00:47:08.760Z","status":"online","status_checked_at":"2026-02-18T02:00:09.468Z","response_time":162,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T11:23:32.738Z","updated_at":"2026-02-18T03:36:54.793Z","avatar_url":"https://github.com/aneldev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dyna-sentry\n\nPuts some sugar onto Sentry.\n\nSend issues easily with Data and special Scope from one method. \n\nConvert the `console.error`, `console.warn` etc.. to Sentry Issues.\n\n# Setup to Convert consoles to issues\n\nThis is only what is needed.\n\n```\n// Initialize the Sentry as you do\nimport * as Sentry from '@sentry/browser';\nSentry.init({\n  dsn: \"https://\u003cyour sentry link\u003e\",\n});\n\n// Instantiate the DynaSentry\nimport {DynaSentry, EConsoleTypes} from \"dyna-sentry\";\nconst dynaSentry = new DynaSentry({\n    Sentry,\n    captureConsole: {\n        consoleTypes: [\n            EConsoleTypes.ERROR,\n            EConsoleTypes.WARN,\n            // LOG, INFO, DEBUG are also available\n        ],\n    },\n});\n\n```\n\nWhenever your app `console.error` or `console.warn` an issue will be sent to entry.\n\nThe first text arguments of the console are used as the Title of the issue and all the rest as Additional Data.\n\n# Filter consoles\n\nYou can filter out consoles to not send them to Sentry. _This is needed when you send the Logs also, since Sentry is consoling the POST for each sent issue._\n\n```\nimport {DynaSentry, EConsoleTypes} from \"dyna-sentry\";\nconst dynaSentry = new DynaSentry({\n    Sentry,\n    captureConsole: {\n        consoleTypes: [\n            EConsoleTypes.ERROR,\n            EConsoleTypes.WARN,\n            // LOG, INFO, DEBUG are also available\n        ],\n        filter: (consoleType, consoleArgs, consoleText) =\u003e {\n            if (consoleText.indeOf('invalid customer id') return false;\n            return true;\n        },\n    },\n});\n\n```\n\n# Filter out easily consoles with texts\n\nYou can filter out consoles to not send them to Sentry. _This is needed when you send the Logs also, since Sentry is consoling the POST for each sent issue._\n\n```\nimport {DynaSentry, EConsoleTypes} from \"dyna-sentry\";\nconst dynaSentry = new DynaSentry({\n    Sentry,\n    captureConsole: {\n        consoleTypes: [\n            EConsoleTypes.ERROR,\n            EConsoleTypes.WARN,\n            // LOG, INFO, DEBUG are also available\n        ],\n        filterOut: {\n            texts: [\n                \"DEBUG-3052\",\n                \"[Violation]\",\n            ],\n        },\n    },\n});\n\n```\n\n# Setup to Send issues manually\n\n```\n// Initialize the Sentry as you do\nimport * as Sentry from '@sentry/browser';\nSentry.init({\n  dsn: \"https://\u003cyour sentry link\u003e\",\n});\n\n// Instantiate the DynaSentry\nimport {DynaSentry} from \"dyna-sentry\";\nconst dynaSentry = new DynaSentry({Sentry});\n\n// Wherever in your app send an issue to Sentry\ndynaSentry.sendIssue({\n    title: 'Cannot send email',\n    data: {email},\n});\n```\n\u003e Note: You can use `sendIssues` with or without `captureConsole` setup.\n\n# Send issue method `sendIssue`\n\n## Set Level (Severity)\n\nDefault is Error.\n\nThere is an enum to get this easily and type-safe.\n\n```\nimport {ELevel} from \"dyna-sentry\";\n\ndynaSentry.sendIssue({\n    level: ELevel.WARN,\n    title: 'Cannot send email',\n    data: {email},\n    stringifyData: false,\n});\n```\n\nThe `ELevel` Enum\n\n```\nenum ELevel {\n  FATAL = \"fatal\",\n  ERROR = \"error\",\n  WARN = \"warning\",\n  LOG = \"log\",\n  INFO = \"info\",\n  DEBUG = \"debug\",\n  CRITICAL = \"critical\"\n}\n```\n\n## Send a issue's data stringified\n\nWhen you stringify the data, you can see the whole depth of the object on Sentry.\n\n\u003e **Tip:** The data stringify of the `sendIssue` can process objects with circular references with out exceptions, thanks to [dyna-stringify](https://github.com/aneldev/).\n\n```\ndynaSentry.sendIssue({\n    title: 'Cannot send email',\n    data: {email},\n    stringifyData: true,\n});\n```\n\n## Set Scope\n\nSentry offers a lot of methods to define the Scope of the issue.  \n\n`sendIssue` offers a callback to define anything Sentry offers.\n\n```\ndynaSentry.sendIssue({\n    title: 'Cannot send email',\n    data: {email},\n    stringifyData: false,\n    setScope: scope =\u003e {\n        scope.setUser({id: \"204523\"});\n        scope.setTag('id24534', 'Network layer');\n    },\n});\n```\n## Sentry's Scope methods\n\nThere is no a clear a API for all methods of Sentry's scope, below interface Scope. Taken from @sentry/types/dist/scope.d.ts.\n\nIf you write in typescript you can inspect all methods and types. If not, search for each method at [Sentry's API](https://docs.sentry.io/enriching-error-data/scopes/?platform=javascript)\n\n``` \nexport interface Scope {\n    /** Add new event processor that will be called after {@link applyToEvent}. */\n    addEventProcessor(callback: EventProcessor): this;\n    /**\n     * Updates user context information for future events.\n     *\n     * @param user User context object to be set in the current context. Pass `null` to unset the user.\n     */\n    setUser(user: User | null): this;\n    /**\n     * Set an object that will be merged sent as tags data with the event.\n     * @param tags Tags context object to merge into current context.\n     */\n    setTags(tags: {\n        [key: string]: string;\n    }): this;\n    /**\n     * Set key:value that will be sent as tags data with the event.\n     * @param key String key of tag\n     * @param value String value of tag\n     */\n    setTag(key: string, value: string): this;\n    /**\n     * Set an object that will be merged sent as extra data with the event.\n     * @param extras Extras object to merge into current context.\n     */\n    setExtras(extras: {\n        [key: string]: any;\n    }): this;\n    /**\n     * Set key:value that will be sent as extra data with the event.\n     * @param key String of extra\n     * @param extra Any kind of data. This data will be normailzed.\n     */\n    setExtra(key: string, extra: any): this;\n    /**\n     * Sets the fingerprint on the scope to send with the events.\n     * @param fingerprint string[] to group events in Sentry.\n     */\n    setFingerprint(fingerprint: string[]): this;\n    /**\n     * Sets the level on the scope for future events.\n     * @param level string {@link Severity}\n     */\n    setLevel(level: Severity): this;\n    /**\n     * Sets the transaction on the scope for future events.\n     * @param transaction string This will be converted in a tag in Sentry\n     */\n    setTransaction(transaction?: string): this;\n    /**\n     * Sets context data with the given name.\n     * @param name of the context\n     * @param context Any kind of data. This data will be normailzed.\n     */\n    setContext(name: string, context: {\n        [key: string]: any;\n    } | null): this;\n    /**\n     * Sets the Span on the scope.\n     * @param span Span\n     */\n    setSpan(span?: Span): this;\n    /** Clears the current scope and resets its properties. */\n    clear(): this;\n    /**\n     * Sets the breadcrumbs in the scope\n     * @param breadcrumbs Breadcrumb\n     * @param maxBreadcrumbs number of max breadcrumbs to merged into event.\n     */\n    addBreadcrumb(breadcrumb: Breadcrumb, maxBreadcrumbs?: number): this;\n    /**\n     * Clears all currently set Breadcrumbs.\n     */\n    clearBreadcrumbs(): this;\n}\n``` \n\n# API\n\n## DynaSentry config\n\nConfig for `new DynaSentry(config: IDynaSentryConfig)`.\n\n```\nIDynaSentryConfig {\n  Sentry: any;\n  captureConsole?: {\n    consoleTypes?: EConsoleType[];  // default: empty (none)\n    stringifyData?: boolean;        // default: false\n    filter?: (consoleType: EConsoleType, consoleArgs: any[], consoleText: string) =\u003e boolean;\n    filterOut?: IFilterOut;\n    setScope?: (scope: Sentry.Scope) =\u003e void;\n  };\n}\n```\n\n## method `sendIssue`\n```\npublic sendIssue(options: {\n    title: string;\n    level?: ELevel;\n    data?: any;\n    stringifyData?: boolean;    // default: false\n    setScope?: (scope: Sentry.Scope) =\u003e void;\n}): void\n```\n\n## enum EConsoleType\n```\nexport enum EConsoleType {\n  ERROR = 'error',\n  WARN = 'warn',\n  LOG = 'log',\n  INFO = 'info',\n  DEBUG = 'debug',\n}\n```\n## enum ELevel\n```\nexport enum ELevel {\n  FATAL = \"fatal\",\n  ERROR = \"error\",\n  WARN = \"warning\",\n  LOG = \"log\",\n  INFO = \"info\",\n  DEBUG = \"debug\",\n  CRITICAL = \"critical\"\n}```\n\n## \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneldev%2Fdyna-sentry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faneldev%2Fdyna-sentry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faneldev%2Fdyna-sentry/lists"}