@envelop/fragment-arguments 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
@@ -15,13 +15,13 @@ yarn add @envelop/fragment-arguments
15
15
  ## Usage Example
16
16
 
17
17
  ```ts
18
- import { parse, validate, execute, subscribe } from 'graphql'
18
+ import { parse, validate, specifiedRules, execute, subscribe } from 'graphql'
19
19
  import { envelop, useEngine } from '@envelop/core'
20
20
  import { useFragmentArguments } from '@envelop/fragment-arguments'
21
21
 
22
22
  const getEnveloped = envelop({
23
23
  plugins: [
24
- useEngine({ parse, validate, execute, subscribe }),
24
+ useEngine({ parse, validate, specifiedRules, execute, subscribe }),
25
25
  // ... other plugins ...
26
26
  useFragmentArguments()
27
27
  ]
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@envelop/fragment-arguments",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "peerDependencies": {
5
- "@envelop/core": "^3.0.0",
5
+ "@envelop/core": "^3.0.1",
6
6
  "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
7
7
  },
8
8
  "dependencies": {