clawfire 0.6.10 → 0.6.12

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/dist/dev.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { a as RouterOptions, C as ClawfireRouter } from './router-Cikk8Heq.cjs';
1
+ import { a as RouterOptions, C as ClawfireRouter } from './router-Cov-HiZ_.cjs';
2
2
  import { EventEmitter } from 'events';
3
- import './schema-BJsictSV.cjs';
3
+ import './schema-Ch0kYL-Z.cjs';
4
4
  import 'zod';
5
5
 
6
6
  interface DevServerOptions {
package/dist/dev.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { a as RouterOptions, C as ClawfireRouter } from './router-BVB_I-tu.js';
1
+ import { a as RouterOptions, C as ClawfireRouter } from './router-BEV6syvt.js';
2
2
  import { EventEmitter } from 'events';
3
- import './schema-BJsictSV.js';
3
+ import './schema-Ch0kYL-Z.js';
4
4
  import 'zod';
5
5
 
6
6
  interface DevServerOptions {
package/dist/dev.js CHANGED
@@ -3487,14 +3487,11 @@ var FirebaseSetup = class {
3487
3487
  if (!existsSync6(pkgPath)) {
3488
3488
  return { success: false, message: "functions/package.json not found." };
3489
3489
  }
3490
- const nodeModulesPath = resolve5(functionsDir, "node_modules");
3491
- if (!existsSync6(nodeModulesPath)) {
3492
- try {
3493
- await this.execTimeout("npm", ["install"], 12e4, functionsDir);
3494
- } catch (err) {
3495
- const msg = err instanceof Error ? err.message : "Unknown error";
3496
- return { success: false, message: `npm install in functions/ failed: ${msg}` };
3497
- }
3490
+ try {
3491
+ await this.execTimeout("npm", ["install"], 12e4, functionsDir);
3492
+ } catch (err) {
3493
+ const msg = err instanceof Error ? err.message : "Unknown error";
3494
+ return { success: false, message: `npm install in functions/ failed: ${msg}` };
3498
3495
  }
3499
3496
  try {
3500
3497
  const pkg = JSON.parse(readFileSync4(pkgPath, "utf-8"));