@animaapp/anima-sdk 0.7.0 → 0.7.1

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.ts CHANGED
@@ -147,6 +147,9 @@ export declare type CodegenSettings = BaseSettings & {
147
147
  enableDisplayDataName?: boolean;
148
148
  url?: string;
149
149
  prompt?: string;
150
+ images?: Array<{
151
+ url: string;
152
+ }>;
150
153
  };
151
154
 
152
155
  /**
@@ -377,6 +380,10 @@ export declare type GetCodeFromWebsiteParams = {
377
380
  settings: GetCodeFromWebsiteSettings;
378
381
  tracking?: TrackingInfos;
379
382
  webhookUrl?: string;
383
+ prompt?: string;
384
+ images?: Array<{
385
+ url: string;
386
+ }>;
380
387
  experimental_useNewReactEngine?: boolean;
381
388
  };
382
389
 
@@ -424,6 +431,10 @@ export declare type GetCodeParams = {
424
431
  settings: CodegenSettings;
425
432
  tracking?: TrackingInfos;
426
433
  webhookUrl?: string;
434
+ prompt?: string;
435
+ images?: Array<{
436
+ url: string;
437
+ }>;
427
438
  };
428
439
 
429
440
  export declare const getFigmaApiErrorType: (error: Error) => FigmaApiErrorType;
package/dist/index.js CHANGED
@@ -3602,7 +3602,9 @@ class ln {
3602
3602
  enableDisplayDataId: a.enableDisplayDataId,
3603
3603
  enableDisplayDataName: a.enableDisplayDataName,
3604
3604
  codegenSettings: a.codegenSettings,
3605
- webhookUrl: e.webhookUrl
3605
+ webhookUrl: e.webhookUrl,
3606
+ prompt: e.prompt,
3607
+ images: e.images
3606
3608
  };
3607
3609
  return pe(this, Q, Ce).call(this, "/v1/codegen", o, t, "codegen", r);
3608
3610
  });
@@ -3630,6 +3632,8 @@ class ln {
3630
3632
  const c = {
3631
3633
  tracking: a,
3632
3634
  assetsStorage: e.assetsStorage,
3635
+ prompt: e.prompt,
3636
+ images: e.images,
3633
3637
  params: {
3634
3638
  input: i,
3635
3639
  conventions: {