http-request-manager 18.13.22 → 18.13.23

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.
@@ -6393,11 +6393,11 @@ class DatabaseManagerService extends DbService {
6393
6393
  console.error(`createTableRecords: DB not open. Cannot write to '${tableName}'.`);
6394
6394
  return EMPTY;
6395
6395
  }
6396
- if (!this.tables.some(t => t.name === tableName)) {
6396
+ const tableInstance = this.tables.find(t => t.name === tableName);
6397
+ if (!tableInstance) {
6397
6398
  console.error(`createTableRecords: Table '${tableName}' does not exist in DB version ${this.verno}. Available:`, this.tables.map(t => t.name));
6398
6399
  return EMPTY;
6399
6400
  }
6400
- const tableInstance = this.table(tableName);
6401
6401
  console.log(`createTableRecords: Bulk putting ${insertRecords.length} records into ${tableName}`);
6402
6402
  return from(tableInstance.bulkPut(insertRecords)).pipe(map(() => insertRecords));
6403
6403
  }));