@xsolla/payment-client-core 0.2.35 → 0.2.37
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/country/country.service.mjs +5 -1
- package/esm2022/lib/core/country/eu-countries.const.mjs +30 -0
- package/esm2022/lib/core/legal/legal.component.config.mjs +1 -1
- package/esm2022/lib/core/legal/legal.service.mjs +20 -8
- package/esm2022/lib/core/saved-methods/saved-method-api.interface.mjs +1 -1
- package/esm2022/lib/core/saved-methods/saved-method.interface.mjs +1 -1
- package/esm2022/lib/core/saved-methods/saved-methods-response.class.mjs +3 -1
- package/esm2022/lib/core/settings/user.interface.mjs +1 -1
- package/fesm2022/xsolla-payment-client-core.mjs +49 -3
- package/fesm2022/xsolla-payment-client-core.mjs.map +1 -1
- package/lib/core/country/country.service.d.ts +1 -0
- package/lib/core/country/eu-countries.const.d.ts +1 -0
- package/lib/core/legal/legal.component.config.d.ts +2 -0
- package/lib/core/legal/legal.service.d.ts +4 -1
- package/lib/core/saved-methods/saved-method-api.interface.d.ts +6 -0
- package/lib/core/saved-methods/saved-method.interface.d.ts +6 -0
- package/lib/core/settings/user.interface.d.ts +1 -0
- package/package.json +1 -1
- package/xsolla-payment-client-core-0.2.37.tgz +0 -0
- package/xsolla-payment-client-core-0.2.35.tgz +0 -0
|
@@ -2,6 +2,7 @@ import { SettingsService } from '../settings/settings.service';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class CountryService {
|
|
4
4
|
private readonly settingsService;
|
|
5
|
+
get userIpCountry(): string;
|
|
5
6
|
private userDefinedCountry;
|
|
6
7
|
constructor(settingsService: SettingsService);
|
|
7
8
|
setCountry(country: string): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const euCountries: Set<string>;
|
|
@@ -3,15 +3,18 @@ import { SettingsService } from '../settings/settings.service';
|
|
|
3
3
|
import { RefundPolicyService } from './refund-policy.service';
|
|
4
4
|
import { SecureConnectionService } from './secure-connection.service';
|
|
5
5
|
import { DisclaimerService } from './disclaimer.service';
|
|
6
|
+
import { CountryService } from '../country/country.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class LegalService {
|
|
9
|
+
private readonly countryService;
|
|
8
10
|
private readonly settingsService;
|
|
9
11
|
private readonly refundPolicyService;
|
|
10
12
|
private readonly secureConnectionService;
|
|
11
13
|
private readonly disclaimerService;
|
|
12
14
|
readonly sctlPolicyUrl = "https://xsolla.com/sctl";
|
|
13
15
|
private get isJapanUser();
|
|
14
|
-
|
|
16
|
+
private get legalArea();
|
|
17
|
+
constructor(countryService: CountryService, settingsService: SettingsService, refundPolicyService: RefundPolicyService, secureConnectionService: SecureConnectionService, disclaimerService: DisclaimerService);
|
|
15
18
|
getLegalComponentConfig(): LegalComponentConfig;
|
|
16
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<LegalService, never>;
|
|
17
20
|
static ɵprov: i0.ɵɵInjectableDeclaration<LegalService>;
|
|
@@ -17,6 +17,12 @@ export interface SavedMethodApi {
|
|
|
17
17
|
month: string;
|
|
18
18
|
year: string;
|
|
19
19
|
};
|
|
20
|
+
date_create: {
|
|
21
|
+
date: string;
|
|
22
|
+
timezone: string;
|
|
23
|
+
timezone_type: number;
|
|
24
|
+
};
|
|
25
|
+
date_last_charge: number;
|
|
20
26
|
switch_icon_name: string | null;
|
|
21
27
|
partner?: string | null;
|
|
22
28
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|