@xsolla/payment-client-core 0.1.21 → 0.1.22

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,14 +3,16 @@ import { Observable } from 'rxjs';
3
3
  import { NextAction } from './next-action.interface';
4
4
  import { SubmitResponse } from '../submit/response/submit-response.class';
5
5
  import { NextActionTokens } from './next-actions';
6
+ import { SettingsService } from '../../settings/settings.service';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class NextActionService {
8
9
  private readonly nextActionTokens;
9
10
  private readonly injector;
11
+ private readonly settingsService;
10
12
  private readonly flowUpdatesSubject;
11
13
  private readonly nextActionsList;
12
14
  get flowUpdates$(): Observable<NextAction>;
13
- constructor(nextActionTokens: NextActionTokens, injector: Injector);
15
+ constructor(nextActionTokens: NextActionTokens, injector: Injector, settingsService: SettingsService);
14
16
  getNextAction(submitResponse: SubmitResponse): NextAction | null;
15
17
  emitFlowUpdates(action: NextAction): void;
16
18
  private fillNextActionsList;
@@ -0,0 +1,2 @@
1
+ export declare const payStation4Url = "https://secure.xsolla.com/paystation4";
2
+ export declare const sandboxPayStationUrl = "https://sandbox-secure.xsolla.com/paystation4";
@@ -0,0 +1,6 @@
1
+ export declare const vkPay = 3496;
2
+ export declare const googlePay = 3431;
3
+ export declare const applePay = 3175;
4
+ export declare const barzahlenPay = 1679;
5
+ export declare const naverPay = 3563;
6
+ export declare const venmoPay = 3636;
@@ -0,0 +1 @@
1
+ export declare const pagesRoutes: Map<number, string>;
@@ -4,6 +4,8 @@ import { RedirectActionData, RedirectActionType } from './redirect.action.type';
4
4
  export declare class RedirectAction implements Action {
5
5
  type: RedirectActionType;
6
6
  data: RedirectActionData;
7
- constructor(submitResponse: SubmitResponse);
7
+ constructor(submitResponse: SubmitResponse, token: string, isSandbox: boolean);
8
8
  private getRedirect;
9
+ private getRedirectUrl;
10
+ private preparePagesUrl;
9
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/payment-client-core",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",