diff --git a/packages/subscription-controller/CHANGELOG.md b/packages/subscription-controller/CHANGELOG.md index 3089be123e8..da557592f61 100644 --- a/packages/subscription-controller/CHANGELOG.md +++ b/packages/subscription-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- added `useTestClock` param to `StartSubscriptionRequest`, `StartCryptoSubscriptionRequest`, `CachedLastSelectedPaymentMethod` ([#7129](https://github.com/MetaMask/core/pull/7129)) + ### Changed - Bump `@metamask/transaction-controller` from `^61.1.0` to `^61.2.0` ([#7126](https://github.com/MetaMask/core/pull/7126)) diff --git a/packages/subscription-controller/src/types.ts b/packages/subscription-controller/src/types.ts index a7f86c52a17..cece01cf0bd 100644 --- a/packages/subscription-controller/src/types.ts +++ b/packages/subscription-controller/src/types.ts @@ -132,6 +132,7 @@ export type StartSubscriptionRequest = { isTrialRequested: boolean; recurringInterval: RecurringInterval; successUrl?: string; + useTestClock?: boolean; }; export type StartSubscriptionResponse = { @@ -151,6 +152,7 @@ export type StartCryptoSubscriptionRequest = { tokenSymbol: string; rawTransaction: Hex; isSponsored?: boolean; + useTestClock?: boolean; }; export type StartCryptoSubscriptionResponse = { @@ -416,4 +418,5 @@ export type CachedLastSelectedPaymentMethod = { paymentTokenAddress?: Hex; paymentTokenSymbol?: string; plan: RecurringInterval; + useTestClock?: boolean; };