@mcesystems/logging-g4 1.0.65
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 +33 -0
- package/dist/index.js +21550 -0
- package/dist/index.js.map +7 -0
- package/dist/index.mjs +21546 -0
- package/dist/index.mjs.map +7 -0
- package/dist/types/example/sendLog.d.ts +2 -0
- package/dist/types/example/sendLog.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/logic/logClient.d.ts +11 -0
- package/dist/types/logic/logClient.d.ts.map +1 -0
- package/dist/types/types/tokenFile.d.ts +7 -0
- package/dist/types/types/tokenFile.d.ts.map +1 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendLog.d.ts","sourceRoot":"","sources":["../../../src/example/sendLog.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { UploadEventsInput } from "@mcesystems/logging-interfaces/lib/sdk";
|
|
2
|
+
export declare class LogClient {
|
|
3
|
+
private credentials;
|
|
4
|
+
private loggingClient;
|
|
5
|
+
private offlinetime;
|
|
6
|
+
private cachedEvents;
|
|
7
|
+
private initialized;
|
|
8
|
+
init(): Promise<void>;
|
|
9
|
+
logEvent(event: Omit<UploadEventsInput["events"][number], "event_id" | "event_time" | "framework_id" | "event_source">): Promise<import("@mcesystems/logging-interfaces/lib/sdk").UploadEventsMutation | undefined>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=logClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logClient.d.ts","sourceRoot":"","sources":["../../../src/logic/logClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAYhF,qBAAa,SAAS;IACrB,OAAO,CAAC,WAAW,CAA8B;IACjD,OAAO,CAAC,aAAa,CAA4B;IACjD,OAAO,CAAC,WAAW,CAAqB;IACxC,OAAO,CAAC,YAAY,CAAmC;IACvD,OAAO,CAAC,WAAW,CAAS;IAEtB,IAAI;IA8DJ,QAAQ,CACb,KAAK,EAAE,IAAI,CACV,iBAAiB,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,EACnC,UAAU,GAAG,YAAY,GAAG,cAAc,GAAG,cAAc,CAC3D;CAmDF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokenFile.d.ts","sourceRoot":"","sources":["../../../src/types/tokenFile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,MAAM,WAAW,SAAS;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,aAAa,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;CACZ"}
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mcesystems/logging-g4",
|
|
3
|
+
"version": "1.0.65",
|
|
4
|
+
"description": "Logging toolkit for device management",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"types": "dist/types/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/types/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"typescript",
|
|
17
|
+
"esm"
|
|
18
|
+
],
|
|
19
|
+
"author": "Device Management Tools Contributors",
|
|
20
|
+
"license": "ISC",
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=18.0.0"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"@mcesystems/gql-logging-client": "^3.163.4",
|
|
26
|
+
"dotenv": "^17.2.3",
|
|
27
|
+
"tsx": "^4.21.0",
|
|
28
|
+
"uuid": "^13.0.0",
|
|
29
|
+
"@mcesystems/tool-debug": "1.0.65",
|
|
30
|
+
"@mcesystems/auth-g4": "1.0.65"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@mcesystems/logging-interfaces": "^3.163.4",
|
|
34
|
+
"@types/node": "^22.10.2",
|
|
35
|
+
"cross-env": "^10.1.0",
|
|
36
|
+
"esbuild": "^0.27.0",
|
|
37
|
+
"rimraf": "^6.0.1",
|
|
38
|
+
"typescript": "^5.7.2"
|
|
39
|
+
},
|
|
40
|
+
"files": [
|
|
41
|
+
"dist",
|
|
42
|
+
"README.md"
|
|
43
|
+
],
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsx esbuild.config.mts && tsc --emitDeclarationOnly",
|
|
46
|
+
"clean": "rimraf dist",
|
|
47
|
+
"pack": "npm pack"
|
|
48
|
+
}
|
|
49
|
+
}
|