@sentio/sdk 3.3.0-rc.2 → 3.3.0-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.
@@ -47,8 +47,8 @@ export declare class SolanaBaseProcessor {
47
47
  }) => Instruction | null;
48
48
  constructor(options: SolanaBindOptions);
49
49
  onInstruction(instructionName: string, handler: SolanaInstructionHandler, handlerOptions?: HandlerOptions<SolanaFetchConfig, Instruction>): this;
50
- onTimeInterval(handler: SolanaBlockHandler<Data_SolBlock>, timeIntervalInMinutes?: number, backfillTimeIntervalInMinutes?: number): this;
51
- onBlockInterval(handler: SolanaBlockHandler<Data_SolBlock>, blockInterval?: number, backfillBlockInterval?: number): this;
50
+ onTimeInterval(handler: SolanaBlockHandler<BlockResponse>, timeIntervalInMinutes?: number, backfillTimeIntervalInMinutes?: number): this;
51
+ onBlockInterval(handler: SolanaBlockHandler<BlockResponse>, blockInterval?: number, backfillBlockInterval?: number): this;
52
52
  onInterval<T>(handler: SolanaBlockHandler<T>, timeInterval: HandleInterval | undefined, slotInterval: HandleInterval | undefined): this;
53
53
  getParsedInstruction(ins: string | {
54
54
  type: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentio/sdk",
3
- "version": "3.3.0-rc.2",
3
+ "version": "3.3.0-rc.3",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -97,8 +97,8 @@
97
97
  "typechain": "^8.3.2",
98
98
  "utility-types": "^3.11.0",
99
99
  "yaml": "^2.3.4",
100
- "@sentio/protos": "3.3.0-rc.2",
101
- "@sentio/runtime": "^3.3.0-rc.2"
100
+ "@sentio/protos": "3.3.0-rc.3",
101
+ "@sentio/runtime": "^3.3.0-rc.3"
102
102
  },
103
103
  "peerDependencies": {
104
104
  "@sentio/tsup": "^8.3.5-rc.1"
@@ -89,7 +89,7 @@ export class SolanaBaseProcessor {
89
89
  }
90
90
 
91
91
  public onTimeInterval(
92
- handler: SolanaBlockHandler<Data_SolBlock>,
92
+ handler: SolanaBlockHandler<BlockResponse>,
93
93
  timeIntervalInMinutes = 60,
94
94
  backfillTimeIntervalInMinutes = 240
95
95
  ): this {
@@ -101,7 +101,7 @@ export class SolanaBaseProcessor {
101
101
  }
102
102
 
103
103
  public onBlockInterval(
104
- handler: SolanaBlockHandler<Data_SolBlock>,
104
+ handler: SolanaBlockHandler<BlockResponse>,
105
105
  blockInterval = 1000,
106
106
  backfillBlockInterval = 4000
107
107
  ): this {