@xsolla/payment-client-core 0.2.27 → 0.2.28

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.
@@ -8,4 +8,5 @@ import { SpecialButtonAction } from './special-button/special-button.action.type
8
8
  import { ShowQrCodeAction } from './show-qr-code/show-qr-code.action.type';
9
9
  import { ShowMobilePaymentScreenAction } from './show-mobile-payment-screen/show-mobile-payment-screen.action.type';
10
10
  import { ShowXsollaNumberAction } from './show-xsolla-number/show-xsolla-number.action.type';
11
- export type NextAction = CheckStatusAction | ShowFieldsAction | StatusUpdatedAction | ShowErrorsAction | RedirectAction | ThreeDsAction | SpecialButtonAction | ShowQrCodeAction | ShowMobilePaymentScreenAction | ShowXsollaNumberAction;
11
+ import { ShowCashPaymentInstructionAction } from './show-cash-payment-instruction/show-cash-payment-instruction.action.type';
12
+ export type NextAction = CheckStatusAction | ShowFieldsAction | StatusUpdatedAction | ShowErrorsAction | RedirectAction | ThreeDsAction | SpecialButtonAction | ShowQrCodeAction | ShowMobilePaymentScreenAction | ShowXsollaNumberAction | ShowCashPaymentInstructionAction;
@@ -0,0 +1,14 @@
1
+ import { SubmitResponse } from '../../submit/response/submit-response.class';
2
+ import { ActionCreator } from '../action.interface';
3
+ import { ShowCashPaymentInstructionAction, ShowCashPaymentInstructionActionType } from './show-cash-payment-instruction.action.type';
4
+ import { CashPaymentService } from '../../../cash-payment/cash-payment.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ShowCashPaymentInstructionActionCreator implements ActionCreator {
7
+ private readonly cashPaymentService;
8
+ readonly type: ShowCashPaymentInstructionActionType;
9
+ constructor(cashPaymentService: CashPaymentService);
10
+ getActionData(): ShowCashPaymentInstructionAction;
11
+ isSuitable(response: SubmitResponse): boolean;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowCashPaymentInstructionActionCreator, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<ShowCashPaymentInstructionActionCreator>;
14
+ }
@@ -0,0 +1,4 @@
1
+ import { Action } from '../action.interface';
2
+ export type ShowCashPaymentInstructionActionType = 'show_cash_payment_instruction';
3
+ export type ShowCashPaymentInstructionActionData = null;
4
+ export type ShowCashPaymentInstructionAction = Action<ShowCashPaymentInstructionActionType, ShowCashPaymentInstructionActionData>;
@@ -1,4 +1,5 @@
1
1
  import { Action } from '../action.interface';
2
- export type ShowXsollaNumberActionType = 'show_cash_payment_instruction';
2
+ import { ShowCashPaymentInstructionActionType } from '../show-cash-payment-instruction/show-cash-payment-instruction.action.type';
3
+ export type ShowXsollaNumberActionType = ShowCashPaymentInstructionActionType;
3
4
  export type ShowXsollaNumberActionData = null;
4
5
  export type ShowXsollaNumberAction = Action<ShowXsollaNumberActionType, ShowXsollaNumberActionData>;
@@ -6,4 +6,5 @@ export interface CashPaymentData {
6
6
  title: string;
7
7
  printUrl: string;
8
8
  projectName: string;
9
+ instruction?: string;
9
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/payment-client-core",
3
- "version": "0.2.27",
3
+ "version": "0.2.28",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.3",
6
6
  "@angular/core": "^17.3.3",