@coinflowlabs/vue 1.16.0 → 1.17.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.
@@ -49,6 +49,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
49
49
  threeDsChallengePreference?: import('..').ThreeDsChallengePreference;
50
50
  destinationAuthKey?: string;
51
51
  accountFundingTransaction?: import('..').AccountFundingTransaction;
52
+ depositAmounts?: number[];
52
53
  merchantId: string;
53
54
  env?: import('..').CoinflowEnvs;
54
55
  loaderBackground?: string;
@@ -86,6 +87,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
86
87
  threeDsChallengePreference?: import('..').ThreeDsChallengePreference;
87
88
  destinationAuthKey?: string;
88
89
  accountFundingTransaction?: import('..').AccountFundingTransaction;
90
+ depositAmounts?: number[];
89
91
  merchantId: string;
90
92
  env?: import('..').CoinflowEnvs;
91
93
  loaderBackground?: string;
@@ -123,6 +125,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
123
125
  threeDsChallengePreference?: import('..').ThreeDsChallengePreference;
124
126
  destinationAuthKey?: string;
125
127
  accountFundingTransaction?: import('..').AccountFundingTransaction;
128
+ depositAmounts?: number[];
126
129
  merchantId: string;
127
130
  env?: import('..').CoinflowEnvs;
128
131
  loaderBackground?: string;
@@ -160,6 +163,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
160
163
  threeDsChallengePreference?: import('..').ThreeDsChallengePreference;
161
164
  destinationAuthKey?: string;
162
165
  accountFundingTransaction?: import('..').AccountFundingTransaction;
166
+ depositAmounts?: number[];
163
167
  merchantId: string;
164
168
  env?: import('..').CoinflowEnvs;
165
169
  loaderBackground?: string;
@@ -197,6 +201,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
197
201
  threeDsChallengePreference?: import('..').ThreeDsChallengePreference;
198
202
  destinationAuthKey?: string;
199
203
  accountFundingTransaction?: import('..').AccountFundingTransaction;
204
+ depositAmounts?: number[];
200
205
  merchantId: string;
201
206
  env?: import('..').CoinflowEnvs;
202
207
  loaderBackground?: string;
@@ -234,6 +239,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
234
239
  threeDsChallengePreference?: import('..').ThreeDsChallengePreference;
235
240
  destinationAuthKey?: string;
236
241
  accountFundingTransaction?: import('..').AccountFundingTransaction;
242
+ depositAmounts?: number[];
237
243
  merchantId: string;
238
244
  env?: import('..').CoinflowEnvs;
239
245
  loaderBackground?: string;
@@ -271,6 +277,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
271
277
  threeDsChallengePreference?: import('..').ThreeDsChallengePreference;
272
278
  destinationAuthKey?: string;
273
279
  accountFundingTransaction?: import('..').AccountFundingTransaction;
280
+ depositAmounts?: number[];
274
281
  merchantId: string;
275
282
  env?: import('..').CoinflowEnvs;
276
283
  loaderBackground?: string;
@@ -308,6 +315,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
308
315
  threeDsChallengePreference?: import('..').ThreeDsChallengePreference;
309
316
  destinationAuthKey?: string;
310
317
  accountFundingTransaction?: import('..').AccountFundingTransaction;
318
+ depositAmounts?: number[];
311
319
  merchantId: string;
312
320
  env?: import('..').CoinflowEnvs;
313
321
  loaderBackground?: string;
@@ -345,6 +353,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
345
353
  threeDsChallengePreference?: import('..').ThreeDsChallengePreference;
346
354
  destinationAuthKey?: string;
347
355
  accountFundingTransaction?: import('..').AccountFundingTransaction;
356
+ depositAmounts?: number[];
348
357
  merchantId: string;
349
358
  env?: import('..').CoinflowEnvs;
350
359
  loaderBackground?: string;
@@ -285,8 +285,6 @@ export interface CoinflowCommonPaymentIntentProps extends Omit<CoinflowTypes, 'b
285
285
  /**
286
286
  * The DeviceID gotten from the Coinflow SDK:
287
287
  * https://docs.coinflow.cash/guides/checkout/fraud-protection/chargeback-protection/implement-chargeback-protection#how-to-add-chargeback-protection
288
- *
289
- * nSureSDK.getDeviceId()
290
288
  */
291
289
  deviceId?: string;
292
290
  /**
@@ -347,8 +345,6 @@ export interface CoinflowCommonPurchaseProps extends CoinflowTypes {
347
345
  /**
348
346
  * The DeviceID gotten from the Coinflow SDK:
349
347
  * https://docs.coinflow.cash/guides/checkout/fraud-protection/chargeback-protection/implement-chargeback-protection#how-to-add-chargeback-protection
350
- *
351
- * nSureSDK.getDeviceId()
352
348
  */
353
349
  deviceId?: string;
354
350
  jwtToken?: string;
@@ -368,6 +364,11 @@ export interface CoinflowCommonPurchaseProps extends CoinflowTypes {
368
364
  threeDsChallengePreference?: ThreeDsChallengePreference;
369
365
  destinationAuthKey?: string;
370
366
  accountFundingTransaction?: AccountFundingTransaction;
367
+ /**
368
+ * Custom preset deposit amounts (in dollars) to display in the AmountSelector.
369
+ * Only the first 3 values are used. Defaults to [10, 25, 50] if not provided.
370
+ */
371
+ depositAmounts?: number[];
371
372
  }
