@xsolla/payment-client-core 0.2.108 → 0.2.110

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.
@@ -1,4 +1,4 @@
1
- export type LegalArea = 'EU' | 'US' | 'other';
1
+ export type LegalArea = 'EU' | 'KR' | 'US' | 'other';
2
2
  export interface LegalComponentConfig {
3
3
  legalArea?: LegalArea;
4
4
  isJapanUser: boolean;
@@ -8,5 +8,6 @@ export interface ShowFieldsActionData {
8
8
  errors: XpsError[] | null;
9
9
  messages: XpsMessage[] | undefined;
10
10
  order?: object;
11
+ submitButtonText?: string;
11
12
  }
12
13
  export type ShowFieldsAction = Action<ShowFieldsActionType, ShowFieldsActionData>;
@@ -6,6 +6,9 @@ export declare enum FieldNames {
6
6
  allowSubscription = "allowSubscription",
7
7
  apt = "apt",
8
8
  availableCardTypes = "available_card_types",
9
+ babka_pay_phone = "babka_pay_phone",
10
+ babka_pay_jwt = "babka_pay_jwt",
11
+ babkaPayLoyaltyParticipation = "babka_pay_loyalty_participation",
9
12
  bank = "bank",
10
13
  birthDate = "birth_date",
11
14
  cardMonth = "card_month",
@@ -15,13 +18,14 @@ export declare enum FieldNames {
15
18
  cardholdername = "cardholdername",
16
19
  city = "city",
17
20
  couponCode = "couponCode",
21
+ document = "document",
18
22
  cpfName = "cpf_name",
19
23
  cpfNumber = "cpf_number",
20
24
  cvv = "cvv",
21
25
  description = "description",
26
+ collectedEmailConsent = "collectedEmailConsent",
22
27
  email = "email",
23
28
  psEmail = "psEmail",
24
- psAccountCountry = "psAccountCountry",
25
29
  bazitemail = "bazitemail",
26
30
  euCheck = "eu_check",
27
31
  extraCvv = "extra_cvv",
@@ -31,6 +35,7 @@ export declare enum FieldNames {
31
35
  installments = "installments",
32
36
  lName = "l_name",
33
37
  needInstallments = "needInstallments",
38
+ payer = "payer",
34
39
  personId = "person_id",
35
40
  personIdAr = "person_id_ar",
36
41
  personIdCo = "person_id_co",
@@ -53,6 +58,7 @@ export declare enum FieldNames {
53
58
  licenseDisclaimer = "licenseDisclaimer",
54
59
  xsollaTipsAmount = "xsollaTipsAmount",
55
60
  zip = "zip",
61
+ psAccountCountry = "psAccountCountry",
56
62
  allowSave = "allowSave",
57
63
  koreaLimitsInstruction = "korea_limits_instruction",
58
64
  tokenApplePay = "token_applepay",
@@ -60,11 +66,14 @@ export declare enum FieldNames {
60
66
  fixPid = "fix_pid",
61
67
  signature = "signature",
62
68
  qr = "qr",
69
+ qrCode = "qr_code",
70
+ qrTtl = "qr_ttl",
63
71
  sum = "sum",
64
72
  out = "out",
65
73
  tinkoffDisclaimer = "ps.tinkoff.disclaimer",
66
74
  ppEmail = "pp_email",
67
75
  redeemPoints = "redeemPoints",
76
+ redeemLoyaltyPoints = "redeemLoyaltyPoints",
68
77
  omnibusDirective = "omnibus_directive",
69
78
  labelApplePay = "label_applePay",
70
79
  countryCode = "countryCode",
@@ -77,9 +86,25 @@ export declare enum FieldNames {
77
86
  payInstanceAccountId = "payInstanceAccountId",
78
87
  getApplePaySessionUrl = "getApplePaySessionUrl",
79
88
  payViaCheckoutUrl = "payViaCheckoutUrl",
89
+ paymentInstruction = "payment_instruction",
90
+ paymentWithSavedMethod = "paymentWithSavedMethod",
91
+ xsollaOrbsPartialPayment = "xsolla_currency_wallet_partial",
92
+ xsollaGoldOrbsPartial = "xsolla-gold-orbs-partial",
93
+ xsollaOrbsFullPayment = "xsolla_currency_wallet_full",
94
+ xsollaCurrencyDescription = "xsolla_currency_description",
95
+ fixCommand = "fix_command",
96
+ jwtToken = "jwt_token",
97
+ userId = "user_id",
98
+ userPass = "user_pass",
99
+ pinCard = "pin_card",
100
+ payType = "payType",
101
+ fullName = "user_name",
102
+ name = "name",
103
+ epin = "epin",
104
+ zipCode = "zip_code",
105
+ googlePay3dsRedirect = "googlePay3DSRedirect",
80
106
  googlePayInitData = "googlePayInitData",
81
107
  googlePayPaymentData = "googlePayPaymentData",
82
- googlePay3dsRedirect = "googlePay3DSRedirect",
83
108
  externalCardIssuerCountry = "externalCardIssuerCountry",
84
109
  pmId = "pm_id"
85
110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/payment-client-core",
3
- "version": "0.2.108",
3
+ "version": "0.2.110",
4
4
  "engines": {
5
5
  "node": ">=16.10.0",
6
6
  "npm": ">=8.11.0"