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

26 lines 690 B
import { Context } from '@unchainedshop/api'; import { CryptopayModule } from './module.js'; export default function handleWebhook({ secret, wallet, price, ping, }: { secret: string; wallet?: { address: string; blockHeight: number; amount: string; contract?: string; decimals?: number; currencyCode: string; }; price?: { baseCurrency: string; token: string; rate: number; timestamp: string; }; ping?: { blockHeight: number; currencyCode: string; }; }, context: Context & { modules: CryptopayModule; }): Promise<void>; //# sourceMappingURL=handle-webhook.d.ts.map