@tanstack/react-router 1.81.13 → 1.81.14

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.
@@ -1365,9 +1365,9 @@ class Router {
1365
1365
  };
1366
1366
  this.injectedHtml.push(cb);
1367
1367
  };
1368
- this.injectScript = (script) => {
1368
+ this.injectScript = (script, opts) => {
1369
1369
  this.injectHtml(
1370
- `<script class='tsr-once'>${script}${process.env.NODE_ENV === "development" ? `; console.info(\`Injected From Server:
1370
+ `<script class='tsr-once'>${script}${process.env.NODE_ENV === "development" && ((opts == null ? void 0 : opts.logScript) ?? true) ? `; console.info(\`Injected From Server:
1371
1371
  ${script}\`)` : ""}; __TSR__.cleanScripts()<\/script>`
1372
1372
  );
1373
1373
  };