typebulb 0.17.3 → 0.18.0

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/servers.d.ts CHANGED
@@ -65,6 +65,12 @@ export declare function slugifyBulbName(source: string): string
65
65
  /** The source with its leading `---` frontmatter block stripped. */
66
66
  export declare function stripFrontmatter(source: string): string
67
67
 
68
+ /** Return `source` with every bare client import in code.tsx guaranteed a config.json `dependencies`
69
+ * entry (deriving the missing ones as "latest" — the version the import-driven resolver already uses
70
+ * for an undeclared import). Idempotent: a fully-declared / non-bulb / import-less source is returned
71
+ * unchanged. Used by breakout to make a promoted embed a correct, runnable .bulb.md. */
72
+ export declare function ensureDeclaredDependencies(source: string): string
73
+
68
74
  /** Is this bulb remembered as Trusted in the CLI's per-machine trust store? */
69
75
  export declare function isBulbTrusted(file: string): boolean
70
76