@xsolla/payment-client-core 0.2.7 → 0.2.9

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.
Files changed (64) hide show
  1. package/esm2020/lib/core/agreementsGroup.const.mjs +14 -0
  2. package/esm2020/lib/core/extended-window.interface.mjs +1 -1
  3. package/esm2020/lib/core/payment/actions/next-action.interface.mjs +1 -1
  4. package/esm2020/lib/core/payment/actions/next-actions.mjs +3 -1
  5. package/esm2020/lib/core/payment/actions/redirect/ps4-pages/pages-payment-methods-id.const.mjs +2 -2
  6. package/esm2020/lib/core/payment/actions/redirect/ps4-pages/pages-routes.const.mjs +3 -3
  7. package/esm2020/lib/core/payment/actions/show-qr-code/show-qr-code.action.class.mjs +22 -0
  8. package/esm2020/lib/core/payment/actions/show-qr-code/show-qr-code.action.type.mjs +2 -0
  9. package/esm2020/lib/core/payment/field-names.enum.mjs +2 -1
  10. package/esm2020/lib/core/payment/form-response.interface.mjs +2 -0
  11. package/esm2020/lib/core/payment/initialize/initialize-request-params.interface.mjs +1 -1
  12. package/esm2020/lib/core/payment/payment.interface.mjs +1 -1
  13. package/esm2020/lib/core/payment/payment.service.mjs +62 -2
  14. package/esm2020/lib/core/payment/xps-api/xps-api.service.mjs +4 -1
  15. package/esm2020/lib/core/sdk-payment-systems/apple-pay/apple-pay-integration.type.mjs +2 -0
  16. package/esm2020/lib/core/sdk-payment-systems/apple-pay/apple-pay-params.interface.mjs +2 -0
  17. package/esm2020/lib/core/sdk-payment-systems/apple-pay/apple-pay.const.mjs +2 -0
  18. package/esm2020/lib/core/sdk-payment-systems/apple-pay/apple-pay.errors.enum.mjs +6 -0
  19. package/esm2020/lib/core/sdk-payment-systems/apple-pay/apple-pay.service.mjs +265 -0
  20. package/esm2020/lib/core/sdk-payment-systems/apple-pay/checkout-params.interface.mjs +2 -0
  21. package/esm2020/lib/core/settings/configuration.interface.mjs +1 -1
  22. package/esm2020/lib/core/settings/settings.service.mjs +6 -1
  23. package/esm2020/lib/core/user-agent/browserInfo.interface.mjs +2 -0
  24. package/esm2020/lib/core/user-agent/browsers.mjs +44 -0
  25. package/esm2020/lib/core/user-agent/device.enum.mjs +6 -0
  26. package/esm2020/lib/core/user-agent/os.mjs +255 -0
  27. package/esm2020/lib/core/user-agent/user-agent-data.interface.mjs +2 -0
  28. package/esm2020/lib/core/user-agent/user-agent.service.mjs +200 -0
  29. package/esm2020/lib/core-library.service.mjs +17 -1
  30. package/esm2020/public-api.mjs +3 -1
  31. package/fesm2015/xsolla-payment-client-core.mjs +891 -4
  32. package/fesm2015/xsolla-payment-client-core.mjs.map +1 -1
  33. package/fesm2020/xsolla-payment-client-core.mjs +883 -4
  34. package/fesm2020/xsolla-payment-client-core.mjs.map +1 -1
  35. package/lib/core/agreementsGroup.const.d.ts +2 -0
  36. package/lib/core/extended-window.interface.d.ts +11 -0
  37. package/lib/core/payment/actions/next-action.interface.d.ts +2 -1
  38. package/lib/core/payment/actions/redirect/ps4-pages/pages-payment-methods-id.const.d.ts +1 -1
  39. package/lib/core/payment/actions/show-qr-code/show-qr-code.action.class.d.ts +11 -0
  40. package/lib/core/payment/actions/show-qr-code/show-qr-code.action.type.d.ts +3 -0
  41. package/lib/core/payment/field-names.enum.d.ts +2 -1
  42. package/lib/core/payment/form-response.interface.d.ts +8 -0
  43. package/lib/core/payment/initialize/initialize-request-params.interface.d.ts +1 -0
  44. package/lib/core/payment/payment.interface.d.ts +1 -0
  45. package/lib/core/payment/payment.service.d.ts +10 -1
  46. package/lib/core/sdk-payment-systems/apple-pay/apple-pay-integration.type.d.ts +1 -0
  47. package/lib/core/sdk-payment-systems/apple-pay/apple-pay-params.interface.d.ts +4 -0
  48. package/lib/core/sdk-payment-systems/apple-pay/apple-pay.const.d.ts +1 -0
  49. package/lib/core/sdk-payment-systems/apple-pay/apple-pay.errors.enum.d.ts +4 -0
  50. package/lib/core/sdk-payment-systems/apple-pay/apple-pay.service.d.ts +46 -0
  51. package/lib/core/sdk-payment-systems/apple-pay/checkout-params.interface.d.ts +9 -0
  52. package/lib/core/settings/configuration.interface.d.ts +1 -0
  53. package/lib/core/settings/settings.service.d.ts +2 -0
  54. package/lib/core/user-agent/browserInfo.interface.d.ts +13 -0
  55. package/lib/core/user-agent/browsers.d.ts +9 -0
  56. package/lib/core/user-agent/device.enum.d.ts +4 -0
  57. package/lib/core/user-agent/os.d.ts +7 -0
  58. package/lib/core/user-agent/user-agent-data.interface.d.ts +10 -0
  59. package/lib/core/user-agent/user-agent.service.d.ts +36 -0
  60. package/lib/core-library.service.d.ts +9 -0
  61. package/package.json +4 -2
  62. package/public-api.d.ts +2 -0
  63. package/xsolla-payment-client-core-0.2.9.tgz +0 -0
  64. package/xsolla-payment-client-core-0.2.7.tgz +0 -0
