@envelop/auth0 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
@@ -14,13 +14,13 @@ We recommend using the [Adding Authentication with Auth0 guide](https://www.enve
14
14
  4. Setup Envelop with that plugin:
15
15
 
16
16
  ```ts
17
- import { parse, validate, execute, subscribe } from 'graphql'
17
+ import { parse, validate, specifiedRules, execute, subscribe } from 'graphql'
18
18
  import { envelop, useEngine } from '@envelop/core'
19
19
  import { useAuth0 } from '@envelop/auth0'
20
20
 
21
21
  const getEnveloped = envelop({
22
22
  plugins: [
23
- useEngine({ parse, validate, execute, subscribe }),
23
+ useEngine({ parse, validate, specifiedRules, execute, subscribe }),
24
24
  // ... other plugins ...
25
25
  useAuth0({
26
26
  onError: e => {}, // In case of an error, you can override it and customize the error your client will get.
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@envelop/auth0",
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
  },
8
8
  "dependencies": {
9
9
  "jsonwebtoken": "^8.5.1",