Type Alias PublishStaticOptions
type PublishStaticOptions = {
fallbackPolicy?: Record<string, string>;
policy?: Record<string, string>;
url?: URL;
verifyCore?: boolean | typeof fetch;
}
fallbackPolicy?: Record<string, string>;
policy?: Record<string, string>;
url?: URL;
verifyCore?: boolean | typeof fetch;
}
Properties
Optionalfallback Policy
fallbackPolicy?: Record<string, string>
the stub's site policy when the call, the option and a learned page give none
Optionalpolicy
policy?: Record<string, string>
the stub's site policy for this call, ahead of the policy option and a learned page; {} names no headers
Optionalurl
url?: URL
builds the pack at the store cursor first, as publish(url) does; ignored without bundles
Optionalverify Core
verifyCore?: boolean | typeof fetch
With cdn.worker, reads the core's URL before anything is written and throws unless its bytes
are this build's core. true uses the global fetch; pass a function to supply the read. Off
by default, so a publish makes no request of its own.
what
publishStatictakes beside the sink