@@ -0,0 +1,2 @@
1
+ import { FieldNames } from './payment/field-names.enum';
2
+ export declare const agreementsGroup: FieldNames[];
@@ -1,4 +1,15 @@
1
+ import { ApplePaySession } from 'braintree-web';
1
2
  import { GooglePayLibrary } from './sdk-payment-systems/google-pay/google-pay-library.interface';
2
3
  export interface ExtendedWindow extends Window {
4
+ ApplePaySession: typeof ApplePaySession;
5
+ BraintreeData?: {
6
+ _getDeviceData(): unknown;
7
+ _setupCollector(env: string): void;
8
+ environments: {
9
+ production: {
10
+ withId(merchant: string): string;
11
+ };
12
+ };
13
+ };
3
14
  google?: GooglePayLibrary;
4
15
  }
@@ -5,4 +5,5 @@ import { RedirectAction } from './redirect/redirect.action.type';
5
5
  import { ShowErrorsAction } from './show-errors/show-errors.action.type';
6
6
  import { ThreeDsAction } from './three-ds/three-ds.action.type';
7
7
  import { SpecialButtonAction } from './special-button/special-button.action.type';
8
- export type NextAction = CheckStatusAction | ShowFieldsAction | StatusUpdatedAction | ShowErrorsAction | RedirectAction | ThreeDsAction | SpecialButtonAction;
8
+ import { ShowQrCodeAction } from './show-qr-code/show-qr-code.action.type';
9
+ export type NextAction = CheckStatusAction | ShowFieldsAction | StatusUpdatedAction | ShowErrorsAction | RedirectAction | ThreeDsAction | SpecialButtonAction | ShowQrCodeAction;
@@ -1,6 +1,6 @@
1
1
  export declare const vkPay = 3496;
2
2
  export declare const googlePay = 3431;
3
- export declare const applePay = 3175;
3
+ export declare const applePayId = 3175;
4
4
  export declare const barzahlenPay = 1679;
5
5
  export declare const naverPay = 3563;
6
6
  export declare const venmoPay = 3636;
