@whiplashmerch/whiplash-api-client 3.2.15 → 3.2.16

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.
@@ -41982,6 +41982,8 @@ const loadRelatedObjects = async (client, input, config, perPage = 25) => {
41982
41982
  const isArray = Array.isArray(input);
41983
41983
  // normalize input to always be processed as array
41984
41984
  const proxy = isArray ? input : [input];
41985
+ if (isArray && input.length === 0)
41986
+ return input;
41985
41987
  const promises = [];
41986
41988
  // for concurrency safety
41987
41989
  const promiseMap = {};