houdini 0.19.2 → 0.19.4

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.
@@ -77733,8 +77733,8 @@ async function updatePackageJSON(targetPath) {
77733
77733
  }
77734
77734
  packageJSON.devDependencies = {
77735
77735
  ...packageJSON.devDependencies,
77736
- houdini: "^0.19.2",
77737
- "houdini-svelte": "^0.19.2",
77736
+ houdini: "^0.19.4",
77737
+ "houdini-svelte": "^0.19.4",
77738
77738
  graphql: "^15.8.0"
77739
77739
  };
77740
77740
  await fs_exports.writeFile(packagePath, JSON.stringify(packageJSON, null, 4));
@@ -77738,8 +77738,8 @@ async function updatePackageJSON(targetPath) {
77738
77738
  }
77739
77739
  packageJSON.devDependencies = {
77740
77740
  ...packageJSON.devDependencies,
77741
- houdini: "^0.19.2",
77742
- "houdini-svelte": "^0.19.2",
77741
+ houdini: "^0.19.4",
77742
+ "houdini-svelte": "^0.19.4",
77743
77743
  graphql: "^15.8.0"
77744
77744
  };
77745
77745
  await fs_exports.writeFile(packagePath, JSON.stringify(packageJSON, null, 4));
@@ -74280,8 +74280,15 @@ function find_exported_fn(body, name2) {
74280
74280
  continue;
74281
74281
  }
74282
74282
  const declaration = value.declarations[0];
74283
- if (declaration.init?.type === "FunctionExpression" || declaration.init?.type === "ArrowFunctionExpression") {
74284
- return declaration.init;
74283
+ let { init } = declaration;
74284
+ if (!init) {
74285
+ continue;
74286
+ }
74287
+ if (init.type === "TSSatisfiesExpression") {
74288
+ init = init.expression;
74289
+ }
74290
+ if (init.type === "FunctionExpression" || init.type === "ArrowFunctionExpression") {
74291
+ return init;
74285
74292
  }
74286
74293
  } else {
74287
74294
  continue;
@@ -74274,8 +74274,15 @@ function find_exported_fn(body, name2) {
74274
74274
  continue;
74275
74275
  }
74276
74276
  const declaration = value.declarations[0];
74277
- if (declaration.init?.type === "FunctionExpression" || declaration.init?.type === "ArrowFunctionExpression") {
74278
- return declaration.init;
74277
+ let { init } = declaration;
74278
+ if (!init) {
74279
+ continue;
74280
+ }
74281
+ if (init.type === "TSSatisfiesExpression") {
74282
+ init = init.expression;
74283
+ }
74284
+ if (init.type === "FunctionExpression" || init.type === "ArrowFunctionExpression") {
74285
+ return init;
74279
74286
  }
74280
74287
  } else {
74281
74288
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houdini",
3
- "version": "0.19.2",
3
+ "version": "0.19.4",
4
4
  "description": "The disappearing GraphQL clients",
5
5
  "keywords": [
6
6
  "typescript",