@@ -0,0 +1,11 @@
1
+ import { SubmitResponse } from '../../submit/response/submit-response.class';
2
+ import { ActionCreator } from '../action.interface';
3
+ import { ShowQrCodeAction, ShowQrCodeActionType } from './show-qr-code.action.type';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ShowQrCodeActionCreator implements ActionCreator {
6
+ readonly type: ShowQrCodeActionType;
7
+ getActionData(): ShowQrCodeAction;
8
+ isSuitable(response: SubmitResponse): boolean;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShowQrCodeActionCreator, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<ShowQrCodeActionCreator>;
11
+ }
@@ -0,0 +1,3 @@
1
+ import { Action } from '../action.interface';
2
+ export type ShowQrCodeActionType = 'show_qr_code';
3
+ export type ShowQrCodeAction = Action<ShowQrCodeActionType, null>;
@@ -58,5 +58,6 @@ export declare enum FieldNames {
58
58
  qr = "qr",
59
59
  sum = "sum",
60
60
  out = "out",
61
- tinkoffDisclaimer = "ps.tinkoff.disclaimer"
61
+ tinkoffDisclaimer = "ps.tinkoff.disclaimer",
62
+ omnibusDirective = "omnibus_directive"
62
63
  }
@@ -0,0 +1,8 @@
1
+ import { XpsResponse } from './xps-response.interface';
2
+ import { InitializeResponse } from './initialize/response/initialize-response.class';
3
+ import { SubmitResponse } from './submit/response/submit-response.class';
4
+ export interface FormResponse {
5
+ type: 'sync' | 'initialize' | 'submit';
6
+ data: InitializeResponse | SubmitResponse | XpsResponse;
7
+ token: string;
8
+ }
@@ -9,4 +9,5 @@ export interface InitializeRequestParams {
9
9
  paymentWithSavedMethod: XpsBoolean;
10
10
  saved_method_id?: number;
11
11
  save_payment_account_only: XpsBoolean;
12
+ mobile?: XpsBoolean;
12
13
  }
@@ -27,4 +27,5 @@ export interface Payment {
27
27
  getFormStatus(): FormControlStatus | undefined;
28
28
  };
29
29
  financeDetailsUpdates$: Observable<FinanceDetails>;
30
+ addExtraField(name: string, value: string): void;
30
31
  }
@@ -1,5 +1,5 @@
1
1
  import { Observable } from 'rxjs';
2
- import { UntypedFormGroup } from '@angular/forms';
2
+ import { FormControlStatus, UntypedFormGroup } from '@angular/forms';
3
3
  import { FormService } from './form/form.service';
4
4
  import { InitializeService } from './initialize/initialize.service';
5
5
  import { Status } from './status/status.interface';
@@ -24,6 +24,7 @@ import { FormMessagesService } from './form-messages/form-messages.service';
24
24
  import { SettingsService } from '../settings/settings.service';
25
25
  import { CountryService } from '../country/country.service';
26
26
  import { SdkPaymentSystemsInitialData } from '../sdk-payment-systems/sdk-payment-systems-initial-data.interface';
27
+ import { FormResponse } from './form-response.interface';
27
28
  import * as i0 from "@angular/core";
