Skip to content

Commit

Permalink
chore: package bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasRalee committed Sep 25, 2024
1 parent d8f2bb9 commit 4430eee
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/sdk-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@injectivelabs/grpc-web": "^0.0.1",
"@injectivelabs/grpc-web-node-http-transport": "^0.0.2",
"@injectivelabs/grpc-web-react-native-transport": "^0.0.2",
"@injectivelabs/indexer-proto-ts": "1.11.54",
"@injectivelabs/indexer-proto-ts": "1.11.55",
"@injectivelabs/mito-proto-ts": "1.0.65",
"@injectivelabs/networks": "^1.14.15-beta.0",
"@injectivelabs/test-utils": "^1.14.14",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,13 @@ export class IndexerGrpcCampaignApi extends BaseGrpcConsumer {
active,
limit,
cursor,
status,
}: {
type?: string
active?: boolean
limit?: number
cursor?: string
status?: string
}) {
const request = InjectiveCampaignRpc.CampaignsV2Request.create()

Expand All @@ -114,6 +116,10 @@ export class IndexerGrpcCampaignApi extends BaseGrpcConsumer {
request.cursor = cursor
}

if (status) {
request.status = status
}

try {
const response =
await this.retry<InjectiveCampaignRpc.CampaignsV2Response>(() =>
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2219,10 +2219,10 @@
dependencies:
browser-headers "^0.4.1"

"@injectivelabs/indexer-proto-ts@1.11.54":
version "1.11.54"
resolved "https://registry.yarnpkg.com/@injectivelabs/indexer-proto-ts/-/indexer-proto-ts-1.11.54.tgz#ae2063909bb998da7fbf97acc141e9f2a64487fd"
integrity sha512-G73Fel2ylP5EDSSEcVvWXPq0UrxL9+g7WvZst4tN5fGCTClvA7MYcl2fzcVg+G2pX+aE0zKsGWnNEol8ZkZdBw==
"@injectivelabs/indexer-proto-ts@1.11.55":
version "1.11.55"
resolved "https://registry.yarnpkg.com/@injectivelabs/indexer-proto-ts/-/indexer-proto-ts-1.11.55.tgz#06b15daf704373a96bca56257e1d65d8d9a84c08"
integrity sha512-Z22cczdNVdQoFrkz0fkXE0mreJNOySFmwYTusHbR58YJ/bb+fyL5eePJCB2aH3m53AtzaqJE5DmAd8vG/Qf0fg==
dependencies:
"@injectivelabs/grpc-web" "^0.0.1"
google-protobuf "^3.14.0"
Expand Down

0 comments on commit 4430eee

Please sign in to comment.