@coinflowlabs/angular 1.15.1 → 1.15.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinflowlabs/angular",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^19.2.17",
|
|
6
6
|
"@angular/core": "^19.2.17",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"tweetnacl": "^1.0.3"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
+
"@nsure-ai/web-client-sdk": "^1.1.100",
|
|
14
15
|
"tslib": "^2.8.1"
|
|
15
16
|
},
|
|
16
17
|
"peerDependenciesMeta": {
|
|
@@ -283,7 +283,12 @@ interface TokenSubtotal {
|
|
|
283
283
|
*/
|
|
284
284
|
address: string;
|
|
285
285
|
/**
|
|
286
|
-
* Number of tokens
|
|
286
|
+
* Number of tokens, from 0 to 1,000,000,000,000 inclusive.
|
|
287
|
+
* String values must be a plain decimal with at most 12 integer digits and
|
|
288
|
+
* 18 fractional digits.
|
|
289
|
+
* @minimum 0 amount must be non-negative
|
|
290
|
+
* @maximum 1000000000000 amount must be at most 1000000000000
|
|
291
|
+
* @pattern ^\d{1,12}(\.\d{1,18})?$ amount must be a non-negative decimal
|
|
287
292
|
*/
|
|
288
293
|
amount: number | string;
|
|
289
294
|
/**
|
|
@@ -1693,6 +1698,9 @@ interface CoinflowSolanaPurchaseProps extends CoinflowCommonPurchaseProps {
|
|
|
1693
1698
|
nativeSolToConvert?: {
|
|
1694
1699
|
lamports: string | number;
|
|
1695
1700
|
};
|
|
1701
|
+
/**
|
|
1702
|
+
* @deprecated No longer has any effect. Credits payments are always captured once the credits are delivered.
|
|
1703
|
+
*/
|
|
1696
1704
|
redemptionCheck?: boolean;
|
|
1697
1705
|
}
|
|
1698
1706
|
interface CoinflowSessionKeyPurchaseProps extends CoinflowCommonPurchaseProps {
|
|
@@ -1966,7 +1974,7 @@ interface CoinflowBankLinkProps extends Pick<CoinflowTypes, 'merchantId' | 'env'
|
|
|
1966
1974
|
*/
|
|
1967
1975
|
onAccountLinkError?: OnAccountLinkErrorMethod | undefined;
|
|
1968
1976
|
}
|
|
1969
|
-
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'
|
|
1977
|
+
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 {
|
|
1970
1978
|
walletPubkey: string | null | undefined;
|
|
1971
1979
|
sessionKey?: string;
|
|
1972
1980
|
route: string;
|
|
@@ -2080,7 +2088,7 @@ declare class CoinflowUtils {
|
|
|
2080
2088
|
env?: CoinflowEnvs;
|
|
2081
2089
|
}): boolean;
|
|
2082
2090
|
static getCoinflowApiUrl(env?: CoinflowEnvs): string;
|
|
2083
|
-
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,
|
|
2091
|
+
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 & {
|
|
2084
2092
|
baseUrl?: string;
|
|
2085
2093
|
} & WithGeo): string;
|
|
2086
2094
|
static getCoinflowIntentsUrl({ baseUrl, route, color, theme, env, origins, deviceId, merchantCss, loaderBackground, handleHeightChangeId, }: CoinflowIntentsIFrameProps & {
|