@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/payment-client-core",
3
- "version": "0.2.89",
3
+ "version": "0.2.90",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.3",
6
6
  "@angular/core": "^17.3.3",