emvco-qr-sdk
Version:
A robust TypeScript SDK for decoding, validating, and processing EMVCo-compliant QR codes used in digital payment systems.
15 lines (14 loc) • 491 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultStrategy = void 0;
/**
* Default strategy used when no specific interpretation is required.
*
* This strategy simply returns the raw TLV object without transformation.
* Used for fallback behavior in GLOBAL or DEFAULT regions.
*
* @param tlv - The original TLV entity.
* @returns The unmodified TLV entity.
*/
const defaultStrategy = (tlv) => tlv;
exports.defaultStrategy = defaultStrategy;