@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.
- package/esm2020/lib/core/payment/actions/next-action.service.mjs +7 -5
- package/esm2020/lib/core/payment/actions/redirect/pay-station4-url.const.mjs +3 -0
- package/esm2020/lib/core/payment/actions/redirect/ps4-pages/pages-payment-methods-id.const.mjs +7 -0
- package/esm2020/lib/core/payment/actions/redirect/ps4-pages/pages-routes.const.mjs +9 -0
- package/esm2020/lib/core/payment/actions/redirect/redirect.action.class.mjs +23 -5
- package/fesm2015/xsolla-payment-client-core.mjs +44 -8
- package/fesm2015/xsolla-payment-client-core.mjs.map +1 -1
- package/fesm2020/xsolla-payment-client-core.mjs +43 -8
- package/fesm2020/xsolla-payment-client-core.mjs.map +1 -1
- package/lib/core/payment/actions/next-action.service.d.ts +3 -1
- package/lib/core/payment/actions/redirect/pay-station4-url.const.d.ts +2 -0
- package/lib/core/payment/actions/redirect/ps4-pages/pages-payment-methods-id.const.d.ts +6 -0
- package/lib/core/payment/actions/redirect/ps4-pages/pages-routes.const.d.ts +1 -0
- package/lib/core/payment/actions/redirect/redirect.action.class.d.ts +3 -1
- package/package.json +1 -1
- package/xsolla-payment-client-core-0.1.22.tgz +0 -0
- package/xsolla-payment-client-core-0.1.21.tgz +0 -0
|
@@ -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 @@
|
|
|
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
|
Binary file
|
|
Binary file
|