Skip to content

Commit fbca44a

Browse files
committed
fix: abacus api
1 parent b0594ac commit fbca44a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/sdk-ts/src/client/abacus/grpc/AbacusGrpcApi.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ import * as PointsSvcPb from '@injectivelabs/abacus-proto-ts-v2/generated/points
33
import { PointsSvcClient } from '@injectivelabs/abacus-proto-ts-v2/generated/points_svc_pb.client'
44
import BaseGrpcConsumer from '../../base/BaseGrpcConsumer.js'
55
import { AbacusGrpcTransformer } from './transformers/index.js'
6+
import type { GrpcWebTransportAdditionalOptions } from '../../../utils/grpc.js'
67

78
export class AbacusGrpcApi extends BaseGrpcConsumer {
89
protected module: string = IndexerErrorModule.Abacus
910
private client: PointsSvcClient
1011

11-
constructor(endpoint: string) {
12-
super(endpoint)
12+
constructor(endpoint: string, options?: GrpcWebTransportAdditionalOptions) {
13+
super(endpoint, options)
1314
this.client = new PointsSvcClient(this.transport)
1415
}
1516

0 commit comments

Comments
 (0)