@versini/auth-common 1.0.0 → 2.0.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/dist/index.d.ts CHANGED
@@ -1,5 +1,8 @@
1
1
  declare const AUTH_TYPES: {
2
2
  ID_TOKEN: string;
3
3
  };
4
+ declare const HEADERS: {
5
+ CLIENT_ID: string;
6
+ };
4
7
 
5
- export { AUTH_TYPES };
8
+ export { AUTH_TYPES, HEADERS };
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /*!
2
- @versini/auth-common v0.0.0
2
+ @versini/auth-common v2.0.0
3
3
  © 2024 gizmette.com
4
4
  */
5
5
  try {
6
6
  window.__VERSINI_AUTH_COMMON__ || (window.__VERSINI_AUTH_COMMON__ = {
7
- version: "0.0.0",
8
- buildTime: "06/15/2024 02:26 PM EDT",
7
+ version: "2.0.0",
8
+ buildTime: "06/17/2024 04:39 PM EDT",
9
9
  homepage: "https://github.com/aversini/auth-client",
10
10
  license: "MIT"
11
11
  });
@@ -13,7 +13,10 @@ try {
13
13
  }
14
14
  const i = {
15
15
  ID_TOKEN: "id_token"
16
+ }, t = {
17
+ CLIENT_ID: "X-Auth-ClientId"
16
18
  };
17
19
  export {
18
- i as AUTH_TYPES
20
+ i as AUTH_TYPES,
21
+ t as HEADERS
19
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/auth-common",
3
- "version": "1.0.0",
3
+ "version": "2.0.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -27,9 +27,7 @@
27
27
  "dev:types": "tsup --watch src",
28
28
  "dev": "npm-run-all clean --parallel dev:js dev:types",
29
29
  "lint": "biome lint src",
30
- "start": "static-server dist --port 5173",
31
- "test:watch": "vitest",
32
- "test": "vitest run"
30
+ "start": "static-server dist --port 5173"
33
31
  },
34
- "gitHead": "dc7ba10338ba97051f95d11730c2ce7cb2eea5ac"
32
+ "gitHead": "3dbd373d2db89d99a1ca36e0bbe1bc987d8eaaae"
35
33
  }