@soltech/fluid-common 1.12.1-sc23268.0 → 1.13.0-sc22031.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/payment-methods.d.ts +0 -2
- package/lib/transactions.d.ts +0 -6
- package/lib/transactions.js +0 -4
- package/lib/wallet-config-keys.d.ts +0 -2
- package/lib/wallet-config-keys.js +0 -2
- package/package.json +1 -1
- package/src/payment-methods.ts +0 -3
- package/src/transactions.ts +0 -7
- package/src/wallet-config-keys.ts +0 -2
- package/.claude/settings.local.json +0 -7
package/lib/payment-methods.d.ts
CHANGED
|
@@ -43,7 +43,6 @@ export interface PaymentMethod {
|
|
|
43
43
|
voucherAmounts?: number[];
|
|
44
44
|
depositHandledByHostSite?: boolean;
|
|
45
45
|
withdrawalHandledByHostSite?: boolean;
|
|
46
|
-
withdrawalInputsShownWhenMethodIsStored: boolean;
|
|
47
46
|
transactionStatusCheck?: TransactionStatusCheck;
|
|
48
47
|
finalTransactionResultCheckEnabled?: boolean;
|
|
49
48
|
encryptionSettings?: EncryptionSettings;
|
|
@@ -74,7 +73,6 @@ export interface CardTokenSettings extends HostedFieldsBase {
|
|
|
74
73
|
export interface CardTokenParams {
|
|
75
74
|
merchantId: string;
|
|
76
75
|
env: string;
|
|
77
|
-
token?: string;
|
|
78
76
|
}
|
|
79
77
|
export declare enum HostedFieldsProtocol {
|
|
80
78
|
CARD_VALUES = "CardValues",
|
package/lib/transactions.d.ts
CHANGED
|
@@ -73,8 +73,6 @@ export interface DepositContinuationParams {
|
|
|
73
73
|
protectionHeaders?: Record<string, string>;
|
|
74
74
|
/** A credential: carried on the challenge and handed back, never logged. */
|
|
75
75
|
sessionKey?: string;
|
|
76
|
-
/** The stored method the purchase began on, so the concluding charge keeps its endpoint. */
|
|
77
|
-
accountId?: string;
|
|
78
76
|
}
|
|
79
77
|
/**
|
|
80
78
|
* Transaction params for any payment method whose payload is keyed dynamically by
|
|
@@ -110,12 +108,8 @@ export interface RedirectOutput {
|
|
|
110
108
|
sizeUnit?: string;
|
|
111
109
|
url: string;
|
|
112
110
|
width?: number;
|
|
113
|
-
purpose?: RedirectPurpose;
|
|
114
111
|
}
|
|
115
112
|
export type RedirectContainer = 'iframe' | 'window' | 'redirect';
|
|
116
|
-
export declare enum RedirectPurpose {
|
|
117
|
-
BANK_LINKING = "BANK_LINKING"
|
|
118
|
-
}
|
|
119
113
|
export declare enum TransactionState {
|
|
120
114
|
SUCCESS = "SUCCESS",
|
|
121
115
|
FAIL = "FAIL",
|
package/lib/transactions.js
CHANGED
|
@@ -4,10 +4,6 @@ export var WindowRedirectType;
|
|
|
4
4
|
WindowRedirectType["BROWSER_TAB"] = "browserTab";
|
|
5
5
|
WindowRedirectType["NONE"] = "none";
|
|
6
6
|
})(WindowRedirectType || (WindowRedirectType = {}));
|
|
7
|
-
export var RedirectPurpose;
|
|
8
|
-
(function (RedirectPurpose) {
|
|
9
|
-
RedirectPurpose["BANK_LINKING"] = "BANK_LINKING";
|
|
10
|
-
})(RedirectPurpose || (RedirectPurpose = {}));
|
|
11
7
|
export var TransactionState;
|
|
12
8
|
(function (TransactionState) {
|
|
13
9
|
TransactionState["SUCCESS"] = "SUCCESS";
|
|
@@ -68,7 +68,6 @@ export declare enum Content {
|
|
|
68
68
|
amountPlaceholderLabel = "amountPlaceholderLabel",
|
|
69
69
|
authorisationTitle = "authorisationTitle",
|
|
70
70
|
backLabel = "backLabel",
|
|
71
|
-
bankLinkingFrameTitle = "bankLinkingFrameTitle",
|
|
72
71
|
bonus = "bonus",
|
|
73
72
|
bonusCodeInputPlaceholder = "bonusCodeInputPlaceholder",
|
|
74
73
|
bonusCodeMessage = "bonusCodeMessage",
|
|
@@ -283,7 +282,6 @@ export declare enum ContentVirtual {
|
|
|
283
282
|
abandonDepositModalTitle = "abandonDepositModalTitle",
|
|
284
283
|
authorisationTitle = "authorisationTitle",
|
|
285
284
|
backLabel = "backLabel",
|
|
286
|
-
bankLinkingFrameTitle = "bankLinkingFrameTitle",
|
|
287
285
|
cancelWithdrawalsSuccess = "cancelWithdrawalsSuccess",
|
|
288
286
|
cancelWithdrawalSuccess = "cancelWithdrawalSuccess",
|
|
289
287
|
cardDetailsGenericError = "cardDetailsGenericError",
|
|
@@ -70,7 +70,6 @@ export var Content;
|
|
|
70
70
|
Content["amountPlaceholderLabel"] = "amountPlaceholderLabel";
|
|
71
71
|
Content["authorisationTitle"] = "authorisationTitle";
|
|
72
72
|
Content["backLabel"] = "backLabel";
|
|
73
|
-
Content["bankLinkingFrameTitle"] = "bankLinkingFrameTitle";
|
|
74
73
|
Content["bonus"] = "bonus";
|
|
75
74
|
Content["bonusCodeInputPlaceholder"] = "bonusCodeInputPlaceholder";
|
|
76
75
|
Content["bonusCodeMessage"] = "bonusCodeMessage";
|
|
@@ -286,7 +285,6 @@ export var ContentVirtual;
|
|
|
286
285
|
ContentVirtual["abandonDepositModalTitle"] = "abandonDepositModalTitle";
|
|
287
286
|
ContentVirtual["authorisationTitle"] = "authorisationTitle";
|
|
288
287
|
ContentVirtual["backLabel"] = "backLabel";
|
|
289
|
-
ContentVirtual["bankLinkingFrameTitle"] = "bankLinkingFrameTitle";
|
|
290
288
|
ContentVirtual["cancelWithdrawalsSuccess"] = "cancelWithdrawalsSuccess";
|
|
291
289
|
ContentVirtual["cancelWithdrawalSuccess"] = "cancelWithdrawalSuccess";
|
|
292
290
|
ContentVirtual["cardDetailsGenericError"] = "cardDetailsGenericError";
|
package/package.json
CHANGED
package/src/payment-methods.ts
CHANGED
|
@@ -49,7 +49,6 @@ export interface PaymentMethod {
|
|
|
49
49
|
voucherAmounts?: number[];
|
|
50
50
|
depositHandledByHostSite?: boolean;
|
|
51
51
|
withdrawalHandledByHostSite?: boolean;
|
|
52
|
-
withdrawalInputsShownWhenMethodIsStored: boolean;
|
|
53
52
|
transactionStatusCheck?: TransactionStatusCheck;
|
|
54
53
|
finalTransactionResultCheckEnabled?: boolean;
|
|
55
54
|
encryptionSettings?: EncryptionSettings;
|
|
@@ -89,8 +88,6 @@ export interface CardTokenSettings extends HostedFieldsBase {
|
|
|
89
88
|
export interface CardTokenParams {
|
|
90
89
|
merchantId: string;
|
|
91
90
|
env: string;
|
|
92
|
-
// Set only on a stored method, whose fields re-verify a card rather than collect a new one.
|
|
93
|
-
token?: string;
|
|
94
91
|
}
|
|
95
92
|
|
|
96
93
|
// Which message contract the client must speak to the hosted fields, not which gateway
|
package/src/transactions.ts
CHANGED
|
@@ -81,8 +81,6 @@ export interface DepositContinuationParams {
|
|
|
81
81
|
protectionHeaders?: Record<string, string>;
|
|
82
82
|
/** A credential: carried on the challenge and handed back, never logged. */
|
|
83
83
|
sessionKey?: string;
|
|
84
|
-
/** The stored method the purchase began on, so the concluding charge keeps its endpoint. */
|
|
85
|
-
accountId?: string;
|
|
86
84
|
}
|
|
87
85
|
|
|
88
86
|
/**
|
|
@@ -122,15 +120,10 @@ export interface RedirectOutput {
|
|
|
122
120
|
sizeUnit?: string;
|
|
123
121
|
url: string;
|
|
124
122
|
width?: number;
|
|
125
|
-
purpose?: RedirectPurpose;
|
|
126
123
|
}
|
|
127
124
|
|
|
128
125
|
export type RedirectContainer = 'iframe' | 'window' | 'redirect';
|
|
129
126
|
|
|
130
|
-
export enum RedirectPurpose {
|
|
131
|
-
BANK_LINKING = 'BANK_LINKING'
|
|
132
|
-
}
|
|
133
|
-
|
|
134
127
|
export enum TransactionState {
|
|
135
128
|
SUCCESS = 'SUCCESS',
|
|
136
129
|
FAIL = 'FAIL',
|
|
@@ -74,7 +74,6 @@ export enum Content {
|
|
|
74
74
|
amountPlaceholderLabel = 'amountPlaceholderLabel',
|
|
75
75
|
authorisationTitle = 'authorisationTitle',
|
|
76
76
|
backLabel = 'backLabel',
|
|
77
|
-
bankLinkingFrameTitle = 'bankLinkingFrameTitle',
|
|
78
77
|
bonus = 'bonus',
|
|
79
78
|
bonusCodeInputPlaceholder = 'bonusCodeInputPlaceholder',
|
|
80
79
|
bonusCodeMessage = 'bonusCodeMessage',
|
|
@@ -290,7 +289,6 @@ export enum ContentVirtual {
|
|
|
290
289
|
abandonDepositModalTitle = 'abandonDepositModalTitle',
|
|
291
290
|
authorisationTitle = 'authorisationTitle',
|
|
292
291
|
backLabel = 'backLabel',
|
|
293
|
-
bankLinkingFrameTitle = 'bankLinkingFrameTitle',
|
|
294
292
|
cancelWithdrawalsSuccess = 'cancelWithdrawalsSuccess',
|
|
295
293
|
cancelWithdrawalSuccess = 'cancelWithdrawalSuccess',
|
|
296
294
|
cardDetailsGenericError = 'cardDetailsGenericError',
|