@descope/node-sdk 1.7.21 → 1.8.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 +114 -2
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.d.ts +167 -5
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +9 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@descope/node-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "Node.js library used to integrate with Descope",
|
|
5
5
|
"typings": "./dist/index.d.ts",
|
|
6
6
|
"main": "dist/cjs/index.cjs.js",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"build": "rimraf dist && rollup -c",
|
|
32
32
|
"prepare": "husky install",
|
|
33
33
|
"quick": "npm i && npm run build && cd examples/es6/ && npm i && npm run generateCerts && npm start",
|
|
34
|
-
"format": "prettier . --write
|
|
35
|
-
"format-check": "prettier . --check
|
|
36
|
-
"format-lint": "pretty-quick --staged
|
|
34
|
+
"format": "prettier . --write",
|
|
35
|
+
"format-check": "prettier . --check",
|
|
36
|
+
"format-lint": "pretty-quick --staged && lint-staged",
|
|
37
37
|
"size": "npm run build && size-limit",
|
|
38
38
|
"lint": "eslint lib/**/*.ts --fix",
|
|
39
39
|
"leaks": "bash ./scripts/gitleaks/gitleaks.sh",
|
|
@@ -55,9 +55,11 @@
|
|
|
55
55
|
"authentication"
|
|
56
56
|
],
|
|
57
57
|
"devDependencies": {
|
|
58
|
+
"@commitlint/cli": "^20.2.0",
|
|
59
|
+
"@commitlint/config-conventional": "^20.2.0",
|
|
58
60
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
59
61
|
"@rollup/plugin-json": "^4.1.0",
|
|
60
|
-
"@rollup/plugin-node-resolve": "^
|
|
62
|
+
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
61
63
|
"@rollup/plugin-replace": "^6.0.0",
|
|
62
64
|
"@rollup/plugin-typescript": "^9.0.0",
|
|
63
65
|
"@size-limit/preset-small-lib": "^12.0.0",
|
|
@@ -69,7 +71,7 @@
|
|
|
69
71
|
"eslint": "^8.15.0",
|
|
70
72
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
71
73
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
72
|
-
"eslint-config-prettier": "^
|
|
74
|
+
"eslint-config-prettier": "^10.0.0",
|
|
73
75
|
"eslint-import-resolver-typescript": "^3.0.0",
|
|
74
76
|
"eslint-plugin-import": "^2.26.0",
|
|
75
77
|
"eslint-plugin-jest": "^27.0.0",
|
|
@@ -100,7 +102,7 @@
|
|
|
100
102
|
"typescript": "^4.6.4"
|
|
101
103
|
},
|
|
102
104
|
"dependencies": {
|
|
103
|
-
"@descope/core-js-sdk": "2.
|
|
105
|
+
"@descope/core-js-sdk": "2.56.1",
|
|
104
106
|
"cross-fetch": "^4.0.0",
|
|
105
107
|
"jose": "5.2.2",
|
|
106
108
|
"tslib": "^2.0.0"
|