You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@shipengine/js-api

Package Overview
Dependencies
Maintainers
43
Versions
234
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shipengine/js-api - npm Package Compare versions

Comparing version
4.7.0
to
4.8.0
+21
-0
auctane-pay/types.d.ts

@@ -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

+2
-6
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 @@ };

{
"name": "@shipengine/js-api",
"version": "4.7.0",
"version": "4.8.0",
"main": "./index.js",

@@ -5,0 +5,0 @@ "types": "./index.d.ts",