@meshstream/p2p-web 0.2.0 → 0.2.1

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.
package/dist/url.d.ts CHANGED
@@ -14,6 +14,7 @@ export interface TrackerSchedulingHints {
14
14
  liveWindowBucket?: string;
15
15
  }
16
16
  export declare function browserProxyUrl(url: string | undefined, kind: "tracker" | "report"): string | undefined;
17
+ export declare function isPrivateOrLocalHostname(hostname: string): boolean;
17
18
  export declare function browserProxyReportUrl(url: string | undefined): string | undefined;
18
19
  export declare function deriveReportUrl(trackerUrl?: string): string | undefined;
19
20
  export declare function withTrackerIdentity(url: string | undefined, config: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshstream/p2p-web",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",