@myned-ai/avatar-chat-widget 0.1.0 → 0.2.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.
@@ -3969,11 +3969,11 @@ const AvatarChat = {
3969
3969
  const src = scripts[i].src;
3970
3970
  if (src.includes("jsdelivr.net") && src.includes("avatar-chat-widget")) {
3971
3971
  const baseUrl = src.substring(0, src.lastIndexOf("/"));
3972
- return `${baseUrl}/public/asset/nyx.zip`;
3972
+ return `${baseUrl}/avatar-chat-widget/public/asset/nyx.zip`;
3973
3973
  }
3974
3974
  if (src.includes("unpkg.com") && src.includes("avatar-chat-widget")) {
3975
3975
  const baseUrl = src.substring(0, src.lastIndexOf("/"));
3976
- return `${baseUrl}/public/asset/nyx.zip`;
3976
+ return `${baseUrl}/avatar-chat-widget/public/asset/nyx.zip`;
3977
3977
  }
3978
3978
  }
3979
3979
  return "/asset/nyx.zip";