@envelop/sentry 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -30,7 +30,7 @@ yarn add @sentry/node @sentry/tracing @envelop/sentry
30
30
  ## Usage Example
31
31
 
32
32
  ```ts
33
- import { parse, validate, execute, subscribe } from 'graphql'
33
+ import { parse, validate, specifiedRules, execute, subscribe } from 'graphql'
34
34
  import { envelop, useEngine } from '@envelop/core'
35
35
  import { useSentry } from '@envelop/sentry'
36
36
  // do this only once in you entry file.
@@ -38,7 +38,7 @@ import '@sentry/tracing'
38
38
 
39
39
  const getEnveloped = envelop({
40
40
  plugins: [
41
- useEngine({ parse, validate, execute, subscribe }),
41
+ useEngine({ parse, validate, specifiedRules, execute, subscribe }),
42
42
  // ... other plugins ...
43
43
  useSentry({
44
44
  includeRawResult: false, // set to `true` in order to include the execution result in the metadata collected
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@envelop/sentry",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@envelop/core": "^3.0.0",
6
+ "@envelop/core": "^3.0.1",
7
7
  "@sentry/node": "^6 || ^7",
8
8
  "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
9
9
  },