@realsee/live 0.5.0-alpha.10 → 0.5.0-alpha.11
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/live/createLiveReact.d.ts +1 -1
- package/dist/realsee-live.cjs.development.js +1 -1
- package/dist/realsee-live.cjs.development.js.map +1 -1
- package/dist/realsee-live.cjs.production.js +1 -1
- package/dist/realsee-live.cjs.production.js.map +1 -1
- package/dist/realsee-live.esm.js +1 -1
- package/dist/realsee-live.esm.js.map +1 -1
- package/dist/realsee-live.umd.development.js +476 -395
- package/dist/realsee-live.umd.development.js.map +1 -1
- package/dist/realsee-live.umd.production.js +1 -1
- package/dist/realsee-live.umd.production.js.map +1 -1
- package/docs/modules.html +4 -4
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ export declare function createLiveReact<KeyframesSnapshot>(options: LiveOptions)
|
|
|
15
15
|
LiveProvider: (props: LiveProviderPropTypes<KeyframesSnapshot>) => JSX.Element;
|
|
16
16
|
unsafe__useLiveInstance: () => Live<KeyframesSnapshot>;
|
|
17
17
|
unsafe__useRTCInstance: () => import("../typings").RTCProtocol;
|
|
18
|
-
useConnect: (options: LiveConnectOptions) => Promise<boolean | Error>;
|
|
18
|
+
useConnect: () => (options: LiveConnectOptions) => Promise<boolean | Error>;
|
|
19
19
|
useKeyframe: <K extends keyof KeyframesSnapshot>(key: K) => [frame: KeyframesSnapshot[K] | undefined, setFrame: (frame: KeyframesSnapshot[K]) => boolean | Error];
|
|
20
20
|
useKeyframeUpdateCallback: <KeyOfKeyframe extends keyof KeyframeTypes<KeyframesSnapshot>>(key: KeyOfKeyframe, callback: (...args: Parameters<KeyframeTypes<KeyframesSnapshot>[KeyOfKeyframe]>) => ReturnType<KeyframeTypes<KeyframesSnapshot>[KeyOfKeyframe]>, deps?: React.DependencyList) => () => void;
|
|
21
21
|
useLiveAction: () => {
|
|
@@ -2279,7 +2279,7 @@ function createLiveReact(options) {
|
|
|
2279
2279
|
/**
|
|
2280
2280
|
* 带看连接操作
|
|
2281
2281
|
*/
|
|
2282
|
-
const useConnect = (options) => __awaiter(this, void 0, void 0, function* () { return yield useLiveInstance().connect(options); });
|
|
2282
|
+
const useConnect = () => (options) => __awaiter(this, void 0, void 0, function* () { return yield useLiveInstance().connect(options); });
|
|
2283
2283
|
/**
|
|
2284
2284
|
*
|
|
2285
2285
|
* @param name
|