@sentio/runtime 3.3.0-rc.5 → 3.3.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.
Files changed (36) hide show
  1. package/lib/chunk-AUPVVLD3.js +3 -0
  2. package/lib/chunk-CFG44J2I.js +26 -0
  3. package/lib/{chunk-5M6FVPAW.js.map → chunk-CFG44J2I.js.map} +1 -1
  4. package/lib/chunk-CJDESLYQ.js +3 -0
  5. package/lib/{chunk-L2A6JPIQ.js.map → chunk-CJDESLYQ.js.map} +1 -1
  6. package/lib/chunk-TW627LH5.js +3 -0
  7. package/lib/{chunk-I45UXGDM.js.map → chunk-TW627LH5.js.map} +1 -1
  8. package/lib/chunk-X5CIKWKP.js +117 -0
  9. package/lib/{chunk-D6CHVWKJ.js.map → chunk-X5CIKWKP.js.map} +1 -1
  10. package/lib/getMachineId-bsd-CDSZ2S36.js +3 -0
  11. package/lib/{getMachineId-bsd-QYFPRONP.js.map → getMachineId-bsd-CDSZ2S36.js.map} +1 -1
  12. package/lib/getMachineId-darwin-LM5BSWCG.js +4 -0
  13. package/lib/{getMachineId-darwin-XC67FIUW.js.map → getMachineId-darwin-LM5BSWCG.js.map} +1 -1
  14. package/lib/getMachineId-linux-UA53ZQFA.js +3 -0
  15. package/lib/{getMachineId-linux-4G7ZY7LQ.js.map → getMachineId-linux-UA53ZQFA.js.map} +1 -1
  16. package/lib/getMachineId-unsupported-LDR77GGJ.js +3 -0
  17. package/lib/{getMachineId-unsupported-5IH5IW7P.js.map → getMachineId-unsupported-LDR77GGJ.js.map} +1 -1
  18. package/lib/getMachineId-win-XULW45X4.js +3 -0
  19. package/lib/{getMachineId-win-WSA3TUKL.js.map → getMachineId-win-XULW45X4.js.map} +1 -1
  20. package/lib/index.js +1 -139
  21. package/lib/index.js.map +1 -1
  22. package/lib/processor-runner.js +73 -30646
  23. package/lib/processor-runner.js.map +1 -1
  24. package/lib/test-processor.test.js.map +1 -1
  25. package/package.json +1 -1
  26. package/lib/chunk-5M6FVPAW.js +0 -26070
  27. package/lib/chunk-D6CHVWKJ.js +0 -60244
  28. package/lib/chunk-I45UXGDM.js +0 -1697
  29. package/lib/chunk-KVSDPGUI.js +0 -50
  30. package/lib/chunk-L2A6JPIQ.js +0 -21
  31. package/lib/getMachineId-bsd-QYFPRONP.js +0 -41
  32. package/lib/getMachineId-darwin-XC67FIUW.js +0 -41
  33. package/lib/getMachineId-linux-4G7ZY7LQ.js +0 -33
  34. package/lib/getMachineId-unsupported-5IH5IW7P.js +0 -24
  35. package/lib/getMachineId-win-WSA3TUKL.js +0 -43
  36. /package/lib/{chunk-KVSDPGUI.js.map → chunk-AUPVVLD3.js.map} +0 -0
