@xsolla/payment-client-core 0.2.89 → 0.2.90
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/esm2022/lib/core/payment/actions/next-action.service.mjs +7 -2
- package/esm2022/lib/core-library.service.mjs +4 -1
- package/fesm2022/xsolla-payment-client-core.mjs +9 -1
- package/fesm2022/xsolla-payment-client-core.mjs.map +1 -1
- package/lib/core/payment/actions/next-action.service.d.ts +2 -0
- package/lib/core-library.service.d.ts +2 -0
- package/package.json +1 -1
- package/xsolla-payment-client-core-0.2.90.tgz +0 -0
- package/xsolla-payment-client-core-0.2.89.tgz +0 -0
|
@@ -4,6 +4,7 @@ import { SubmitResponse } from '../requests/submit/response/submit-response.clas
|
|
|
4
4
|
import { NextAction } from './next-action.interface';
|
|
5
5
|
import { NextActionTokens } from './next-actions';
|
|
6
6
|
import { ShowErrorsActionCreator } from './show-errors/show-errors.action.class';
|
|
7
|
+
import { XpsError } from '../xps-error.interface';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class NextActionService {
|
|
9
10
|
private readonly nextActionTokens;
|
|
@@ -15,6 +16,7 @@ export declare class NextActionService {
|
|
|
15
16
|
constructor(nextActionTokens: NextActionTokens, injector: Injector, showErrorsActionCreator: ShowErrorsActionCreator);
|
|
16
17
|
getNextAction(submitResponse: SubmitResponse): NextAction | null;
|
|
17
18
|
emitFlowUpdates(action: NextAction): void;
|
|
19
|
+
emitFlowErrors(errors: XpsError[]): void;
|
|
18
20
|
private fillNextActionsList;
|
|
19
21
|
private findNextAction;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<NextActionService, never>;
|
|
@@ -53,6 +53,7 @@ import { CommonLogAttributesService } from './core/exceptions-handling/common-lo
|
|
|
53
53
|
import { CommonLogAttributes } from './core/exceptions-handling/common-log-attributes/common-log-attributes.interface';
|
|
54
54
|
import { LogHandler } from './core/exceptions-handling/logger/log-handler.interface';
|
|
55
55
|
import { LoggerService } from './core/exceptions-handling/logger/logger.service';
|
|
56
|
+
import { XpsError } from './core/payment/xps-error.interface';
|
|
56
57
|
import * as i0 from "@angular/core";
|
|
57
58
|
export declare class CoreLibraryService {
|
|
58
59
|
private readonly settingsService;
|
|
@@ -116,6 +117,7 @@ export declare class CoreLibraryService {
|
|
|
116
117
|
getLegalComponentConfig(pid?: number): LegalComponentConfig;
|
|
117
118
|
getUserBalanceValue(): Balance | null;
|
|
118
119
|
registerLogHandler(handler: LogHandler): void;
|
|
120
|
+
emitFlowErrors(errors: XpsError[]): void;
|
|
119
121
|
get paymentForm$(): Observable<FormControlStatus | null>;
|
|
120
122
|
get formResponse$(): Observable<FormResponse | null>;
|
|
121
123
|
get formResponseValue(): FormResponse | null;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|