houdini 1.1.4 → 1.1.6

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.
@@ -72388,7 +72388,7 @@ var Config = class {
72388
72388
  this.logLevel = (logLevel || LogLevel.Summary).toLowerCase();
72389
72389
  this.defaultFragmentMasking = defaultFragmentMasking;
72390
72390
  this.routesDir = join2(this.projectRoot, "src", "routes");
72391
- this.schemaPollInterval = watchSchema?.interval ?? 2e3;
72391
+ this.schemaPollInterval = watchSchema?.interval === void 0 ? 2e3 : watchSchema.interval;
72392
72392
  this.schemaPollHeaders = watchSchema?.headers ?? {};
72393
72393
  this.rootDir = join2(this.projectRoot, "$houdini");
72394
72394
  this.#fragmentVariableMaps = {};
@@ -74247,15 +74247,15 @@ function inlineFragmentArgs({
74247
74247
  definitions: localDefinitions
74248
74248
  };
74249
74249
  }
74250
- if (node.name.value !== newFragmentName) {
74251
- return {
74252
- ...node,
74253
- name: {
74254
- kind: "Name",
74255
- value: newFragmentName
74256
- }
74257
- };
74258
- }
74250
+ }
74251
+ if (node.name.value !== newFragmentName) {
74252
+ return {
74253
+ ...node,
74254
+ name: {
74255
+ kind: "Name",
74256
+ value: newFragmentName
74257
+ }
74258
+ };
74259
74259
  }
74260
74260
  },
74261
74261
  Argument(node) {
@@ -79500,8 +79500,6 @@ async function updateSvelteMainJs(targetPath, typescript) {
79500
79500
  import './app.css'
79501
79501
  import App from './App.svelte'
79502
79502
 
79503
- client.init();
79504
-
79505
79503
  const app = new App({
79506
79504
  target: document.getElementById('app')
79507
79505
  })
@@ -79522,8 +79520,8 @@ async function updatePackageJSON(targetPath) {
79522
79520
  }
79523
79521
  packageJSON.devDependencies = {
79524
79522
  ...packageJSON.devDependencies,
79525
- houdini: "^1.1.4",
79526
- "houdini-svelte": "^1.1.4"
79523
+ houdini: "^1.1.6",
79524
+ "houdini-svelte": "^1.1.6"
79527
79525
  };
79528
79526
  await fs_exports.writeFile(packagePath, JSON.stringify(packageJSON, null, 4));
79529
79527
  }
@@ -72393,7 +72393,7 @@ var Config = class {
72393
72393
  this.logLevel = (logLevel || LogLevel.Summary).toLowerCase();
72394
72394
  this.defaultFragmentMasking = defaultFragmentMasking;
72395
72395
  this.routesDir = join2(this.projectRoot, "src", "routes");
72396
- this.schemaPollInterval = watchSchema?.interval ?? 2e3;
72396
+ this.schemaPollInterval = watchSchema?.interval === void 0 ? 2e3 : watchSchema.interval;
72397
72397
  this.schemaPollHeaders = watchSchema?.headers ?? {};
72398
72398
  this.rootDir = join2(this.projectRoot, "$houdini");
72399
72399
  this.#fragmentVariableMaps = {};
@@ -74252,15 +74252,15 @@ function inlineFragmentArgs({
74252
74252
  definitions: localDefinitions
74253
74253
  };
74254
74254
  }
74255
- if (node.name.value !== newFragmentName) {
74256
- return {
74257
- ...node,
74258
- name: {
74259
- kind: "Name",
74260
- value: newFragmentName
74261
- }
74262
- };
74263
- }
74255
+ }
74256
+ if (node.name.value !== newFragmentName) {
74257
+ return {
74258
+ ...node,
74259
+ name: {
74260
+ kind: "Name",
74261
+ value: newFragmentName
74262
+ }
74263
+ };
74264
74264
  }
74265
74265
  },
