@coinflowlabs/vue 1.19.1 → 1.19.2
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.
|
@@ -483,6 +483,9 @@ export interface CoinflowSolanaPurchaseProps extends CoinflowCommonPurchaseProps
|
|
|
483
483
|
nativeSolToConvert?: {
|
|
484
484
|
lamports: string | number;
|
|
485
485
|
};
|
|
486
|
+
/**
|
|
487
|
+
* @deprecated No longer has any effect. Credits payments are always captured once the credits are delivered.
|
|
488
|
+
*/
|
|
486
489
|
redemptionCheck?: boolean;
|
|
487
490
|
}
|
|
488
491
|
export interface CoinflowSessionKeyPurchaseProps extends CoinflowCommonPurchaseProps {
|
|
@@ -756,7 +759,7 @@ export interface CoinflowBankLinkProps extends Pick<CoinflowTypes, 'merchantId'
|
|
|
756
759
|
*/
|
|
757
760
|
onAccountLinkError?: OnAccountLinkErrorMethod | undefined;
|
|
758
761
|
}
|
|
759
|
-
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'
|
|
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 {
|
|
760
763
|
walletPubkey: string | null | undefined;
|
|
761
764
|
sessionKey?: string;
|
|
762
765
|
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,
|
|
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 & {
|
|
16
16
|
baseUrl?: string;
|
|
17
17
|
} & WithGeo): string;
|
|
18
18
|
static getCoinflowIntentsUrl({ baseUrl, route, color, theme, env, origins, deviceId, merchantCss, loaderBackground, handleHeightChangeId, }: CoinflowIntentsIFrameProps & {
|
|
@@ -222,7 +222,12 @@ export interface TokenSubtotal {
|
|
|
222
222
|
*/
|
|
223
223
|
address: string;
|
|
224
224
|
/**
|
|
225
|
-
* Number of tokens
|
|
225
|
+
* Number of tokens, from 0 to 1,000,000,000,000 inclusive.
|
|
226
|
+
* String values must be a plain decimal with at most 12 integer digits and
|
|
227
|
+
* 18 fractional digits.
|
|
228
|
+
* @minimum 0 amount must be non-negative
|
|
229
|
+
* @maximum 1000000000000 amount must be at most 1000000000000
|
|
230
|
+
* @pattern ^\d{1,12}(\.\d{1,18})?$ amount must be a non-negative decimal
|
|
226
231
|
*/
|
|
227
232
|
amount: number | string;
|
|
228
233
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinflowlabs/vue",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.19.
|
|
4
|
+
"version": "1.19.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"vue-tsc": "^3.1.4"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@nsure-ai/web-client-sdk": "^1.1.
|
|
45
|
+
"@nsure-ai/web-client-sdk": "^1.1.100",
|
|
46
46
|
"lz-string": "^1.5.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependenciesMeta": {
|