@envelop/statsd 3.0.0 → 3.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.
- package/README.md +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ yarn add hot-shots @envelop/stats
|
|
|
25
25
|
## Usage Example
|
|
26
26
|
|
|
27
27
|
```ts
|
|
28
|
-
import { parse, validate, execute, subscribe } from 'graphql'
|
|
28
|
+
import { parse, validate, specifiedRules, execute, subscribe } from 'graphql'
|
|
29
29
|
import { envelop, useEngine } from '@envelop/core'
|
|
30
30
|
import { useStatsD } from '@envelop/statsd'
|
|
31
31
|
import StatsD from 'hot-shots'
|
|
@@ -37,7 +37,7 @@ const client = new StatsD({
|
|
|
37
37
|
|
|
38
38
|
const getEnveloped = envelop({
|
|
39
39
|
plugins: [
|
|
40
|
-
useEngine({ parse, validate, execute, subscribe }),
|
|
40
|
+
useEngine({ parse, validate, specifiedRules, execute, subscribe }),
|
|
41
41
|
// ... other plugins ...
|
|
42
42
|
useStatsD({
|
|
43
43
|
client,
|
package/package.json
CHANGED