@envelop/auth0 3.3.2 → 3.3.3

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 (3) hide show
  1. package/index.js +1 -3
  2. package/index.mjs +1 -3
  3. package/package.json +3 -3
package/index.js CHANGED
@@ -71,9 +71,7 @@ const useAuth0 = (options) => {
71
71
  });
72
72
  return decoded;
73
73
  }
74
- else {
75
- throw new Error(`Failed to decode authentication token!`);
76
- }
74
+ throw new Error(`Failed to decode authentication token!`);
77
75
  };
78
76
  return {
79
77
  async onContextBuilding({ context, extendContext }) {
package/index.mjs CHANGED
@@ -65,9 +65,7 @@ const useAuth0 = (options) => {
65
65
  });
66
66
  return decoded;
67
67
  }
68
- else {
69
- throw new Error(`Failed to decode authentication token!`);
70
- }
68
+ throw new Error(`Failed to decode authentication token!`);
71
69
  };
72
70
  return {
73
71
  async onContextBuilding({ context, extendContext }) {
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@envelop/auth0",
3
- "version": "3.3.2",
3
+ "version": "3.3.3",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@envelop/core": "^2.3.2",
6
+ "@envelop/core": "^2.3.3",
7
7
  "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
8
8
  },
9
9
  "dependencies": {
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "repository": {
14
14
  "type": "git",
15
- "url": "https://github.com/dotansimha/envelop.git",
15
+ "url": "https://github.com/n1ru4l/envelop.git",
16
16
  "directory": "packages/plugins/auth0"
17
17
  },
18
18
  "author": "Dotan Simha <dotansimha@gmail.com>",