@social-mail/social-mail-client 1.2.119 → 1.2.120

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.
@@ -12988,8 +12988,12 @@ System.register(["tslib", "../models/Cloner", "../models/IEntityModel", "./HttpS
12988
12988
  body = body.copy;
12989
12989
  }
12990
12990
  if (cloner) {
12991
- const c = cloner(new Cloner(body));
12992
- body = c.copy;
12991
+ if (Array.isArray(body)) {
12992
+ body = body.map(x => cloner(new Cloner(body)).copy);
12993
+ } else {
12994
+ const c = cloner(new Cloner(body));
12995
+ body = c.copy;
12996
+ }
12993
12997
  }
12994
12998
  const result = yield this.postJson({
12995
12999
  url,