@shushed/helpers 0.0.207 → 0.0.209

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.
@@ -721,7 +721,9 @@ class CentraHelper extends env_1.default {
721
721
  }
722
722
  else {
723
723
  for (const warehouse of warehouses) {
724
- warehouseToSet[warehouse.externalId] = warehouse;
724
+ if (warehouse.externalId) {
725
+ warehouseToSet[warehouse.externalId] = warehouse;
726
+ }
725
727
  }
726
728
  await this.set(Object.entries(warehouseToSet).filter(([_, value]) => !(value instanceof Error)).map(([key, value]) => ({ name: this.getCacheKeyForCentraWarehouse(key), value: JSON.stringify(value) })), 'env', {
727
729
  ephemeralMs: CACHE_EXPIRATION_MS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shushed/helpers",
3
- "version": "0.0.207",
3
+ "version": "0.0.209",
4
4
  "author": "",
5
5
  "license": "UNLICENSED",
6
6
  "description": "",