@xsolla/payment-client-core 0.2.4 → 0.2.6

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.
@@ -3,13 +3,11 @@ import { Observable } from 'rxjs';
3
3
  import { PaymentSystemProcessingService } from '../payment-systems/payment-system-processing.service';
4
4
  import { ExtendedWindow } from '../../extended-window.interface';
5
5
  import { GooglePayInitParams } from './google-pay-init-params.interface';
6
- import { HttpClient } from '@angular/common/http';
7
6
  import { CheckStatusAction } from '../../payment/actions/check-status/check-status.action.type';
8
7
  import * as i0 from "@angular/core";
9
8
  export declare class GooglePayService {
10
9
  private readonly window;
11
10
  readonly commonPayProcessingService: PaymentSystemProcessingService;
12
- readonly httpClient: HttpClient;
13
11
  readonly injector: Injector;
14
12
  private readonly googlePayScriptUrl;
15
13
  private readonly readyToPay;
@@ -19,10 +17,9 @@ export declare class GooglePayService {
19
17
  private country;
20
18
  private get libraryWasInitialized();
21
19
  private get googlePaymentClientWasInitialized();
22
- constructor(window: ExtendedWindow, commonPayProcessingService: PaymentSystemProcessingService, httpClient: HttpClient, injector: Injector);
20
+ constructor(window: ExtendedWindow, commonPayProcessingService: PaymentSystemProcessingService, injector: Injector);
23
21
  get readyToPay$(): Observable<boolean | null>;
24
22
  isReadyToPay(): boolean | null;
25
- sendUserBack(path: string): void;
26
23
  initGooglePayLibrary(data: GooglePayInitParams): void;
27
24
  checkPaymentDevice(base64checkoutData: string): void;
28
25
  proceedCheckout(): Promise<CheckStatusAction | null>;
@@ -10,7 +10,6 @@ export interface SdkPaymentSystems {
10
10
  checkPaymentDevice(base64checkoutData: string): void;
11
11
  proceedCheckout(): Promise<CheckStatusAction | null>;
12
12
  createButton(onClickHandler: () => void): HTMLButtonElement | null;
13
- sendUserBack(path: string): void;
14
13
  };
15
14
  commonPayProcessingService: {
16
15
  initialize$: Observable<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/payment-client-core",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",