@codeleap/auth 5.8.20 → 6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeleap/auth",
3
- "version": "5.8.20",
3
+ "version": "6.0.1",
4
4
  "main": "src/index.ts",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -9,15 +9,15 @@
9
9
  "directory": "packages/auth"
10
10
  },
11
11
  "devDependencies": {
12
- "@codeleap/config": "5.8.20",
13
- "@codeleap/types": "5.8.20",
12
+ "@codeleap/config": "6.0.1",
13
+ "@codeleap/types": "6.0.1",
14
14
  "ts-node-dev": "1.1.8"
15
15
  },
16
16
  "scripts": {
17
17
  "build": "echo 'No build needed'"
18
18
  },
19
19
  "peerDependencies": {
20
- "@codeleap/types": "5.8.20",
20
+ "@codeleap/types": "6.0.1",
21
21
  "typescript": "5.5.2"
22
22
  }
23
23
  }
package/package.json.bak CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codeleap/auth",
3
- "version": "5.8.20",
3
+ "version": "6.0.1",
4
4
  "main": "src/index.ts",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -5,6 +5,6 @@ export type TAuthError = {
5
5
  msg: (args?: any) => string | null
6
6
  }
7
7
 
8
- export type Err = TAuthError | null | string
8
+ export type Err = TAuthError | null | string | unknown
9
9
 
10
10
  export type DefaultAuthError = keyof typeof DEFAULT_AUTH_ERRORS