From 8fbf2ae64e56943b74cfed5b153c09f717075cb6 Mon Sep 17 00:00:00 2001 From: rrr523 Date: Wed, 24 Apr 2024 14:42:44 +0800 Subject: [PATCH] chore: Import package --- packages/js-sdk/src/api/bucket.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/js-sdk/src/api/bucket.ts b/packages/js-sdk/src/api/bucket.ts index ffa45673..02c1db75 100644 --- a/packages/js-sdk/src/api/bucket.ts +++ b/packages/js-sdk/src/api/bucket.ts @@ -1,10 +1,11 @@ import { - MsgToggleSPAsDelegatedAgentSDKTypeEIP712, MsgCreateBucketSDKTypeEIP712, MsgDeleteBucketSDKTypeEIP712, MsgMigrateBucketSDKTypeEIP712, + MsgToggleSPAsDelegatedAgentSDKTypeEIP712, MsgUpdateBucketInfoSDKTypeEIP712, } from '@/messages/greenfield'; +import { MsgSetBucketFlowRateLimitSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgSetBucketFlowRateLimit'; import { assertAuthType, assertStringRequire } from '@/utils/asserts/params'; import { UInt64Value } from '@bnb-chain/greenfield-cosmos-types/greenfield/common/wrapper'; import { @@ -47,8 +48,8 @@ import { MsgSetBucketFlowRateLimitTypeUrl, MsgToggleSPAsDelegatedAgentTypeUrl, MsgUpdateBucketInfoTypeUrl, - newBucketGRN, TxResponse, + newBucketGRN, } from '..'; import { RpcQueryClient } from '../clients/queryclient'; import { HTTPHeaderUserAddress } from '../clients/spclient/auth'; @@ -103,8 +104,6 @@ import { decodeObjectFromHexString } from '../utils/encoding'; import { Sp } from './sp'; import { Storage } from './storage'; import { VirtualGroup } from './virtualGroup'; -import { Payment } from './payment'; -import { MsgSetBucketFlowRateLimitSDKTypeEIP712 } from '@/messages/greenfield/storage/MsgDeleteBucket2'; export interface IBucket { /**