@descope/react-sdk 2.0.43 → 2.0.44
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/README.md +58 -58
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.d.ts +18 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +3 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +126 -124
package/package.json
CHANGED
|
@@ -1,125 +1,127 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
2
|
+
"name": "@descope/react-sdk",
|
|
3
|
+
"version": "2.0.44",
|
|
4
|
+
"description": "Descope React SDK",
|
|
5
|
+
"author": "Descope Team <info@descope.com>",
|
|
6
|
+
"homepage": "https://github.com/descope/descope-js",
|
|
7
|
+
"bugs": {
|
|
8
|
+
"url": "https://github.com/descope/descope-js/issues",
|
|
9
|
+
"email": "help@descope.com"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/descope/descope-js.git"
|
|
14
|
+
},
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"type": "module",
|
|
17
|
+
"exports": {
|
|
18
|
+
"require": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"default": "./dist/cjs/index.cjs.js"
|
|
21
|
+
},
|
|
22
|
+
"import": {
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"default": "./dist/index.esm.js"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"main": "dist/cjs/index.cjs.js",
|
|
28
|
+
"module": "dist/index.esm.js",
|
|
29
|
+
"types": "dist/index.d.ts",
|
|
30
|
+
"files": [
|
|
31
|
+
"dist"
|
|
32
|
+
],
|
|
33
|
+
"lint-staged": {
|
|
34
|
+
"+(src|examples)/**/*.{js,ts,jsx,tsx}": [
|
|
35
|
+
"npm run lint"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@descope/access-key-management-widget": "0.1.109",
|
|
40
|
+
"@descope/audit-management-widget": "0.1.72",
|
|
41
|
+
"@descope/role-management-widget": "0.1.107",
|
|
42
|
+
"@descope/user-management-widget": "0.4.110",
|
|
43
|
+
"@descope/user-profile-widget": "0.0.82",
|
|
44
|
+
"@descope/web-component": "3.19.4",
|
|
45
|
+
"@descope/core-js-sdk": "2.23.2",
|
|
46
|
+
"@descope/web-js-sdk": "1.15.4"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@babel/core": "7.23.0",
|
|
50
|
+
"@babel/preset-env": "7.22.20",
|
|
51
|
+
"@babel/preset-react": "7.22.15",
|
|
52
|
+
"@babel/preset-typescript": "7.23.0",
|
|
53
|
+
"@open-wc/rollup-plugin-html": "^1.2.5",
|
|
54
|
+
"@rollup/plugin-commonjs": "^25.0.0",
|
|
55
|
+
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
56
|
+
"@rollup/plugin-replace": "^5.0.0",
|
|
57
|
+
"@rollup/plugin-typescript": "^8.3.0",
|
|
58
|
+
"@testing-library/jest-dom": "5.17.0",
|
|
59
|
+
"@testing-library/react": "12.1.5",
|
|
60
|
+
"@testing-library/react-hooks": "8.0.1",
|
|
61
|
+
"@testing-library/user-event": "14.5.1",
|
|
62
|
+
"@types/jest": "^27.0.2",
|
|
63
|
+
"@types/react": "17.0.60",
|
|
64
|
+
"@types/node": "^16.0.0",
|
|
65
|
+
"@types/react-dom": "18.2.12",
|
|
66
|
+
"@types/react-router-dom": "^5.3.3",
|
|
67
|
+
"babel-jest": "27.5.1",
|
|
68
|
+
"eslint": "8.57.0",
|
|
69
|
+
"eslint-config-airbnb": "19.0.4",
|
|
70
|
+
"eslint-config-airbnb-typescript": "17.1.0",
|
|
71
|
+
"eslint-config-prettier": "8.10.0",
|
|
72
|
+
"eslint-config-standard": "17.1.0",
|
|
73
|
+
"eslint-import-resolver-typescript": "2.7.1",
|
|
74
|
+
"eslint-plugin-import": "2.28.1",
|
|
75
|
+
"eslint-plugin-jest": "27.4.2",
|
|
76
|
+
"eslint-plugin-jest-dom": "4.0.3",
|
|
77
|
+
"eslint-plugin-jest-formatting": "3.1.0",
|
|
78
|
+
"eslint-plugin-jsx-a11y": "6.7.1",
|
|
79
|
+
"eslint-plugin-n": "15.7.0",
|
|
80
|
+
"eslint-plugin-no-only-tests": "3.1.0",
|
|
81
|
+
"eslint-plugin-prefer-arrow": "1.2.3",
|
|
82
|
+
"eslint-plugin-prettier": "4.2.1",
|
|
83
|
+
"eslint-plugin-promise": "6.1.1",
|
|
84
|
+
"eslint-plugin-react": "7.33.2",
|
|
85
|
+
"eslint-plugin-react-hooks": "4.6.0",
|
|
86
|
+
"eslint-plugin-testing-library": "5.11.1",
|
|
87
|
+
"jest": "^27.3.1",
|
|
88
|
+
"jest-extended": "^3.2.2",
|
|
89
|
+
"lint-staged": "^13.0.3",
|
|
90
|
+
"pretty-quick": "^3.1.3",
|
|
91
|
+
"react": "17.0.2",
|
|
92
|
+
"react-router": "^6.2.1",
|
|
93
|
+
"react-dom": "17.0.2",
|
|
94
|
+
"react-router-dom": "6.16.0",
|
|
95
|
+
"rollup": "^2.62.0",
|
|
96
|
+
"rollup-plugin-auto-external": "^2.0.0",
|
|
97
|
+
"rollup-plugin-browsersync": "^1.3.3",
|
|
98
|
+
"rollup-plugin-define": "^1.0.1",
|
|
99
|
+
"rollup-plugin-delete": "^2.0.0",
|
|
100
|
+
"rollup-plugin-dotenv": "^0.5.0",
|
|
101
|
+
"rollup-plugin-dts": "^4.2.2",
|
|
102
|
+
"rollup-plugin-livereload": "^2.0.5",
|
|
103
|
+
"rollup-plugin-serve": "^2.0.0",
|
|
104
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
105
|
+
"ts-jest": "^27.0.7",
|
|
106
|
+
"ts-node": "10.9.1",
|
|
107
|
+
"typescript": "^4.5.3",
|
|
108
|
+
"object-assign": "^4.1.1",
|
|
109
|
+
"scheduler": "^0.20.2",
|
|
110
|
+
"@remix-run/router": "^1.0.0",
|
|
111
|
+
"jest-environment-jsdom": "^27.3.1"
|
|
112
|
+
},
|
|
113
|
+
"peerDependencies": {
|
|
114
|
+
"@types/react": ">=17",
|
|
115
|
+
"react": ">=17"
|
|
116
|
+
},
|
|
117
|
+
"scripts": {
|
|
118
|
+
"build": "rollup -c",
|
|
119
|
+
"format": "prettier . -w --ignore-path .gitignore",
|
|
120
|
+
"format-check": "prettier . --check --ignore-path .gitignore",
|
|
121
|
+
"format-lint": "pretty-quick --staged --ignore-path .gitignore && lint-staged",
|
|
122
|
+
"leaks": "bash ./scripts/gitleaks/gitleaks.sh",
|
|
123
|
+
"lint": "eslint '+(src|examples)/**/*.+(ts|tsx)' --fix",
|
|
124
|
+
"start": "npm run build && rollup -c rollup.config.app.mjs -w",
|
|
125
|
+
"test": "jest"
|
|
126
|
+
}
|
|
127
|
+
}
|