@sentio/runtime 3.9.0-rc.8 → 4.0.0-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-P4RGL4TZ.js → chunk-GUQLAUIA.js} +15185 -8374
- package/lib/chunk-GUQLAUIA.js.map +1 -0
- package/lib/{chunk-EXIISBRV.js → chunk-KOMGWSWU.js} +4589 -5362
- package/lib/chunk-KOMGWSWU.js.map +1 -0
- package/lib/{chunk-L2A6JPIQ.js → chunk-LSYQ34WX.js} +3 -3
- package/lib/chunk-LSYQ34WX.js.map +1 -0
- package/lib/{getMachineId-bsd-QYFPRONP.js → getMachineId-bsd-OV63RCBF.js} +4 -4
- package/lib/getMachineId-bsd-OV63RCBF.js.map +1 -0
- package/lib/{getMachineId-darwin-XC67FIUW.js → getMachineId-darwin-7BY3RHHX.js} +4 -4
- package/lib/getMachineId-darwin-7BY3RHHX.js.map +1 -0
- package/lib/{getMachineId-linux-4G7ZY7LQ.js → getMachineId-linux-SN23MJRK.js} +3 -3
- package/lib/getMachineId-linux-SN23MJRK.js.map +1 -0
- package/lib/{getMachineId-unsupported-5IH5IW7P.js → getMachineId-unsupported-CQYUAEDB.js} +3 -3
- package/lib/getMachineId-unsupported-CQYUAEDB.js.map +1 -0
- package/lib/{getMachineId-win-WSA3TUKL.js → getMachineId-win-NL4ZQSDA.js} +4 -4
- package/lib/getMachineId-win-NL4ZQSDA.js.map +1 -0
- package/lib/index.d.ts +4 -6
- package/lib/index.js +2 -2
- package/lib/processor-StqZovMW.d.ts +554 -0
- package/lib/processor-runner.js +4842 -9188
- package/lib/processor-runner.js.map +1 -1
- package/package.json +1 -1
- package/src/endpoints.ts +0 -2
- package/src/full-service.ts +1 -1
- package/src/gen/google/protobuf/empty.ts +22 -7
- package/src/gen/google/protobuf/struct.ts +123 -56
- package/src/gen/google/protobuf/timestamp.ts +33 -26
- package/src/gen/google/type/money.ts +40 -28
- package/src/gen/processor/protos/processor.ts +3007 -1724
- package/src/gen/service/common/protos/common.ts +3272 -1904
- package/src/logger.ts +13 -5
- package/src/processor-runner-program.ts +0 -1
- package/src/provider.ts +1 -1
- package/src/utils.ts +5 -2
- package/lib/chunk-EXIISBRV.js.map +0 -1
- package/lib/chunk-L2A6JPIQ.js.map +0 -1
- package/lib/chunk-P4RGL4TZ.js.map +0 -1
- package/lib/getMachineId-bsd-QYFPRONP.js.map +0 -1
- package/lib/getMachineId-darwin-XC67FIUW.js.map +0 -1
- package/lib/getMachineId-linux-4G7ZY7LQ.js.map +0 -1
- package/lib/getMachineId-unsupported-5IH5IW7P.js.map +0 -1
- package/lib/getMachineId-win-WSA3TUKL.js.map +0 -1
- package/lib/processor-MLp_j8IT.d.ts +0 -864
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
__esm
|
|
4
4
|
} from "./chunk-KVSDPGUI.js";
|
|
5
5
|
|
|
6
|
-
// ../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
6
|
+
// ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/execAsync.js
|
|
7
7
|
import * as child_process from "child_process";
|
|
8
8
|
import * as util from "util";
|
|
9
9
|
var execAsync;
|
|
10
10
|
var init_execAsync = __esm({
|
|
11
|
-
"../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
11
|
+
"../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/execAsync.js"() {
|
|
12
12
|
"use strict";
|
|
13
13
|
execAsync = util.promisify(child_process.exec);
|
|
14
14
|
}
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
execAsync,
|
|
19
19
|
init_execAsync
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=chunk-
|
|
21
|
+
//# sourceMappingURL=chunk-LSYQ34WX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/src/detectors/platform/node/machine-id/execAsync.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport * as child_process from 'child_process';\nimport * as util from 'util';\n\nexport const execAsync = util.promisify(child_process.exec);\n"],"mappings":";;;;;;AAKA,YAAY,mBAAmB;AAC/B,YAAY,UAAU;AANtB,IAQa;AARb;;;AAQO,IAAM,YAAiB,eAAwB,kBAAI;;;","names":[]}
|
|
@@ -2,7 +2,7 @@ import { createRequire as createRequireShim } from 'module'; const require = cre
|
|
|
2
2
|
import {
|
|
3
3
|
execAsync,
|
|
4
4
|
init_execAsync
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LSYQ34WX.js";
|
|
6
6
|
import {
|
|
7
7
|
diag,
|
|
8
8
|
init_esm
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__esm
|
|
12
12
|
} from "./chunk-KVSDPGUI.js";
|
|
13
13
|
|
|
14
|
-
// ../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
14
|
+
// ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-bsd.js
|
|
15
15
|
import { promises as fs } from "fs";
|
|
16
16
|
async function getMachineId() {
|
|
17
17
|
try {
|
|
@@ -29,7 +29,7 @@ async function getMachineId() {
|
|
|
29
29
|
return void 0;
|
|
30
30
|
}
|
|
31
31
|
var init_getMachineId_bsd = __esm({
|
|
32
|
-
"../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
32
|
+
"../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-bsd.js"() {
|
|
33
33
|
init_execAsync();
|
|
34
34
|
init_esm();
|
|
35
35
|
}
|
|
@@ -38,4 +38,4 @@ init_getMachineId_bsd();
|
|
|
38
38
|
export {
|
|
39
39
|
getMachineId
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=getMachineId-bsd-
|
|
41
|
+
//# sourceMappingURL=getMachineId-bsd-OV63RCBF.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@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 * SPDX-License-Identifier: Apache-2.0\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":";;;;;;;;;;;;;;AAKA,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;AAzBA;;AAMA;AACA;;;","names":[]}
|
|
@@ -2,7 +2,7 @@ import { createRequire as createRequireShim } from 'module'; const require = cre
|
|
|
2
2
|
import {
|
|
3
3
|
execAsync,
|
|
4
4
|
init_execAsync
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LSYQ34WX.js";
|
|
6
6
|
import {
|
|
7
7
|
diag,
|
|
8
8
|
init_esm
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__esm
|
|
12
12
|
} from "./chunk-KVSDPGUI.js";
|
|
13
13
|
|
|
14
|
-
// ../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
14
|
+
// ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-darwin.js
|
|
15
15
|
async function getMachineId() {
|
|
16
16
|
try {
|
|
17
17
|
const result = await execAsync('ioreg -rd1 -c "IOPlatformExpertDevice"');
|
|
@@ -29,7 +29,7 @@ async function getMachineId() {
|
|
|
29
29
|
return void 0;
|
|
30
30
|
}
|
|
31
31
|
var init_getMachineId_darwin = __esm({
|
|
32
|
-
"../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
32
|
+
"../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-darwin.js"() {
|
|
33
33
|
init_execAsync();
|
|
34
34
|
init_esm();
|
|
35
35
|
}
|
|
@@ -38,4 +38,4 @@ init_getMachineId_darwin();
|
|
|
38
38
|
export {
|
|
39
39
|
getMachineId
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=getMachineId-darwin-
|
|
41
|
+
//# sourceMappingURL=getMachineId-darwin-7BY3RHHX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@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 * SPDX-License-Identifier: Apache-2.0\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":";;;;;;;;;;;;;;AAQA,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;AA7BA;;AAKA;AACA;;;","names":[]}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__esm
|
|
8
8
|
} from "./chunk-KVSDPGUI.js";
|
|
9
9
|
|
|
10
|
-
// ../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
10
|
+
// ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-linux.js
|
|
11
11
|
import { promises as fs } from "fs";
|
|
12
12
|
async function getMachineId() {
|
|
13
13
|
const paths = ["/etc/machine-id", "/var/lib/dbus/machine-id"];
|
|
@@ -22,7 +22,7 @@ async function getMachineId() {
|
|
|
22
22
|
return void 0;
|
|
23
23
|
}
|
|
24
24
|
var init_getMachineId_linux = __esm({
|
|
25
|
-
"../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
25
|
+
"../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-linux.js"() {
|
|
26
26
|
init_esm();
|
|
27
27
|
}
|
|
28
28
|
});
|
|
@@ -30,4 +30,4 @@ init_getMachineId_linux();
|
|
|
30
30
|
export {
|
|
31
31
|
getMachineId
|
|
32
32
|
};
|
|
33
|
-
//# sourceMappingURL=getMachineId-linux-
|
|
33
|
+
//# sourceMappingURL=getMachineId-linux-SN23MJRK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@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 * SPDX-License-Identifier: Apache-2.0\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":";;;;;;;;;;AAIA,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;AApBA;;AAKA;;;","names":[]}
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
__esm
|
|
8
8
|
} from "./chunk-KVSDPGUI.js";
|
|
9
9
|
|
|
10
|
-
// ../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
10
|
+
// ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-unsupported.js
|
|
11
11
|
async function getMachineId() {
|
|
12
12
|
diag.debug("could not read machine-id: unsupported platform");
|
|
13
13
|
return void 0;
|
|
14
14
|
}
|
|
15
15
|
var init_getMachineId_unsupported = __esm({
|
|
16
|
-
"../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
16
|
+
"../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-unsupported.js"() {
|
|
17
17
|
init_esm();
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -21,4 +21,4 @@ init_getMachineId_unsupported();
|
|
|
21
21
|
export {
|
|
22
22
|
getMachineId
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=getMachineId-unsupported-
|
|
24
|
+
//# sourceMappingURL=getMachineId-unsupported-CQYUAEDB.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@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 * SPDX-License-Identifier: Apache-2.0\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":";;;;;;;;;;AAOA,eAAsB,eAAY;AAChC,OAAK,MAAM,iDAAiD;AAC5D,SAAO;AACT;AAVA;;AAKA;;;","names":[]}
|
|
@@ -2,7 +2,7 @@ import { createRequire as createRequireShim } from 'module'; const require = cre
|
|
|
2
2
|
import {
|
|
3
3
|
execAsync,
|
|
4
4
|
init_execAsync
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LSYQ34WX.js";
|
|
6
6
|
import {
|
|
7
7
|
diag,
|
|
8
8
|
init_esm
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__esm
|
|
12
12
|
} from "./chunk-KVSDPGUI.js";
|
|
13
13
|
|
|
14
|
-
// ../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
14
|
+
// ../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-win.js
|
|
15
15
|
import * as process from "process";
|
|
16
16
|
async function getMachineId() {
|
|
17
17
|
const args = "QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid";
|
|
@@ -31,7 +31,7 @@ async function getMachineId() {
|
|
|
31
31
|
return void 0;
|
|
32
32
|
}
|
|
33
33
|
var init_getMachineId_win = __esm({
|
|
34
|
-
"../../node_modules/.pnpm/@opentelemetry+resources@2.
|
|
34
|
+
"../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/esm/detectors/platform/node/machine-id/getMachineId-win.js"() {
|
|
35
35
|
init_execAsync();
|
|
36
36
|
init_esm();
|
|
37
37
|
}
|
|
@@ -40,4 +40,4 @@ init_getMachineId_win();
|
|
|
40
40
|
export {
|
|
41
41
|
getMachineId
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=getMachineId-win-
|
|
43
|
+
//# sourceMappingURL=getMachineId-win-NL4ZQSDA.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@opentelemetry+resources@2.7.1_@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 * SPDX-License-Identifier: Apache-2.0\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":";;;;;;;;;;;;;;AAKA,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;AA5BA;;AAMA;AACA;;;","names":[]}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as StoreContext, E as ExecutionConfig } from './processor-
|
|
2
|
-
export { A as AbstractStoreContext, d as DataBindingContext, c as IDataBindingContext, I as IStoreContext, P as Plugin, b as PluginManager, t as timeoutError } from './processor-
|
|
1
|
+
import { S as StoreContext, E as ExecutionConfig } from './processor-StqZovMW.js';
|
|
2
|
+
export { A as AbstractStoreContext, d as DataBindingContext, c as IDataBindingContext, I as IStoreContext, P as Plugin, b as PluginManager, t as timeoutError } from './processor-StqZovMW.js';
|
|
3
3
|
import * as _sentio_protos from '@sentio/protos';
|
|
4
4
|
import { ProcessResult, EthCallParam, ProcessorServiceImplementation, ProcessConfigRequest, ProcessConfigResponse, StartRequest, Empty, ProcessBindingsRequest, ProcessBindingResponse, DataBinding, PreparedData, PreprocessResult, ProcessStreamRequest, HandlerType, PreprocessStreamRequest, DeepPartial, PreprocessStreamResponse, ProcessStreamResponse } from '@sentio/protos';
|
|
5
5
|
import { Required } from 'utility-types';
|
|
@@ -11,7 +11,7 @@ import PQueue from 'p-queue';
|
|
|
11
11
|
import { EthChainId } from '@sentio/chain';
|
|
12
12
|
import { AsyncLocalStorage } from 'node:async_hooks';
|
|
13
13
|
import { Counter, Attributes, Gauge, Histogram } from '@opentelemetry/api';
|
|
14
|
-
import '
|
|
14
|
+
import '@bufbuild/protobuf/wire';
|
|
15
15
|
|
|
16
16
|
declare class State {
|
|
17
17
|
stateMap: Map<string, any>;
|
|
@@ -39,7 +39,7 @@ declare abstract class ListStateStorage<T> extends StateStorage<T[]> {
|
|
|
39
39
|
|
|
40
40
|
declare function mergeProcessResults(results: ProcessResult[]): Required<ProcessResult, 'states'>;
|
|
41
41
|
declare function mergeProcessResultsInPlace(res: ProcessResult, results: ProcessResult[]): Required<ProcessResult, 'states'>;
|
|
42
|
-
declare function errorString(e:
|
|
42
|
+
declare function errorString(e: unknown): string;
|
|
43
43
|
declare const USER_PROCESSOR = "user_processor";
|
|
44
44
|
declare function makeEthCallKey(param: EthCallParam): string;
|
|
45
45
|
type Semver = {
|
|
@@ -57,7 +57,6 @@ declare function locatePackageJson(pkgId: string): any;
|
|
|
57
57
|
declare class Endpoints {
|
|
58
58
|
static INSTANCE: Endpoints;
|
|
59
59
|
concurrency: number;
|
|
60
|
-
chainQueryAPI: string;
|
|
61
60
|
priceFeedAPI: string;
|
|
62
61
|
chainServer: Map<string, string>;
|
|
63
62
|
batchCount: number;
|
|
@@ -75,7 +74,6 @@ declare const program: Command<[string], {
|
|
|
75
74
|
concurrency: number;
|
|
76
75
|
batchCount: number;
|
|
77
76
|
chainsConfig: string;
|
|
78
|
-
chainqueryServer?: string | undefined;
|
|
79
77
|
pricefeedServer?: string | undefined;
|
|
80
78
|
logFormat: string;
|
|
81
79
|
debug?: true | undefined;
|
package/lib/index.js
CHANGED
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
providerMetrics,
|
|
25
25
|
recordRuntimeInfo,
|
|
26
26
|
timeoutError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-GUQLAUIA.js";
|
|
28
28
|
import {
|
|
29
29
|
Plugin,
|
|
30
30
|
PluginManager
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-KOMGWSWU.js";
|
|
32
32
|
import "./chunk-I45UXGDM.js";
|
|
33
33
|
import "./chunk-KVSDPGUI.js";
|
|
34
34
|
|