@shipengine/js-api
Advanced tools
@@ -26,2 +26,9 @@ /** | ||
| * @category Entities | ||
| * Payment Method Details for AuctanePay | ||
| */ | ||
| export type AuctanePayPaymentMethodDetails = { | ||
| fees: PaymentMethodDetailFee[] | null; | ||
| }; | ||
| /** | ||
| * @category Entities | ||
| * Note: This is similar to but distinct from the TransactionCategory in funding-sources | ||
@@ -85,2 +92,4 @@ */ | ||
| expiration: string; | ||
| /** Array of fee details */ | ||
| fees: PaymentMethodDetailFee[]; | ||
| /** The Payment Method ID */ | ||
@@ -122,2 +131,4 @@ id: string; | ||
| metadata: AuctanePaySessionMetadata; | ||
| /** Payment Method Meta Type Details */ | ||
| paymentMethodMetaTypeDetails: Record<keyof AuctanePayPaymentMethod, AuctanePayPaymentMethodDetails> | null; | ||
| /** Recent payment methods */ | ||
@@ -129,2 +140,4 @@ recentPaymentMethods: PaymentMethodHolderAddress[]; | ||
| sessionId: string; | ||
| /** Category of the transaction */ | ||
| transactionCategory: AuctanePayTransactionCategory; | ||
| } | ||
@@ -151,2 +164,10 @@ /** | ||
| } | ||
| export interface PaymentMethodDetailFee { | ||
| /** Fee percentage */ | ||
| percentage: number; | ||
| /** Transaction categories */ | ||
| transactionCategories: AuctanePayTransactionCategory[]; | ||
| /** Fee type */ | ||
| type: string; | ||
| } | ||
| /** | ||
@@ -153,0 +174,0 @@ * @category Entities |
| import { AbbreviatedCreditCardInfo, BankAccountInfo, Provider } from "../payments"; | ||
| import { PageableResult } from "../resources"; | ||
| import { PaymentMethodDetailFee } from "../types"; | ||
| /** | ||
@@ -31,8 +32,3 @@ * @internal | ||
| creditCardInfo: AbbreviatedCreditCardInfo | null; | ||
| fees: [ | ||
| { | ||
| percentage: number; | ||
| type: string; | ||
| } | ||
| ] | null; | ||
| fees: PaymentMethodDetailFee[] | null; | ||
| paymentMethodId?: string; | ||
@@ -39,0 +35,0 @@ }; |
+1
-1
| { | ||
| "name": "@shipengine/js-api", | ||
| "version": "4.7.0", | ||
| "version": "4.8.0", | ||
| "main": "./index.js", | ||
@@ -5,0 +5,0 @@ "types": "./index.d.ts", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1587799
0.04%45064
0.04%