Skip to content

Commit

Permalink
Merge bda81ad into 9b8fc02
Browse files Browse the repository at this point in the history
  • Loading branch information
9renpoto authored Oct 31, 2022
2 parents 9b8fc02 + bda81ad commit 5ab8536
Show file tree
Hide file tree
Showing 7 changed files with 1,007 additions and 604 deletions.
3 changes: 1 addition & 2 deletions lib/raven.interceptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ import {
} from '@nestjs/common/interfaces';
import { Reflector } from '@nestjs/core';
import type { GqlContextType, GraphQLArgumentsHost } from '@nestjs/graphql';
import { captureException, Scope, withScope } from '@sentry/hub';
import { Handlers } from '@sentry/node';
import { captureException, Handlers, Scope, withScope } from '@sentry/node';
import { Observable } from 'rxjs';
import { tap } from 'rxjs/operators';
import { RAVEN_LOCAL_TRANSFORMERS_METADATA } from './raven.decorators';
Expand Down
1,599 changes: 1,002 additions & 597 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
},
"peerDependencies": {
"@nestjs/common": "^9.0.0",
"@sentry/hub": "^7.0.0",
"@sentry/node": "^7.0.0",
"reflect-metadata": "^0.1.12",
"rxjs": "^7.1.0"
Expand Down
2 changes: 1 addition & 1 deletion test/http/global.e2e.spec.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as request from 'supertest';
import { Test } from '@nestjs/testing';
import { INestApplication } from '@nestjs/common';
import { getCurrentHub } from '@sentry/hub';
import { GlobalModule } from './global.module';
import { getCurrentHub } from '@sentry/node';

declare var global: any;

Expand Down
2 changes: 1 addition & 1 deletion test/http/method.e2e.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { INestApplication } from '@nestjs/common';
import { Test } from '@nestjs/testing';
import { getCurrentHub } from '@sentry/hub';
import { getCurrentHub } from '@sentry/node';
import { SeverityLevel } from '@sentry/types';
import * as request from 'supertest';
import { MethodModule } from './method.module';
Expand Down
2 changes: 1 addition & 1 deletion test/websockets/class.e2e.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { io } from 'socket.io-client';
import { Test } from '@nestjs/testing';
import { INestApplication } from '@nestjs/common';
import { getCurrentHub } from '@sentry/hub';
import { getCurrentHub } from '@sentry/node';
import { ClassModule } from './class.module';

declare var global: any;
Expand Down
2 changes: 1 addition & 1 deletion test/websockets/method.e2e.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { io } from 'socket.io-client';
import { Test } from '@nestjs/testing';
import { INestApplication } from '@nestjs/common';
import { getCurrentHub } from '@sentry/hub';
import { getCurrentHub } from '@sentry/node';
import { MethodModule } from './method.module';

declare var global: any;
Expand Down

0 comments on commit 5ab8536

Please sign in to comment.