@trigger.dev/core 2.3.6 → 2.3.7
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/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1588,7 +1588,9 @@ function urlWithSearchParams(url, params) {
|
|
|
1588
1588
|
}
|
|
1589
1589
|
const urlObj = new URL(url);
|
|
1590
1590
|
for (const [key, value] of Object.entries(params)) {
|
|
1591
|
-
|
|
1591
|
+
if (value !== void 0) {
|
|
1592
|
+
urlObj.searchParams.append(key, String(value));
|
|
1593
|
+
}
|
|
1592
1594
|
}
|
|
1593
1595
|
return urlObj.toString();
|
|
1594
1596
|
}
|