@soltech/fluid-common 1.6.27 → 1.7.0

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
@@ -135,12 +135,16 @@ export interface PaymentMethod {
135
135
  transactionStatusCheck?: TransactionStatusCheck;
136
136
  finalTransactionResultCheckEnabled?: boolean;
137
137
  encryptionSettings?: EncryptionSettings;
138
+ hostedFields?: HostedFieldsSettings;
138
139
  }
139
140
  export interface EncryptionSettings {
140
141
  encryptionType: EncryptionType;
141
142
  expiryDateEncryptionMode: ExpiryDateEncryptionMode;
142
143
  encryptCardholderName: boolean;
143
144
  }
145
+ export interface HostedFieldsSettings {
146
+ url: string;
147
+ }
144
148
  export declare enum EncryptionType {
145
149
  NO_ENCRYPTION = "NO_ENCRYPTION",
146
150
  RSA_PKCS1 = "RSA_PKCS1",// RSA with PKCS#1 v1.5 padding (jsencrypt default)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.6.27",
3
+ "version": "1.7.0",
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
@@ -151,6 +151,7 @@ export interface PaymentMethod {
151
151
  transactionStatusCheck?: TransactionStatusCheck;
152
152
  finalTransactionResultCheckEnabled?: boolean;
153
153
  encryptionSettings?: EncryptionSettings;
154
+ hostedFields?: HostedFieldsSettings;
154
155
  }
155
156
 
156
157
  export interface EncryptionSettings {
@@ -159,6 +160,10 @@ export interface EncryptionSettings {
159
160
  encryptCardholderName: boolean;
160
161
  }
161
162
 
163
+ export interface HostedFieldsSettings {
164
+ url: string;
165
+ }
166
+
162
167
  export enum EncryptionType {
163
168
  NO_ENCRYPTION = 'NO_ENCRYPTION',
164
169
  RSA_PKCS1 = 'RSA_PKCS1', // RSA with PKCS#1 v1.5 padding (jsencrypt default)