houdini-svelte 0.0.0-20250326075116 → 0.0.0-20250326081453

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.
@@ -154240,7 +154240,7 @@ export const redirect = svelteKitRedirect
154240
154240
  path_exports.dirname(networkFilePath),
154241
154241
  path_exports.join(config.projectRoot, plugin_config(config).client)
154242
154242
  );
154243
- return content.replace("HOUDINI_CLIENT_PATH", relativePath);
154243
+ return content.replaceAll("HOUDINI_CLIENT_PATH", relativePath);
154244
154244
  }
154245
154245
  },
154246
154246
  artifactData,
@@ -154235,7 +154235,7 @@ export const redirect = svelteKitRedirect
154235
154235
  path_exports.dirname(networkFilePath),
154236
154236
  path_exports.join(config.projectRoot, plugin_config(config).client)
154237
154237
  );
154238
- return content.replace("HOUDINI_CLIENT_PATH", relativePath);
154238
+ return content.replaceAll("HOUDINI_CLIENT_PATH", relativePath);
154239
154239
  }
154240
154240
  },
154241
154241
  artifactData,
@@ -34,6 +34,14 @@ async function initClient() {
34
34
  return client;
35
35
  }
36
36
  client = (await import("HOUDINI_CLIENT_PATH")).default;
37
+ const delay = (ms) => new Promise((res) => setTimeout(res, ms));
38
+ for (let retry = 0; retry < 10; retry++) {
39
+ if (client) {
40
+ break;
41
+ }
42
+ await delay(100);
43
+ client = (await import("HOUDINI_CLIENT_PATH")).default;
44
+ }
37
45
  return client;
38
46
  }
39
47
  function getClient() {
@@ -4,6 +4,14 @@ async function initClient() {
4
4
  return client;
5
5
  }
6
6
  client = (await import("HOUDINI_CLIENT_PATH")).default;
7
+ const delay = (ms) => new Promise((res) => setTimeout(res, ms));
8
+ for (let retry = 0; retry < 10; retry++) {
9
+ if (client) {
10
+ break;
11
+ }
12
+ await delay(100);
13
+ client = (await import("HOUDINI_CLIENT_PATH")).default;
14
+ }
7
15
  return client;
8
16
  }
9
17
  function getClient() {
@@ -284097,7 +284097,7 @@ export const redirect = svelteKitRedirect
284097
284097
  path_exports.dirname(networkFilePath),
284098
284098
  path_exports.join(config.projectRoot, plugin_config(config).client)
284099
284099
  );
284100
- return content.replace("HOUDINI_CLIENT_PATH", relativePath);
284100
+ return content.replaceAll("HOUDINI_CLIENT_PATH", relativePath);
284101
284101
  }
284102
284102
  },
284103
284103
  artifactData,
@@ -284086,7 +284086,7 @@ export const redirect = svelteKitRedirect
284086
284086
  path_exports.dirname(networkFilePath),
284087
284087
  path_exports.join(config.projectRoot, plugin_config(config).client)
284088
284088
  );
284089
- return content.replace("HOUDINI_CLIENT_PATH", relativePath);
284089
+ return content.replaceAll("HOUDINI_CLIENT_PATH", relativePath);
284090
284090
  }
284091
284091
  },
284092
284092
  artifactData,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "houdini-svelte",
3
- "version": "0.0.0-20250326075116",
3
+ "version": "0.0.0-20250326081453",
4
4
  "description": "The svelte plugin for houdini",
5
5
  "keywords": [
6
6
  "typescript",