@signalhousellc/sdk 1.0.23 → 1.0.25

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalhousellc/sdk",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "description": "Signal House SDK for use with the Signal House platform",
5
5
  "type": "module",
6
6
  "main": "src/SignalHouseSDK.js",
@@ -125,7 +125,11 @@ export class SignalHouseSDK {
125
125
  const params = new URLSearchParams();
126
126
  Object.entries(obj).forEach(([key, value]) => {
127
127
  if (value !== undefined && key !== "options") {
128
- params.append(key, value);
128
+ if (Array.isArray(value)) {
129
+ value.forEach((v) => params.append(key, v));
130
+ } else {
131
+ params.append(key, value);
132
+ }
129
133
  }
130
134
  });
131
135
  return params.toString() ? `?${params.toString()}` : "";