74266
74266
  Argument(node) {
@@ -79505,8 +79505,6 @@ async function updateSvelteMainJs(targetPath, typescript) {
79505
79505
  import './app.css'
79506
79506
  import App from './App.svelte'
79507
79507
 
79508
- client.init();
79509
-
79510
79508
  const app = new App({
79511
79509
  target: document.getElementById('app')
79512
79510
  })
@@ -79527,8 +79525,8 @@ async function updatePackageJSON(targetPath) {
79527
79525
  }
79528
79526
  packageJSON.devDependencies = {
79529
79527
  ...packageJSON.devDependencies,
79530
- houdini: "^1.1.4",
79531
- "houdini-svelte": "^1.1.4"
79528
+ houdini: "^1.1.6",
79529
+ "houdini-svelte": "^1.1.6"
79532
79530
  };
79533
79531
  await fs_exports.writeFile(packagePath, JSON.stringify(packageJSON, null, 4));
79534
79532
  }
@@ -57895,15 +57895,15 @@ function inlineFragmentArgs({
57895
57895
  definitions: localDefinitions
57896
57896
  };
57897
57897
  }
57898
- if (node.name.value !== newFragmentName) {
57899
- return {
57900
- ...node,
57901
- name: {
57902
- kind: "Name",
57903
- value: newFragmentName
57904
- }
57905
- };
57906
- }
57898
+ }
57899
+ if (node.name.value !== newFragmentName) {
57900
+ return {
57901
+ ...node,
57902
+ name: {
57903
+ kind: "Name",
57904
+ value: newFragmentName
57905
+ }
57906
+ };
57907
57907
  }
57908
57908
  },
57909
57909
  Argument(node) {
@@ -57893,15 +57893,15 @@ function inlineFragmentArgs({
57893
57893
  definitions: localDefinitions
57894
57894
  };
57895
57895
  }
57896
- if (node.name.value !== newFragmentName) {
57897
- return {
57898
- ...node,
57899
- name: {
57900
- kind: "Name",
57901
- value: newFragmentName
57902
- }
57903
- };
57904
- }
57896
+ }
57897
+ if (node.name.value !== newFragmentName) {
57898
+ return {
57899
+ ...node,
57900
+ name: {
57901
+ kind: "Name",
57902
+ value: newFragmentName
57903
+ }
57904
+ };
57905
57905
  }
57906
57906
  },
