@sentio/runtime 2.62.3 → 2.62.4-rc.1
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/lib/chunk-6XHWJ2VS.js +92 -0
- package/lib/{chunk-WHWNPZZ3.js.map → chunk-6XHWJ2VS.js.map} +1 -1
- package/lib/chunk-CPJKSHSV.js +10976 -0
- package/lib/{chunk-XI22N6AJ.js.map → chunk-CPJKSHSV.js.map} +1 -1
- package/lib/chunk-FMUBPMYE.js +60102 -0
- package/lib/{chunk-XSQNZQCD.js.map → chunk-FMUBPMYE.js.map} +1 -1
- package/lib/chunk-KVSDPGUI.js +50 -0
- package/lib/chunk-L2A6JPIQ.js +21 -0
- package/lib/{chunk-CJDESLYQ.js.map → chunk-L2A6JPIQ.js.map} +1 -1
- package/lib/chunk-MV6JXS2P.js +1703 -0
- package/lib/{chunk-G6HW3DCN.js.map → chunk-MV6JXS2P.js.map} +1 -1
- package/lib/chunk-OFR7W4ZG.js +25773 -0
- package/lib/{chunk-3A7UBKPA.js.map → chunk-OFR7W4ZG.js.map} +1 -1
- package/lib/getMachineId-bsd-ZJR2OQTA.js +41 -0
- package/lib/{getMachineId-bsd-I6PJXCQT.js.map → getMachineId-bsd-ZJR2OQTA.js.map} +1 -1
- package/lib/getMachineId-darwin-OW6SYINH.js +41 -0
- package/lib/{getMachineId-darwin-HKHV3WMW.js.map → getMachineId-darwin-OW6SYINH.js.map} +1 -1
- package/lib/getMachineId-linux-L5XPRJBN.js +33 -0
- package/lib/{getMachineId-linux-I76A7IOE.js.map → getMachineId-linux-L5XPRJBN.js.map} +1 -1
- package/lib/getMachineId-unsupported-B3NMIOO3.js +24 -0
- package/lib/{getMachineId-unsupported-VPOZWIZS.js.map → getMachineId-unsupported-B3NMIOO3.js.map} +1 -1
- package/lib/getMachineId-win-TT64F63B.js +43 -0
- package/lib/{getMachineId-win-W5S4EK74.js.map → getMachineId-win-TT64F63B.js.map} +1 -1
- package/lib/index.js +76 -1
- package/lib/index.js.map +1 -1
- package/lib/processor-runner.js +32956 -47
- package/lib/processor-runner.js.map +1 -1
- package/lib/service-worker.js +132 -2
- package/lib/service-worker.js.map +1 -1
- package/lib/test-processor.test.js.map +1 -1
- package/package.json +1 -1
- package/lib/chunk-3A7UBKPA.js +0 -26
- package/lib/chunk-AUPVVLD3.js +0 -3
- package/lib/chunk-CJDESLYQ.js +0 -3
- package/lib/chunk-G6HW3DCN.js +0 -3
- package/lib/chunk-WHWNPZZ3.js +0 -3
- package/lib/chunk-XI22N6AJ.js +0 -38
- package/lib/chunk-XSQNZQCD.js +0 -117
- package/lib/getMachineId-bsd-I6PJXCQT.js +0 -3
- package/lib/getMachineId-darwin-HKHV3WMW.js +0 -4
- package/lib/getMachineId-linux-I76A7IOE.js +0 -3
- package/lib/getMachineId-unsupported-VPOZWIZS.js +0 -3
- package/lib/getMachineId-win-W5S4EK74.js +0 -3
- /package/lib/{chunk-AUPVVLD3.js.map → chunk-KVSDPGUI.js.map} +0 -0
@@ -0,0 +1,41 @@
|
|
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-MV6JXS2P.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-ZJR2OQTA.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/getMachineId-bsd.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { promises as fs } from 'fs';\nimport { execAsync } from './execAsync';\nimport { diag } from '@opentelemetry/api';\n\nexport async function getMachineId(): Promise<string | undefined> {\n try {\n const result = await fs.readFile('/etc/hostid', { encoding: 'utf8' });\n return result.trim();\n } catch (e) {\n diag.debug(`error reading machine id: ${e}`);\n }\n\n try {\n const result = await execAsync('kenv -q smbios.system.uuid');\n return result.stdout.trim();\n } catch (e) {\n diag.debug(`error reading machine id: ${e}`);\n }\n\n return undefined;\n}\n"],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/getMachineId-bsd.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { promises as fs } from 'fs';\nimport { execAsync } from './execAsync';\nimport { diag } from '@opentelemetry/api';\n\nexport async function getMachineId(): Promise<string | undefined> {\n try {\n const result = await fs.readFile('/etc/hostid', { encoding: 'utf8' });\n return result.trim();\n } catch (e) {\n diag.debug(`error reading machine id: ${e}`);\n }\n\n try {\n const result = await execAsync('kenv -q smbios.system.uuid');\n return result.stdout.trim();\n } catch (e) {\n diag.debug(`error reading machine id: ${e}`);\n }\n\n return undefined;\n}\n"],"mappings":";;;;;;;;;;;;;;AAgBA,SAAS,YAAY,UAAU;AAI/B,eAAsB,eAAY;AAChC,MAAI;AACF,UAAM,SAAS,MAAM,GAAG,SAAS,eAAe,EAAE,UAAU,OAAM,CAAE;AACpE,WAAO,OAAO,KAAI;WACX,GAAG;AACV,SAAK,MAAM,6BAA6B,CAAC,EAAE;;AAG7C,MAAI;AACF,UAAM,SAAS,MAAM,UAAU,4BAA4B;AAC3D,WAAO,OAAO,OAAO,KAAI;WAClB,GAAG;AACV,SAAK,MAAM,6BAA6B,CAAC,EAAE;;AAG7C,SAAO;AACT;AApCA;;AAiBA;AACA;;;","names":[]}
|
@@ -0,0 +1,41 @@
|
|
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-MV6JXS2P.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-OW6SYINH.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/getMachineId-darwin.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { execAsync } from './execAsync';\nimport { diag } from '@opentelemetry/api';\n\nexport async function getMachineId(): Promise<string | undefined> {\n try {\n const result = await execAsync('ioreg -rd1 -c \"IOPlatformExpertDevice\"');\n\n const idLine = result.stdout\n .split('\\n')\n .find(line => line.includes('IOPlatformUUID'));\n\n if (!idLine) {\n return undefined;\n }\n\n const parts = idLine.split('\" = \"');\n if (parts.length === 2) {\n return parts[1].slice(0, -1);\n }\n } catch (e) {\n diag.debug(`error reading machine id: ${e}`);\n }\n\n return undefined;\n}\n"],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/getMachineId-darwin.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { execAsync } from './execAsync';\nimport { diag } from '@opentelemetry/api';\n\nexport async function getMachineId(): Promise<string | undefined> {\n try {\n const result = await execAsync('ioreg -rd1 -c \"IOPlatformExpertDevice\"');\n\n const idLine = result.stdout\n .split('\\n')\n .find(line => line.includes('IOPlatformUUID'));\n\n if (!idLine) {\n return undefined;\n }\n\n const parts = idLine.split('\" = \"');\n if (parts.length === 2) {\n return parts[1].slice(0, -1);\n }\n } catch (e) {\n diag.debug(`error reading machine id: ${e}`);\n }\n\n return undefined;\n}\n"],"mappings":";;;;;;;;;;;;;;AAmBA,eAAsB,eAAY;AAChC,MAAI;AACF,UAAM,SAAS,MAAM,UAAU,wCAAwC;AAEvE,UAAM,SAAS,OAAO,OACnB,MAAM,IAAI,EACV,KAAK,UAAQ,KAAK,SAAS,gBAAgB,CAAC;AAE/C,QAAI,CAAC,QAAQ;AACX,aAAO;;AAGT,UAAM,QAAQ,OAAO,MAAM,OAAO;AAClC,QAAI,MAAM,WAAW,GAAG;AACtB,aAAO,MAAM,CAAC,EAAE,MAAM,GAAG,EAAE;;WAEtB,GAAG;AACV,SAAK,MAAM,6BAA6B,CAAC,EAAE;;AAG7C,SAAO;AACT;AAxCA;;AAgBA;AACA;;;","names":[]}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
|
2
|
+
import {
|
3
|
+
diag,
|
4
|
+
init_esm
|
5
|
+
} from "./chunk-MV6JXS2P.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-L5XPRJBN.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/getMachineId-linux.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { promises as fs } from 'fs';\nimport { diag } from '@opentelemetry/api';\n\nexport async function getMachineId(): Promise<string | undefined> {\n const paths = ['/etc/machine-id', '/var/lib/dbus/machine-id'];\n\n for (const path of paths) {\n try {\n const result = await fs.readFile(path, { encoding: 'utf8' });\n return result.trim();\n } catch (e) {\n diag.debug(`error reading machine id: ${e}`);\n }\n }\n\n return undefined;\n}\n"],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/getMachineId-linux.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { promises as fs } from 'fs';\nimport { diag } from '@opentelemetry/api';\n\nexport async function getMachineId(): Promise<string | undefined> {\n const paths = ['/etc/machine-id', '/var/lib/dbus/machine-id'];\n\n for (const path of paths) {\n try {\n const result = await fs.readFile(path, { encoding: 'utf8' });\n return result.trim();\n } catch (e) {\n diag.debug(`error reading machine id: ${e}`);\n }\n }\n\n return undefined;\n}\n"],"mappings":";;;;;;;;;;AAeA,SAAS,YAAY,UAAU;AAG/B,eAAsB,eAAY;AAChC,QAAM,QAAQ,CAAC,mBAAmB,0BAA0B;AAE5D,aAAW,QAAQ,OAAO;AACxB,QAAI;AACF,YAAM,SAAS,MAAM,GAAG,SAAS,MAAM,EAAE,UAAU,OAAM,CAAE;AAC3D,aAAO,OAAO,KAAI;aACX,GAAG;AACV,WAAK,MAAM,6BAA6B,CAAC,EAAE;;;AAI/C,SAAO;AACT;AA/BA;;AAgBA;;;","names":[]}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
|
2
|
+
import {
|
3
|
+
diag,
|
4
|
+
init_esm
|
5
|
+
} from "./chunk-MV6JXS2P.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-B3NMIOO3.js.map
|
package/lib/{getMachineId-unsupported-VPOZWIZS.js.map → getMachineId-unsupported-B3NMIOO3.js.map}
RENAMED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/getMachineId-unsupported.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { diag } from '@opentelemetry/api';\n\nexport async function getMachineId(): Promise<string | undefined> {\n diag.debug('could not read machine-id: unsupported platform');\n return undefined;\n}\n"],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/getMachineId-unsupported.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { diag } from '@opentelemetry/api';\n\nexport async function getMachineId(): Promise<string | undefined> {\n diag.debug('could not read machine-id: unsupported platform');\n return undefined;\n}\n"],"mappings":";;;;;;;;;;AAkBA,eAAsB,eAAY;AAChC,OAAK,MAAM,iDAAiD;AAC5D,SAAO;AACT;AArBA;;AAgBA;;;","names":[]}
|
@@ -0,0 +1,43 @@
|
|
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-MV6JXS2P.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-TT64F63B.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/getMachineId-win.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport * as process from 'process';\nimport { execAsync } from './execAsync';\nimport { diag } from '@opentelemetry/api';\n\nexport async function getMachineId(): Promise<string | undefined> {\n const args =\n 'QUERY HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Cryptography /v MachineGuid';\n let command = '%windir%\\\\System32\\\\REG.exe';\n if (process.arch === 'ia32' && 'PROCESSOR_ARCHITEW6432' in process.env) {\n command = '%windir%\\\\sysnative\\\\cmd.exe /c ' + command;\n }\n\n try {\n const result = await execAsync(`${command} ${args}`);\n const parts = result.stdout.split('REG_SZ');\n if (parts.length === 2) {\n return parts[1].trim();\n }\n } catch (e) {\n diag.debug(`error reading machine id: ${e}`);\n }\n\n return undefined;\n}\n"],"mappings":"
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.1.0_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/getMachineId-win.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport * as process from 'process';\nimport { execAsync } from './execAsync';\nimport { diag } from '@opentelemetry/api';\n\nexport async function getMachineId(): Promise<string | undefined> {\n const args =\n 'QUERY HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Cryptography /v MachineGuid';\n let command = '%windir%\\\\System32\\\\REG.exe';\n if (process.arch === 'ia32' && 'PROCESSOR_ARCHITEW6432' in process.env) {\n command = '%windir%\\\\sysnative\\\\cmd.exe /c ' + command;\n }\n\n try {\n const result = await execAsync(`${command} ${args}`);\n const parts = result.stdout.split('REG_SZ');\n if (parts.length === 2) {\n return parts[1].trim();\n }\n } catch (e) {\n diag.debug(`error reading machine id: ${e}`);\n }\n\n return undefined;\n}\n"],"mappings":";;;;;;;;;;;;;;AAgBA,YAAY,aAAa;AAIzB,eAAsB,eAAY;AAChC,QAAM,OACJ;AACF,MAAI,UAAU;AACd,MAAY,iBAAS,UAAU,4BAAoC,aAAK;AACtE,cAAU,qCAAqC;;AAGjD,MAAI;AACF,UAAM,SAAS,MAAM,UAAU,GAAG,OAAO,IAAI,IAAI,EAAE;AACnD,UAAM,QAAQ,OAAO,OAAO,MAAM,QAAQ;AAC1C,QAAI,MAAM,WAAW,GAAG;AACtB,aAAO,MAAM,CAAC,EAAE,KAAI;;WAEf,GAAG;AACV,SAAK,MAAM,6BAA6B,CAAC,EAAE;;AAG7C,SAAO;AACT;AAvCA;;AAiBA;AACA;;;","names":[]}
|
package/lib/index.js
CHANGED
@@ -1,3 +1,78 @@
|
|
1
1
|
import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
|
2
|
-
import
|
2
|
+
import {
|
3
|
+
ListStateStorage,
|
4
|
+
MapStateStorage,
|
5
|
+
State,
|
6
|
+
StateStorage,
|
7
|
+
TemplateInstanceState
|
8
|
+
} from "./chunk-6XHWJ2VS.js";
|
9
|
+
import {
|
10
|
+
AbstractStoreContext,
|
11
|
+
DataBindingContext,
|
12
|
+
DummyProvider,
|
13
|
+
Endpoints,
|
14
|
+
GLOBAL_CONFIG,
|
15
|
+
ProcessorServiceImpl,
|
16
|
+
QueuedStaticJsonRpcProvider,
|
17
|
+
StoreContext,
|
18
|
+
USER_PROCESSOR,
|
19
|
+
compareSemver,
|
20
|
+
configureEndpoints,
|
21
|
+
dbMetrics,
|
22
|
+
errorString,
|
23
|
+
getProvider,
|
24
|
+
makeEthCallKey,
|
25
|
+
mergeProcessResults,
|
26
|
+
mergeProcessResultsInPlace,
|
27
|
+
metricsStorage,
|
28
|
+
parseSemver,
|
29
|
+
processMetrics,
|
30
|
+
providerMetrics,
|
31
|
+
recordRuntimeInfo,
|
32
|
+
timeoutError
|
33
|
+
} from "./chunk-FMUBPMYE.js";
|
34
|
+
import {
|
35
|
+
Plugin,
|
36
|
+
PluginManager
|
37
|
+
} from "./chunk-OFR7W4ZG.js";
|
38
|
+
import "./chunk-MV6JXS2P.js";
|
39
|
+
import "./chunk-KVSDPGUI.js";
|
40
|
+
|
41
|
+
// src/chain-config.ts
|
42
|
+
import("node:process").then((p) => p.stdout.write(""));
|
43
|
+
|
44
|
+
// src/index.ts
|
45
|
+
import("node:process").then((p) => p.stdout.write(""));
|
46
|
+
export {
|
47
|
+
AbstractStoreContext,
|
48
|
+
DataBindingContext,
|
49
|
+
DummyProvider,
|
50
|
+
Endpoints,
|
51
|
+
GLOBAL_CONFIG,
|
52
|
+
ListStateStorage,
|
53
|
+
MapStateStorage,
|
54
|
+
Plugin,
|
55
|
+
PluginManager,
|
56
|
+
ProcessorServiceImpl,
|
57
|
+
QueuedStaticJsonRpcProvider,
|
58
|
+
State,
|
59
|
+
StateStorage,
|
60
|
+
StoreContext,
|
61
|
+
TemplateInstanceState,
|
62
|
+
USER_PROCESSOR,
|
63
|
+
compareSemver,
|
64
|
+
configureEndpoints,
|
65
|
+
dbMetrics,
|
66
|
+
errorString,
|
67
|
+
getProvider,
|
68
|
+
makeEthCallKey,
|
69
|
+
mergeProcessResults,
|
70
|
+
mergeProcessResultsInPlace,
|
71
|
+
metricsStorage,
|
72
|
+
parseSemver,
|
73
|
+
processMetrics,
|
74
|
+
providerMetrics,
|
75
|
+
recordRuntimeInfo,
|
76
|
+
timeoutError
|
77
|
+
};
|
3
78
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../src/chain-config.ts","../src/index.ts"],"sourcesContent":["export interface ChainConfig {\n ChainID: string\n Https?: string[]\n ChainServer?: string\n}\n;import(\"node:process\").then((p) => p.stdout.write(\"\"));","export * from './plugin.js'\nexport * from './state.js'\nexport * from './utils.js'\nexport * from './endpoints.js'\nexport * from './chain-config.js'\nexport * from './service.js'\nexport { GLOBAL_CONFIG, type GlobalConfig } from './global-config.js'\nexport * from './db-context.js'\nexport * from './provider.js'\nexport * from './metrics.js'\n;import(\"node:process\").then((p) => p.stdout.write(\"\"));"],"mappings":"
|
1
|
+
{"version":3,"sources":["../src/chain-config.ts","../src/index.ts"],"sourcesContent":["export interface ChainConfig {\n ChainID: string\n Https?: string[]\n ChainServer?: string\n}\n;import(\"node:process\").then((p) => p.stdout.write(\"\"));","export * from './plugin.js'\nexport * from './state.js'\nexport * from './utils.js'\nexport * from './endpoints.js'\nexport * from './chain-config.js'\nexport * from './service.js'\nexport { GLOBAL_CONFIG, type GlobalConfig } from './global-config.js'\nexport * from './db-context.js'\nexport * from './provider.js'\nexport * from './metrics.js'\n;import(\"node:process\").then((p) => p.stdout.write(\"\"));"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKC,OAAO,cAAc,EAAE,KAAK,CAAC,MAAM,EAAE,OAAO,MAAM,EAAE,CAAC;;;ACKrD,OAAO,cAAc,EAAE,KAAK,CAAC,MAAM,EAAE,OAAO,MAAM,EAAE,CAAC;","names":[]}
|