@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/README.md +113 -110
- package/dist/adapters.js +1 -1
- package/dist/advanced.js +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/hls.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/logging.d.ts +12 -0
- package/dist/session-token.d.ts +1 -1
- package/dist/version.d.ts +3 -1
- package/package.json +15 -11
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 =
|
|
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
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";
|