@sentio/sdk 1.37.5-rc.1 → 1.37.5-rc.3

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 (37) hide show
  1. package/lib/builtin/internal/EACAggregatorProxy.d.ts +8 -8
  2. package/lib/builtin/internal/ERC1155.d.ts +8 -8
  3. package/lib/builtin/internal/ERC20.d.ts +6 -6
  4. package/lib/builtin/internal/ERC20Bytes.d.ts +4 -4
  5. package/lib/builtin/internal/ERC721.d.ts +6 -6
  6. package/lib/builtin/internal/WETH9.d.ts +8 -8
  7. package/lib/builtin/internal/common.d.ts +5 -5
  8. package/lib/builtin/internal/eacaggregatorproxy_processor.d.ts +24 -24
  9. package/lib/builtin/internal/erc1155_processor.d.ts +9 -9
  10. package/lib/builtin/internal/erc20_processor.d.ts +19 -19
  11. package/lib/builtin/internal/erc20bytes_processor.d.ts +10 -10
  12. package/lib/builtin/internal/erc721_processor.d.ts +15 -15
  13. package/lib/builtin/internal/weth9_processor.d.ts +12 -12
  14. package/lib/core/account-processor.js +2 -2
  15. package/lib/core/account-processor.js.map +1 -1
  16. package/lib/core/base-processor.d.ts +4 -4
  17. package/lib/core/base-processor.js +19 -6
  18. package/lib/core/base-processor.js.map +1 -1
  19. package/lib/core/context.d.ts +3 -2
  20. package/lib/core/context.js +5 -3
  21. package/lib/core/context.js.map +1 -1
  22. package/lib/core/eth-plugin.js +12 -30
  23. package/lib/core/eth-plugin.js.map +1 -1
  24. package/lib/core/exporter.d.ts +1 -1
  25. package/lib/core/logger.d.ts +1 -1
  26. package/lib/core/metadata.d.ts +1 -1
  27. package/lib/core/numberish.d.ts +1 -1
  28. package/lib/core/sui-processor.d.ts +1 -1
  29. package/lib/promise-or-void.d.ts +1 -1
  30. package/lib/testing/test-processor-server.js +6 -3
  31. package/lib/testing/test-processor-server.js.map +1 -1
  32. package/package.json +4 -4
  33. package/src/core/account-processor.ts +3 -3
  34. package/src/core/base-processor.ts +30 -10
  35. package/src/core/context.ts +6 -3
  36. package/src/core/eth-plugin.ts +24 -32
  37. package/src/testing/test-processor-server.ts +6 -3
@@ -107,7 +107,10 @@ export class TestProcessorServer implements ProcessorServiceImplementation {
107
107
  if (config.signature == signature) {
108
108
  return {
109
109
  data: {
110
- ethTrace: { trace },
110
+ ethTrace: {
111
+ trace,
112
+ timestamp: new Date(),
113
+ },
111
114
  },
112
115
  handlerIds: [config.handlerId],
113
116
  handlerType: HandlerType.ETH_TRACE,
@@ -168,7 +171,7 @@ export class TestProcessorServer implements ProcessorServiceImplementation {
168
171
  if (match) {
169
172
  return {
170
173
  data: {
171
- ethLog: { log },
174
+ ethLog: { log, timestamp: new Date() },
172
175
  },
173
176
  handlerIds: [config.handlerId],
174
177
  handlerType: HandlerType.ETH_LOG,
@@ -229,7 +232,7 @@ export class TestProcessorServer implements ProcessorServiceImplementation {
229
232
  if (match) {
230
233
  return {
231
234
  data: {
232
- ethLog: { log },
235
+ ethLog: { log, timestamp: new Date() },
233
236
  },
234
237
  handlerIds: [config.handlerId],
235
238
  handlerType: HandlerType.ETH_LOG,