Skip to content

Commit

Permalink
Add activeFinancingCount to setOnEligibleFinancingOfferLoaded payload…
Browse files Browse the repository at this point in the history
… in CapitalFinancingPromotion component (#193)
  • Loading branch information
bv-stripe authored Dec 9, 2024
1 parent a88a163 commit ac9856e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion types/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ export type EmbeddedError = {

export type FinancingProductType = {
productType: "standard" | "refill" | "none";
activeFinancingCount: number;
};

export type FinancingPromotionLayoutType = "full" | "banner";
Expand Down Expand Up @@ -318,7 +319,12 @@ export const ConnectElementCustomMethodConfig = {
_listener: (() => void) | undefined
): void => {},
setOnEligibleFinancingOfferLoaded: (
_listener: (({ productType }: FinancingProductType) => void) | undefined
_listener:
| (({
productType,
activeFinancingCount
}: FinancingProductType) => void)
| undefined
): void => {},
setPrivacyPolicyUrl: (_privacyPolicyUrl: string | undefined): void => {},
setHowCapitalWorksUrl: (
Expand Down

0 comments on commit ac9856e

Please sign in to comment.