@posiwise/user-module 0.0.184 → 0.0.186
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -467,6 +467,11 @@ interface AirwallexCardSummary {
|
|
|
467
467
|
}
|
|
468
468
|
type SecondaryCardSummary = BraintreeCardSummary | AirwallexCardSummary;
|
|
469
469
|
type SecondaryProvider = 'braintree' | 'airwallex';
|
|
470
|
+
interface PaymentMethods {
|
|
471
|
+
primary: CardDetails | null;
|
|
472
|
+
secondary: SecondaryCardSummary | null;
|
|
473
|
+
secondary_provider: SecondaryProvider | null;
|
|
474
|
+
}
|
|
470
475
|
interface StripeJsApi {
|
|
471
476
|
setPublishableKey(key: string): void;
|
|
472
477
|
card: {
|
|
@@ -535,6 +540,7 @@ declare class SecondaryPaymentMethodComponent implements OnDestroy {
|
|
|
535
540
|
private mountForm;
|
|
536
541
|
/** Braintree yields a nonce; Airwallex yields the confirmed intent id (after 3DS). */
|
|
537
542
|
private collectCard;
|
|
543
|
+
/** Braintree's hand-built reply nests in `result`; Airwallex's toast keeps `message` on top. */
|
|
538
544
|
private register;
|
|
539
545
|
private teardown;
|
|
540
546
|
private fail;
|
|
@@ -727,6 +733,7 @@ export declare class UserSubscriptionListComponent extends AppBaseComponent impl
|
|
|
727
733
|
private readonly clipboard;
|
|
728
734
|
private readonly cdr;
|
|
729
735
|
private readonly confirmDialog;
|
|
736
|
+
readonly inMobileApp: boolean;
|
|
730
737
|
menu: MenuItem[];
|
|
731
738
|
changeSubscriptionRef: AddSubscriptionComponent;
|
|
732
739
|
passwordValidationModalForAccountDelete: PasswordValidationComponent;
|