houdini 1.0.0-next.16 → 1.0.0-next.18

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.
@@ -73317,7 +73317,7 @@ function artifactGenerator(stats) {
73317
73317
  {}
73318
73318
  );
73319
73319
  if (Object.keys(plugin_data).length > 0) {
73320
- artifact.plugin_data = plugin_data;
73320
+ artifact.pluginData = plugin_data;
73321
73321
  }
73322
73322
  if (inputs && inputs.length > 0) {
73323
73323
  artifact.input = inputObject(config2, inputs);
@@ -76513,8 +76513,8 @@ async function updatePackageJSON(targetPath) {
76513
76513
  }
76514
76514
  packageJSON.devDependencies = {
76515
76515
  ...packageJSON.devDependencies,
76516
- houdini: "^1.0.0-next.16",
76517
- "houdini-svelte": "^1.0.0-next.16"
76516
+ houdini: "^1.0.0-next.18",
76517
+ "houdini-svelte": "^1.0.0-next.18"
76518
76518
  };
76519
76519
  await fs_exports.writeFile(packagePath, JSON.stringify(packageJSON, null, 4));
76520
76520
  }
@@ -73322,7 +73322,7 @@ function artifactGenerator(stats) {
73322
73322
  {}
73323
73323
  );
73324
73324
  if (Object.keys(plugin_data).length > 0) {
73325
- artifact.plugin_data = plugin_data;
73325
+ artifact.pluginData = plugin_data;
73326
73326
  }
73327
73327
  if (inputs && inputs.length > 0) {
73328
73328
  artifact.input = inputObject(config2, inputs);
@@ -76518,8 +76518,8 @@ async function updatePackageJSON(targetPath) {
76518
76518
  }
76519
76519
  packageJSON.devDependencies = {
76520
76520
  ...packageJSON.devDependencies,
76521
- houdini: "^1.0.0-next.16",
76522
- "houdini-svelte": "^1.0.0-next.16"
76521
+ houdini: "^1.0.0-next.18",
76522
+ "houdini-svelte": "^1.0.0-next.18"
76523
76523
  };
76524
76524
  await fs_exports.writeFile(packagePath, JSON.stringify(packageJSON, null, 4));
76525
76525
  }
@@ -57045,7 +57045,7 @@ function artifactGenerator(stats) {
57045
57045
  {}
57046
57046
  );
57047
57047
  if (Object.keys(plugin_data).length > 0) {
57048
- artifact.plugin_data = plugin_data;
57048
+ artifact.pluginData = plugin_data;
57049
57049
  }
57050
57050
  if (inputs && inputs.length > 0) {
57051
57051
  artifact.input = inputObject(config2, inputs);
@@ -57043,7 +57043,7 @@ function artifactGenerator(stats) {
57043
57043
  {}
57044
57044
  );
57045
57045
  if (Object.keys(plugin_data).length > 0) {
57046
- artifact.plugin_data = plugin_data;
57046
+ artifact.pluginData = plugin_data;
57047
57047
  }
57048
57048
  if (inputs && inputs.length > 0) {
57049
57049
  artifact.input = inputObject(config2, inputs);
@@ -80,7 +80,7 @@ export type BaseCompiledDocument = {
80
80
  paginated: boolean;
81
81
  direction: 'forward' | 'backward' | 'both';
82
82
  };
83
- plugin_data?: Record<string, any>;
83
+ pluginData?: Record<string, any>;
84
84
  };
85
85
  export type HoudiniFetchContext = {
86
86
  variables: () => {};
@@ -47,9 +47,7 @@ class DocumentStore extends import_store.Writable {
47
47
  initialValue,
48
48
  fetching
49
49
  }) {
50
- if (fetching === void 0) {
51
- fetching = artifact.kind === import_types.ArtifactKind.Query;
52
- }
50
+ fetching ??= artifact.kind === import_types.ArtifactKind.Query;
53
51
  const initialState = {
54
52
  data: initialValue ?? null,
55
53
  errors: null,
@@ -80,7 +80,7 @@ export type BaseCompiledDocument = {
80
80
  paginated: boolean;
81
81
  direction: 'forward' | 'backward' | 'both';
82
82
  };
83
- plugin_data?: Record<string, any>;
83
+ pluginData?: Record<string, any>;
84
84
  };
85
85
  export type HoudiniFetchContext = {
86
86
  variables: () => {};
@@ -24,9 +24,7 @@ class DocumentStore extends Writable {
24
24
  initialValue,
25
25
  fetching
26
26
  }) {
27
- if (fetching === void 0) {
28
- fetching = artifact.kind === ArtifactKind.Query;
29
- }
27
+ fetching ??= artifact.kind === ArtifactKind.Query;
30
28
  const initialState = {
31
29
  data: initialValue ?? null,
32
30
  errors: null,
@@ -80,7 +80,7 @@ export type BaseCompiledDocument = {
80
80
  paginated: boolean;
81
81
  direction: 'forward' | 'backward' | 'both';
82
82
  };
83
- plugin_data?: Record<string, any>;
83
+ pluginData?: Record<string, any>;
84
84
  };
85
85
  export type HoudiniFetchContext = {
86
86
  variables: () => {};
@@ -57392,7 +57392,7 @@ function artifactGenerator(stats) {
57392
57392
  {}
57393
57393
  );
57394
57394
  if (Object.keys(plugin_data).length > 0) {
57395
- artifact.plugin_data = plugin_data;
57395
+ artifact.pluginData = plugin_data;
57396
57396
  }
57397
57397
  if (inputs && inputs.length > 0) {
57398
57398
  artifact.input = inputObject(config2, inputs);
@@ -57387,7 +57387,7 @@ function artifactGenerator(stats) {
57387
57387
  {}
57388
57388
  );
57389
57389
  if (Object.keys(plugin_data).length > 0) {
57390
- artifact.plugin_data = plugin_data;
57390
+ artifact.pluginData = plugin_data;
57391
57391
  }
57392
57392
  if (inputs && inputs.length > 0) {
57393
57393
  artifact.input = inputObject(config2, inputs);
@@ -70181,7 +70181,7 @@ function artifactGenerator(stats) {
70181
70181
  {}
70182
70182
  );
70183
70183
  if (Object.keys(plugin_data).length > 0) {
70184
- artifact.plugin_data = plugin_data;
70184
+ artifact.pluginData = plugin_data;
70185
70185
  }
70186
70186
  if (inputs && inputs.length > 0) {
70187
70187
  artifact.input = inputObject(config4, inputs);
@@ -70175,7 +70175,7 @@ function artifactGenerator(stats) {
70175
70175
  {}
70176
70176
  );
70177
70177
  if (Object.keys(plugin_data).length > 0) {
70178
- artifact.plugin_data = plugin_data;
70178
+ artifact.pluginData = plugin_data;
70179
70179
  }
70180
70180
  if (inputs && inputs.length > 0) {
70181
70181
  artifact.input = inputObject(config4, inputs);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houdini",
3
- "version": "1.0.0-next.16",
3
+ "version": "1.0.0-next.18",
4
4
  "description": "The disappearing GraphQL clients",
5
5
  "keywords": [
6
6
  "typescript",