372
373
  export interface WithGeo {
373
374
  /**
@@ -638,7 +639,7 @@ export interface DecentRedeem extends CommonEvmRedeem {
638
639
  * Gas fees for the transaction will be automatically calculated and added to the total charged to the customer. Optionally the merchant can opt to pay for these gas fees.
639
640
  */
640
641
  export type EvmTransactionData = SafeMintRedeem | ReturnedTokenIdRedeem | KnownTokenIdRedeem | NormalRedeem | TokenRedeem | DecentRedeem;
641
- export interface CoinflowIFrameProps extends Omit<CoinflowTypes, 'merchantId' | 'handleHeightChange'>, Pick<CoinflowCommonPurchaseProps, 'chargebackProtectionData' | 'chargebackProtectionAccountType' | 'webhookInfo' | 'subtotal' | 'presentment' | 'customerInfo' | 'settlementType' | 'email' | 'planCode' | 'deviceId' | 'jwtToken' | 'origins' | 'threeDsChallengePreference' | 'supportEmail' | 'allowedPaymentMethods' | 'accountFundingTransaction' | 'partialUsdcChecked' | 'isZeroAuthorization' | 'zeroAuthorizationConfig'>, Pick<CoinflowCommonWithdrawProps, 'bankAccountLinkRedirect' | 'additionalWallets' | 'transactionSigner' | 'lockAmount' | 'lockDefaultToken' | 'origins' | 'allowedWithdrawSpeeds'>, Pick<CoinflowEvmPurchaseProps, 'authOnly'>, Pick<CoinflowSolanaPurchaseProps, 'rent' | 'nativeSolToConvert' | 'destinationAuthKey' | 'redemptionCheck'>, WithGeo {
642
+ export interface CoinflowIFrameProps extends Omit<CoinflowTypes, 'merchantId' | 'handleHeightChange'>, Pick<CoinflowCommonPurchaseProps, 'chargebackProtectionData' | 'chargebackProtectionAccountType' | 'webhookInfo' | 'subtotal' | 'presentment' | 'customerInfo' | 'settlementType' | 'email' | 'planCode' | 'deviceId' | 'jwtToken' | 'origins' | 'threeDsChallengePreference' | 'supportEmail' | 'allowedPaymentMethods' | 'accountFundingTransaction' | 'partialUsdcChecked' | 'isZeroAuthorization' | 'zeroAuthorizationConfig' | 'depositAmounts'>, Pick<CoinflowCommonWithdrawProps, 'bankAccountLinkRedirect' | 'additionalWallets' | 'transactionSigner' | 'lockAmount' | 'lockDefaultToken' | 'origins' | 'allowedWithdrawSpeeds'>, Pick<CoinflowEvmPurchaseProps, 'authOnly'>, Pick<CoinflowSolanaPurchaseProps, 'rent' | 'nativeSolToConvert' | 'destinationAuthKey' | 'redemptionCheck'>, WithGeo {
642
643
  walletPubkey: string | null | undefined;
643
644
  sessionKey?: string;
644
645
  route: string;
@@ -7,7 +7,7 @@ export declare class CoinflowUtils {
7
7
  static getCoinflowBaseUrl(env?: CoinflowEnvs): string;
8
8
  static getCoinflowAppBaseUrl(env?: CoinflowEnvs): string;
9
9
  static getCoinflowApiUrl(env?: CoinflowEnvs): string;
10
- static getCoinflowUrl({ walletPubkey, sessionKey, route, routePrefix, env, subtotal, presentment, transaction, blockchain, webhookInfo, email, loaderBackground, handleHeightChangeId, bankAccountLinkRedirect, additionalWallets, chargebackProtectionData, chargebackProtectionAccountType, merchantCss, color, rent, lockDefaultToken, tokens, planCode, disableApplePay, disableGooglePay, customerInfo, settlementType, lockAmount, nativeSolToConvert, theme, usePermit, transactionSigner, authOnly, deviceId, jwtToken, origins, threeDsChallengePreference, supportEmail, destinationAuthKey, allowedPaymentMethods, accountFundingTransaction, partialUsdcChecked, redemptionCheck, allowedWithdrawSpeeds, isZeroAuthorization, zeroAuthorizationConfig, userLocation, baseUrl, }: CoinflowIFrameProps & {
10
+ static getCoinflowUrl({ walletPubkey, sessionKey, route, routePrefix, env, subtotal, presentment, transaction, blockchain, webhookInfo, email, loaderBackground, handleHeightChangeId, bankAccountLinkRedirect, additionalWallets, chargebackProtectionData, chargebackProtectionAccountType, merchantCss, color, rent, lockDefaultToken, tokens, planCode, disableApplePay, disableGooglePay, customerInfo, settlementType, lockAmount, nativeSolToConvert, theme, usePermit, transactionSigner, authOnly, deviceId, jwtToken, origins, threeDsChallengePreference, supportEmail, destinationAuthKey, allowedPaymentMethods, accountFundingTransaction, partialUsdcChecked, redemptionCheck, allowedWithdrawSpeeds, isZeroAuthorization, zeroAuthorizationConfig, userLocation, depositAmounts, baseUrl, }: CoinflowIFrameProps & {
11
11
  baseUrl?: string;
12
12
  } & WithGeo): string;
13
13
  static getCoinflowIntentsUrl({ baseUrl, route, color, theme, env, origins, deviceId, merchantCss, loaderBackground, handleHeightChangeId, }: CoinflowIntentsIFrameProps & {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@coinflowlabs/vue",
3
3
  "private": false,
4
- "version": "1.16.0",
4
+ "version": "1.17.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",