@rslsp1/fa-app-tools 1.3.16 → 1.3.18

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.mts CHANGED
@@ -518,6 +518,6 @@ declare function hfLoadMetadata(token: string): Promise<any[]>;
518
518
  declare function hfUploadImage(base64: string, id: string, token: string, mimeType?: string): Promise<void>;
519
519
  declare function hfLoadImageAsBase64(id: string, token: string): Promise<string | null>;
520
520
 
521
- declare const LIB_VERSION = "1.3.16";
521
+ declare const LIB_VERSION = "1.3.18";
522
522
 
523
523
  export { AvatarArchitectApp, type AvatarArchitectAppProps, CollapsibleCard, CompactDropdown, type ExtractedCharacter, FaApp, type FaAppProps, FaToolsBadge, type FlowSdk, GLOBAL_STYLES, type Generation, type HFMetadataEntry, HistoryPanel, InspectPanel, LIB_VERSION, LabBlend, LabCompare, type LabFrame, LabImagePicker, type LabItem, LabLoop, LabRemix, type LabServices, LabsTab, ListView, type MediaItem, MediaLibrary, PillButton, type ProjectMeta, type ProjectSettings, ProjectSyncTab, PromptTab, SectionLabel, type SelectedLabImage, type SelectedTag, SetupPanel, type SyncDiff, TagManagerPanel, type TagOption, type WorkspaceTags, autoLabel, buildBlendInstruction, buildCompareInstruction, buildFallbackPrompt, buildGenerationPrompt, buildImageGenerationOptions, buildLoopInstruction, buildPromptTabPayload, buildReferenceImageMediaIds, buildRemixInstruction, buildScanInstruction, cleanAiResponse, createFlowServices, exportProjectToZip, formatTreeToMarkdown, frameToGeneration, getFormattedTimestamp, getHFToken, groupGenerationsToLabItems, hfDeleteProject, hfDownloadProject, hfListProjects, hfLoadImageAsBase64, hfLoadMetadata, hfLoadTags, hfSaveMetadata, hfSaveTags, hfUploadImage, hfUploadProjectForm, importProjectFromZip, injectXMPMetadata, interpretSdkError, parsePromptFile, parsePromptResponse, setHFToken, useKeyboardNavigation, useOnClickOutside };
package/dist/index.d.ts CHANGED
@@ -518,6 +518,6 @@ declare function hfLoadMetadata(token: string): Promise<any[]>;
518
518
  declare function hfUploadImage(base64: string, id: string, token: string, mimeType?: string): Promise<void>;
519
519
  declare function hfLoadImageAsBase64(id: string, token: string): Promise<string | null>;
520
520
 
521
- declare const LIB_VERSION = "1.3.16";
521
+ declare const LIB_VERSION = "1.3.18";
522
522
 
523
523
  export { AvatarArchitectApp, type AvatarArchitectAppProps, CollapsibleCard, CompactDropdown, type ExtractedCharacter, FaApp, type FaAppProps, FaToolsBadge, type FlowSdk, GLOBAL_STYLES, type Generation, type HFMetadataEntry, HistoryPanel, InspectPanel, LIB_VERSION, LabBlend, LabCompare, type LabFrame, LabImagePicker, type LabItem, LabLoop, LabRemix, type LabServices, LabsTab, ListView, type MediaItem, MediaLibrary, PillButton, type ProjectMeta, type ProjectSettings, ProjectSyncTab, PromptTab, SectionLabel, type SelectedLabImage, type SelectedTag, SetupPanel, type SyncDiff, TagManagerPanel, type TagOption, type WorkspaceTags, autoLabel, buildBlendInstruction, buildCompareInstruction, buildFallbackPrompt, buildGenerationPrompt, buildImageGenerationOptions, buildLoopInstruction, buildPromptTabPayload, buildReferenceImageMediaIds, buildRemixInstruction, buildScanInstruction, cleanAiResponse, createFlowServices, exportProjectToZip, formatTreeToMarkdown, frameToGeneration, getFormattedTimestamp, getHFToken, groupGenerationsToLabItems, hfDeleteProject, hfDownloadProject, hfListProjects, hfLoadImageAsBase64, hfLoadMetadata, hfLoadTags, hfSaveMetadata, hfSaveTags, hfUploadImage, hfUploadProjectForm, importProjectFromZip, injectXMPMetadata, interpretSdkError, parsePromptFile, parsePromptResponse, setHFToken, useKeyboardNavigation, useOnClickOutside };
package/dist/index.js CHANGED
@@ -4982,7 +4982,7 @@ function FaApp({
4982
4982
  onGeneratePrompt: wrappedPrompt,
4983
4983
  onDownload,
4984
4984
  onSelectMedia,
4985
- initialHfToken: libToken,
4985
+ initialHfToken: libToken ? libToken.startsWith("hf_") ? libToken : `hf_${libToken}` : void 0,
4986
4986
  onFetchServerProjects,
4987
4987
  onServerSave,
4988
4988
  onServerLoad,
@@ -4994,7 +4994,7 @@ function FaApp({
4994
4994
 
4995
4995
  // src/index.ts
4996
4996
  init_hfStateService();
4997
- var LIB_VERSION = "1.3.16";
4997
+ var LIB_VERSION = "1.3.18";
4998
4998
  // Annotate the CommonJS export names for ESM import in node:
4999
4999
  0 && (module.exports = {
5000
5000
  AvatarArchitectApp,
package/dist/index.mjs CHANGED
@@ -4424,7 +4424,7 @@ function FaApp({
4424
4424
  onGeneratePrompt: wrappedPrompt,
4425
4425
  onDownload,
4426
4426
  onSelectMedia,
4427
- initialHfToken: libToken,
4427
+ initialHfToken: libToken ? libToken.startsWith("hf_") ? libToken : `hf_${libToken}` : void 0,
4428
4428
  onFetchServerProjects,
4429
4429
  onServerSave,
4430
4430
  onServerLoad,
@@ -4435,7 +4435,7 @@ function FaApp({
4435
4435
  }
4436
4436
 
4437
4437
  // src/index.ts
4438
- var LIB_VERSION = "1.3.16";
4438
+ var LIB_VERSION = "1.3.18";
4439
4439
  export {
4440
4440
  AvatarArchitectApp,
4441
4441
  CollapsibleCard,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rslsp1/fa-app-tools",
3
- "version": "1.3.16",
3
+ "version": "1.3.18",
4
4
  "description": "Shared tools and hooks for Fine Art flow apps",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",