@mcesystems/auth-g4 1.0.77 → 1.0.79

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.
@@ -1,3 +1,15 @@
1
- export { getAuthToken, readCredentialsFromFile } from "./logic/authClient";
2
- export type { AuthCredentials, TokenResponse } from "./types/auth";
3
- //# sourceMappingURL=index.d.ts.map
1
+ // Generated by dts-bundle-generator v9.5.1
2
+
3
+ export interface AuthCredentials {
4
+ clientDecorator: string;
5
+ variantConfigurationKey: string;
6
+ frameworkId?: string;
7
+ }
8
+ export interface TokenResponse {
9
+ accessToken: string;
10
+ expiresIn: number;
11
+ }
12
+ export declare function getAuthToken(credentials: AuthCredentials, apiUrl?: string): Promise<TokenResponse>;
13
+ export declare function readCredentialsFromFile(filePath: string): Promise<AuthCredentials>;
14
+
15
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcesystems/auth-g4",
3
- "version": "1.0.77",
3
+ "version": "1.0.79",
4
4
  "description": "Authentication toolkit for device management",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -28,12 +28,13 @@
28
28
  "dependencies": {
29
29
  "dotenv": "^17.2.3",
30
30
  "tsx": "^4.21.0",
31
- "@mcesystems/tool-debug-g4": "1.0.77"
31
+ "@mcesystems/tool-debug-g4": "1.0.79"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/node": "^22.10.2",
35
35
  "cross-env": "^10.1.0",
36
36
  "esbuild": "^0.27.0",
37
+ "esbuild-plugin-d.ts": "^1.3.1",
37
38
  "rimraf": "^6.0.1",
38
39
  "typescript": "^5.7.2"
39
40
  },
@@ -42,7 +43,7 @@
42
43
  "README.md"
43
44
  ],
44
45
  "scripts": {
45
- "build": "tsx esbuild.config.mts && tsc --emitDeclarationOnly",
46
+ "build": "tsx esbuild.config.mts",
46
47
  "build:all": "pnpm --filter @mcesystems/auth-g4... build",
47
48
  "check:types": "tsc --noEmit",
48
49
  "clean": "rimraf dist",