@teamkeel/testing-runtime 0.459.0 → 0.460.1

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": "@teamkeel/testing-runtime",
3
- "version": "0.459.0",
3
+ "version": "0.460.1",
4
4
  "description": "Internal package used by the generated @teamkeel/testing package",
5
5
  "exports": "./src/index.mjs",
6
6
  "typings": "src/index.d.ts",
@@ -141,13 +141,13 @@ export class FlowExecutor {
141
141
  }
142
142
 
143
143
  async callback(id, stepId, element, callbackName, values) {
144
- const query = new URLSearchParams({
144
+ const params = new URLSearchParams({
145
145
  element,
146
146
  callback: callbackName,
147
- }).toString();
147
+ });
148
148
  const url = `${this._flowUrl}/${encodeURIComponent(
149
149
  id
150
- )}/${encodeURIComponent(stepId)}/callback?${query}`;
150
+ )}/${encodeURIComponent(stepId)}/callback?${params.toString()}`;
151
151
 
152
152
  return await fetch(url, {
153
153
  method: "POST",