taon-typeorm 21.0.11 → 21.0.13

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.
@@ -15022,9 +15022,6 @@ class SqljsQueryRunner extends AbstractSqliteQueryRunner {
15022
15022
  }
15023
15023
  }
15024
15024
 
15025
- /* */
15026
- /* */
15027
- /* */
15028
15025
  let environment = globalThis['ENV'];
15029
15026
  const SAVE_LOCAL_FORGE_TIMEOUT = 500;
15030
15027
  class SqljsDriver extends AbstractSqliteDriver {
@@ -15040,12 +15037,10 @@ class SqljsDriver extends AbstractSqliteDriver {
15040
15037
  // console.log(`SAVING TO DB DONE `)
15041
15038
  }, SAVE_LOCAL_FORGE_TIMEOUT);
15042
15039
  //#region @browser
15043
- // @ts-ignore
15044
15040
  const localForge = globalThis['localforage'];
15045
- // @ts-ignore
15046
15041
  this.localForgeInstance = localForge?.createInstance({
15047
15042
  driver: localForge.INDEXEDDB,
15048
- storeName: 'taon-typeorm_' + _.kebabCase(environment?.currentProjectGenericName),
15043
+ storeName: 'taon-typeorm_' + _.kebabCase(globalThis['CURRENT_PROJECT_GENERIC_NAME']),
15049
15044
  });
15050
15045
  //#endregion
15051
15046
  // If autoSave is enabled by user, location or autoSaveCallback have to be set