@sentio/runtime 2.57.10-rc.3 → 2.57.10-rc.4

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/index.js CHANGED
@@ -20,7 +20,7 @@ import {
20
20
  processMetrics,
21
21
  providerMetrics,
22
22
  timeoutError
23
- } from "./chunk-XDJHH7HG.js";
23
+ } from "./chunk-3P7ZNKVN.js";
24
24
 
25
25
  // src/state.ts
26
26
  var State = class _State {
@@ -47,7 +47,7 @@ import {
47
47
  require_minimal,
48
48
  require_src,
49
49
  trace
50
- } from "./chunk-XDJHH7HG.js";
50
+ } from "./chunk-3P7ZNKVN.js";
51
51
 
52
52
  // ../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js
53
53
  var require_universalify = __commonJS({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/runtime",
3
- "version": "2.57.10-rc.3",
3
+ "version": "2.57.10-rc.4",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
package/src/service.ts CHANGED
@@ -35,7 +35,7 @@ import { EthChainId } from '@sentio/chain'
35
35
  import { Provider } from 'ethers'
36
36
  import { decodeMulticallResult, encodeMulticallData, getMulticallAddress, Multicall3Call } from './multicall.js'
37
37
 
38
- import { dbMetrics, processMetrics, providerMetrics } from './metrics.js'
38
+ import { processMetrics } from './metrics.js'
39
39
 
40
40
  const { process_binding_count, process_binding_time, process_binding_error } = processMetrics
41
41
 
@@ -454,11 +454,8 @@ export class ProcessorServiceImpl implements ProcessorServiceImplementation {
454
454
  })
455
455
  .finally(() => {
456
456
  const cost = Date.now() - start
457
- console.debug('processBinding', request.processId, ' took', cost, 'ms')
458
457
  process_binding_time.add(cost)
459
458
  contexts.delete(request.processId)
460
- console.debug('db stats', JSON.stringify(dbMetrics.stats()))
461
- console.debug('provider stats', JSON.stringify(providerMetrics.stats()))
462
459
  })
463
460
  }
464
461
  if (request.dbResult) {
@@ -8,7 +8,7 @@ export default defineConfig({
8
8
  },
9
9
  entry: ['src/index.ts', 'src/processor-runner.ts'],
10
10
  outDir: 'lib',
11
- minify: false,
11
+ minify: process.env['BRANCH'] === 'release',
12
12
  sourcemap: true,
13
13
  clean: true,
14
14
  dts: true,