@descope/web-js-sdk 1.0.0 → 1.0.2

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/package.json CHANGED
@@ -1,100 +1,91 @@
1
1
  {
2
- "name": "@descope/web-js-sdk",
3
- "version": "1.0.0",
4
- "author": "Descope Team <info@descope.com>",
5
- "homepage": "https://github.com/descope/web-js-sdk",
6
- "bugs": {
7
- "url": "https://github.com/descope/web-js-sdk/issues",
8
- "email": "help@descope.com"
9
- },
10
- "main": "dist/cjs/index.cjs.js",
11
- "module": "dist/index.esm.js",
12
- "types": "dist/index.d.ts",
13
- "exports": {
14
- "require": "./dist/cjs/index.cjs.js",
15
- "import": "./dist/index.esm.js"
16
- },
17
- "type": "module",
18
- "description": "Descope JavaScript web SDK",
19
- "scripts": {
20
- "start": "npm run generateCerts && npm run build && http-server -S -o ./examples",
21
- "build": "rimraf dist && rollup -c",
22
- "test": "jest",
23
- "prepare": "husky install",
24
- "lint": "eslint '+(src|test|examples)/**/*.ts' --fix && tsc --noEmit",
25
- "format": "prettier . -w --ignore-path .gitignore",
26
- "format-check": "prettier . --check --ignore-path .gitignore",
27
- "format-lint": "pretty-quick --staged --ignore-path .gitignore && lint-staged",
28
- "prepublishOnly": "npm run build",
29
- "generateCerts": "test -f ./key.pem && test -f ./cert.pem || openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 -subj '/C=US/ST=California/L=San Francisco/O=Descope/CN=localhost' -keyout ./key.pem -out ./cert.pem"
30
- },
31
- "lint-staged": {
32
- "+(src|test|examples)/**/*.{js,ts,jsx,tsx}": [
33
- "npm run lint"
34
- ]
35
- },
36
- "license": "MIT",
37
- "repository": {
38
- "type": "git",
39
- "url": "https://github.com/descope/web-js-sdk.git"
40
- },
41
- "files": [
42
- "dist"
43
- ],
44
- "keywords": [
45
- "descope",
46
- "authentication"
47
- ],
48
- "devDependencies": {
49
- "@open-wc/rollup-plugin-html": "1.2.5",
50
- "@rollup/plugin-commonjs": "24.0.1",
51
- "@rollup/plugin-node-resolve": "^15.0.0",
52
- "@rollup/plugin-replace": "^5.0.2",
53
- "@rollup/plugin-terser": "^0.4.0",
54
- "@rollup/plugin-typescript": "^11.0.0",
55
- "@types/jest": "^27.0.2",
56
- "@types/js-cookie": "^3.0.2",
57
- "@types/lodash.get": "^4.4.7",
58
- "@typescript-eslint/parser": "^5.33.1",
59
- "eslint": "8.33.0",
60
- "eslint-config-airbnb-typescript": "17.0.0",
61
- "eslint-config-prettier": "8.6.0",
62
- "eslint-config-standard": "17.0.0",
63
- "eslint-import-resolver-typescript": "3.5.3",
64
- "eslint-plugin-import": "2.27.5",
65
- "eslint-plugin-jest": "27.2.1",
66
- "eslint-plugin-jest-dom": "4.0.3",
67
- "eslint-plugin-jest-formatting": "3.1.0",
68
- "eslint-plugin-n": "15.6.1",
69
- "eslint-plugin-no-only-tests": "3.1.0",
70
- "eslint-plugin-prefer-arrow": "1.2.3",
71
- "eslint-plugin-prettier": "4.2.1",
72
- "eslint-plugin-promise": "6.1.1",
73
- "http-server": "^14.0.0",
74
- "husky": "^8.0.1",
75
- "jest": "^27.3.1",
76
- "lint-staged": "^13.0.3",
77
- "prettier": "^2.6.2",
78
- "pretty-quick": "^3.1.3",
79
- "rimraf": "^4.0.0",
80
- "rollup": "^3.0.0",
81
- "rollup-plugin-auto-external": "^2.0.0",
82
- "rollup-plugin-browsersync": "^1.3.3",
83
- "rollup-plugin-delete": "^2.0.0",
84
- "rollup-plugin-dts": "^5.1.1",
85
- "rollup-plugin-esbuild": "^5.0.0",
86
- "rollup-plugin-inject-process-env": "^1.3.1",
87
- "rollup-plugin-livereload": "^2.0.5",
88
- "ts-jest": "^27.0.7",
89
- "ts-node": "10.9.1",
90
- "typescript": "^4.5.3"
91
- },
92
- "dependencies": {
93
- "@descope/core-js-sdk": "1.0.1",
94
- "@fingerprintjs/fingerprintjs-pro": "3.8.2",
95
- "js-cookie": "3.0.1"
96
- },
97
- "overrides": {
98
- "terser": "^5.14.2"
99
- }
100
- }
2
+ "name": "@descope/web-js-sdk",
3
+ "version": "1.0.2",
4
+ "author": "Descope Team <info@descope.com>",
5
+ "homepage": "https://github.com/descope/web-js-sdk",
6
+ "bugs": {
7
+ "url": "https://github.com/descope/web-js-sdk/issues",
8
+ "email": "help@descope.com"
9
+ },
10
+ "main": "dist/cjs/index.cjs.js",
11
+ "module": "dist/index.esm.js",
12
+ "types": "dist/index.d.ts",
13
+ "exports": {
14
+ "require": "./dist/cjs/index.cjs.js",
15
+ "import": "./dist/index.esm.js"
16
+ },
17
+ "type": "module",
18
+ "description": "Descope JavaScript web SDK",
19
+ "license": "MIT",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "https://github.com/descope/web-js-sdk.git"
23
+ },
24
+ "files": [
25
+ "dist"
26
+ ],
27
+ "keywords": [
28
+ "descope",
29
+ "authentication"
30
+ ],
31
+ "devDependencies": {
32
+ "@open-wc/rollup-plugin-html": "1.2.5",
33
+ "@rollup/plugin-commonjs": "24.0.1",
34
+ "@rollup/plugin-node-resolve": "^15.0.0",
35
+ "@rollup/plugin-replace": "^5.0.2",
36
+ "@rollup/plugin-terser": "^0.4.0",
37
+ "@rollup/plugin-typescript": "^11.0.0",
38
+ "@types/jest": "^27.0.2",
39
+ "@types/node": "18.15.0",
40
+ "@types/js-cookie": "^3.0.2",
41
+ "@types/lodash.get": "^4.4.7",
42
+ "@typescript-eslint/parser": "^5.33.1",
43
+ "eslint": "8.36.0",
44
+ "eslint-config-airbnb-typescript": "17.0.0",
45
+ "eslint-config-prettier": "8.6.0",
46
+ "eslint-config-standard": "17.0.0",
47
+ "eslint-import-resolver-typescript": "3.5.3",
48
+ "eslint-plugin-import": "2.27.5",
49
+ "eslint-plugin-jest": "27.2.1",
50
+ "eslint-plugin-jest-dom": "4.0.3",
51
+ "eslint-plugin-jest-formatting": "3.1.0",
52
+ "eslint-plugin-n": "15.6.1",
53
+ "eslint-plugin-no-only-tests": "3.1.0",
54
+ "eslint-plugin-prefer-arrow": "1.2.3",
55
+ "eslint-plugin-prettier": "4.2.1",
56
+ "eslint-plugin-promise": "6.1.1",
57
+ "http-server": "^14.0.0",
58
+ "jest": "^27.3.1",
59
+ "jest-environment-jsdom": "^27.3.1",
60
+ "lint-staged": "^13.0.3",
61
+ "prettier": "^2.6.2",
62
+ "pretty-quick": "^3.1.3",
63
+ "rimraf": "^4.0.0",
64
+ "rollup": "^3.0.0",
65
+ "rollup-plugin-auto-external": "^2.0.0",
66
+ "rollup-plugin-browsersync": "^1.3.3",
67
+ "rollup-plugin-delete": "^2.0.0",
68
+ "rollup-plugin-dts": "^5.1.1",
69
+ "rollup-plugin-esbuild": "^5.0.0",
70
+ "rollup-plugin-inject-process-env": "^1.3.1",
71
+ "rollup-plugin-livereload": "^2.0.5",
72
+ "ts-jest": "^27.0.7",
73
+ "ts-node": "10.9.1",
74
+ "typescript": "^4.5.3"
75
+ },
76
+ "dependencies": {
77
+ "@fingerprintjs/fingerprintjs-pro": "3.8.2",
78
+ "js-cookie": "3.0.1",
79
+ "@descope/core-js-sdk": "1.0.5"
80
+ },
81
+ "overrides": {
82
+ "terser": "^5.14.2"
83
+ },
84
+ "scripts": {
85
+ "start": "npm run generateCerts && npm run build && http-server -S -o ./examples",
86
+ "build": "rimraf dist && rollup -c",
87
+ "test": "jest",
88
+ "lint": "eslint '+(src|test|examples)/**/*.ts'",
89
+ "generateCerts": "test -f ./key.pem && test -f ./cert.pem || openssl req -new -newkey rsa:2048 -days 365 -nodes -x509 -subj '/C=US/ST=California/L=San Francisco/O=Descope/CN=localhost' -keyout ./key.pem -out ./cert.pem"
90
+ }
91
+ }