@secondlayer/subgraphs 4.0.4 → 4.0.5
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/src/index.js +3 -8
- package/dist/src/index.js.map +3 -3
- package/dist/src/runtime/block-processor.js +3 -8
- package/dist/src/runtime/block-processor.js.map +3 -3
- package/dist/src/runtime/catchup.js +3 -8
- package/dist/src/runtime/catchup.js.map +3 -3
- package/dist/src/runtime/processor.js +7 -15
- package/dist/src/runtime/processor.js.map +4 -4
- package/dist/src/runtime/reindex.js +3 -8
- package/dist/src/runtime/reindex.js.map +3 -3
- package/dist/src/runtime/reorg.js +3 -8
- package/dist/src/runtime/reorg.js.map +3 -3
- package/dist/src/runtime/replay.js +3 -8
- package/dist/src/runtime/replay.js.map +3 -3
- package/dist/src/service.js +7 -15
- package/dist/src/service.js.map +4 -4
- package/package.json +2 -2
package/dist/src/index.js
CHANGED
|
@@ -1883,7 +1883,7 @@ import { sql as sql3 } from "kysely";
|
|
|
1883
1883
|
// src/runtime/block-source.ts
|
|
1884
1884
|
import { getSourceDb as getSourceDb2 } from "@secondlayer/shared/db";
|
|
1885
1885
|
import {
|
|
1886
|
-
|
|
1886
|
+
createInternalIndexHttpClient
|
|
1887
1887
|
} from "@secondlayer/shared/index-http";
|
|
1888
1888
|
import { logger as logger4 } from "@secondlayer/shared/logger";
|
|
1889
1889
|
|
|
@@ -2239,12 +2239,7 @@ class FallbackBlockSource {
|
|
|
2239
2239
|
}
|
|
2240
2240
|
var postgresBlockSource = new PostgresBlockSource;
|
|
2241
2241
|
function buildHttpClient() {
|
|
2242
|
-
|
|
2243
|
-
return new IndexHttpClient({
|
|
2244
|
-
indexBaseUrl: baseUrl,
|
|
2245
|
-
streamsBaseUrl: baseUrl,
|
|
2246
|
-
streamsApiKey: process.env.STREAMS_INTERNAL_API_KEY ?? "sk-sl_streams_decode_internal"
|
|
2247
|
-
});
|
|
2242
|
+
return createInternalIndexHttpClient();
|
|
2248
2243
|
}
|
|
2249
2244
|
function resolveBlockSource(subgraph) {
|
|
2250
2245
|
if (process.env.SUBGRAPH_SOURCE === "streams-index" && subgraph && isStreamsIndexEligible(subgraph)) {
|
|
@@ -5272,5 +5267,5 @@ export {
|
|
|
5272
5267
|
ChainReadError
|
|
5273
5268
|
};
|
|
5274
5269
|
|
|
5275
|
-
//# debugId=
|
|
5270
|
+
//# debugId=EAAE2F38AEB249FD64756E2164756E21
|
|
5276
5271
|
//# sourceMappingURL=index.js.map
|