@logto/core-kit 1.0.0-beta.12 → 1.0.0-beta.13
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/scope.d.ts +1 -1
- package/lib/scope.js +6 -6
- package/package.json +10 -3
package/lib/scope.d.ts
CHANGED
package/lib/scope.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.userClaims = exports.userinfoClaims = exports.idTokenClaims = exports.UserScope = exports.
|
|
4
|
-
var
|
|
5
|
-
(function (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
})(
|
|
3
|
+
exports.userClaims = exports.userinfoClaims = exports.idTokenClaims = exports.UserScope = exports.ReservedScope = void 0;
|
|
4
|
+
var ReservedScope;
|
|
5
|
+
(function (ReservedScope) {
|
|
6
|
+
ReservedScope["OpenId"] = "openid";
|
|
7
|
+
ReservedScope["OfflineAccess"] = "offline_access";
|
|
8
|
+
})(ReservedScope = exports.ReservedScope || (exports.ReservedScope = {}));
|
|
9
9
|
/**
|
|
10
10
|
* Scopes for ID Token and Userinfo Endpoint.
|
|
11
11
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logto/core-kit",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.13",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
"lint": "eslint --ext .ts src",
|
|
17
17
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
18
18
|
"prepack": "pnpm build",
|
|
19
|
-
"stylelint": "stylelint \"scss/**/*.scss\""
|
|
19
|
+
"stylelint": "stylelint \"scss/**/*.scss\"",
|
|
20
|
+
"test": "jest",
|
|
21
|
+
"test:coverage": "jest --silent --coverage"
|
|
20
22
|
},
|
|
21
23
|
"engines": {
|
|
22
24
|
"node": "^16.0.0"
|
|
@@ -27,18 +29,23 @@
|
|
|
27
29
|
"zod": "^3.18.0"
|
|
28
30
|
},
|
|
29
31
|
"devDependencies": {
|
|
32
|
+
"@jest/types": "^29.0.3",
|
|
30
33
|
"@silverhand/eslint-config": "1.0.0",
|
|
31
34
|
"@silverhand/eslint-config-react": "1.0.0",
|
|
32
35
|
"@silverhand/essentials": "^1.2.1",
|
|
33
36
|
"@silverhand/ts-config": "1.0.0",
|
|
34
37
|
"@types/color": "^3.0.3",
|
|
38
|
+
"@types/jest": "^29.0.3",
|
|
35
39
|
"@types/node": "^16.3.1",
|
|
36
40
|
"@types/react": "^18.0.20",
|
|
37
41
|
"eslint": "^8.21.0",
|
|
42
|
+
"jest": "^29.0.3",
|
|
43
|
+
"jest-matcher-specific-error": "^1.0.0",
|
|
38
44
|
"lint-staged": "^13.0.0",
|
|
39
45
|
"postcss": "^8.4.6",
|
|
40
46
|
"prettier": "^2.7.1",
|
|
41
47
|
"stylelint": "^14.9.1",
|
|
48
|
+
"ts-jest": "^29.0.1",
|
|
42
49
|
"typescript": "^4.7.4"
|
|
43
50
|
},
|
|
44
51
|
"eslintConfig": {
|
|
@@ -51,5 +58,5 @@
|
|
|
51
58
|
"publishConfig": {
|
|
52
59
|
"access": "public"
|
|
53
60
|
},
|
|
54
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "e411efdb15370ecc8d85f634f204492ba0beb379"
|
|
55
62
|
}
|