28
29
  export declare class PaymentService {
29
30
  private readonly initializeService;
@@ -41,6 +42,9 @@ export declare class PaymentService {
41
42
  private readonly countryService;
42
43
  form: UntypedFormGroup | null;
43
44
  get formFieldsStatus$(): Observable<FormFieldsStatus>;
45
+ get paymentForm$(): Observable<FormControlStatus | null>;
46
+ get formResponse$(): Observable<FormResponse | null>;
47
+ get formResponseValue(): FormResponse | null;
44
48
  private data;
45
49
  private financeDetails;
46
50
  private focusFieldName;
@@ -48,13 +52,16 @@ export declare class PaymentService {
48
52
  private config;
49
53
  private destroy$;
50
54
  private formDestroy$;
55
+ private readonly _paymentForm$;
51
56
  private readonly formFieldsStatusSubject;
57
+ private readonly _formResponse$;
52
58
  private isSavingMethodMode;
53
59
  constructor(initializeService: InitializeService, submitService: SubmitService, syncService: SyncService, formService: FormService, statusService: StatusService, financeDetailsService: FinanceDetailsService, creditCardStateService: CreditCardStateService, nextActionService: NextActionService, controlConfigService: ControlConfigService, threeDsService: ThreeDsService, formMessagesService: FormMessagesService, settingsService: SettingsService, countryService: CountryService);
54
60
  initialize(config: PaymentConfig): Promise<Field[]>;
55
61
  submit(): Promise<NextAction | null | void>;
56
62
  getFields(): Field[];
57
63
  getInitialDataForSdkPaymentSystems(): SdkPaymentSystemsInitialData;
64
+ getQrCode(): string;
58
65
  getPid(): number | null;
59
66
  validate(field: Field): Promise<ValidationErrors | null>;
60
67
  runThreeDs(): void;
@@ -64,6 +71,7 @@ export declare class PaymentService {
64
71
  getFieldConfig(field: Field): ControlConfig | null;
65
72
  changeFieldValue(name: string, value: string): void;
66
73
  changeFieldState(name: string, state: InputEventName): void;
74
+ addExtraField(name: string, value: string): void;
67
75
  destroy(): void;
68
76
  private emitFinanceDetails;
69
77
  private emitCreditCardState;
@@ -73,6 +81,7 @@ export declare class PaymentService {
73
81
  private listenFinanceDetails;
74
82
  private listenFormStatusChanges;
75
83
  private updatePidConfig;
84
+ private emitFormResponse;
76
85
  static ɵfac: i0.ɵɵFactoryDeclaration<PaymentService, never>;
77
86
  static ɵprov: i0.ɵɵInjectableDeclaration<PaymentService>;
78
87
  }
@@ -0,0 +1 @@
1
+ export type ApplePayIntegration = 'sdk' | 'redirect' | 'none';
@@ -0,0 +1,4 @@
1
+ import { ApplePayCheckoutParams } from './checkout-params.interface';
2
+ export type ApplePayParams = {
3
+ tokenKey: string;
4
+ } & ApplePayCheckoutParams;
@@ -0,0 +1 @@
1
+ export declare const applePayVersion = 3;
@@ -0,0 +1,4 @@
1
+ export declare enum ApplePayErrors {
2
+ paymentError = "paymentError",
3
+ deviceIsNotCapableError = "deviceIsNotCapableError"
4
+ }
@@ -0,0 +1,46 @@
1
+ import { Observable } from 'rxjs';
2
+ import { ApplePayParams } from './apple-pay-params.interface';
3
+ import { ExtendedWindow } from '../../extended-window.interface';
4
+ import { ApplePayErrors } from './apple-pay.errors.enum';
5
+ import { UserAgentService } from '../../user-agent/user-agent.service';
6
+ import { ApplePayIntegration } from './apple-pay-integration.type';
7
+ import { SummaryFinanceDetailsAdapterService } from '../../payment/finance-details/summary/summary-finance-details-adapter.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class ApplePayService {
10
+ private readonly window;
11
+ private readonly userAgentService;
12
+ private readonly summaryFinanceDetailsAdapterService;
13
+ private readonly agreementFieldsNames;
14
+ private readonly payment;
15
+ private readonly error;
16
+ private readonly integrationType;
17
+ private paymentClient;
18
+ private readonly api;
19
+ private applePayParams;
20
+ private order?;
21
+ get paymentParameters(): ApplePayParams | null;
22
+ get payment$(): Observable<string>;
23
+ get error$(): Observable<ApplePayErrors>;
24
+ get integrationType$(): Observable<ApplePayIntegration>;
25
+ constructor(window: ExtendedWindow, userAgentService: UserAgentService, summaryFinanceDetailsAdapterService: SummaryFinanceDetailsAdapterService);
26
+ setApplePayParams(data: unknown): void;
27
+ initLibrary(tokenKey: string): Promise<void>;
28
+ redirectToPaymentPage(parameters: ApplePayParams, token: string): string | undefined;
29
+ setOrder(data: unknown): void;
30
+ proceedCheckout(parameters?: ApplePayParams): void;
31
+ isDeviceCapable(): boolean;
32
+ getTokenNonceFieldData(tokenNonce: string): {
33
+ name: string;
34
+ value: string;
35
+ };
36
+ updateApplePayParams(data: unknown): void;
37
+ private loadBraintree;
38
+ private getAppleToken;
39
+ private getTotalAmount;
40
+ private getTotalCurrency;
41
+ private getJsonValueFromField;
42
+ private emitError;
43
+ private emitIntegrationType;
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApplePayService, never>;
45
+ static ɵprov: i0.ɵɵInjectableDeclaration<ApplePayService>;
46
+ }
@@ -0,0 +1,9 @@
1
+ export interface ApplePayCheckoutParams {
2
+ totalLabel: string;
3
+ totalAmount: string;
4
+ currencyCode: string;
5
+ countryCode: string;
6
+ merchantCapabilities: string[] | undefined;
7
+ supportedNetworks: string[] | undefined;
8
+ agreements: string[];
9
+ }
@@ -1,5 +1,6 @@
1
1
  export interface InitConfiguration {
2
2
  token: string;
3
+ isMobile: boolean;
3
4
  isWebview?: boolean;
4
5
  sandbox?: boolean;
5
6
  }
@@ -16,11 +16,13 @@ export declare class SettingsService {
16
16
  get utilsResponse(): DeepReadonly<UtilsResponse>;
17
17
  get isEmpty(): boolean;
18
18
  get token(): string;
19
+ get isMobile(): boolean;
19
20
  get hasResponse(): boolean;
20
21
  isInitialized: boolean;
21
22
  private response;
22
23
  private _token;
23
24
  private sandboxMode;
25
+ private _isMobile;
24
26
  constructor(secureApi: SecureApiClient);
25
27
  init(configuration: InitConfiguration): Promise<void>;
26
28
  isSandboxMode(): boolean;
@@ -0,0 +1,13 @@
1
+ import { Device } from './device.enum';
2
+ export interface BrowserInfo {
3
+ name: string;
4
+ version: string | null;
5
+ ui_version: Device;
6
+ os: string | null;
7
+ mobile?: boolean;
8
+ tablet?: boolean;
9
+ iphone?: boolean;
10
+ ipad?: boolean;
11
+ ipod?: boolean;
12
+ android?: boolean;
13
+ }
@@ -0,0 +1,9 @@
1
+ export declare const unknownValue: "unknown";
2
+ export type BrowserName = typeof browsers[number]['sentName'] | typeof unknownValue | null;
3
+ export type BrowserApp = typeof browsers[number]['shortName'] | typeof unknownValue | null;
4
+ export interface BrowserInterface {
5
+ sentName: 'Mozilla Firefox' | 'Samsung Internet' | 'Opera' | 'Microsoft Edge (Legacy)' | 'Microsoft Edge (Chromium)' | 'Google Chrome or Chromium' | 'Apple Safari';
6
+ shortName: 'Firefox' | 'SamsungBrowser' | 'Opera' | 'MSEdge-legacy' | 'MSEdge' | 'Chrome' | 'Safari';
7
+ regexpBrowserNameWithVersion: string;
8
+ }
9
+ export declare const browsers: BrowserInterface[];
@@ -0,0 +1,4 @@
1
+ export declare enum Device {
2
+ mobile = "mobile",
3
+ desktop = "desktop"
4
+ }
@@ -0,0 +1,7 @@
1
+ interface OS {
2
+ name: string;
3
+ regExp: string;
4
+ }
5
+ type OSList = OS[];
6
+ export declare const osList: OSList;
7
+ export {};
@@ -0,0 +1,10 @@
1
+ interface Brand {
2
+ brand: string;
3
+ version: string;
4
+ }
5
+ export interface UserAgentData {
6
+ brands: Brand[];
7
+ mobile: boolean;
8
+ platform: string;
9
+ }
10
+ export {};
@@ -0,0 +1,36 @@
1
+ import { browsers, BrowserApp } from './browsers';
2
+ import { ExtendedWindow } from '../extended-window.interface';
3
+ import { BrowserInfo } from './browserInfo.interface';
4
+ import * as i0 from "@angular/core";
5
+ export declare class UserAgentService {
6
+ private readonly window;
7
+ private _browserName;
8
+ private _browserVersion;
9
+ private _browserApp;
10
+ private _platform;
11
+ private _os;
12
+ constructor(window: ExtendedWindow);
13
+ get browserVersion(): string | null;
14
+ get browserApp(): BrowserApp;
15
+ get platform(): string | null;
16
+ get userAgent(): string;
17
+ get browserDescription(): typeof browsers[number]['sentName'] | string;
18
+ get isSafari(): boolean;
19
+ get iOsVersion(): string | null;
20
+ get browserInfo(): BrowserInfo;
21
+ get isMobileDevice(): boolean;
22
+ get isIosAndNotIpad(): boolean;
23
+ private getUserPlatform;
24
+ private getBrowserInformation;
25
+ private getOsInformation;
26
+ private get browserName();
27
+ private get isAndroid();
28
+ private get isXbox();
29
+ private get isLinux();
30
+ private get isWindows();
31
+ private get browserEngine();
32
+ private get os();
33
+ private get osType();
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserAgentService, never>;
35
+ static ɵprov: i0.ɵɵInjectableDeclaration<UserAgentService>;
36
+ }
@@ -29,9 +29,11 @@ import { NextAction } from './core/payment/actions/next-action.interface';
29
29
  import { Balance } from './core/settings/balance.interface';
30
30
  import { FormMessagesService } from './core/payment/form-messages/form-messages.service';
31
31
  import { EditSavedMethodsService } from './core/edit-saved-methods/edit-saved-methods.service';
32
+ import { FormControlStatus } from '@angular/forms';
32
33
  import { GooglePayService } from './core/sdk-payment-systems/google-pay/google-pay.service';
33
34
  import { PaymentSystemProcessingService } from './core/sdk-payment-systems/payment-systems/payment-system-processing.service';
34
35
  import { SdkPaymentSystems } from './core/sdk-payment-systems/sdk-payment-systems.interface';
36
+ import { FormResponse } from './core/payment/form-response.interface';
35
37
  import * as i0 from "@angular/core";
36
38
  export declare class CoreLibraryService {
37
39
  private readonly settingsService;
@@ -63,6 +65,10 @@ export declare class CoreLibraryService {
63
65
  constructor(settingsService: SettingsService, countryService: CountryService, paymentMethodsService: PaymentMethodsService, savedMethodsService: SavedMethodsService, userBalanceService: UserBalanceService, paymentConfigService: PaymentConfigService, paymentService: PaymentService, deviceFingerPrintService: DeviceFingerPrintService, financeDetailsService: FinanceDetailsService, legalService: LegalService, statusService: StatusService, nextActionService: NextActionService, creditCardService: CreditCardService, creditCardStateService: CreditCardStateService, formMessagesService: FormMessagesService, editSavedMethodsService: EditSavedMethodsService, googlePayService: GooglePayService, commonPayProcessingService: PaymentSystemProcessingService);
64
66
  init(configuration: InitConfiguration): Promise<void>;
65
67
  getStatus(url?: string): Promise<Status>;
68
+ getQrCodeInitialData(): {
69
+ qrCode: string;
70
+ pid: number | null;
71
+ };
66
72
  setCountry(country: string): void;
67
73
  getCountry(): string;
68
74
  createPayment(config: PaymentConfig): Payment;
@@ -73,6 +79,9 @@ export declare class CoreLibraryService {
73
79
  getLegalComponentConfig(): LegalComponentConfig;
74
80
  getFieldMask(field: Field): undefined | (() => string);
75
81
  getUserBalanceValue(): Balance | null;
82
+ get paymentForm$(): Observable<FormControlStatus | null>;
83
+ get formResponse$(): Observable<FormResponse | null>;
84
+ get formResponseValue(): FormResponse | null;
76
85
  static ɵfac: i0.ɵɵFactoryDeclaration<CoreLibraryService, never>;
77
86
  static ɵprov: i0.ɵɵInjectableDeclaration<CoreLibraryService>;
78
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/payment-client-core",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0",
@@ -14,7 +14,9 @@
14
14
  "centrifuge": "^4.0.1",
15
15
  "jsencrypt": "^3.3.2",
16
16
  "stacktrace-js": "^2.0.2",
17
- "tslib": "^2.3.0"
17
+ "tslib": "^2.3.0",
18
+ "braintree-web": "^3.100.0",
19
+ "@types/braintree-web": "^3.96.11"
18
20
  },
19
21
  "module": "fesm2015/xsolla-payment-client-core.mjs",
20
22
  "es2020": "fesm2020/xsolla-payment-client-core.mjs",
package/public-api.d.ts CHANGED
@@ -1,3 +1,5 @@
1
1
  export * from './lib/core-library.service';
2
2
  export * from './lib/core-library.module';
3
3
  export * from './lib/core/legal/legal.component.config';
4
+ export * from './lib/core/sdk-payment-systems/apple-pay/apple-pay.service';
5
+ export * from './lib/core/sdk-payment-systems/apple-pay/apple-pay-params.interface';