From ec133e7ee895a380076318beb631108e29d55c45 Mon Sep 17 00:00:00 2001 From: Ravi Hegde Date: Wed, 15 Jul 2026 03:27:54 +0530 Subject: [PATCH] feat(sdk-core): allocationAllocateWithdrawn to allocationOfferWithdrawn Ticket: CHALO-986 --- modules/sdk-core/src/bitgo/utils/mpcUtils.ts | 4 ++-- modules/sdk-core/src/bitgo/wallet/wallet.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/sdk-core/src/bitgo/utils/mpcUtils.ts b/modules/sdk-core/src/bitgo/utils/mpcUtils.ts index e827d29668..ed19e12f56 100644 --- a/modules/sdk-core/src/bitgo/utils/mpcUtils.ts +++ b/modules/sdk-core/src/bitgo/utils/mpcUtils.ts @@ -169,7 +169,7 @@ export abstract class MpcUtils { } if ( - ['transferOfferWithdrawn', 'allocationAllocateWithdrawn'].includes(params.intentType) && + ['transferOfferWithdrawn', 'allocationOfferWithdrawn'].includes(params.intentType) && baseCoin.getFamily() === 'canton' ) { assert(params.transferOfferId, `'transferOfferId' is required parameter for ${params.intentType} intent`); @@ -212,7 +212,7 @@ export abstract class MpcUtils { 'transferOfferWithdrawn', 'cosignDelegationAccept', 'allocationAllocate', - 'allocationAllocateWithdrawn', + 'allocationOfferWithdrawn', 'bridgeFunds', 'cantonCommand', 'cantonEndInvestorOnboardingOffer', diff --git a/modules/sdk-core/src/bitgo/wallet/wallet.ts b/modules/sdk-core/src/bitgo/wallet/wallet.ts index a5cb336524..407332e102 100644 --- a/modules/sdk-core/src/bitgo/wallet/wallet.ts +++ b/modules/sdk-core/src/bitgo/wallet/wallet.ts @@ -4254,11 +4254,11 @@ export class Wallet implements IWallet { ); break; } - case 'allocationAllocateWithdrawn': { + case 'allocationOfferWithdrawn': { txRequest = await this.tssUtils!.prebuildTxWithIntent( { reqId, - intentType: 'allocationAllocateWithdrawn', + intentType: 'allocationOfferWithdrawn', transferOfferId: params.transferOfferId, sequenceId: params.transferOfferId, },