57907
57907
  Argument(node) {
@@ -66279,7 +66279,7 @@ var ClientPluginContextWrapper = class {
66279
66279
  };
66280
66280
  const firstInit = !ctx.stuff.inputs || !ctx.stuff.inputs.init;
66281
66281
  const hasChanged = Object.keys(changed).length > 0 || firstInit;
66282
- if (artifact.kind !== ArtifactKind.Fragment && hasChanged) {
66282
+ if (hasChanged) {
66283
66283
  const newVariables = {
66284
66284
  ...ctx.stuff.inputs?.marshaled,
66285
66285
  ...marshalInputs({
@@ -66496,7 +66496,7 @@ var Config = class {
66496
66496
  this.logLevel = (logLevel || LogLevel.Summary).toLowerCase();
66497
66497
  this.defaultFragmentMasking = defaultFragmentMasking;
66498
66498
  this.routesDir = join2(this.projectRoot, "src", "routes");
66499
- this.schemaPollInterval = watchSchema?.interval ?? 2e3;
66499
+ this.schemaPollInterval = watchSchema?.interval === void 0 ? 2e3 : watchSchema.interval;
66500
66500
  this.schemaPollHeaders = watchSchema?.headers ?? {};
66501
66501
  this.rootDir = join2(this.projectRoot, "$houdini");
66502
66502
  this.#fragmentVariableMaps = {};
@@ -66224,7 +66224,7 @@ var ClientPluginContextWrapper = class {
66224
66224
  };
66225
66225
  const firstInit = !ctx.stuff.inputs || !ctx.stuff.inputs.init;
66226
66226
  const hasChanged = Object.keys(changed).length > 0 || firstInit;
66227
- if (artifact.kind !== ArtifactKind.Fragment && hasChanged) {
66227
+ if (hasChanged) {
66228
66228
  const newVariables = {
66229
66229
  ...ctx.stuff.inputs?.marshaled,
66230
66230
  ...marshalInputs({
@@ -66440,7 +66440,7 @@ var Config = class {
66440
66440
  this.logLevel = (logLevel || LogLevel.Summary).toLowerCase();
66441
66441
  this.defaultFragmentMasking = defaultFragmentMasking;
66442
66442
  this.routesDir = join2(this.projectRoot, "src", "routes");
66443
- this.schemaPollInterval = watchSchema?.interval ?? 2e3;
66443
+ this.schemaPollInterval = watchSchema?.interval === void 0 ? 2e3 : watchSchema.interval;
66444
66444
  this.schemaPollHeaders = watchSchema?.headers ?? {};
66445
66445
  this.rootDir = join2(this.projectRoot, "$houdini");
66446
66446
  this.#fragmentVariableMaps = {};
@@ -310,7 +310,7 @@ class ClientPluginContextWrapper {
310
310
  };
311
311
  const firstInit = !ctx.stuff.inputs || !ctx.stuff.inputs.init;
312
312
  const hasChanged = Object.keys(changed).length > 0 || firstInit;
313
- if (artifact.kind !== import_types.ArtifactKind.Fragment && hasChanged) {
313
+ if (hasChanged) {
314
314
  const newVariables = {
315
315
  ...ctx.stuff.inputs?.marshaled,
316
316
  ...(0, import_scalars.marshalInputs)({
@@ -287,7 +287,7 @@ class ClientPluginContextWrapper {
287
287
  };
288
288
  const firstInit = !ctx.stuff.inputs || !ctx.stuff.inputs.init;
289
289
  const hasChanged = Object.keys(changed).length > 0 || firstInit;
290
- if (artifact.kind !== ArtifactKind.Fragment && hasChanged) {
290
+ if (hasChanged) {
291
291
  const newVariables = {
292
292
  ...ctx.stuff.inputs?.marshaled,
293
293
  ...marshalInputs({
@@ -56870,7 +56870,7 @@ var Config = class {
56870
56870
  this.logLevel = (logLevel || LogLevel.Summary).toLowerCase();
56871
56871
  this.defaultFragmentMasking = defaultFragmentMasking;
56872
56872
  this.routesDir = join(this.projectRoot, "src", "routes");
56873
- this.schemaPollInterval = watchSchema?.interval ?? 2e3;
56873
+ this.schemaPollInterval = watchSchema?.interval === void 0 ? 2e3 : watchSchema.interval;
56874
56874
  this.schemaPollHeaders = watchSchema?.headers ?? {};
56875
56875
  this.rootDir = join(this.projectRoot, "$houdini");
56876
56876
  this.#fragmentVariableMaps = {};
@@ -58270,15 +58270,15 @@ function inlineFragmentArgs({
58270
58270
  definitions: localDefinitions
58271
58271
  };
58272
58272
  }
58273
- if (node.name.value !== newFragmentName) {
58274
- return {
58275
- ...node,
58276
- name: {
58277
- kind: "Name",
58278
- value: newFragmentName
58279
- }
58280
- };
58281
- }
58273
+ }
58274
+ if (node.name.value !== newFragmentName) {
58275
+ return {
58276
+ ...node,
58277
+ name: {
58278
+ kind: "Name",
58279
+ value: newFragmentName
58280
+ }
58281
+ };
58282
58282
  }
58283
58283
  },
58284
58284
  Argument(node) {
@@ -56865,7 +56865,7 @@ var Config = class {
56865
56865
  this.logLevel = (logLevel || LogLevel.Summary).toLowerCase();
56866
56866
  this.defaultFragmentMasking = defaultFragmentMasking;
56867
56867
  this.routesDir = join(this.projectRoot, "src", "routes");
56868
- this.schemaPollInterval = watchSchema?.interval ?? 2e3;
56868
+ this.schemaPollInterval = watchSchema?.interval === void 0 ? 2e3 : watchSchema.interval;
56869
56869
  this.schemaPollHeaders = watchSchema?.headers ?? {};
56870
56870
  this.rootDir = join(this.projectRoot, "$houdini");
56871
56871
  this.#fragmentVariableMaps = {};
@@ -58265,15 +58265,15 @@ function inlineFragmentArgs({
58265
58265
  definitions: localDefinitions
58266
58266
  };
58267
58267
  }
58268
- if (node.name.value !== newFragmentName) {
58269
- return {
58270
- ...node,
58271
- name: {
58272
- kind: "Name",
58273
- value: newFragmentName
58274
- }
58275
- };
58276
- }
58268
+ }
58269
+ if (node.name.value !== newFragmentName) {
58270
+ return {
58271
+ ...node,
58272
+ name: {
58273
+ kind: "Name",
58274
+ value: newFragmentName
58275
+ }
58276
+ };
58277
58277
  }
58278
58278
  },
58279
58279
  Argument(node) {
@@ -69253,7 +69253,7 @@ var Config = class {
69253
69253
  this.logLevel = (logLevel || LogLevel.Summary).toLowerCase();
69254
69254
  this.defaultFragmentMasking = defaultFragmentMasking;
69255
69255
  this.routesDir = join2(this.projectRoot, "src", "routes");
69256
- this.schemaPollInterval = watchSchema?.interval ?? 2e3;
69256
+ this.schemaPollInterval = watchSchema?.interval === void 0 ? 2e3 : watchSchema.interval;
69257
69257
  this.schemaPollHeaders = watchSchema?.headers ?? {};
69258
69258
  this.rootDir = join2(this.projectRoot, "$houdini");
69259
69259
  this.#fragmentVariableMaps = {};
@@ -71054,15 +71054,15 @@ function inlineFragmentArgs({
71054
71054
  definitions: localDefinitions
71055
71055
  };
71056
71056
  }
71057
- if (node.name.value !== newFragmentName) {
71058
- return {
71059
- ...node,
71060
- name: {
71061
- kind: "Name",
71062
- value: newFragmentName
71063
- }
71064
- };
71065
- }
71057
+ }
71058
+ if (node.name.value !== newFragmentName) {
71059
+ return {
71060
+ ...node,
71061
+ name: {
71062
+ kind: "Name",
71063
+ value: newFragmentName
71064
+ }
71065
+ };
71066
71066
  }
71067
71067
  },
71068
71068
  Argument(node) {
@@ -69247,7 +69247,7 @@ var Config = class {
69247
69247
  this.logLevel = (logLevel || LogLevel.Summary).toLowerCase();
69248
69248
  this.defaultFragmentMasking = defaultFragmentMasking;
69249
69249
  this.routesDir = join2(this.projectRoot, "src", "routes");
69250
- this.schemaPollInterval = watchSchema?.interval ?? 2e3;
69250
+ this.schemaPollInterval = watchSchema?.interval === void 0 ? 2e3 : watchSchema.interval;
69251
69251
  this.schemaPollHeaders = watchSchema?.headers ?? {};
69252
69252
  this.rootDir = join2(this.projectRoot, "$houdini");
69253
69253
  this.#fragmentVariableMaps = {};
@@ -71048,15 +71048,15 @@ function inlineFragmentArgs({
71048
71048
  definitions: localDefinitions
71049
71049
  };
71050
71050
  }
71051
- if (node.name.value !== newFragmentName) {
71052
- return {
71053
- ...node,
71054
- name: {
71055
- kind: "Name",
71056
- value: newFragmentName
71057
- }
71058
- };
71059
- }
71051
+ }
71052
+ if (node.name.value !== newFragmentName) {
71053
+ return {
71054
+ ...node,
71055
+ name: {
71056
+ kind: "Name",
71057
+ value: newFragmentName
71058
+ }
71059
+ };
71060
71060
  }
71061
71061
  },
71062
71062
  Argument(node) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houdini",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "The disappearing GraphQL clients",
5
5
  "keywords": [
6
6
  "typescript",