UNPKG

@solana/pay

Version:

`@solana/pay` is a JavaScript library for facilitating commerce on Solana by using a token transfer URL scheme. The URL scheme ensures that no matter the wallet or service used, the payment request must be created and interpreted in one standard way.

7 lines • 345 B
import type { Reference, References } from '../types.js'; /** * Normalize a single reference or array of references into a consistent array form. * Returns undefined when the input is undefined. */ export declare function normalizeReferences(reference: References | undefined): Reference[] | undefined; //# sourceMappingURL=reference.d.ts.map