@intuned/runtime-dev 0.1.0-test.42 → 0.1.0-test.43

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.
@@ -63,7 +63,7 @@ async function* runApiGenerator({
63
63
  runOptions,
64
64
  tracing,
65
65
  auth
66
- } = _types.runApiParametersSchema.parse(input);
66
+ } = inputParseResult.data;
67
67
  let page;
68
68
  let context;
69
69
  let downloadsPath;
@@ -254,13 +254,6 @@ async function importUsingImportFunction(path, importFunction) {
254
254
  }
255
255
  return (0, _neverthrow.err)(new _errors.InvalidApiError("API file path does not have a default async function/generator export"));
256
256
  } catch (error) {
257
- if (error.message.includes("Unknown variable dynamic import")) {
258
- return (0, _neverthrow.err)(new _errors.ApiNotFoundError(path));
259
- }
260
- if ((error === null || error === void 0 ? void 0 : error.code) === "ERR_MODULE_NOT_FOUND") {
261
- console.log("API not found", error);
262
- return (0, _neverthrow.err)(new _errors.ApiNotFoundError(path));
263
- }
264
- throw error;
257
+ return (0, _neverthrow.err)(new _errors.ApiNotFoundError(path));
265
258
  }
266
259
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuned/runtime-dev",
3
- "version": "0.1.0-test.42",
3
+ "version": "0.1.0-test.43",
4
4
  "description": "Intuned runtime",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",