File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ declare const Ultraviolet : typeof import ( './uv' ) . Ultraviolet ;
2+
3+ declare var __uv$config : import ( './uv' ) . UVConfig ;
Original file line number Diff line number Diff line change 1010 },
1111 "files" : [
1212 " dist" ,
13- " lib"
13+ " lib" ,
14+ " uv.d.ts" ,
15+ " client.d.ts"
1416 ],
1517 "type" : " module" ,
1618 "scripts" : {
Original file line number Diff line number Diff line change @@ -26,19 +26,6 @@ export type UVDecode = (input: Coded) => string;
2626 * This interface defines the configuration options for the Ultraviolet library.
2727 */
2828export interface UVConfig {
29- /**
30- * The Bare server(s) to use.
31- * If an array is specified, the service worker will randomly select a server to use.
32- * The selected server will be used for the duration of the session.
33- * Both relative and absolute paths are accepted. Relative paths are resolved to the current URL.
34- * @example // A Bare server running on the subdomain `bare.`, automatically correcting the apex record:
35- * `${location.protocol}//bare.${location.host.replace(/^www\./, "")}
36- * @example `http://localhost:8080/`
37- * @example `http://localhost:8080/bare/`
38- * @defaultValue `/bare/`
39- * @see {@link|https://github.com/tomphttp/specifications/blob/master/BareServer.md }
40- */
41- bare ?: string | string [ ] ;
4229 /**
4330 * The prefix for Ultraviolet to listen on.
4431 * This prefix will be used to create the URL for the service worker and the client script.
@@ -101,6 +88,4 @@ export interface UVConfig {
10188 * @defaultValue `Ultraviolet.codec.xor.decode`
10289 */
10390 decodeUrl ?: UVDecode ;
104- proxyIp ?: string ;
105- proxyPort ?: number ;
106- }
91+ }
You can’t perform that action at this time.
0 commit comments