UNPKG

@unchainedshop/plugins

Version:

Because of a Typescript issue with upstream "postfinancecheckout", the Postfinance plugin has been disabled from transpilation, import the source ts files from src and enable node_module tsc or copy over the src/payment/postfinance-checkout to your projec

25 lines 1.03 kB
import { CryptopayTransaction } from '../db/CryptopayTransactions.js'; export interface CryptopayModule { getWalletAddress: (addressId: string) => Promise<CryptopayTransaction>; getWalletAddressesByOrderPaymentId: (orderPaymentId: string) => Promise<CryptopayTransaction[]>; updateMostRecentBlock: (currency: string, blockHeight: number) => Promise<void>; updateWalletAddress: (walletData: { addressId: string; blockHeight: number; amount: string; contract: string; currency: string; decimals: number; }) => Promise<CryptopayTransaction>; mapOrderPaymentToWalletAddress: (walletData: { addressId: string; contract: string; currency: string; orderPaymentId: string; }) => Promise<CryptopayTransaction>; getNextDerivationNumber: (currency: string) => Promise<number>; } export declare const configureCryptopayModule: ({ db }: { db: any; }) => CryptopayModule; //# sourceMappingURL=configureCryptopayModule.d.ts.map