@lumiastream/ui 0.5.3 → 0.5.4

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.
@@ -563,7 +563,10 @@ interface ElementImportResult {
563
563
  coverage: ImportCoverage;
564
564
  reviewItems: ReviewItem[];
565
565
  }
566
- declare function importElementOverlay(response: SEElementResponse): ElementImportResult;
566
+ interface ImportElementOverlayOptions {
567
+ sourceUrl?: string;
568
+ }
569
+ declare function importElementOverlay(response: SEElementResponse, options?: ImportElementOverlayOptions): ElementImportResult;
567
570
 
568
571
  type ElementAlertKind = 'subscriber' | 'subscriberGift' | 'communityGiftPurchase' | 'follower' | 'tip' | 'cheer' | 'raid' | 'merch' | 'charity';
569
572
  type ElementSceneKind = 'background' | 'foreground' | 'static';
@@ -607,7 +610,10 @@ declare function fetchSEBootstrap({ overlayId, apikey, proxyFetch, }: {
607
610
  proxyFetch?: ProxyFetchFn;
608
611
  }): Promise<SEBootstrapResponse>;
609
612
  declare function isSEBootstrap(value: unknown): value is SEBootstrapResponse;
610
- declare function importSEBootstrap(bootstrap: SEBootstrapResponse): ImportResult;
613
+ interface ImportSEBootstrapOptions {
614
+ sourceUrl?: string;
615
+ }
616
+ declare function importSEBootstrap(bootstrap: SEBootstrapResponse, options?: ImportSEBootstrapOptions): ImportResult;
611
617
  interface AIGeneratedCustomOverlay {
612
618
  codeId?: string;
613
619
  html?: string;
@@ -636,4 +642,4 @@ declare function buildAIPromptForSEWidget(widget: SEWidget, canvas?: {
636
642
  height: number;
637
643
  }): string;
638
644
 
639
- export { type AIGeneratedCustomOverlay, type AssetMirrorProgress, type ElementAlertKind, type ElementImportResult, type ElementSceneKind, type ElementStateClass, FLAG_OFF_REASONS, type FetchOrProxyResult, type FetchWithProxyOptions, type ImportCoverage, type ImportResult, JWT_DASHBOARD_URL, type JwtInstructionStep, MarketplacePicker, type MarketplacePickerProps, type ModuleType, type OverlayLayerBounds, type OverlayLayerState, type OverlayLayerType, type OverlayModuleAlertState, type OverlayModuleState, type OverlaySettings, type OverlayState, type ProxyFetchFn, type ReviewItem, type SEAccountClaims, type SEAuthDiagnostic, SEAuthError, type SEAuthErrorCode, type SEAuthMode, type SEAuthProbeResult, type SEBootstrapResponse, type SEChannelSummary, SEClient, type SECustomEmbedProps, type SEElementAnimation, type SEElementCompositeField, type SEElementConfigData, type SEElementConfigState, type SEElementConfigVersion, type SEElementMediaItem, type SEElementResponse, type SEElementShareParts, type SEElementStyle, type SEElementTextItem, type SEElementTrigger, type SEElementWidgetInstance, type SEExistingAsset, type SEImportBindings, SEImportWizard, type SEImportWizardProps, type SEOverlaySummary, type SESaveOverlayBody, type SEUploadAssetResult, type SEUsersCurrentResponse, type SEWidget, SE_WIDGET_TO_MARKETPLACE_CANDIDATES, type TransplantedUnit, applyReviewAction, buildAIPromptForSEWidget, buildBootstrapUrl, classifyConfigState, decodeJwtPayload, diagnoseSEAuth, extractSEOverlayId, extractSEPreviewParts, extractTriggerVars, fetchElementWidgetInstanceForClient, fetchElementWidgetInstancePublic, fetchSEBootstrap, fetchSEFiltersRaw, fetchSEOverlays, fetchUsableChannels, fetchWithProxyFallback, filenameFromURL, findSEAssetURLs, getAILandingBounds, getJwtInstructionSteps, getMarketplaceCandidates, hasMarketplaceCandidates, importElementOverlay, importSEBootstrap, isSEBootstrap, isSEElementResponse, isWidgetFlaggedOff, listTransplantableLayers, looksLikeCorsError, mirrorOneAsset, parseElementConfigData, parseElementShareUrl, readElementProvider, rewriteAssetURLs, streamElementsCopyJwt, substituteElementTokens, substituteSeTokens, transplantLayer };
645
+ export { type AIGeneratedCustomOverlay, type AssetMirrorProgress, type ElementAlertKind, type ElementImportResult, type ElementSceneKind, type ElementStateClass, FLAG_OFF_REASONS, type FetchOrProxyResult, type FetchWithProxyOptions, type ImportCoverage, type ImportResult, type ImportSEBootstrapOptions, JWT_DASHBOARD_URL, type JwtInstructionStep, MarketplacePicker, type MarketplacePickerProps, type ModuleType, type OverlayLayerBounds, type OverlayLayerState, type OverlayLayerType, type OverlayModuleAlertState, type OverlayModuleState, type OverlaySettings, type OverlayState, type ProxyFetchFn, type ReviewItem, type SEAccountClaims, type SEAuthDiagnostic, SEAuthError, type SEAuthErrorCode, type SEAuthMode, type SEAuthProbeResult, type SEBootstrapResponse, type SEChannelSummary, SEClient, type SECustomEmbedProps, type SEElementAnimation, type SEElementCompositeField, type SEElementConfigData, type SEElementConfigState, type SEElementConfigVersion, type SEElementMediaItem, type SEElementResponse, type SEElementShareParts, type SEElementStyle, type SEElementTextItem, type SEElementTrigger, type SEElementWidgetInstance, type SEExistingAsset, type SEImportBindings, SEImportWizard, type SEImportWizardProps, type SEOverlaySummary, type SESaveOverlayBody, type SEUploadAssetResult, type SEUsersCurrentResponse, type SEWidget, SE_WIDGET_TO_MARKETPLACE_CANDIDATES, type TransplantedUnit, applyReviewAction, buildAIPromptForSEWidget, buildBootstrapUrl, classifyConfigState, decodeJwtPayload, diagnoseSEAuth, extractSEOverlayId, extractSEPreviewParts, extractTriggerVars, fetchElementWidgetInstanceForClient, fetchElementWidgetInstancePublic, fetchSEBootstrap, fetchSEFiltersRaw, fetchSEOverlays, fetchUsableChannels, fetchWithProxyFallback, filenameFromURL, findSEAssetURLs, getAILandingBounds, getJwtInstructionSteps, getMarketplaceCandidates, hasMarketplaceCandidates, importElementOverlay, importSEBootstrap, isSEBootstrap, isSEElementResponse, isWidgetFlaggedOff, listTransplantableLayers, looksLikeCorsError, mirrorOneAsset, parseElementConfigData, parseElementShareUrl, readElementProvider, rewriteAssetURLs, streamElementsCopyJwt, substituteElementTokens, substituteSeTokens, transplantLayer };