@soltech/fluid-common 1.6.28-beta.1 → 1.7.1-beta.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/.claude/settings.local.json +12 -0
- package/lib/index.d.ts +5 -1
- package/package.json +1 -1
- package/src/index.ts +5 -0
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)
|
|
@@ -236,7 +240,7 @@ export interface TransactionResult {
|
|
|
236
240
|
statusCode: string;
|
|
237
241
|
transactionId: string;
|
|
238
242
|
pspStatusCode?: string;
|
|
239
|
-
details?:
|
|
243
|
+
details?: Record<string, unknown>;
|
|
240
244
|
}
|
|
241
245
|
export interface RedirectOutput {
|
|
242
246
|
container: RedirectContainer;
|
package/package.json
CHANGED
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)
|