@animaapp/anima-sdk 0.6.25 → 0.6.26

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +11 -9
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -327,7 +327,9 @@ export declare type GetCodeFromPromptHandler = ((message: SSEGetCodeFromPromptMe
327
327
 
328
328
  export declare type GetCodeFromPromptParams = {
329
329
  prompt: string;
330
- images?: string[];
330
+ images?: Array<{
331
+ url: string;
332
+ }>;
331
333
  assetsStorage?: AssetsStorage;
332
334
  settings: GetCodeFromPromptSettings;
333
335
  tracking?: TrackingInfos;
@@ -517,7 +519,7 @@ export declare type L2CParams = {
517
519
  input: L2CParamsInput;
518
520
  conventions: L2CParamsConvention;
519
521
  assetsStorage: L2CParamsAssetsStorage;
520
- viewports?: Array<'desktop' | 'tablet' | 'mobile'>;
522
+ viewports?: Array<"desktop" | "tablet" | "mobile">;
521
523
  };
522
524
 
523
525
  /**
@@ -529,9 +531,9 @@ export declare type L2CParamsAssetsStorage = L2CParamsBundledAssetsStorage;
529
531
  * @deprecated This type is deprecated and will be removed soon.
530
532
  */
531
533
  export declare type L2CParamsBundledAssetsStorage = {
532
- type: 'bundled';
534
+ type: "bundled";
533
535
  referencePath?: string;
534
- importMode?: 'watermarked' | 'original';
536
+ importMode?: "watermarked" | "original";
535
537
  };
536
538
 
537
539
  /**
@@ -542,13 +544,13 @@ export declare type L2CParamsConvention = L2CParamsHtmlConvention | L2CParamsRea
542
544
  /**
543
545
  * @deprecated This type is deprecated and will be removed soon.
544
546
  */
545
- export declare type L2CParamsFramework = 'html' | 'react';
547
+ export declare type L2CParamsFramework = "html" | "react";
546
548
 
547
549
  /**
548
550
  * @deprecated This type is deprecated and will be removed soon.
549
551
  */
550
552
  export declare type L2CParamsHtmlConvention = {
551
- framework: 'html';
553
+ framework: "html";
552
554
  styling: L2CParamsStyling;
553
555
  };
554
556
 
@@ -560,13 +562,13 @@ export declare type L2CParamsInput = L2CParamsUrlInput;
560
562
  /**
561
563
  * @deprecated This type is deprecated and will be removed soon.
562
564
  */
563
- export declare type L2CParamsLanguage = 'typescript';
565
+ export declare type L2CParamsLanguage = "typescript";
564
566
 
565
567
  /**
566
568
  * @deprecated This type is deprecated and will be removed soon.
567
569
  */
568
570
  export declare type L2CParamsReactConvention = {
569
- framework: 'react';
571
+ framework: "react";
570
572
  language: L2CParamsLanguage;
571
573
  styling: L2CParamsStyling;
572
574
  enableGeneratePackageLock?: boolean;
@@ -575,7 +577,7 @@ export declare type L2CParamsReactConvention = {
575
577
  /**
576
578
  * @deprecated This type is deprecated and will be removed soon.
577
579
  */
578
- export declare type L2CParamsStyling = 'tailwind' | 'inline-styles';
580
+ export declare type L2CParamsStyling = "tailwind" | "inline-styles";
579
581
 
580
582
  /**
581
583
  * @deprecated This type is deprecated and will be removed soon.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@animaapp/anima-sdk",
3
- "version": "0.6.25",
3
+ "version": "0.6.26",
4
4
  "type": "module",
5
5
  "description": "Anima's JavaScript utilities library",
6
6
  "author": "Anima App, Inc.",