sveltekit-ui 1.0.43 → 1.0.44

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.
@@ -1,7 +1,5 @@
1
1
  import {
2
2
  create_unique_id,
3
- set_closurable,
4
- set_closurable_color,
5
3
  clean_custom_identifier,
6
4
  mime_type_extensions,
7
5
  deep_copy,
@@ -797,6 +795,7 @@ export function create_image_editor_manager(config) {
797
795
  const res = await config.ai_image_generator(input)
798
796
  if (res?.is_success) {
799
797
  try {
798
+ init_file()
800
799
  const data_url = res?.data?.data_url
801
800
  image_sources = [data_url, ...image_sources]
802
801
  image_source_index = 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sveltekit-ui",
3
- "version": "1.0.43",
3
+ "version": "1.0.44",
4
4
  "description": "A SvelteKit UI component library for building modern web applications",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,7 +1,5 @@
1
1
  import {
2
2
  create_unique_id,
3
- set_closurable,
4
- set_closurable_color,
5
3
  clean_custom_identifier,
6
4
  mime_type_extensions,
7
5
  deep_copy,
@@ -797,6 +795,7 @@ export function create_image_editor_manager(config) {
797
795
  const res = await config.ai_image_generator(input)
798
796
  if (res?.is_success) {
799
797
  try {
798
+ init_file()
800
799
  const data_url = res?.data?.data_url
801
800
  image_sources = [data_url, ...image_sources]
802
801
  image_source_index = 0