playhtml 2.1.3 → 2.1.5
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/main.d.ts +10 -1
- package/dist/playhtml.es.js +428 -448
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -85,9 +85,18 @@ export declare interface InitOptions<T = any> {
|
|
|
85
85
|
*
|
|
86
86
|
*/
|
|
87
87
|
events?: Record<string, PlayEvent<T>>;
|
|
88
|
+
/**
|
|
89
|
+
* configuration for the default room which is based on the window's url
|
|
90
|
+
*/
|
|
91
|
+
defaultRoomOptions?: {
|
|
92
|
+
/**
|
|
93
|
+
* defaults to false
|
|
94
|
+
*/
|
|
95
|
+
includeSearch?: boolean;
|
|
96
|
+
};
|
|
88
97
|
}
|
|
89
98
|
|
|
90
|
-
declare function initPlayHTML({
|
|
99
|
+
declare function initPlayHTML({ host, extraCapabilities, events, defaultRoomOptions, room: inputRoom, }?: InitOptions): Promise<YPartyKitProvider | undefined>;
|
|
91
100
|
|
|
92
101
|
export declare const playhtml: PlayHTMLComponents;
|
|
93
102
|
|