@authorizerdev/authorizer-js 1.2.2-beta.2 → 1.2.2
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/lib/index.d.ts +1 -1
- package/package.json +3 -4
package/lib/index.d.ts
CHANGED
|
@@ -175,7 +175,7 @@ interface GetTokenResponse {
|
|
|
175
175
|
refresh_token?: string;
|
|
176
176
|
}
|
|
177
177
|
interface ValidateJWTTokenInput {
|
|
178
|
-
token_type:
|
|
178
|
+
token_type: 'access_token' | 'id_token' | 'refresh_token';
|
|
179
179
|
token: string;
|
|
180
180
|
roles?: string[];
|
|
181
181
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.2.2
|
|
2
|
+
"version": "1.2.2",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"types": "lib/index.d.ts",
|
|
5
5
|
"main": "lib/index.js",
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"@swc/core": "^1.3.37",
|
|
40
40
|
"bumpp": "^9.0.0",
|
|
41
41
|
"eslint": "^8.35.0",
|
|
42
|
-
"encoding": "^0.1.13",
|
|
43
42
|
"husky": "^7.0.1",
|
|
44
43
|
"jest": "^27.0.6",
|
|
45
44
|
"rimraf": "^2.7.1",
|
|
@@ -60,7 +59,7 @@
|
|
|
60
59
|
"build": "tsup",
|
|
61
60
|
"test": "npm run build && jest --testTimeout=20000 --runInBand",
|
|
62
61
|
"release": "pnpm build && bumpp --commit --push --tag && pnpm publish",
|
|
63
|
-
"lint": "eslint --ext .ts,.tsx,.js,.jsx .",
|
|
64
|
-
"lint:fix": "eslint --ext .ts,.tsx,.js,.jsx . --fix"
|
|
62
|
+
"lint": "eslint --ignore-pattern 'tsup.config.ts' --ext .ts,.tsx,.js,.jsx .",
|
|
63
|
+
"lint:fix": "eslint --ignore-pattern 'tsup.config.ts' --ext .ts,.tsx,.js,.jsx . --fix"
|
|
65
64
|
}
|
|
66
65
|
}
|