@descope/react-sdk 3.2.1 → 3.3.0
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 +122 -2
- package/dist/cjs/components/Descope.js +1 -1
- package/dist/cjs/components/Descope.js.map +1 -1
- package/dist/cjs/constants.js +1 -1
- package/dist/esm/components/Descope.js +1 -1
- package/dist/esm/components/Descope.js.map +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +30 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/react-sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Descope React SDK",
|
|
5
5
|
"author": "Descope Team <info@descope.com>",
|
|
6
6
|
"homepage": "https://github.com/descope/descope-js",
|
|
@@ -49,18 +49,18 @@
|
|
|
49
49
|
]
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@descope/sdk-helpers": "0.9.0",
|
|
53
52
|
"@descope/access-key-management-widget": "0.10.1",
|
|
54
53
|
"@descope/audit-management-widget": "0.9.1",
|
|
55
|
-
"@descope/role-management-widget": "0.10.1",
|
|
56
|
-
"@descope/applications-portal-widget": "0.9.1",
|
|
57
|
-
"@descope/user-management-widget": "0.18.1",
|
|
58
|
-
"@descope/web-component": "4.3.1",
|
|
59
54
|
"@descope/outbound-applications-widget": "0.6.1",
|
|
60
|
-
"@descope/web-js-sdk": "1.52.0",
|
|
61
55
|
"@descope/core-js-sdk": "2.70.0",
|
|
56
|
+
"@descope/applications-portal-widget": "0.9.1",
|
|
57
|
+
"@descope/role-management-widget": "0.10.1",
|
|
58
|
+
"@descope/tenant-profile-widget": "0.9.1",
|
|
62
59
|
"@descope/user-profile-widget": "0.18.1",
|
|
63
|
-
"@descope/
|
|
60
|
+
"@descope/user-management-widget": "0.19.0",
|
|
61
|
+
"@descope/sdk-helpers": "0.9.0",
|
|
62
|
+
"@descope/web-component": "4.3.1",
|
|
63
|
+
"@descope/web-js-sdk": "1.52.0"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@babel/core": "7.26.0",
|
|
@@ -68,6 +68,8 @@
|
|
|
68
68
|
"@babel/preset-react": "7.26.3",
|
|
69
69
|
"@babel/preset-typescript": "7.26.0",
|
|
70
70
|
"@open-wc/rollup-plugin-html": "^1.2.5",
|
|
71
|
+
"@remix-run/router": "1.21.0",
|
|
72
|
+
"@rollup/plugin-alias": "5.1.1",
|
|
71
73
|
"@rollup/plugin-commonjs": "^28.0.0",
|
|
72
74
|
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
73
75
|
"@rollup/plugin-replace": "^5.0.0",
|
|
@@ -77,11 +79,12 @@
|
|
|
77
79
|
"@testing-library/react-hooks": "8.0.1",
|
|
78
80
|
"@testing-library/user-event": "14.5.2",
|
|
79
81
|
"@types/jest": "^29.0.0",
|
|
80
|
-
"@types/react": "18.3.18",
|
|
81
82
|
"@types/node": "^20.0.0",
|
|
83
|
+
"@types/react": "18.3.18",
|
|
82
84
|
"@types/react-dom": "18.3.5",
|
|
83
85
|
"@types/react-router-dom": "^5.3.3",
|
|
84
86
|
"babel-jest": "29.7.0",
|
|
87
|
+
"core-js": "3.40.0",
|
|
85
88
|
"eslint": "8.57.1",
|
|
86
89
|
"eslint-config-airbnb": "19.0.4",
|
|
87
90
|
"eslint-config-airbnb-typescript": "17.1.0",
|
|
@@ -102,13 +105,17 @@
|
|
|
102
105
|
"eslint-plugin-react-hooks": "4.6.2",
|
|
103
106
|
"eslint-plugin-testing-library": "6.2.2",
|
|
104
107
|
"jest": "^29.0.0",
|
|
108
|
+
"jest-environment-jsdom": "^29.0.0",
|
|
105
109
|
"jest-extended": "^4.0.0",
|
|
106
110
|
"lint-staged": "^13.0.3",
|
|
111
|
+
"object-assign": "^4.1.1",
|
|
107
112
|
"oidc-client-ts": "3.2.0",
|
|
113
|
+
"preact": "^10.29.8",
|
|
114
|
+
"preact-render-to-string": "^6.7.0",
|
|
108
115
|
"pretty-quick": "^3.1.3",
|
|
109
116
|
"react": "18.3.1",
|
|
110
|
-
"react-router": "6.28.1",
|
|
111
117
|
"react-dom": "18.3.1",
|
|
118
|
+
"react-router": "6.28.1",
|
|
112
119
|
"react-router-dom": "6.28.1",
|
|
113
120
|
"rollup": "^4.0.0",
|
|
114
121
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
@@ -118,22 +125,24 @@
|
|
|
118
125
|
"rollup-plugin-dotenv": "^0.5.0",
|
|
119
126
|
"rollup-plugin-dts": "^6.1.1",
|
|
120
127
|
"rollup-plugin-livereload": "^2.0.5",
|
|
128
|
+
"rollup-plugin-no-emit": "1.2.1",
|
|
121
129
|
"rollup-plugin-serve": "^3.0.0",
|
|
122
130
|
"rollup-plugin-terser": "^7.0.2",
|
|
131
|
+
"scheduler": "^0.25.0",
|
|
123
132
|
"ts-jest": "^29.0.0",
|
|
124
133
|
"ts-node": "10.9.1",
|
|
125
|
-
"typescript": "^5.0.2"
|
|
126
|
-
"object-assign": "^4.1.1",
|
|
127
|
-
"scheduler": "^0.25.0",
|
|
128
|
-
"@remix-run/router": "1.21.0",
|
|
129
|
-
"jest-environment-jsdom": "^29.0.0",
|
|
130
|
-
"core-js": "3.40.0",
|
|
131
|
-
"rollup-plugin-no-emit": "1.2.1"
|
|
134
|
+
"typescript": "^5.0.2"
|
|
132
135
|
},
|
|
133
136
|
"peerDependencies": {
|
|
134
137
|
"@types/react": ">=16",
|
|
138
|
+
"preact": ">=10.11.0",
|
|
135
139
|
"react": ">=16"
|
|
136
140
|
},
|
|
141
|
+
"peerDependenciesMeta": {
|
|
142
|
+
"preact": {
|
|
143
|
+
"optional": true
|
|
144
|
+
}
|
|
145
|
+
},
|
|
137
146
|
"scripts": {
|
|
138
147
|
"build": "rollup -c",
|
|
139
148
|
"format": "prettier . -w --ignore-path .gitignore",
|
|
@@ -142,6 +151,9 @@
|
|
|
142
151
|
"leaks": "bash ./scripts/gitleaks/gitleaks.sh",
|
|
143
152
|
"lint": "eslint '+(src|examples)/**/*.+(ts|tsx)' --fix",
|
|
144
153
|
"start": "npx nx run react-sdk:build && rollup -c rollup.config.app.mjs -w",
|
|
145
|
-
"
|
|
154
|
+
"start:preact": "npx nx run react-sdk:build && rollup -c rollup.config.preact-app.mjs -w",
|
|
155
|
+
"build:preact-app": "rollup -c rollup.config.preact-app.mjs",
|
|
156
|
+
"test": "jest && npm run test:preact",
|
|
157
|
+
"test:preact": "jest -c jest.preact.config.js"
|
|
146
158
|
}
|
|
147
159
|
}
|