diff --git a/lib/src/sentry.ts b/lib/src/sentry.ts index ecfffa9..c17e687 100644 --- a/lib/src/sentry.ts +++ b/lib/src/sentry.ts @@ -31,6 +31,11 @@ export function initSentry(sentry: boolean) { }); hub = new Sentry.Hub(client); + + hub.configureScope(function (scope) { + scope.setTag('source', '@hCaptcha/loader'); + }); + return hub; } diff --git a/package.json b/package.json index adeac41..e15fbad 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@hcaptcha/loader", "description": "This is a JavaScript library to easily configure the loading of the hCaptcha JS client SDK with built-in error handling.", - "version": "1.0.4", + "version": "1.0.5", "author": "hCaptcha team and contributors", "license": "MIT", "keywords": [