@djvlc/runtime-host-react 1.1.3 → 1.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/index.d.cts CHANGED
@@ -127,7 +127,7 @@ declare function useRuntimeContext(): RuntimeContextValue;
127
127
  */
128
128
  interface DJVRendererProps {
129
129
  /** 页面 UID */
130
- pageUid: string;
130
+ pageId: string;
131
131
  /** API 基础 URL */
132
132
  apiBaseUrl: string;
133
133
  /** CDN 基础 URL */
@@ -176,7 +176,7 @@ interface DJVRendererProps {
176
176
  /**
177
177
  * DJV 渲染器组件
178
178
  */
179
- declare function DJVRenderer({ pageUid, apiBaseUrl, cdnBaseUrl, channel, userId, deviceId, authToken, previewToken, debug, enableSRI, onLoad, onError, onReady, onPhaseChange, loadingComponent, errorComponent, emptyComponent, children, className, style, retryCount, retryDelay, timeout, }: DJVRendererProps): JSX.Element;
179
+ declare function DJVRenderer({ pageId, apiBaseUrl, cdnBaseUrl, channel, userId, deviceId, authToken, previewToken, debug, enableSRI, onLoad, onError, onReady, onPhaseChange, loadingComponent, errorComponent, emptyComponent, children, className, style, retryCount, retryDelay, timeout, }: DJVRendererProps): JSX.Element;
180
180
 
181
181
  /**
182
182
  * DJV Provider 组件
@@ -310,7 +310,7 @@ declare function useRuntimeEvent<T = unknown>(eventType: string, handler: (data:
310
310
  */
311
311
  declare function usePageInfo(): {
312
312
  /** 页面 UID */
313
- pageUid: string | undefined;
313
+ pageId: string | undefined;
314
314
  /** 页面版本 ID */
315
315
  pageVersionId: string | undefined;
316
316
  /** Schema 版本 */
package/dist/index.d.ts CHANGED
@@ -127,7 +127,7 @@ declare function useRuntimeContext(): RuntimeContextValue;
127
127
  */
128
128
  interface DJVRendererProps {
129
129
  /** 页面 UID */
130
- pageUid: string;
130
+ pageId: string;
131
131
  /** API 基础 URL */
132
132
  apiBaseUrl: string;
133
133
  /** CDN 基础 URL */
@@ -176,7 +176,7 @@ interface DJVRendererProps {
176
176
  /**
177
177
  * DJV 渲染器组件
178
178
  */
179
- declare function DJVRenderer({ pageUid, apiBaseUrl, cdnBaseUrl, channel, userId, deviceId, authToken, previewToken, debug, enableSRI, onLoad, onError, onReady, onPhaseChange, loadingComponent, errorComponent, emptyComponent, children, className, style, retryCount, retryDelay, timeout, }: DJVRendererProps): JSX.Element;
179
+ declare function DJVRenderer({ pageId, apiBaseUrl, cdnBaseUrl, channel, userId, deviceId, authToken, previewToken, debug, enableSRI, onLoad, onError, onReady, onPhaseChange, loadingComponent, errorComponent, emptyComponent, children, className, style, retryCount, retryDelay, timeout, }: DJVRendererProps): JSX.Element;
180
180
 
181
181
  /**
182
182
  * DJV Provider 组件
@@ -310,7 +310,7 @@ declare function useRuntimeEvent<T = unknown>(eventType: string, handler: (data:
310
310
  */
311
311
  declare function usePageInfo(): {
312
312
  /** 页面 UID */
313
- pageUid: string | undefined;
313
+ pageId: string | undefined;
314
314
  /** 页面版本 ID */
315
315
  pageVersionId: string | undefined;
316
316
  /** Schema 版本 */