@animaapp/anima-sdk 0.23.7 → 0.24.0

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.js CHANGED
@@ -4537,6 +4537,7 @@ class Gf {
4537
4537
  }
4538
4538
  generateCodeFromWebsite(o) {
4539
4539
  return k(this, arguments, function* (t, n = {}, r) {
4540
+ var u;
4540
4541
  let i = t.tracking;
4541
4542
  v(this, x) && "userId" in v(this, x) && v(this, x).userId && (i != null && i.externalId || (i = { externalId: v(this, x).userId }));
4542
4543
  let a;
@@ -4567,7 +4568,7 @@ class Gf {
4567
4568
  prompt: t.prompt,
4568
4569
  images: t.images,
4569
4570
  dsId: t.dsId,
4570
- params: {
4571
+ params: p({
4571
4572
  input: a,
4572
4573
  conventions: {
4573
4574
  framework: t.settings.framework,
@@ -4579,7 +4580,7 @@ class Gf {
4579
4580
  },
4580
4581
  engine: s,
4581
4582
  htmlOptimizations: t.htmlOptimizations
4582
- }
4583
+ }, (u = t.settings.codegenSettings) != null ? u : {})
4583
4584
  };
4584
4585
  return j(this, ae, Ie).call(this, "POST", "/v1/l2c", c, n, "l2c", r);
4585
4586
  });