apollo-link-sentry
Advanced tools
Comparing version 1.2.1 to 1.3.0
@@ -5,2 +5,19 @@ # Changelog | ||
## [1.3.0](https://github.com/DiederikvandenB/apollo-link-sentry/compare/v1.2.1...v1.3.0) (2020-05-02) | ||
### Features | ||
* use sentry minimal ([#74](https://github.com/DiederikvandenB/apollo-link-sentry/issues/74)) ([85d976f](https://github.com/DiederikvandenB/apollo-link-sentry/commit/85d976fe48682a7195719b70722f86347f3f40d5)) | ||
### Chores | ||
* **deps:** bump @sentry/browser from 5.15.4 to 5.15.5 ([#69](https://github.com/DiederikvandenB/apollo-link-sentry/issues/69)) ([c738091](https://github.com/DiederikvandenB/apollo-link-sentry/commit/c738091363badcc964ce9782eb119b9e1dd6b249)) | ||
* **deps:** bump apollo-link from 1.2.13 to 1.2.14 ([#60](https://github.com/DiederikvandenB/apollo-link-sentry/issues/60)) ([c62f973](https://github.com/DiederikvandenB/apollo-link-sentry/commit/c62f97364266f0df967078037d509fdc97e476fe)) | ||
* **deps-dev:** bump @typescript-eslint/parser from 2.26.0 to 2.29.0 ([#67](https://github.com/DiederikvandenB/apollo-link-sentry/issues/67)) ([b60e94b](https://github.com/DiederikvandenB/apollo-link-sentry/commit/b60e94be5e9f68ae030abfe4463c2a41f06f48b2)) | ||
* **deps-dev:** bump eslint-config-airbnb-typescript ([#61](https://github.com/DiederikvandenB/apollo-link-sentry/issues/61)) ([8f09087](https://github.com/DiederikvandenB/apollo-link-sentry/commit/8f09087e383857461d0a746621ec657d5e2217f8)) | ||
* **deps-dev:** bump jest from 25.2.6 to 25.4.0 ([#65](https://github.com/DiederikvandenB/apollo-link-sentry/issues/65)) ([ad4e01e](https://github.com/DiederikvandenB/apollo-link-sentry/commit/ad4e01e90fd780bf77150e45697c1fbca25d9f25)) | ||
* **deps-dev:** bump ts-jest from 25.3.0 to 25.4.0 ([#64](https://github.com/DiederikvandenB/apollo-link-sentry/issues/64)) ([f736b0e](https://github.com/DiederikvandenB/apollo-link-sentry/commit/f736b0e3c9f285b1cce2d538f51fbfd0717757b7)) | ||
### [1.2.1](https://github.com/DiederikvandenB/apollo-link-sentry/compare/v1.2.0...v1.2.1) (2020-04-02) | ||
@@ -7,0 +24,0 @@ |
@@ -1,3 +0,2 @@ | ||
import { Severity } from '@sentry/browser'; | ||
import { Breadcrumb as SentryBreadcrumb } from '@sentry/types'; | ||
import { Breadcrumb as SentryBreadcrumb, Severity } from '@sentry/types'; | ||
export declare namespace Breadcrumb { | ||
@@ -4,0 +3,0 @@ type Category = 'query' | 'mutation' | 'subscription' | 'response' | 'error'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var browser_1 = require("@sentry/browser"); | ||
var types_1 = require("@sentry/types"); | ||
var utils_1 = require("./utils"); | ||
@@ -90,3 +90,3 @@ var OperationBreadcrumb = (function () { | ||
this | ||
.setLevel(browser_1.Severity.Log) | ||
.setLevel(types_1.Severity.Log) | ||
.setCategory(); | ||
@@ -93,0 +93,0 @@ } |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
var Sentry = tslib_1.__importStar(require("@sentry/browser")); | ||
var types_1 = require("@sentry/types"); | ||
var deepmerge_1 = tslib_1.__importDefault(require("deepmerge")); | ||
var apollo_link_1 = require("apollo-link"); | ||
var minimal_1 = require("@sentry/minimal"); | ||
var OperationBreadcrumb_1 = require("./OperationBreadcrumb"); | ||
@@ -96,3 +96,3 @@ var Operation_1 = require("./Operation"); | ||
_this.setTransaction = function (operation) { | ||
Sentry.configureScope(function (scope) { | ||
minimal_1.configureScope(function (scope) { | ||
scope.setTransaction(operation.name); | ||
@@ -102,3 +102,3 @@ }); | ||
_this.setFingerprint = function () { | ||
Sentry.configureScope(function (scope) { | ||
minimal_1.configureScope(function (scope) { | ||
scope.setFingerprint([ | ||
@@ -122,6 +122,6 @@ '{{default}}', | ||
var after = _this.options.beforeBreadcrumb(breadcrumb); | ||
Sentry.addBreadcrumb(after.flush()); | ||
minimal_1.addBreadcrumb(after.flush()); | ||
return; | ||
} | ||
Sentry.addBreadcrumb(breadcrumb.flush()); | ||
minimal_1.addBreadcrumb(breadcrumb.flush()); | ||
}; | ||
@@ -128,0 +128,0 @@ _this.options = deepmerge_1.default(defaultOptions, options); |
{ | ||
"name": "apollo-link-sentry", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"license": "MIT", | ||
@@ -30,19 +30,20 @@ "author": "Diederik van den Burger <diederikvandenburger@tab.capital>", | ||
"dependencies": { | ||
"@sentry/browser": "^5.15.4", | ||
"@sentry/minimal": "^5.15.5", | ||
"@sentry/types": "^5.15.4", | ||
"apollo-link": "^1.2.13", | ||
"apollo-link": "^1.2.14", | ||
"deepmerge": "^4.2.2", | ||
"dot-prop": "^5.2.0", | ||
"graphql": "^14.6.0" | ||
"tslib": "^1.11.1" | ||
}, | ||
"devDependencies": { | ||
"graphql": "^14.6.0", | ||
"@types/jest": "^25.1.5", | ||
"@typescript-eslint/eslint-plugin": "^2.26.0", | ||
"@typescript-eslint/parser": "^2.26.0", | ||
"@typescript-eslint/parser": "^2.29.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb-base": "^14.1.0", | ||
"eslint-config-airbnb-typescript": "^7.2.0", | ||
"eslint-config-airbnb-typescript": "^7.2.1", | ||
"eslint-plugin-import": "^2.20.2", | ||
"graphql-tag": "^2.10.3", | ||
"jest": "^25.2.6", | ||
"jest": "^25.4.0", | ||
"jest-spec-reporter": "^1.0.12", | ||
@@ -52,6 +53,7 @@ "rimraf": "^3.0.2", | ||
"standard-version": "^7.1.0", | ||
"ts-jest": "^25.3.0", | ||
"ts-jest": "^25.4.0", | ||
"tsc-watch": "~4.2.3", | ||
"typescript": "^3.8.3" | ||
"typescript": "^3.8.3", | ||
"@sentry/browser": "^5.15.5" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54244
18
402
+ Added@sentry/minimal@^5.15.5
+ Addedtslib@^1.11.1
+ Addedgraphql@15.9.0(transitive)
- Removed@sentry/browser@^5.15.4
- Removedgraphql@^14.6.0
- Removed@sentry/browser@5.30.0(transitive)
- Removed@sentry/core@5.30.0(transitive)
- Removedgraphql@14.7.0(transitive)
- Removediterall@1.3.0(transitive)
Updatedapollo-link@^1.2.14