@bigcommerce/checkout-sdk 1.548.0 → 1.549.0

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.
@@ -7222,6 +7222,13 @@ declare interface PayPalCommerceAlternativeMethodsPaymentOptions {
7222
7222
  onInitButton(actions: InitCallbackActions): Promise<void>;
7223
7223
  }
7224
7224
 
7225
+ declare interface PayPalCommerceAnalyticTrackerService {
7226
+ customerPaymentMethodExecuted(): void;
7227
+ paymentComplete(): void;
7228
+ selectedPaymentMethod(methodId: string): void;
7229
+ walletButtonClick(methodId: string): void;
7230
+ }
7231
+
7225
7232
  /**
7226
7233
  * A set of options that are required to initialize PayPalCommerce in cart or product details page.
7227
7234
  *
@@ -7247,13 +7254,6 @@ declare interface PayPalCommerceButtonInitializeOptions {
7247
7254
  onComplete?(): void;
7248
7255
  }
7249
7256
 
7250
- declare interface PayPalCommerceConnectTrackerService {
7251
- customerPaymentMethodExecuted(): void;
7252
- paymentComplete(): void;
7253
- selectedPaymentMethod(methodId: string): void;
7254
- walletButtonClick(methodId: string): void;
7255
- }
7256
-
7257
7257
  declare interface PayPalCommerceCreditButtonInitializeOptions {
7258
7258
  /**
7259
7259
  * The ID of a container which the messaging should be inserted.
@@ -9581,23 +9581,23 @@ export declare function createEmbeddedCheckoutMessenger(options: EmbeddedCheckou
9581
9581
  export declare function createLanguageService(config?: Partial<LanguageConfig>): LanguageService;
9582
9582
 
9583
9583
  /**
9584
- * Creates an instance of `PayPalCommerceConnectTrackerService`.
9584
+ * Creates an instance of `PayPalCommerceAnalyticTrackerService`.
9585
9585
  *
9586
9586
  * @remarks
9587
9587
  * ```js
9588
9588
  * const checkoutService = createCheckoutService();
9589
9589
  * await checkoutService.loadCheckout();
9590
- * const paypalCommerceConnectTracker = createPayPalCommerceConnectTracker(checkoutService);
9590
+ * const paypalCommerceAnalyticTracker = createPayPalCommerceAnalyticTracker(checkoutService);
9591
9591
  *
9592
- * paypalCommerceConnectTracker.customerPaymentMethodExecuted();
9593
- * paypalCommerceConnectTracker.paymentComplete();
9594
- * paypalCommerceConnectTracker.selectedPaymentMethod('applepay');
9595
- * paypalCommerceConnectTracker.walletButtonClick('paypal');
9592
+ * paypalCommerceAnalyticTracker.customerPaymentMethodExecuted();
9593
+ * paypalCommerceAnalyticTracker.paymentComplete();
9594
+ * paypalCommerceAnalyticTracker.selectedPaymentMethod('applepay');
9595
+ * paypalCommerceAnalyticTracker.walletButtonClick('paypal');
9596
9596
  * ```
9597
9597
  *
9598
- * @returns an instance of `PayPalCommerceConnectTrackerService`.
9598
+ * @returns an instance of `PayPalCommerceAnalyticTrackerService`.
9599
9599
  */
9600
- export declare function createPayPalCommerceConnectTracker(checkoutService: CheckoutService): PayPalCommerceConnectTrackerService;
9600
+ export declare function createPayPalCommerceConnectTracker(checkoutService: CheckoutService): PayPalCommerceAnalyticTrackerService;
9601
9601
 
9602
9602
  /**
9603
9603
  * Creates an instance of `StepTracker`.