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.
- package/build/cmd-cjs/index.js +12 -14
- package/build/cmd-esm/index.js +12 -14
- package/build/codegen-cjs/index.js +9 -9
- package/build/codegen-esm/index.js +9 -9
- package/build/lib-cjs/index.js +2 -2
- package/build/lib-esm/index.js +2 -2
- package/build/runtime-cjs/client/documentStore.js +1 -1
- package/build/runtime-esm/client/documentStore.js +1 -1
- package/build/test-cjs/index.js +10 -10
- package/build/test-esm/index.js +10 -10
- package/build/vite-cjs/index.js +10 -10
- package/build/vite-esm/index.js +10 -10
- package/package.json +1 -1
package/build/cmd-cjs/index.js
CHANGED
|
@@ -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
|
|
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
|
-
|
|
74251
|
-
|
|
74252
|
-
|
|
74253
|
-
|
|
74254
|
-
|
|
74255
|
-
|
|
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.
|
|
79526
|
-
"houdini-svelte": "^1.1.
|
|
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
|
}
|
package/build/cmd-esm/index.js
CHANGED
|
@@ -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
|
|
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
|
-
|
|
74256
|
-
|
|
74257
|
-
|
|
74258
|
-
|
|
74259
|
-
|
|
74260
|
-
|
|
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.
|
|
79531
|
-
"houdini-svelte": "^1.1.
|
|
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
|
-
|
|
57899
|
-
|
|
57900
|
-
|
|
57901
|
-
|
|
57902
|
-
|
|
57903
|
-
|
|
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
|
-
|
|
57897
|
-
|
|
57898
|
-
|
|
57899
|
-
|
|
57900
|
-
|
|
57901
|
-
|
|
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) {
|
package/build/lib-cjs/index.js
CHANGED
|
@@ -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 (
|
|
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
|
|
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 = {};
|
package/build/lib-esm/index.js
CHANGED
|
@@ -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 (
|
|
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
|
|
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 (
|
|
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 (
|
|
290
|
+
if (hasChanged) {
|
|
291
291
|
const newVariables = {
|
|
292
292
|
...ctx.stuff.inputs?.marshaled,
|
|
293
293
|
...marshalInputs({
|
package/build/test-cjs/index.js
CHANGED
|
@@ -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
|
|
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
|
-
|
|
58274
|
-
|
|
58275
|
-
|
|
58276
|
-
|
|
58277
|
-
|
|
58278
|
-
|
|
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) {
|
package/build/test-esm/index.js
CHANGED
|
@@ -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
|
|
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
|
-
|
|
58269
|
-
|
|
58270
|
-
|
|
58271
|
-
|
|
58272
|
-
|
|
58273
|
-
|
|
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) {
|
package/build/vite-cjs/index.js
CHANGED
|
@@ -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
|
|
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
|
-
|
|
71058
|
-
|
|
71059
|
-
|
|
71060
|
-
|
|
71061
|
-
|
|
71062
|
-
|
|
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) {
|
package/build/vite-esm/index.js
CHANGED
|
@@ -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
|
|
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
|
-
|
|
71052
|
-
|
|
71053
|
-
|
|
71054
|
-
|
|
71055
|
-
|
|
71056
|
-
|
|
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) {
|