@@ -1,50 +0,0 @@
1
- import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
10
- }) : x)(function(x) {
11
- if (typeof require !== "undefined") return require.apply(this, arguments);
12
- throw Error('Dynamic require of "' + x + '" is not supported');
13
- });
14
- var __esm = (fn, res) => function __init() {
15
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
16
- };
17
- var __commonJS = (cb, mod) => function __require2() {
18
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
19
- };
20
- var __export = (target, all) => {
21
- for (var name in all)
22
- __defProp(target, name, { get: all[name], enumerable: true });
23
- };
24
- var __copyProps = (to, from, except, desc) => {
25
- if (from && typeof from === "object" || typeof from === "function") {
26
- for (let key of __getOwnPropNames(from))
27
- if (!__hasOwnProp.call(to, key) && key !== except)
28
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
29
- }
30
- return to;
31
- };
32
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
33
- // If the importer is in node compatibility mode or this is not an ESM
34
- // file that has been converted to a CommonJS file using a Babel-
35
- // compatible transform (i.e. "__esModule" has not been set), then set
36
- // "default" to the CommonJS "module.exports" for node compatibility.
37
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
38
- mod
39
- ));
40
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
41
-
42
- export {
43
- __require,
44
- __esm,
45
- __commonJS,
46
- __export,
47
- __toESM,
48
- __toCommonJS
49
- };
50
- //# sourceMappingURL=chunk-KVSDPGUI.js.map
@@ -1,21 +0,0 @@
1
- import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
2
- import {
3
- __esm
4
- } from "./chunk-KVSDPGUI.js";
5
-
6
- // ../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/execAsync.js
7
- import * as child_process from "child_process";
8
- import * as util from "util";
9
- var execAsync;
10
- var init_execAsync = __esm({
11
- "../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/execAsync.js"() {
12
- "use strict";
13
- execAsync = util.promisify(child_process.exec);
14
- }
15
- });
16
-
17
- export {
18
- execAsync,
19
- init_execAsync
20
- };
21
- //# sourceMappingURL=chunk-L2A6JPIQ.js.map
@@ -1,41 +0,0 @@
1
- import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
2
- import {
3
- execAsync,
4
- init_execAsync
5
- } from "./chunk-L2A6JPIQ.js";
6
- import {
7
- diag,
8
- init_esm
9
- } from "./chunk-I45UXGDM.js";
10
- import {
11
- __esm
12
- } from "./chunk-KVSDPGUI.js";
13
-
14
- // ../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-bsd.js
15
- import { promises as fs } from "fs";
16
- async function getMachineId() {
17
- try {
18
- const result = await fs.readFile("/etc/hostid", { encoding: "utf8" });
19
- return result.trim();
20
- } catch (e) {
21
- diag.debug(`error reading machine id: ${e}`);
22
- }
23
- try {
24
- const result = await execAsync("kenv -q smbios.system.uuid");
25
- return result.stdout.trim();
26
- } catch (e) {
27
- diag.debug(`error reading machine id: ${e}`);
28
- }
29
- return void 0;
30
- }
31
- var init_getMachineId_bsd = __esm({
32
- "../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-bsd.js"() {
33
- init_execAsync();
34
- init_esm();
35
- }
36
- });
37
- init_getMachineId_bsd();
38
- export {
39
- getMachineId
40
- };
41
- //# sourceMappingURL=getMachineId-bsd-QYFPRONP.js.map
@@ -1,41 +0,0 @@
1
- import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
2
- import {
3
- execAsync,
4
- init_execAsync
5
- } from "./chunk-L2A6JPIQ.js";
6
- import {
7
- diag,
8
- init_esm
9
- } from "./chunk-I45UXGDM.js";
10
- import {
11
- __esm
12
- } from "./chunk-KVSDPGUI.js";
13
-
14
- // ../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-darwin.js
15
- async function getMachineId() {
16
- try {
17
- const result = await execAsync('ioreg -rd1 -c "IOPlatformExpertDevice"');
18
- const idLine = result.stdout.split("\n").find((line) => line.includes("IOPlatformUUID"));
19
- if (!idLine) {
20
- return void 0;
21
- }
22
- const parts = idLine.split('" = "');
23
- if (parts.length === 2) {
24
- return parts[1].slice(0, -1);
25
- }
26
- } catch (e) {
27
- diag.debug(`error reading machine id: ${e}`);
28
- }
29
- return void 0;
30
- }
31
- var init_getMachineId_darwin = __esm({
32
- "../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-darwin.js"() {
33
- init_execAsync();
34
- init_esm();
35
- }
36
- });
37
- init_getMachineId_darwin();
38
- export {
39
- getMachineId
40
- };
41
- //# sourceMappingURL=getMachineId-darwin-XC67FIUW.js.map
@@ -1,33 +0,0 @@
1
- import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
2
- import {
3
- diag,
4
- init_esm
5
- } from "./chunk-I45UXGDM.js";
6
- import {
7
- __esm
8
- } from "./chunk-KVSDPGUI.js";
9
-
10
- // ../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-linux.js
11
- import { promises as fs } from "fs";
12
- async function getMachineId() {
13
- const paths = ["/etc/machine-id", "/var/lib/dbus/machine-id"];
14
- for (const path of paths) {
15
- try {
16
- const result = await fs.readFile(path, { encoding: "utf8" });
17
- return result.trim();
18
- } catch (e) {
19
- diag.debug(`error reading machine id: ${e}`);
20
- }
21
- }
22
- return void 0;
23
- }
24
- var init_getMachineId_linux = __esm({
25
- "../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-linux.js"() {
26
- init_esm();
27
- }
28
- });
29
- init_getMachineId_linux();
30
- export {
31
- getMachineId
32
- };
33
- //# sourceMappingURL=getMachineId-linux-4G7ZY7LQ.js.map
@@ -1,24 +0,0 @@
1
- import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
2
- import {
3
- diag,
4
- init_esm
5
- } from "./chunk-I45UXGDM.js";
6
- import {
7
- __esm
8
- } from "./chunk-KVSDPGUI.js";
9
-
10
- // ../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-unsupported.js
11
- async function getMachineId() {
12
- diag.debug("could not read machine-id: unsupported platform");
13
- return void 0;
14
- }
15
- var init_getMachineId_unsupported = __esm({
16
- "../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-unsupported.js"() {
17
- init_esm();
18
- }
19
- });
20
- init_getMachineId_unsupported();
21
- export {
22
- getMachineId
23
- };
24
- //# sourceMappingURL=getMachineId-unsupported-5IH5IW7P.js.map
@@ -1,43 +0,0 @@
1
- import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
2
- import {
3
- execAsync,
4
- init_execAsync
5
- } from "./chunk-L2A6JPIQ.js";
6
- import {
7
- diag,
8
- init_esm
9
- } from "./chunk-I45UXGDM.js";
10
- import {
11
- __esm
12
- } from "./chunk-KVSDPGUI.js";
13
-
14
- // ../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-win.js
15
- import * as process from "process";
16
- async function getMachineId() {
17
- const args = "QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid";
18
- let command = "%windir%\\System32\\REG.exe";
19
- if (process.arch === "ia32" && "PROCESSOR_ARCHITEW6432" in process.env) {
20
- command = "%windir%\\sysnative\\cmd.exe /c " + command;
21
- }
22
- try {
23
- const result = await execAsync(`${command} ${args}`);
24
- const parts = result.stdout.split("REG_SZ");
25
- if (parts.length === 2) {
26
- return parts[1].trim();
27
- }
28
- } catch (e) {
29
- diag.debug(`error reading machine id: ${e}`);
30
- }
31
- return void 0;
32
- }
33
- var init_getMachineId_win = __esm({
34
- "../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-win.js"() {
35
- init_execAsync();
36
- init_esm();
37
- }
38
- });
39
- init_getMachineId_win();
40
- export {
41
- getMachineId
42
- };
43
- //# sourceMappingURL=getMachineId-win-WSA3TUKL.js.map