From 96c0a35e3f1481e58f492b58cfaabc2ccde6bf29 Mon Sep 17 00:00:00 2001 From: thomasRalee Date: Wed, 13 Nov 2024 08:33:20 +0700 Subject: [PATCH] feat: update mito indexer vesion --- packages/sdk-ts/package.json | 2 +- .../indexer/transformers/IndexerGrpcMitoTransformer.ts | 2 ++ packages/sdk-ts/src/client/indexer/types/mito.ts | 2 ++ yarn.lock | 8 ++++---- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/sdk-ts/package.json b/packages/sdk-ts/package.json index 7ab46bed1..ac33c4476 100644 --- a/packages/sdk-ts/package.json +++ b/packages/sdk-ts/package.json @@ -45,7 +45,7 @@ "@injectivelabs/grpc-web-node-http-transport": "^0.0.2", "@injectivelabs/grpc-web-react-native-transport": "^0.0.2", "@injectivelabs/indexer-proto-ts": "1.13.1", - "@injectivelabs/mito-proto-ts": "1.13.0", + "@injectivelabs/mito-proto-ts": "1.13.2", "@injectivelabs/networks": "^1.14.19", "@injectivelabs/olp-proto-ts": "1.13.1", "@injectivelabs/test-utils": "^1.14.19", diff --git a/packages/sdk-ts/src/client/indexer/transformers/IndexerGrpcMitoTransformer.ts b/packages/sdk-ts/src/client/indexer/transformers/IndexerGrpcMitoTransformer.ts index 5288ea715..f0353ef4e 100644 --- a/packages/sdk-ts/src/client/indexer/transformers/IndexerGrpcMitoTransformer.ts +++ b/packages/sdk-ts/src/client/indexer/transformers/IndexerGrpcMitoTransformer.ts @@ -360,9 +360,11 @@ export class IndexerGrpcMitoTransformer { capPerAddress: IDO.capPerAddress, contractAddress: IDO.contractAddress, subscribedAmount: IDO.subscribedAmount, + isPermissionless: IDO.isPermissionless, isLaunchWithVault: IDO.isLaunchWithVault, targetAmountInUsd: IDO.targetAmountInUsd, projectTokenAmount: IDO.projectTokenAmount, + projectDescription: IDO.projectDescription, isAccountWhiteListed: IDO.isAccountWhiteListed, isVestingScheduleEnabled: IDO.isVestingScheduleEnabled, targetAmountInQuoteDenom: IDO.targetAmountInQuoteDenom, diff --git a/packages/sdk-ts/src/client/indexer/types/mito.ts b/packages/sdk-ts/src/client/indexer/types/mito.ts index 845710824..3b5f16a21 100644 --- a/packages/sdk-ts/src/client/indexer/types/mito.ts +++ b/packages/sdk-ts/src/client/indexer/types/mito.ts @@ -240,6 +240,8 @@ export interface MitoIDO { marketId: string vaultAddress: string vestingConfig?: MitoVestingConfigMap + projectDescription: string + isPermissionless: boolean } export interface MitoIDOSubscriber { diff --git a/yarn.lock b/yarn.lock index 61ae99cd9..040b80377 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2220,10 +2220,10 @@ protobufjs "^7.0.0" rxjs "^7.4.0" -"@injectivelabs/mito-proto-ts@1.13.0": - version "1.13.0" - resolved "https://registry.npmjs.org/@injectivelabs/mito-proto-ts/-/mito-proto-ts-1.13.0.tgz#9bc5325977a3c51b3fb8ec54a93244435861a9ca" - integrity sha512-DE9iK7PkEnkWAMTDJDH01R8jxkxVCNuurfVp/09Te9wY3dm3mRx9M6R756JywP2Sd/ggJl2UbavGAQe2pZ7v1w== +"@injectivelabs/mito-proto-ts@1.13.2": + version "1.13.2" + resolved "https://registry.yarnpkg.com/@injectivelabs/mito-proto-ts/-/mito-proto-ts-1.13.2.tgz#61010d571f21b374350a423b58717112131ec5c1" + integrity sha512-D4qEDB4OgaV1LoYNg6FB+weVcLMu5ea0x/W/p+euIVly3qia44GmAicIbQhrkqTs2o2c+1mbK1c4eOzFxQcwhg== dependencies: "@injectivelabs/grpc-web" "^0.0.1" google-protobuf "^3.14.0"