Skip to content

Commit d08e6a0

Browse files
authored
fix: Adjust FindEligibleMethodsOptions type (#758)
* fix FindEligibleMethodsOptions type * add changeset
1 parent ff815fc commit d08e6a0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.changeset/breezy-hoops-fail.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@paypal/paypal-js": patch
3+
---
4+
5+
Adjust FindEligibleMethodsOptions type

packages/paypal-js/types/v6/components/find-eligible-methods.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ export type PaymentFlow =
1919

2020
export type FindEligibleMethodsOptions = {
2121
amount?: string;
22-
clientToken?: string;
2322
currencyCode?: string;
24-
merchantId?: string;
2523
paymentFlow?: PaymentFlow;
26-
paymentMethods?: Uppercase<EligiblePaymentMethods>[];
2724
};
2825

2926
export type FundingSource = "credit" | "paylater" | "paypal" | "venmo" | "card";

0 commit comments

Comments
 (0)