@profplum700/etsy-v3-api-client 2.5.2 → 2.5.3
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/dist/browser.esm.js +1 -5
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +1 -1
- package/dist/browser.umd.js.map +1 -1
- package/dist/index.cjs +1 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +1 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/node.cjs +1 -5
- package/dist/node.cjs.map +1 -1
- package/dist/node.esm.js +1 -5
- package/dist/node.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1437,11 +1437,7 @@ class EtsyClient {
|
|
|
1437
1437
|
if (value === undefined || value === null)
|
|
1438
1438
|
continue;
|
|
1439
1439
|
if (Array.isArray(value)) {
|
|
1440
|
-
|
|
1441
|
-
if (item === undefined || item === null)
|
|
1442
|
-
continue;
|
|
1443
|
-
body.append(key, String(item));
|
|
1444
|
-
}
|
|
1440
|
+
body.append(key, value.filter(item => item !== undefined && item !== null).map(String).join(','));
|
|
1445
1441
|
}
|
|
1446
1442
|
else {
|
|
1447
1443
|
body.append(key, String(value));
|