@coinflowlabs/vue 1.19.2 → 2.0.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/README.md +4 -0
- package/dist/coinflow-vue.js +6545 -6797
- package/dist/coinflow-vue.umd.cjs +17 -17
- package/dist/components/CoinflowPurchase.vue.d.ts +9 -0
- package/dist/components/card-form/CoinflowCardFormV2.vue.d.ts +4 -1
- package/dist/index.d.ts +1 -49
- package/dist/lib/common/CoinflowFraudProtectionHeader.d.ts +11 -0
- package/dist/lib/common/CoinflowTypes.d.ts +14 -1
- package/dist/lib/common/CoinflowUtils.d.ts +1 -1
- package/dist/lib/common/card-form/cardFieldValidationError.d.ts +2 -0
- package/dist/lib/common/index.d.ts +2 -2
- package/dist/lib/common/types/L2L3Data.d.ts +82 -0
- package/package.json +1 -1
- package/dist/components/card-form/CoinflowCardNumberInput.vue.d.ts +0 -17
- package/dist/components/card-form/CoinflowCardNumberOnlyInput.vue.d.ts +0 -17
- package/dist/components/card-form/CoinflowCvvInput.vue.d.ts +0 -2
- package/dist/components/card-form/CoinflowCvvOnlyInput.vue.d.ts +0 -17
- package/dist/components/card-form/useCardformIframe.d.ts +0 -48
- package/dist/lib/common/card-form/TokenEx.d.ts +0 -72
- package/dist/lib/common/card-form/tokenexHelpers.d.ts +0 -35
- package/dist/testing/CardFormTest.vue.d.ts +0 -25
- package/dist/testing/SavedCardFormTest.vue.d.ts +0 -25
|
@@ -39,6 +39,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
39
39
|
chargebackProtectionAccountType?: import('..').ChargebackProtectionAccountType;
|
|
40
40
|
planCode?: string;
|
|
41
41
|
allowedPaymentMethods?: import('..').PaymentMethods[];
|
|
42
|
+
allowedCardFunding?: import('..').CardFunding[];
|
|
42
43
|
customerInfo?: import('..').CustomerInfo;
|
|
43
44
|
settlementType?: import('..').SettlementType;
|
|
44
45
|
authOnly?: boolean;
|
|
@@ -80,6 +81,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
80
81
|
chargebackProtectionAccountType?: import('..').ChargebackProtectionAccountType;
|
|
81
82
|
planCode?: string;
|
|
82
83
|
allowedPaymentMethods?: import('..').PaymentMethods[];
|
|
84
|
+
allowedCardFunding?: import('..').CardFunding[];
|
|
83
85
|
customerInfo?: import('..').CustomerInfo;
|
|
84
86
|
settlementType?: import('..').SettlementType;
|
|
85
87
|
authOnly?: boolean;
|
|
@@ -121,6 +123,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
121
123
|
chargebackProtectionAccountType?: import('..').ChargebackProtectionAccountType;
|
|
122
124
|
planCode?: string;
|
|
123
125
|
allowedPaymentMethods?: import('..').PaymentMethods[];
|
|
126
|
+
allowedCardFunding?: import('..').CardFunding[];
|
|
124
127
|
customerInfo?: import('..').CustomerInfo;
|
|
125
128
|
settlementType?: import('..').SettlementType;
|
|
126
129
|
authOnly?: boolean;
|
|
@@ -162,6 +165,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
162
165
|
chargebackProtectionAccountType?: import('..').ChargebackProtectionAccountType;
|
|
163
166
|
planCode?: string;
|
|
164
167
|
allowedPaymentMethods?: import('..').PaymentMethods[];
|
|
168
|
+
allowedCardFunding?: import('..').CardFunding[];
|
|
165
169
|
customerInfo?: import('..').CustomerInfo;
|
|
166
170
|
settlementType?: import('..').SettlementType;
|
|
167
171
|
authOnly?: boolean;
|
|
@@ -203,6 +207,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
203
207
|
chargebackProtectionAccountType?: import('..').ChargebackProtectionAccountType;
|
|
204
208
|
planCode?: string;
|
|
205
209
|
allowedPaymentMethods?: import('..').PaymentMethods[];
|
|
210
|
+
allowedCardFunding?: import('..').CardFunding[];
|
|
206
211
|
customerInfo?: import('..').CustomerInfo;
|
|
207
212
|
settlementType?: import('..').SettlementType;
|
|
208
213
|
authOnly?: boolean;
|
|
@@ -244,6 +249,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
244
249
|
chargebackProtectionAccountType?: import('..').ChargebackProtectionAccountType;
|
|
245
250
|
planCode?: string;
|
|
246
251
|
allowedPaymentMethods?: import('..').PaymentMethods[];
|
|
252
|
+
allowedCardFunding?: import('..').CardFunding[];
|
|
247
253
|
customerInfo?: import('..').CustomerInfo;
|
|
248
254
|
settlementType?: import('..').SettlementType;
|
|
249
255
|
authOnly?: boolean;
|
|
@@ -285,6 +291,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
285
291
|
chargebackProtectionAccountType?: import('..').ChargebackProtectionAccountType;
|
|
286
292
|
planCode?: string;
|
|
287
293
|
allowedPaymentMethods?: import('..').PaymentMethods[];
|
|
294
|
+
allowedCardFunding?: import('..').CardFunding[];
|
|
288
295
|
customerInfo?: import('..').CustomerInfo;
|
|
289
296
|
settlementType?: import('..').SettlementType;
|
|
290
297
|
authOnly?: boolean;
|
|
@@ -326,6 +333,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
326
333
|
chargebackProtectionAccountType?: import('..').ChargebackProtectionAccountType;
|
|
327
334
|
planCode?: string;
|
|
328
335
|
allowedPaymentMethods?: import('..').PaymentMethods[];
|
|
336
|
+
allowedCardFunding?: import('..').CardFunding[];
|
|
329
337
|
customerInfo?: import('..').CustomerInfo;
|
|
330
338
|
settlementType?: import('..').SettlementType;
|
|
331
339
|
authOnly?: boolean;
|
|
@@ -367,6 +375,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
367
375
|
chargebackProtectionAccountType?: import('..').ChargebackProtectionAccountType;
|
|
368
376
|
planCode?: string;
|
|
369
377
|
allowedPaymentMethods?: import('..').PaymentMethods[];
|
|
378
|
+
allowedCardFunding?: import('..').CardFunding[];
|
|
370
379
|
customerInfo?: import('..').CustomerInfo;
|
|
371
380
|
settlementType?: import('..').SettlementType;
|
|
372
381
|
authOnly?: boolean;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { CardFormVariant, CoinflowEnvs, MerchantTheme } from '../../lib/common';
|
|
2
|
+
import { CardFormVariant, CardType, CoinflowEnvs, MerchantTheme } from '../../lib/common';
|
|
3
3
|
export interface CardFormV2TokenResponse {
|
|
4
4
|
token: string;
|
|
5
5
|
expMonth?: string;
|
|
6
6
|
expYear?: string;
|
|
7
7
|
/** Forter device token captured in the card-form iframe; forward it as the `x-forter-token` header on your charge request so Forter can score the transaction. Absent if the Forter SDK has not loaded. */
|
|
8
8
|
forterToken?: string;
|
|
9
|
+
bin?: string;
|
|
10
|
+
lastFour?: string;
|
|
11
|
+
cardType?: CardType;
|
|
9
12
|
}
|
|
10
13
|
declare function tokenize(): Promise<CardFormV2TokenResponse>;
|
|
11
14
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { default as CoinflowIframe } from './components/CoinflowIframe.vue';
|
|
2
2
|
import { default as CoinflowWithdraw } from './components/CoinflowWithdraw.vue';
|
|
3
3
|
import { default as CoinflowPurchase } from './components/CoinflowPurchase.vue';
|
|
4
|
-
import { default as CoinflowCardNumberInput } from './components/card-form/CoinflowCardNumberInput.vue';
|
|
5
|
-
import { default as CoinflowCvvInput } from './components/card-form/CoinflowCvvInput.vue';
|
|
6
|
-
import { default as CoinflowCvvOnlyInput } from './components/card-form/CoinflowCvvOnlyInput.vue';
|
|
7
4
|
import { default as CoinflowPurchaseProtection } from './components/CoinflowPurchaseProtection.vue';
|
|
8
|
-
import { default as CoinflowCardNumberOnlyInput } from './components/card-form/CoinflowCardNumberOnlyInput.vue';
|
|
9
5
|
import { default as CoinflowCardFormV2 } from './components/card-form/CoinflowCardFormV2.vue';
|
|
10
6
|
import { default as CoinflowApplePayButton } from './components/mobile-wallet/CoinflowApplePayButton.vue';
|
|
11
7
|
import { default as CoinflowGooglePayButton } from './components/mobile-wallet/CoinflowGooglePayButton.vue';
|
|
@@ -40,48 +36,4 @@ declare const CoinflowCardForm: import('vue').DefineComponent<import('vue').Extr
|
|
|
40
36
|
wrapperRef: HTMLDivElement;
|
|
41
37
|
iframeRef: HTMLIFrameElement;
|
|
42
38
|
}, HTMLDivElement>;
|
|
43
|
-
|
|
44
|
-
declare const CoinflowLegacyCardNumberInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
45
|
-
args: {
|
|
46
|
-
type: import('vue').PropType<import('.').CoinflowCardNumberInputProps & import('.').MerchantIdOrCheckoutJwt>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
}>, {
|
|
50
|
-
getToken: () => Promise<import('.').CoinflowCardTokenResponse>;
|
|
51
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
52
|
-
args: {
|
|
53
|
-
type: import('vue').PropType<import('.').CoinflowCardNumberInputProps & import('.').MerchantIdOrCheckoutJwt>;
|
|
54
|
-
required: true;
|
|
55
|
-
};
|
|
56
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
57
|
-
/** @deprecated Use CoinflowCardForm instead */
|
|
58
|
-
declare const CoinflowLegacyCvvInput: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
59
|
-
/** @deprecated Use CoinflowCardForm instead */
|
|
60
|
-
declare const CoinflowLegacyCvvOnlyInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
61
|
-
args: {
|
|
62
|
-
type: import('vue').PropType<import('.').CoinflowCvvOnlyInputProps & import('.').MerchantIdOrCheckoutJwt>;
|
|
63
|
-
required: true;
|
|
64
|
-
};
|
|
65
|
-
}>, {
|
|
66
|
-
getToken: () => Promise<import('.').CoinflowCardTokenResponse>;
|
|
67
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
68
|
-
args: {
|
|
69
|
-
type: import('vue').PropType<import('.').CoinflowCvvOnlyInputProps & import('.').MerchantIdOrCheckoutJwt>;
|
|
70
|
-
required: true;
|
|
71
|
-
};
|
|
72
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
73
|
-
/** @deprecated Use CoinflowCardForm instead */
|
|
74
|
-
declare const CoinflowLegacyCardNumberOnlyInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
75
|
-
args: {
|
|
76
|
-
type: import('vue').PropType<import('.').CoinflowCardNumberInputProps & import('.').MerchantIdOrCheckoutJwt>;
|
|
77
|
-
required: true;
|
|
78
|
-
};
|
|
79
|
-
}>, {
|
|
80
|
-
getToken: () => Promise<import('.').CoinflowCardTokenResponse>;
|
|
81
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
82
|
-
args: {
|
|
83
|
-
type: import('vue').PropType<import('.').CoinflowCardNumberInputProps & import('.').MerchantIdOrCheckoutJwt>;
|
|
84
|
-
required: true;
|
|
85
|
-
};
|
|
86
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
87
|
-
export { CoinflowIframe, CoinflowWithdraw, CoinflowPurchase, CoinflowPurchaseProtection, CoinflowApplePayButton, CoinflowGooglePayButton, CoinflowCardForm, CoinflowCardFormV2, CoinflowLegacyCardNumberInput, CoinflowLegacyCvvInput, CoinflowLegacyCvvOnlyInput, CoinflowLegacyCardNumberOnlyInput, CoinflowCardNumberInput, CoinflowCvvInput, CoinflowCvvOnlyInput, CoinflowCardNumberOnlyInput, };
|
|
39
|
+
export { CoinflowIframe, CoinflowWithdraw, CoinflowPurchase, CoinflowPurchaseProtection, CoinflowApplePayButton, CoinflowGooglePayButton, CoinflowCardForm, CoinflowCardFormV2, };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface CoinflowFraudProtectionTokens {
|
|
2
|
+
deviceId?: string | null;
|
|
3
|
+
sessionId?: string | null;
|
|
4
|
+
purchaseToken?: string | null;
|
|
5
|
+
}
|
|
6
|
+
export declare class CoinflowFraudProtectionHeader {
|
|
7
|
+
static readonly payloadVersion = 1;
|
|
8
|
+
static readonly maxLength = 8192;
|
|
9
|
+
static encode({ deviceId, sessionId, purchaseToken, }: CoinflowFraudProtectionTokens): string | null;
|
|
10
|
+
private static base64UrlEncode;
|
|
11
|
+
}
|
|
@@ -35,6 +35,11 @@ export declare enum SettlementType {
|
|
|
35
35
|
USDC = "USDC",
|
|
36
36
|
Bank = "Bank"
|
|
37
37
|
}
|
|
38
|
+
export type MerchantIdOrCheckoutJwt = {
|
|
39
|
+
checkoutJwt: string;
|
|
40
|
+
} | {
|
|
41
|
+
merchantId: string;
|
|
42
|
+
};
|
|
38
43
|
/**
|
|
39
44
|
* Configuration for a single custom pay-in fee line item.
|
|
40
45
|
* Pass via the `customPayInFees` field on `/checkout/link` or `/checkout/jwt-token`.
|
|
@@ -303,6 +308,11 @@ export declare enum ThreeDsChallengePreference {
|
|
|
303
308
|
Frictionless = "Frictionless",
|
|
304
309
|
Challenge = "Challenge"
|
|
305
310
|
}
|
|
311
|
+
export declare enum CardFunding {
|
|
312
|
+
debit = "debit",
|
|
313
|
+
credit = "credit",
|
|
314
|
+
prepaid = "prepaid"
|
|
315
|
+
}
|
|
306
316
|
export declare enum PaymentMethods {
|
|
307
317
|
card = "card",
|
|
308
318
|
ach = "ach",
|
|
@@ -312,6 +322,7 @@ export declare enum PaymentMethods {
|
|
|
312
322
|
usdc = "usdc",
|
|
313
323
|
googlePay = "googlePay",
|
|
314
324
|
applePay = "applePay",
|
|
325
|
+
paze = "paze",
|
|
315
326
|
credits = "credits",
|
|
316
327
|
crypto = "crypto",
|
|
317
328
|
wire = "wire",
|
|
@@ -398,6 +409,8 @@ export interface CoinflowCommonPurchaseProps extends CoinflowTypes {
|
|
|
398
409
|
* The payment methods displayed on the UI. If omitted, all available payment methods will be displayed.
|
|
399
410
|
*/
|
|
400
411
|
allowedPaymentMethods?: PaymentMethods[];
|
|
412
|
+
/** Apple Pay sheet filter only (not enforced); `prepaid` shows as debit and `cardSettings.debitOnly` wins. */
|
|
413
|
+
allowedCardFunding?: CardFunding[];
|
|
401
414
|
customerInfo?: CustomerInfo;
|
|
402
415
|
settlementType?: SettlementType;
|
|
403
416
|
authOnly?: boolean;
|
|
@@ -759,7 +772,7 @@ export interface CoinflowBankLinkProps extends Pick<CoinflowTypes, 'merchantId'
|
|
|
759
772
|
*/
|
|
760
773
|
onAccountLinkError?: OnAccountLinkErrorMethod | undefined;
|
|
761
774
|
}
|
|
762
|
-
export interface CoinflowIFrameProps extends Omit<CoinflowTypes, 'merchantId' | 'handleHeightChange'>, Pick<CoinflowCommonPurchaseProps, 'chargebackProtectionData' | 'chargebackProtectionAccountType' | 'webhookInfo' | 'subtotal' | 'useNativeSubtotal' | 'presentment' | 'customerInfo' | 'settlementType' | 'email' | 'planCode' | 'deviceId' | 'jwtToken' | 'origins' | 'threeDsChallengePreference' | 'allowedPaymentMethods' | 'accountFundingTransaction' | 'partialUsdcChecked' | 'isZeroAuthorization' | 'zeroAuthorizationConfig' | 'depositAmounts'>, Pick<CoinflowCommonWithdrawProps, 'bankAccountLinkRedirect' | 'additionalWallets' | 'transactionSigner' | 'amount' | 'lockAmount' | 'lockDefaultToken' | 'origins' | 'allowedWithdrawSpeeds'>, Pick<CoinflowEvmPurchaseProps, 'authOnly'>, Pick<CoinflowSolanaPurchaseProps, 'rent' | 'nativeSolToConvert' | 'destinationAuthKey'>, WithGeo {
|
|
775
|
+
export interface CoinflowIFrameProps extends Omit<CoinflowTypes, 'merchantId' | 'handleHeightChange'>, Pick<CoinflowCommonPurchaseProps, 'chargebackProtectionData' | 'chargebackProtectionAccountType' | 'webhookInfo' | 'subtotal' | 'useNativeSubtotal' | 'presentment' | 'customerInfo' | 'settlementType' | 'email' | 'planCode' | 'deviceId' | 'jwtToken' | 'origins' | 'threeDsChallengePreference' | 'allowedPaymentMethods' | 'allowedCardFunding' | 'accountFundingTransaction' | 'partialUsdcChecked' | 'isZeroAuthorization' | 'zeroAuthorizationConfig' | 'depositAmounts'>, Pick<CoinflowCommonWithdrawProps, 'bankAccountLinkRedirect' | 'additionalWallets' | 'transactionSigner' | 'amount' | 'lockAmount' | 'lockDefaultToken' | 'origins' | 'allowedWithdrawSpeeds'>, Pick<CoinflowEvmPurchaseProps, 'authOnly'>, Pick<CoinflowSolanaPurchaseProps, 'rent' | 'nativeSolToConvert' | 'destinationAuthKey'>, WithGeo {
|
|
763
776
|
walletPubkey: string | null | undefined;
|
|
764
777
|
sessionKey?: string;
|
|
765
778
|
route: string;
|
|
@@ -12,7 +12,7 @@ export declare class CoinflowUtils {
|
|
|
12
12
|
env?: CoinflowEnvs;
|
|
13
13
|
}): boolean;
|
|
14
14
|
static getCoinflowApiUrl(env?: CoinflowEnvs): string;
|
|
15
|
-
static getCoinflowUrl({ walletPubkey, sessionKey, route, routePrefix, env, subtotal, useNativeSubtotal, presentment, transaction, blockchain, webhookInfo, email, loaderBackground, handleHeightChangeId, bankAccountLinkRedirect, additionalWallets, chargebackProtectionData, chargebackProtectionAccountType, merchantCss, color, rent, lockDefaultToken, tokens, planCode, disableApplePay, disableGooglePay, customerInfo, settlementType, amount, lockAmount, nativeSolToConvert, theme, usePermit, transactionSigner, authOnly, deviceId, jwtToken, origins, threeDsChallengePreference, supportEmail, destinationAuthKey, allowedPaymentMethods, accountFundingTransaction, partialUsdcChecked, allowedWithdrawSpeeds, isZeroAuthorization, zeroAuthorizationConfig, userLocation, appReturnUrl, depositAmounts, ownerOverride, bridgeId, bankLinkOnly, baseUrl, }: CoinflowIFrameProps & {
|
|
15
|
+
static getCoinflowUrl({ walletPubkey, sessionKey, route, routePrefix, env, subtotal, useNativeSubtotal, presentment, transaction, blockchain, webhookInfo, email, loaderBackground, handleHeightChangeId, bankAccountLinkRedirect, additionalWallets, chargebackProtectionData, chargebackProtectionAccountType, merchantCss, color, rent, lockDefaultToken, tokens, planCode, disableApplePay, disableGooglePay, customerInfo, settlementType, amount, lockAmount, nativeSolToConvert, theme, usePermit, transactionSigner, authOnly, deviceId, jwtToken, origins, threeDsChallengePreference, supportEmail, destinationAuthKey, allowedPaymentMethods, allowedCardFunding, accountFundingTransaction, partialUsdcChecked, allowedWithdrawSpeeds, isZeroAuthorization, zeroAuthorizationConfig, userLocation, appReturnUrl, depositAmounts, ownerOverride, bridgeId, bankLinkOnly, baseUrl, }: CoinflowIFrameProps & {
|
|
16
16
|
baseUrl?: string;
|
|
17
17
|
} & WithGeo): string;
|
|
18
18
|
static getCoinflowIntentsUrl({ baseUrl, route, color, theme, env, origins, deviceId, merchantCss, loaderBackground, handleHeightChangeId, }: CoinflowIntentsIFrameProps & {
|
|
@@ -12,6 +12,8 @@ export declare const CARD_FIELD_ERROR_MESSAGES: {
|
|
|
12
12
|
readonly expiration: "Expiration is invalid. Please double check information.";
|
|
13
13
|
readonly cvv: "CVV is invalid. Please double check information.";
|
|
14
14
|
readonly cvvEmpty: "Please enter your CVV to proceed.";
|
|
15
|
+
readonly invalidCardToken: "Card token is invalid. Please add a new card";
|
|
16
|
+
readonly cardEntryUnavailable: "Card entry is unavailable. Please re-enter your card details.";
|
|
15
17
|
};
|
|
16
18
|
export declare function getCardFieldValidationError({ cardError, expirationError, cvvError, cvvEmpty, isCvvOnly, }: {
|
|
17
19
|
cardError: boolean;
|
|
@@ -2,12 +2,11 @@ export * from './CoinflowTypes';
|
|
|
2
2
|
export * from './CoinflowUtils';
|
|
3
3
|
export * from './CoinflowLibMessageHandlers';
|
|
4
4
|
export * from './EventBus';
|
|
5
|
-
export * from './card-form/TokenEx';
|
|
6
|
-
export * from './card-form/tokenexHelpers';
|
|
7
5
|
export * from './card-form/cardEntryLayout';
|
|
8
6
|
export * from './card-form/cardFormSkeleton';
|
|
9
7
|
export * from './card-form/cardFieldValidationError';
|
|
10
8
|
export * from './types/Subtotal';
|
|
9
|
+
export * from './types/L2L3Data';
|
|
11
10
|
export * from './types/AnyObject';
|
|
12
11
|
export * from './types/giftCardCartItem';
|
|
13
12
|
export * from './types/nftCartItem';
|
|
@@ -17,6 +16,7 @@ export * from './types/flightTicketCartItem';
|
|
|
17
16
|
export * from './types/flightUpgradeCartItem';
|
|
18
17
|
export * from './types/lodgingCartItem';
|
|
19
18
|
export * from './CoinflowPurchaseProtectionHeaders';
|
|
19
|
+
export * from './CoinflowFraudProtectionHeader';
|
|
20
20
|
export * from './CoinflowProtectionInit';
|
|
21
21
|
export { default as getForterToken, captureForterToken, awaitForterToken, } from './Forter';
|
|
22
22
|
export * from './plaidLinkTokenCache';
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Cents } from './Subtotal';
|
|
2
|
+
export type L2L3Tax = {
|
|
3
|
+
taxExempt: false;
|
|
4
|
+
salesTax: Cents;
|
|
5
|
+
} | {
|
|
6
|
+
taxExempt: true;
|
|
7
|
+
};
|
|
8
|
+
export type L2L3Level2 = L2L3Tax & {
|
|
9
|
+
/**
|
|
10
|
+
* @minLength 1
|
|
11
|
+
* @maxLength 15
|
|
12
|
+
* @pattern ^[a-zA-Z0-9\x20@!£*#$)(+_=.,/;:'"-]+$
|
|
13
|
+
*/
|
|
14
|
+
invoiceReference?: string;
|
|
15
|
+
};
|
|
16
|
+
export interface L2L3Item {
|
|
17
|
+
/**
|
|
18
|
+
* @minLength 1
|
|
19
|
+
* @maxLength 26
|
|
20
|
+
* @pattern ^[a-zA-Z0-9\x20@!£*#$)(+_=.,/;:'"-]+$
|
|
21
|
+
*/
|
|
22
|
+
name: string;
|
|
23
|
+
/**
|
|
24
|
+
* @minLength 1
|
|
25
|
+
* @maxLength 12
|
|
26
|
+
* @pattern ^[a-zA-Z0-9\x20@!£*#$)(+_=.,/;:'"-]+$
|
|
27
|
+
*/
|
|
28
|
+
productCode: string;
|
|
29
|
+
/**
|
|
30
|
+
* @isInt
|
|
31
|
+
* @minimum 1
|
|
32
|
+
*/
|
|
33
|
+
quantity: number;
|
|
34
|
+
unitCost: Cents;
|
|
35
|
+
/**
|
|
36
|
+
* @minLength 1
|
|
37
|
+
* @maxLength 8
|
|
38
|
+
* @pattern ^[a-zA-Z0-9\x20@!£*#$)(+_=.,/;:'"-]+$
|
|
39
|
+
*/
|
|
40
|
+
unitOfMeasure: string;
|
|
41
|
+
/**
|
|
42
|
+
* NIGP commodity code
|
|
43
|
+
* @minLength 1
|
|
44
|
+
* @maxLength 12
|
|
45
|
+
* @pattern ^[a-zA-Z0-9\x20@!£*#$)(+_=.,/;:'"-]+$
|
|
46
|
+
*/
|
|
47
|
+
commodityCode: string;
|
|
48
|
+
totalTaxAmount: Cents;
|
|
49
|
+
totalDiscountAmount: Cents;
|
|
50
|
+
totalAmountNoTax: Cents;
|
|
51
|
+
totalAmount: Cents;
|
|
52
|
+
}
|
|
53
|
+
export interface L2L3Level3 {
|
|
54
|
+
discountAmount: Cents;
|
|
55
|
+
shippingAmount: Cents;
|
|
56
|
+
dutyAmount: Cents;
|
|
57
|
+
shipping: {
|
|
58
|
+
/**
|
|
59
|
+
* @minLength 1
|
|
60
|
+
* @maxLength 10
|
|
61
|
+
* @pattern ^[a-zA-Z0-9\x20]+$
|
|
62
|
+
*/
|
|
63
|
+
postalCode: string;
|
|
64
|
+
/**
|
|
65
|
+
* @pattern ^[A-Z]{2}$
|
|
66
|
+
*/
|
|
67
|
+
countryCode: string;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* @minItems 1
|
|
71
|
+
* @maxItems 99
|
|
72
|
+
*/
|
|
73
|
+
items: L2L3Item[];
|
|
74
|
+
}
|
|
75
|
+
export type L2L3Data = {
|
|
76
|
+
level: 'level2';
|
|
77
|
+
level2: L2L3Level2;
|
|
78
|
+
} | {
|
|
79
|
+
level: 'level3';
|
|
80
|
+
level2: L2L3Level2;
|
|
81
|
+
level3: L2L3Level3;
|
|
82
|
+
};
|
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CoinflowCardNumberInputProps, CoinflowCardTokenResponse, MerchantIdOrCheckoutJwt } from '../../lib/common';
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
declare function getToken(): Promise<CoinflowCardTokenResponse>;
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
-
args: {
|
|
6
|
-
type: PropType<CoinflowCardNumberInputProps & MerchantIdOrCheckoutJwt>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
}>, {
|
|
10
|
-
getToken: typeof getToken;
|
|
11
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
-
args: {
|
|
13
|
-
type: PropType<CoinflowCardNumberInputProps & MerchantIdOrCheckoutJwt>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
17
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CoinflowCardNumberInputProps, CoinflowCardTokenResponse, MerchantIdOrCheckoutJwt } from '../../lib/common';
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
declare function getToken(): Promise<CoinflowCardTokenResponse>;
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
-
args: {
|
|
6
|
-
type: PropType<CoinflowCardNumberInputProps & MerchantIdOrCheckoutJwt>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
}>, {
|
|
10
|
-
getToken: typeof getToken;
|
|
11
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
-
args: {
|
|
13
|
-
type: PropType<CoinflowCardNumberInputProps & MerchantIdOrCheckoutJwt>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
17
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { CoinflowCardTokenResponse, CoinflowCvvOnlyInputProps, MerchantIdOrCheckoutJwt } from '../../lib/common';
|
|
3
|
-
declare function getToken(): Promise<CoinflowCardTokenResponse>;
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
-
args: {
|
|
6
|
-
type: PropType<CoinflowCvvOnlyInputProps & MerchantIdOrCheckoutJwt>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
}>, {
|
|
10
|
-
getToken: typeof getToken;
|
|
11
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
|
-
args: {
|
|
13
|
-
type: PropType<CoinflowCvvOnlyInputProps & MerchantIdOrCheckoutJwt>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
17
|
-
export default _default;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { doInitializeCvvOnlyTokenExIframe, doInitializeTokenExCardOnlyIframe, doInitializeTokenExIframe, setTokenExScriptTag, TokenExIframe, CoinflowEnvs, MerchantIdOrCheckoutJwt } from '../../lib/common';
|
|
2
|
-
declare const useCardFormIframe: (props: {
|
|
3
|
-
env: CoinflowEnvs;
|
|
4
|
-
} & MerchantIdOrCheckoutJwt) => {
|
|
5
|
-
tokenExIframe: import('vue').Ref<{
|
|
6
|
-
tokenize: () => Promise<import('../..').TokenizationResponse>;
|
|
7
|
-
load: () => void;
|
|
8
|
-
on: (event: string, callback: (data?: any) => void) => void;
|
|
9
|
-
validate: () => void;
|
|
10
|
-
reset: () => void;
|
|
11
|
-
blur: () => void;
|
|
12
|
-
cvvBlur: () => void;
|
|
13
|
-
focus: () => void;
|
|
14
|
-
cvvFocus: () => void;
|
|
15
|
-
remove: () => void;
|
|
16
|
-
toggleMask: () => void;
|
|
17
|
-
toggleCvvMask: () => void;
|
|
18
|
-
setPAN: (pan: string) => void;
|
|
19
|
-
binLookup: () => void;
|
|
20
|
-
validateConfig: () => void;
|
|
21
|
-
setFraudServicesRequestDetails: (data: string) => void;
|
|
22
|
-
} | undefined, TokenExIframe | {
|
|
23
|
-
tokenize: () => Promise<import('../..').TokenizationResponse>;
|
|
24
|
-
load: () => void;
|
|
25
|
-
on: (event: string, callback: (data?: any) => void) => void;
|
|
26
|
-
validate: () => void;
|
|
27
|
-
reset: () => void;
|
|
28
|
-
blur: () => void;
|
|
29
|
-
cvvBlur: () => void;
|
|
30
|
-
focus: () => void;
|
|
31
|
-
cvvFocus: () => void;
|
|
32
|
-
remove: () => void;
|
|
33
|
-
toggleMask: () => void;
|
|
34
|
-
toggleCvvMask: () => void;
|
|
35
|
-
setPAN: (pan: string) => void;
|
|
36
|
-
binLookup: () => void;
|
|
37
|
-
validateConfig: () => void;
|
|
38
|
-
setFraudServicesRequestDetails: (data: string) => void;
|
|
39
|
-
} | undefined>;
|
|
40
|
-
initializeTokenExIframe: (args: Omit<Parameters<typeof doInitializeTokenExIframe>[0], "env" | "tokenExScriptLoaded" | "setCachedToken" | "setLoaded">) => Promise<TokenExIframe | undefined>;
|
|
41
|
-
initializeCvvOnlyTokenExIframe: (args: Omit<Parameters<typeof doInitializeCvvOnlyTokenExIframe>[0], "env" | "tokenExScriptLoaded" | "setCachedToken" | "setLoaded">) => Promise<TokenExIframe | undefined>;
|
|
42
|
-
initializeTokenExCardOnlyIframe: (args: Omit<Parameters<typeof doInitializeTokenExCardOnlyIframe>[0], "env" | "tokenExScriptLoaded" | "setCachedToken" | "setLoaded">) => Promise<TokenExIframe | undefined>;
|
|
43
|
-
loaded: import('vue').Ref<boolean, boolean>;
|
|
44
|
-
cachedToken: import('vue').Ref<string | undefined, string | undefined>;
|
|
45
|
-
setTokenExScriptTag: typeof setTokenExScriptTag;
|
|
46
|
-
tokenExScriptLoaded: import('vue').Ref<boolean, boolean>;
|
|
47
|
-
};
|
|
48
|
-
export default useCardFormIframe;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { CardType, CoinflowEnvs } from '../CoinflowTypes';
|
|
2
|
-
import { Properties as CSSProperties } from 'csstype';
|
|
3
|
-
export declare const TokenExCardNumberIframeId = "tokenExCardNumber";
|
|
4
|
-
export declare const TokenExCvvContainerID = "tokenExCardCvv";
|
|
5
|
-
export interface TokenExIframe extends ReturnType<typeof TokenEx.Iframe> {
|
|
6
|
-
tokenize: () => Promise<TokenizationResponse>;
|
|
7
|
-
}
|
|
8
|
-
export declare const CARD_TYPE_MAPPING: Record<CardType, string>;
|
|
9
|
-
export interface TokenExIFrameConfiguration {
|
|
10
|
-
origin: string;
|
|
11
|
-
timestamp: string;
|
|
12
|
-
tokenExID: string;
|
|
13
|
-
tokenScheme: string;
|
|
14
|
-
authenticationKey: string;
|
|
15
|
-
pci: true;
|
|
16
|
-
token?: string;
|
|
17
|
-
use3DS?: boolean;
|
|
18
|
-
threeDSMethodNotificationUrl?: string;
|
|
19
|
-
}
|
|
20
|
-
export interface CardFormInputStyles {
|
|
21
|
-
base: CSSProperties | string;
|
|
22
|
-
placeholder?: CSSProperties | string;
|
|
23
|
-
focus?: CSSProperties | string;
|
|
24
|
-
error?: CSSProperties | string;
|
|
25
|
-
}
|
|
26
|
-
export type CoinflowCardTokenResponse = {
|
|
27
|
-
token: string;
|
|
28
|
-
};
|
|
29
|
-
export interface CoinflowCardNumberInputProps {
|
|
30
|
-
env: CoinflowEnvs;
|
|
31
|
-
css: CardFormInputStyles & {
|
|
32
|
-
cvv: CardFormInputStyles;
|
|
33
|
-
};
|
|
34
|
-
debug?: boolean;
|
|
35
|
-
origins: string[];
|
|
36
|
-
font?: string;
|
|
37
|
-
}
|
|
38
|
-
export interface CoinflowCvvOnlyInputProps {
|
|
39
|
-
token: string;
|
|
40
|
-
cardType: CardType;
|
|
41
|
-
env: CoinflowEnvs;
|
|
42
|
-
css: CardFormInputStyles & {
|
|
43
|
-
cvv: CardFormInputStyles;
|
|
44
|
-
};
|
|
45
|
-
debug?: boolean;
|
|
46
|
-
origins: string[];
|
|
47
|
-
font?: string;
|
|
48
|
-
}
|
|
49
|
-
export interface VersionDetail {
|
|
50
|
-
threeDSMethodURL: string;
|
|
51
|
-
acsStartProtocolVersion: string;
|
|
52
|
-
acsEndProtocolVersion: string;
|
|
53
|
-
threeDSServerStartVersion: string;
|
|
54
|
-
threeDSServerEndVersion?: string;
|
|
55
|
-
acsInfoInd: [string];
|
|
56
|
-
directoryServerID: string;
|
|
57
|
-
dsStartProtocolVersion: string;
|
|
58
|
-
dsEndProtocolVersion: string;
|
|
59
|
-
dsIdentifier: string;
|
|
60
|
-
threeDSServerTransID: string;
|
|
61
|
-
}
|
|
62
|
-
export interface TokenizationResponse {
|
|
63
|
-
cardType: string;
|
|
64
|
-
cvvIncluded: true;
|
|
65
|
-
firstSix: string;
|
|
66
|
-
lastFour: string;
|
|
67
|
-
referenceNumber: string;
|
|
68
|
-
token: string;
|
|
69
|
-
tokenHMAC: string;
|
|
70
|
-
recommended3dsVersion?: Record<string, string>;
|
|
71
|
-
threeDSecureResponse?: VersionDetail[];
|
|
72
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { TokenExIframe, TokenExIFrameConfiguration } from './TokenEx';
|
|
2
|
-
import { CardType, CoinflowEnvs } from '../CoinflowTypes';
|
|
3
|
-
export type MerchantIdOrCheckoutJwt = {
|
|
4
|
-
checkoutJwt: string;
|
|
5
|
-
} | {
|
|
6
|
-
merchantId: string;
|
|
7
|
-
};
|
|
8
|
-
export interface CommonDoInitializeTokenExIframeArgs {
|
|
9
|
-
css: string;
|
|
10
|
-
debug?: boolean;
|
|
11
|
-
font?: string;
|
|
12
|
-
origins: string[];
|
|
13
|
-
tokenExScriptLoaded: boolean;
|
|
14
|
-
env: CoinflowEnvs;
|
|
15
|
-
setCachedToken: (s: string | undefined) => void;
|
|
16
|
-
setLoaded: (b: boolean) => void;
|
|
17
|
-
}
|
|
18
|
-
export type DoInitializeTokenExIframeArgs = CommonDoInitializeTokenExIframeArgs & MerchantIdOrCheckoutJwt;
|
|
19
|
-
export type DoInitializeCvvOnlyTokenExIframeArgs = DoInitializeTokenExIframeArgs & {
|
|
20
|
-
token: string;
|
|
21
|
-
cardType: CardType;
|
|
22
|
-
};
|
|
23
|
-
export type GetIFrameConfigArgs = {
|
|
24
|
-
token?: string;
|
|
25
|
-
origins: string[];
|
|
26
|
-
env: CoinflowEnvs;
|
|
27
|
-
} & MerchantIdOrCheckoutJwt;
|
|
28
|
-
export declare function getIframeConfig(args: GetIFrameConfigArgs): Promise<TokenExIFrameConfiguration>;
|
|
29
|
-
export declare function setTokenExScriptTag({ env, setTokenExScriptLoaded, }: {
|
|
30
|
-
env: CoinflowEnvs;
|
|
31
|
-
setTokenExScriptLoaded: (b: boolean) => void;
|
|
32
|
-
}): void;
|
|
33
|
-
export declare function doInitializeCvvOnlyTokenExIframe(args: DoInitializeCvvOnlyTokenExIframeArgs): Promise<TokenExIframe | undefined>;
|
|
34
|
-
export declare function doInitializeTokenExIframe(args: DoInitializeTokenExIframeArgs): Promise<TokenExIframe | undefined>;
|
|
35
|
-
export declare function doInitializeTokenExCardOnlyIframe(args: DoInitializeTokenExIframeArgs): Promise<TokenExIframe | undefined>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
-
cardNumberInput: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
-
args: {
|
|
4
|
-
type: import('vue').PropType<import('..').CoinflowCardNumberInputProps & import('..').MerchantIdOrCheckoutJwt>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
}>> & Readonly<{}>, {
|
|
8
|
-
getToken: () => Promise<import('..').CoinflowCardTokenResponse>;
|
|
9
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
10
|
-
P: {};
|
|
11
|
-
B: {};
|
|
12
|
-
D: {};
|
|
13
|
-
C: {};
|
|
14
|
-
M: {};
|
|
15
|
-
Defaults: {};
|
|
16
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
-
args: {
|
|
18
|
-
type: import('vue').PropType<import('..').CoinflowCardNumberInputProps & import('..').MerchantIdOrCheckoutJwt>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
}>> & Readonly<{}>, {
|
|
22
|
-
getToken: () => Promise<import('..').CoinflowCardTokenResponse>;
|
|
23
|
-
}, {}, {}, {}, {}> | null;
|
|
24
|
-
}, HTMLDivElement>;
|
|
25
|
-
export default _default;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
-
cvvOnlyInput: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
3
|
-
args: {
|
|
4
|
-
type: import('vue').PropType<import('..').CoinflowCvvOnlyInputProps & import('..').MerchantIdOrCheckoutJwt>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
}>> & Readonly<{}>, {
|
|
8
|
-
getToken: () => Promise<import('..').CoinflowCardTokenResponse>;
|
|
9
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
10
|
-
P: {};
|
|
11
|
-
B: {};
|
|
12
|
-
D: {};
|
|
13
|
-
C: {};
|
|
14
|
-
M: {};
|
|
15
|
-
Defaults: {};
|
|
16
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
-
args: {
|
|
18
|
-
type: import('vue').PropType<import('..').CoinflowCvvOnlyInputProps & import('..').MerchantIdOrCheckoutJwt>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
}>> & Readonly<{}>, {
|
|
22
|
-
getToken: () => Promise<import('..').CoinflowCardTokenResponse>;
|
|
23
|
-
}, {}, {}, {}, {}> | null;
|
|
24
|
-
}, HTMLDivElement>;
|
|
25
|
-
export default _default;
|