Interface ImportMapPackageOptions

interface ImportMapPackageOptions {
    allowInvalid?: boolean;
    maxEmbeddedBytes?: number;
    maxPackageBytes?: number;
    skipFingerprintCheck?: boolean;
}

Properties

allowInvalid?: boolean

Accept a package that fails validateMapPackage. Off by default.

maxEmbeddedBytes?: number

Per-value inline-data budget in bytes. Defaults to DEFAULT_MAX_EMBEDDED_BYTES.

maxPackageBytes?: number

Whole-envelope budget in bytes. Defaults to DEFAULT_MAX_PACKAGE_BYTES.

skipFingerprintCheck?: boolean

Skip the stamped-fingerprint comparison. Only for callers that knowingly rewrote the package after export; the default is to fail closed.