@descope/react-sdk 1.0.3 → 1.0.5
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 +23 -21
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/examples/app/App.d.ts +2 -2
- package/dist/examples/app/Home.d.ts +2 -2
- package/dist/examples/app/Login.d.ts +2 -2
- package/dist/examples/app/StepUp.d.ts +2 -2
- package/dist/index.d.ts +154 -143
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +4 -0
- package/dist/index.umd.js.map +1 -0
- package/package.json +21 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/react-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Descope React SDK",
|
|
5
5
|
"author": "Descope Team <info@descope.com>",
|
|
6
6
|
"homepage": "https://github.com/descope/react-sdk",
|
|
@@ -15,8 +15,14 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"type": "module",
|
|
17
17
|
"exports": {
|
|
18
|
-
"require":
|
|
19
|
-
|
|
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
|
+
}
|
|
20
26
|
},
|
|
21
27
|
"main": "dist/cjs/index.cjs.js",
|
|
22
28
|
"module": "dist/index.esm.js",
|
|
@@ -42,14 +48,14 @@
|
|
|
42
48
|
]
|
|
43
49
|
},
|
|
44
50
|
"dependencies": {
|
|
45
|
-
"@descope/web-component": "2.0
|
|
46
|
-
"react-router-dom": "6.
|
|
51
|
+
"@descope/web-component": "2.4.0",
|
|
52
|
+
"react-router-dom": "6.11.1"
|
|
47
53
|
},
|
|
48
54
|
"devDependencies": {
|
|
49
|
-
"@babel/core": "7.21.
|
|
50
|
-
"@babel/preset-env": "7.
|
|
55
|
+
"@babel/core": "7.21.8",
|
|
56
|
+
"@babel/preset-env": "7.21.5",
|
|
51
57
|
"@babel/preset-react": "7.18.6",
|
|
52
|
-
"@babel/preset-typescript": "7.21.
|
|
58
|
+
"@babel/preset-typescript": "7.21.5",
|
|
53
59
|
"@open-wc/rollup-plugin-html": "^1.2.5",
|
|
54
60
|
"@rollup/plugin-commonjs": "^24.0.0",
|
|
55
61
|
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
@@ -59,14 +65,14 @@
|
|
|
59
65
|
"@testing-library/react": "14.0.0",
|
|
60
66
|
"@testing-library/user-event": "14.4.3",
|
|
61
67
|
"@types/jest": "^27.0.2",
|
|
62
|
-
"@types/react": "18.
|
|
63
|
-
"@types/react-dom": "18.
|
|
68
|
+
"@types/react": "18.2.6",
|
|
69
|
+
"@types/react-dom": "18.2.4",
|
|
64
70
|
"@types/react-router-dom": "^5.3.3",
|
|
65
71
|
"babel-jest": "27.5.1",
|
|
66
|
-
"eslint": "8.
|
|
72
|
+
"eslint": "8.40.0",
|
|
67
73
|
"eslint-config-airbnb": "19.0.4",
|
|
68
74
|
"eslint-config-airbnb-typescript": "17.0.0",
|
|
69
|
-
"eslint-config-prettier": "8.
|
|
75
|
+
"eslint-config-prettier": "8.8.0",
|
|
70
76
|
"eslint-config-standard": "17.0.0",
|
|
71
77
|
"eslint-import-resolver-typescript": "2.7.1",
|
|
72
78
|
"eslint-plugin-import": "2.27.5",
|
|
@@ -74,14 +80,14 @@
|
|
|
74
80
|
"eslint-plugin-jest-dom": "4.0.3",
|
|
75
81
|
"eslint-plugin-jest-formatting": "3.1.0",
|
|
76
82
|
"eslint-plugin-jsx-a11y": "6.7.1",
|
|
77
|
-
"eslint-plugin-n": "15.
|
|
83
|
+
"eslint-plugin-n": "15.7.0",
|
|
78
84
|
"eslint-plugin-no-only-tests": "3.1.0",
|
|
79
85
|
"eslint-plugin-prefer-arrow": "1.2.3",
|
|
80
86
|
"eslint-plugin-prettier": "4.2.1",
|
|
81
87
|
"eslint-plugin-promise": "6.1.1",
|
|
82
88
|
"eslint-plugin-react": "7.32.2",
|
|
83
89
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
84
|
-
"eslint-plugin-testing-library": "5.
|
|
90
|
+
"eslint-plugin-testing-library": "5.11.0",
|
|
85
91
|
"husky": "^8.0.1",
|
|
86
92
|
"jest": "^27.3.1",
|
|
87
93
|
"jest-extended": "^3.2.2",
|
|
@@ -104,7 +110,7 @@
|
|
|
104
110
|
"typescript": "^4.5.3"
|
|
105
111
|
},
|
|
106
112
|
"peerDependencies": {
|
|
107
|
-
"@descope/web-js-sdk": "1.
|
|
113
|
+
"@descope/web-js-sdk": "1.2.7",
|
|
108
114
|
"@types/react": ">=16",
|
|
109
115
|
"react": ">=16"
|
|
110
116
|
}
|