@meshstream/p2p-web 0.2.1 → 1.0.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/config.d.ts CHANGED
@@ -93,7 +93,7 @@ export interface LoadSdkConfigOptions {
93
93
  timeoutMs?: number;
94
94
  }
95
95
  export declare const DEFAULT_BOOTSTRAP_URL = "https://api.meshstream.net/config-api/v1/sdk/bootstrap";
96
- export declare const DEFAULT_BOOTSTRAP_TIMEOUT_MS = 3000;
96
+ export declare const DEFAULT_BOOTSTRAP_TIMEOUT_MS = 8000;
97
97
  export declare function loadSdkConfig(request: SdkConfigRequest, options?: LoadSdkConfigOptions): Promise<SdkConfigResponse | undefined>;
98
98
  export declare function normalizeSdkConfig(config: Partial<SdkConfigResponse>): SdkConfigResponse;
99
99
  export declare function isSdkP2pConfigUsable(config: SdkConfigResponse | undefined): config is SdkConfigResponse;
package/dist/hls.d.ts CHANGED
@@ -74,6 +74,7 @@ export interface LivePeerHttpSchedulingInput {
74
74
  previousP2pFailures: number;
75
75
  }
76
76
  export declare class HlsP2pClient {
77
+ private readonly logger;
77
78
  private engine;
78
79
  private readonly hlsjsInstance;
79
80
  private readonly engineConfig;
package/dist/index.d.ts CHANGED
@@ -3,4 +3,5 @@ export { type P2pStats } from "./report.js";
3
3
  export { type OriginHeaders, type OriginHeadersProvider, type OriginRequestKind, } from "./origin-headers.js";
4
4
  export { MeshStreamDirectFilePlayer } from "./direct-file.js";
5
5
  export { getCapability, type MeshStreamCapability } from "./public-capabilities.js";
6
+ export { getSdkVersion } from "./version.js";
6
7
  export { type MeshStreamPlaybackState, type MeshStreamQoeSnapshot } from "./qoe.js";