@sentio/runtime 4.1.0-rc.2 → 4.1.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/esm-Ajeyb2yg.js +2 -0
- package/dist/{esm-CSGQo6hb.js.map → esm-Ajeyb2yg.js.map} +1 -1
- package/dist/execAsync-Cu4Uyhzv.js +2 -0
- package/dist/{execAsync-DiFDE921.js.map → execAsync-Cu4Uyhzv.js.map} +1 -1
- package/dist/getMachineId-bsd-DMCgGTrk.js +2 -0
- package/dist/{getMachineId-bsd-57c_YWfQ.js.map → getMachineId-bsd-DMCgGTrk.js.map} +1 -1
- package/dist/getMachineId-darwin-Dy0upv7d.js +3 -0
- package/dist/{getMachineId-darwin-dyf00K_U.js.map → getMachineId-darwin-Dy0upv7d.js.map} +1 -1
- package/dist/getMachineId-linux-1gt-JynE.js +2 -0
- package/dist/{getMachineId-linux-p9niCx07.js.map → getMachineId-linux-1gt-JynE.js.map} +1 -1
- package/dist/getMachineId-unsupported-aqcKyF65.js +2 -0
- package/dist/{getMachineId-unsupported-hKbFGxhH.js.map → getMachineId-unsupported-aqcKyF65.js.map} +1 -1
- package/dist/getMachineId-win-BOJrF7mQ.js +2 -0
- package/dist/{getMachineId-win-Bn6Q0xbV.js.map → getMachineId-win-BOJrF7mQ.js.map} +1 -1
- package/dist/index.d.ts +0 -309
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -67
- package/dist/index.js.map +1 -1
- package/dist/plugin-BKPj92hO.js +3 -0
- package/dist/plugin-BKPj92hO.js.map +1 -0
- package/dist/processor-runner.js +134 -57665
- package/dist/processor-runner.js.map +1 -1
- package/dist/service-v3-CUCRzxpl.js +11 -0
- package/dist/service-v3-CUCRzxpl.js.map +1 -0
- package/package.json +1 -1
- package/src/gen/processor/protos/processor_pb.ts +14 -4
- package/src/utils.ts +1 -4
- package/dist/esm-CSGQo6hb.js +0 -1773
- package/dist/execAsync-DiFDE921.js +0 -14
- package/dist/getMachineId-bsd-57c_YWfQ.js +0 -30
- package/dist/getMachineId-darwin-dyf00K_U.js +0 -27
- package/dist/getMachineId-linux-p9niCx07.js +0 -23
- package/dist/getMachineId-unsupported-hKbFGxhH.js +0 -18
- package/dist/getMachineId-win-Bn6Q0xbV.js +0 -29
- package/dist/plugin-CT4pDRpS.js +0 -6925
- package/dist/plugin-CT4pDRpS.js.map +0 -1
- package/dist/service-v3-BpwaUIVx.js +0 -12238
- package/dist/service-v3-BpwaUIVx.js.map +0 -1
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { d as __commonJSMin, m as __require } from "./esm-CSGQo6hb.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/execAsync.js
|
|
4
|
-
var require_execAsync = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.execAsync = void 0;
|
|
7
|
-
const child_process = __require("child_process");
|
|
8
|
-
const util = __require("util");
|
|
9
|
-
exports.execAsync = util.promisify(child_process.exec);
|
|
10
|
-
}));
|
|
11
|
-
|
|
12
|
-
//#endregion
|
|
13
|
-
export { require_execAsync as t };
|
|
14
|
-
//# sourceMappingURL=execAsync-DiFDE921.js.map
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { d as __commonJSMin, h as __toCommonJS, m as __require, n as init_esm, t as esm_exports } from "./esm-CSGQo6hb.js";
|
|
2
|
-
import { t as require_execAsync } from "./execAsync-DiFDE921.js";
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-bsd.js
|
|
5
|
-
var require_getMachineId_bsd = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.getMachineId = void 0;
|
|
8
|
-
const fs_1 = __require("fs");
|
|
9
|
-
const execAsync_1 = require_execAsync();
|
|
10
|
-
const api_1 = (init_esm(), __toCommonJS(esm_exports));
|
|
11
|
-
async function getMachineId() {
|
|
12
|
-
try {
|
|
13
|
-
return (await fs_1.promises.readFile("/etc/hostid", { encoding: "utf8" })).trim();
|
|
14
|
-
} catch (e) {
|
|
15
|
-
api_1.diag.debug(`error reading machine id: ${e}`);
|
|
16
|
-
}
|
|
17
|
-
try {
|
|
18
|
-
return (await (0, execAsync_1.execAsync)("kenv -q smbios.system.uuid")).stdout.trim();
|
|
19
|
-
} catch (e) {
|
|
20
|
-
api_1.diag.debug(`error reading machine id: ${e}`);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
exports.getMachineId = getMachineId;
|
|
24
|
-
}));
|
|
25
|
-
|
|
26
|
-
//#endregion
|
|
27
|
-
export default require_getMachineId_bsd();
|
|
28
|
-
|
|
29
|
-
export { };
|
|
30
|
-
//# sourceMappingURL=getMachineId-bsd-57c_YWfQ.js.map
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { d as __commonJSMin, h as __toCommonJS, n as init_esm, t as esm_exports } from "./esm-CSGQo6hb.js";
|
|
2
|
-
import { t as require_execAsync } from "./execAsync-DiFDE921.js";
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-darwin.js
|
|
5
|
-
var require_getMachineId_darwin = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.getMachineId = void 0;
|
|
8
|
-
const execAsync_1 = require_execAsync();
|
|
9
|
-
const api_1 = (init_esm(), __toCommonJS(esm_exports));
|
|
10
|
-
async function getMachineId() {
|
|
11
|
-
try {
|
|
12
|
-
const idLine = (await (0, execAsync_1.execAsync)("ioreg -rd1 -c \"IOPlatformExpertDevice\"")).stdout.split("\n").find((line) => line.includes("IOPlatformUUID"));
|
|
13
|
-
if (!idLine) return;
|
|
14
|
-
const parts = idLine.split("\" = \"");
|
|
15
|
-
if (parts.length === 2) return parts[1].slice(0, -1);
|
|
16
|
-
} catch (e) {
|
|
17
|
-
api_1.diag.debug(`error reading machine id: ${e}`);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.getMachineId = getMachineId;
|
|
21
|
-
}));
|
|
22
|
-
|
|
23
|
-
//#endregion
|
|
24
|
-
export default require_getMachineId_darwin();
|
|
25
|
-
|
|
26
|
-
export { };
|
|
27
|
-
//# sourceMappingURL=getMachineId-darwin-dyf00K_U.js.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { d as __commonJSMin, h as __toCommonJS, m as __require, n as init_esm, t as esm_exports } from "./esm-CSGQo6hb.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-linux.js
|
|
4
|
-
var require_getMachineId_linux = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getMachineId = void 0;
|
|
7
|
-
const fs_1 = __require("fs");
|
|
8
|
-
const api_1 = (init_esm(), __toCommonJS(esm_exports));
|
|
9
|
-
async function getMachineId() {
|
|
10
|
-
for (const path of ["/etc/machine-id", "/var/lib/dbus/machine-id"]) try {
|
|
11
|
-
return (await fs_1.promises.readFile(path, { encoding: "utf8" })).trim();
|
|
12
|
-
} catch (e) {
|
|
13
|
-
api_1.diag.debug(`error reading machine id: ${e}`);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
exports.getMachineId = getMachineId;
|
|
17
|
-
}));
|
|
18
|
-
|
|
19
|
-
//#endregion
|
|
20
|
-
export default require_getMachineId_linux();
|
|
21
|
-
|
|
22
|
-
export { };
|
|
23
|
-
//# sourceMappingURL=getMachineId-linux-p9niCx07.js.map
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { d as __commonJSMin, h as __toCommonJS, n as init_esm, t as esm_exports } from "./esm-CSGQo6hb.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-unsupported.js
|
|
4
|
-
var require_getMachineId_unsupported = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getMachineId = void 0;
|
|
7
|
-
const api_1 = (init_esm(), __toCommonJS(esm_exports));
|
|
8
|
-
async function getMachineId() {
|
|
9
|
-
api_1.diag.debug("could not read machine-id: unsupported platform");
|
|
10
|
-
}
|
|
11
|
-
exports.getMachineId = getMachineId;
|
|
12
|
-
}));
|
|
13
|
-
|
|
14
|
-
//#endregion
|
|
15
|
-
export default require_getMachineId_unsupported();
|
|
16
|
-
|
|
17
|
-
export { };
|
|
18
|
-
//# sourceMappingURL=getMachineId-unsupported-hKbFGxhH.js.map
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { d as __commonJSMin, h as __toCommonJS, m as __require, n as init_esm, t as esm_exports } from "./esm-CSGQo6hb.js";
|
|
2
|
-
import { t as require_execAsync } from "./execAsync-DiFDE921.js";
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-win.js
|
|
5
|
-
var require_getMachineId_win = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.getMachineId = void 0;
|
|
8
|
-
const process = __require("process");
|
|
9
|
-
const execAsync_1 = require_execAsync();
|
|
10
|
-
const api_1 = (init_esm(), __toCommonJS(esm_exports));
|
|
11
|
-
async function getMachineId() {
|
|
12
|
-
const args = "QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid";
|
|
13
|
-
let command = "%windir%\\System32\\REG.exe";
|
|
14
|
-
if (process.arch === "ia32" && "PROCESSOR_ARCHITEW6432" in process.env) command = "%windir%\\sysnative\\cmd.exe /c " + command;
|
|
15
|
-
try {
|
|
16
|
-
const parts = (await (0, execAsync_1.execAsync)(`${command} ${args}`)).stdout.split("REG_SZ");
|
|
17
|
-
if (parts.length === 2) return parts[1].trim();
|
|
18
|
-
} catch (e) {
|
|
19
|
-
api_1.diag.debug(`error reading machine id: ${e}`);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.getMachineId = getMachineId;
|
|
23
|
-
}));
|
|
24
|
-
|
|
25
|
-
//#endregion
|
|
26
|
-
export default require_getMachineId_win();
|
|
27
|
-
|
|
28
|
-
export { };
|
|
29
|
-
//# sourceMappingURL=getMachineId-win-Bn6Q0xbV.js.map
|