@hamedb89/localghost 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -175,4 +175,4 @@ declare function assertSecureGhostTunnelRequest(input: {
175
175
  authenticated?: boolean;
176
176
  }): GhostTunnelRoute;
177
177
 
178
- export { findLocalMdnsHosts as A, getConfigFileCandidates as B, type ConfigPattern as C, type DevHostEntry as D, getDevHostsPath as E, getGhostTunnelDefaultDisplayUrl as F, type GhostTunnelOptions as G, getGhostTunnelDisplayUrl as H, getGhostTunnelDisplayUrls as I, getGhostTunnelEntryHost as J, getGhostTunnelPreviewUrl as K, LOCALGHOST_CONFIG_FILE as L, getGhostTunnelWildcardHost as M, getProjectName as N, parseDevHosts as O, parseGhostTunnelHost as P, readDevHosts as Q, type ReadDevHostsOptions as R, resolveDevHostsPath as S, resolveGhostTunnelConfig as T, sanitizeProjectName as U, type ResolvedDevHostsPath as a, type ConstructGhostTunnelUrlInput as b, type GhostTunnelTransportOptions as c, type GhostTunnelTransportConfig as d, type GhostTunnelRoute as e, type GhostTunnelConfig as f, type GhostTunnelAdapterOptions as g, type GhostTunnelAdapterProvider as h, type GhostTunnelAdapterStrategy as i, type GhostTunnelAdapterTransport as j, type GhostTunnelDisplayDefaults as k, type GhostTunnelDomainOptions as l, type GhostTunnelMode as m, type GhostTunnelNamespaceConfig as n, type GhostTunnelNamespaceOptions as o, type GhostTunnelNamespaceTag as p, type GhostTunnelNamespaceValues as q, type GhostTunnelPreviewOptions as r, type GhostTunnelTransportKind as s, type GhostTunnelTunnelStoreEnv as t, type GhostTunnelTunnelStoreOptions as u, type GhostTunnelTunnelStoreProvider as v, assertSecureGhostTunnelRequest as w, constructGhostTunnelHost as x, constructGhostTunnelURL as y, constructGhostTunnelUrl as z };
178
+ export { findLocalMdnsHosts as A, getConfigFileCandidates as B, type ConfigPattern as C, type DevHostEntry as D, getDevHostsPath as E, getGhostTunnelDefaultDisplayUrl as F, type GhostTunnelOptions as G, getGhostTunnelDisplayUrl as H, getGhostTunnelDisplayUrls as I, getGhostTunnelEntryHost as J, getGhostTunnelPreviewUrl as K, LOCALGHOST_CONFIG_FILE as L, getGhostTunnelWildcardHost as M, getProjectName as N, parseDevHosts as O, parseGhostTunnelHost as P, readDevHosts as Q, type ReadDevHostsOptions as R, resolveDevHostsPath as S, resolveGhostTunnelConfig as T, sanitizeProjectName as U, type ConstructGhostTunnelUrlInput as a, type GhostTunnelTransportOptions as b, type GhostTunnelTransportConfig as c, type GhostTunnelConfig as d, type GhostTunnelRoute as e, type GhostTunnelAdapterOptions as f, type GhostTunnelAdapterProvider as g, type GhostTunnelAdapterStrategy as h, type GhostTunnelAdapterTransport as i, type GhostTunnelDisplayDefaults as j, type GhostTunnelDomainOptions as k, type GhostTunnelMode as l, type GhostTunnelNamespaceConfig as m, type GhostTunnelNamespaceOptions as n, type GhostTunnelNamespaceTag as o, type GhostTunnelNamespaceValues as p, type GhostTunnelPreviewOptions as q, type GhostTunnelTransportKind as r, type GhostTunnelTunnelStoreEnv as s, type GhostTunnelTunnelStoreOptions as t, type GhostTunnelTunnelStoreProvider as u, type ResolvedDevHostsPath as v, assertSecureGhostTunnelRequest as w, constructGhostTunnelHost as x, constructGhostTunnelURL as y, constructGhostTunnelUrl as z };
package/dist/vite.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Plugin } from 'vite';
2
- import { C as ConfigPattern, G as GhostTunnelOptions } from './tunnel-BA52DD9e.js';
2
+ import { C as ConfigPattern, G as GhostTunnelOptions } from './tunnel-DHYPpsX2.js';
3
3
 
4
4
  type LocalGhostPluginOptions = {
5
5
  cwd?: string;
package/dist/vite.js CHANGED
@@ -498,7 +498,7 @@ function createLocalghostRegistry(options = {}) {
498
498
  };
499
499
  }
500
500
 
501
- // src/tunnel.ts
501
+ // packages/ghost-tunnel/src/tunnel.ts
502
502
  import { domainToASCII } from "url";
503
503
  var DEFAULT_GHOST_TUNNEL_SUBDOMAIN = "ghost";
504
504
  var DEFAULT_GHOST_TUNNEL_NAMESPACE_TAGS = ["route", "project", "owner"];