@venncity/errors
Advanced tools
Comparing version 1.7.16-addSentry.80 to 1.7.16
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.7.16](https://github.com/venn-city/npm-shelf/compare/@venncity/errors@1.7.15...@venncity/errors@1.7.16) (2020-08-24) | ||
**Note:** Version bump only for package @venncity/errors | ||
## [1.7.15](https://github.com/venn-city/npm-shelf/compare/@venncity/errors@1.7.14...@venncity/errors@1.7.15) (2020-08-09) | ||
@@ -8,0 +16,0 @@ |
import * as Sentry from '@sentry/node'; | ||
import { APIGatewayProxyEvent } from 'aws-lambda'; | ||
interface AuthDetailsFromRequest { | ||
id?: string; | ||
email?: string; | ||
impersonated?: boolean; | ||
isPublicAccess?: boolean; | ||
isService?: boolean; | ||
} | ||
export declare function setupSentry(event: APIGatewayProxyEvent, authDetailsFromRequest: AuthDetailsFromRequest): void; | ||
@@ -22,2 +15,9 @@ export declare const sentry: { | ||
}): Record<string, any>; | ||
interface AuthDetailsFromRequest { | ||
id?: string; | ||
email?: string; | ||
impersonated?: boolean; | ||
isPublicAccess?: boolean; | ||
isService?: boolean; | ||
} | ||
export {}; |
import * as Sentry from '@sentry/node'; | ||
import { APIGatewayProxyEvent } from 'aws-lambda'; | ||
interface AuthDetailsFromRequest { | ||
id?: string; | ||
email?: string; | ||
impersonated?: boolean; | ||
isPublicAccess?: boolean; | ||
isService?: boolean; | ||
} | ||
export declare function setupSentry(event: APIGatewayProxyEvent, authDetailsFromRequest: AuthDetailsFromRequest): void; | ||
@@ -22,2 +15,9 @@ export declare const sentry: { | ||
}): Record<string, any>; | ||
interface AuthDetailsFromRequest { | ||
id?: string; | ||
email?: string; | ||
impersonated?: boolean; | ||
isPublicAccess?: boolean; | ||
isService?: boolean; | ||
} | ||
export {}; |
{ | ||
"name": "@venncity/errors", | ||
"version": "1.7.16-addSentry.80+1e4e96752", | ||
"version": "1.7.16", | ||
"author": "Venn Engineering", | ||
@@ -21,3 +21,3 @@ "main": "lib/cjs/index.js", | ||
"@venncity/eslint-config": "^3.0.1", | ||
"@venncity/jest-config-server": "^3.4.0", | ||
"@venncity/jest-config-server": "^3.3.4", | ||
"eslint": "^5.5.0", | ||
@@ -37,3 +37,3 @@ "eslint-config-airbnb-base": "^13.1.0", | ||
"@sentry/types": "^5.21.1", | ||
"@venncity/nested-config": "^2.0.24-addSentry.80+1e4e96752", | ||
"@venncity/nested-config": "^2.0.24", | ||
"fast-safe-stringify": "^2.0.7", | ||
@@ -45,3 +45,3 @@ "joi": "^14.3.1", | ||
}, | ||
"gitHead": "1e4e96752aad0f85761e59d23b4759ea1b019cc7" | ||
"gitHead": "1127813aed1f057885536f1303525f48de265af2" | ||
} |
@@ -6,10 +6,2 @@ import { get, pick } from 'lodash'; | ||
interface AuthDetailsFromRequest { | ||
id?: string; | ||
email?: string; | ||
impersonated?: boolean; | ||
isPublicAccess?: boolean; | ||
isService?: boolean; | ||
} | ||
const SENTRY_DISABLED_LOG_LEVEL = process.env.stage === 'test' ? 'info' : 'warn'; | ||
@@ -94,1 +86,9 @@ | ||
} | ||
interface AuthDetailsFromRequest { | ||
id?: string; | ||
email?: string; | ||
impersonated?: boolean; | ||
isPublicAccess?: boolean; | ||
isService?: boolean; | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
201768
1
0