@tidecloak/js 0.13.30 → 0.13.31

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,17 +1,23 @@
1
1
  {
2
2
  "name": "@tidecloak/js",
3
- "version": "0.13.30",
3
+ "version": "0.13.31",
4
+ "description": "Vanilla JavaScript/browser SDK for TideCloak with an IAMService singleton and low-level client.",
4
5
  "type": "module",
5
6
  "main": "dist/cjs/src/index.js",
6
7
  "module": "dist/esm/src/index.js",
7
8
  "types": "dist/types/src/index.d.ts",
9
+ "sideEffects": [
10
+ "*.css"
11
+ ],
8
12
  "exports": {
9
13
  ".": {
10
14
  "types": "./dist/types/src/index.d.ts",
11
15
  "import": "./dist/esm/src/index.js",
12
- "require": "./dist/cjs/src/index.js"
16
+ "require": "./dist/cjs/src/index.js",
17
+ "default": "./dist/esm/src/index.js"
13
18
  },
14
19
  "./policy-react": {
20
+ "types": "./dist/types/src/policy-react.d.ts",
15
21
  "import": "./dist/esm/src/policy-react.js",
16
22
  "require": "./dist/cjs/src/policy-react.js"
17
23
  },
@@ -23,7 +29,7 @@
23
29
  "build:esm": "tsc -p tsconfig.esm.json",
24
30
  "build:types": "tsc -p tsconfig.types.json",
25
31
  "build:copy-css": "node scripts/copy-css.cjs",
26
- "build": "npm run build:cjs && npm run build:esm && npm run build:types && npm run build:copy-css && cp ./silent-check-sso.html dist/",
32
+ "build": "npm run build:cjs && npm run build:esm && npm run build:types && npm run build:copy-css && cp ./silent-check-sso.html dist/ && node scripts/postbuild.cjs",
27
33
  "prepare": "npm run build"
28
34
  },
29
35
  "files": [
@@ -31,9 +37,34 @@
31
37
  "scripts/postinstall.cjs",
32
38
  "silent-check-sso.html"
33
39
  ],
40
+ "publishConfig": {
41
+ "access": "public"
42
+ },
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "git+https://github.com/tide-foundation/tidecloak-js.git"
46
+ },
47
+ "author": "Tide",
48
+ "license": "https://tide.org/licenses_tcoc2-0-0-en",
49
+ "keywords": [
50
+ "security",
51
+ "tidecloak",
52
+ "tide",
53
+ "authentication",
54
+ "oidc",
55
+ "oauth2",
56
+ "authorization"
57
+ ],
34
58
  "dependencies": {
35
- "heimdall-tide": "^0.13.30",
36
- "@tideorg/js": "^0.13.30"
37
-
59
+ "heimdall-tide": "^0.13.31",
60
+ "@tideorg/js": "^0.13.31"
61
+ },
62
+ "peerDependencies": {
63
+ "@tidecloak/policy": "^0.13.31"
64
+ },
65
+ "peerDependenciesMeta": {
66
+ "@tidecloak/policy": {
67
+ "optional": true
68
+ }
38
69
  }
39
70
  }