Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/subscription-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
3 changes: 3 additions & 0 deletions packages/subscription-controller/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export type StartSubscriptionRequest = {
isTrialRequested: boolean;
recurringInterval: RecurringInterval;
successUrl?: string;
useTestClock?: boolean;
};

export type StartSubscriptionResponse = {
Expand All @@ -151,6 +152,7 @@ export type StartCryptoSubscriptionRequest = {
tokenSymbol: string;
rawTransaction: Hex;
isSponsored?: boolean;
useTestClock?: boolean;
};

export type StartCryptoSubscriptionResponse = {
Expand Down Expand Up @@ -416,4 +418,5 @@ export type CachedLastSelectedPaymentMethod = {
paymentTokenAddress?: Hex;
paymentTokenSymbol?: string;
plan: RecurringInterval;
useTestClock?: boolean;
};
Loading