@soltech/fluid-common 1.6.22 → 1.6.23

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/lib/index.d.ts CHANGED
@@ -39,11 +39,8 @@ export interface WalletInitParams {
39
39
  operatorId: number;
40
40
  sessionId: string;
41
41
  userId: string | number;
42
- /** @deprecated Use browserInfo.userAgent instead */
43
42
  userAgent: string;
44
- /** @deprecated Use browserInfo.viewport instead */
45
43
  viewport: Viewport;
46
- browserInfo?: BrowserInfo;
47
44
  userData?: UserData;
48
45
  timestamp: string;
49
46
  buildDate: string;
@@ -54,19 +51,6 @@ export interface Viewport {
54
51
  innerWidth: number;
55
52
  innerHeight: number;
56
53
  }
57
- export interface ScreenDimensions {
58
- height: number;
59
- width: number;
60
- }
61
- export interface BrowserInfo {
62
- userAgent: string;
63
- acceptHeader: string;
64
- javaEnabled: boolean;
65
- colorDepth: number;
66
- screen: ScreenDimensions;
67
- viewport: Viewport;
68
- timezoneOffset: number;
69
- }
70
54
  export interface WalletConfig {
71
55
  autofillCreditCardName: boolean;
72
56
  balanceDisplayed: boolean;
@@ -150,12 +134,15 @@ export interface PaymentMethod {
150
134
  transactionStatusCheck?: TransactionStatusCheck;
151
135
  finalTransactionResultCheckEnabled?: boolean;
152
136
  encryptionSettings?: EncryptionSettings;
137
+ hostedFields?: HostedFieldsSettings;
153
138
  }
154
139
  export interface EncryptionSettings {
155
140
  encryptionType: EncryptionType;
156
141
  expiryDateEncryptionMode: ExpiryDateEncryptionMode;
157
142
  encryptCardholderName: boolean;
158
- encryptFullYear: boolean;
143
+ }
144
+ export interface HostedFieldsSettings {
145
+ url: string;
159
146
  }
160
147
  export declare enum EncryptionType {
161
148
  NO_ENCRYPTION = "NO_ENCRYPTION",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.6.22",
3
+ "version": "1.6.23",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend, API and AI common interfaces & enums",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -45,11 +45,8 @@ export interface WalletInitParams {
45
45
  operatorId: number;
46
46
  sessionId: string;
47
47
  userId: string | number;
48
- /** @deprecated Use browserInfo.userAgent instead */
49
48
  userAgent: string;
50
- /** @deprecated Use browserInfo.viewport instead */
51
49
  viewport: Viewport;
52
- browserInfo?: BrowserInfo;
53
50
  userData?: UserData;
54
51
  timestamp: string;
55
52
  buildDate: string;
@@ -62,21 +59,6 @@ export interface Viewport {
62
59
  innerHeight: number;
63
60
  }
64
61
 
65
- export interface ScreenDimensions {
66
- height: number;
67
- width: number;
68
- }
69
-
70
- export interface BrowserInfo {
71
- userAgent: string;
72
- acceptHeader: string;
73
- javaEnabled: boolean;
74
- colorDepth: number;
75
- screen: ScreenDimensions;
76
- viewport: Viewport;
77
- timezoneOffset: number;
78
- }
79
-
80
62
  export interface WalletConfig {
81
63
  autofillCreditCardName: boolean;
82
64
  balanceDisplayed: boolean;
@@ -168,13 +150,17 @@ export interface PaymentMethod {
168
150
  transactionStatusCheck?: TransactionStatusCheck;
169
151
  finalTransactionResultCheckEnabled?: boolean;
170
152
  encryptionSettings?: EncryptionSettings;
153
+ hostedFields?: HostedFieldsSettings;
171
154
  }
172
155
 
173
156
  export interface EncryptionSettings {
174
157
  encryptionType: EncryptionType;
175
158
  expiryDateEncryptionMode: ExpiryDateEncryptionMode;
176
159
  encryptCardholderName: boolean;
177
- encryptFullYear: boolean;
160
+ }
161
+
162
+ export interface HostedFieldsSettings {
163
+ url: string;
178
164
  }
179
165
 
180
166
  export enum EncryptionType {