@veltdev/types-dev 6.0.0-beta.31 → 6.0.0-beta.33

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.
@@ -151,16 +151,21 @@ export interface EnableSuggestionModeConfig {
151
151
  */
152
152
  onTargetEditCommit?: TargetEditCommitHandler;
153
153
  /**
154
- * Opt-in: when true AND no `onTargetEditCommit` handler is provided,
155
- * every detected commit auto-commits with the SDK's default
156
- * summary/summaryHtml (equivalent to a handler returning `{}`).
154
+ * When active AND no `onTargetEditCommit` handler is provided, every
155
+ * detected commit auto-commits with the SDK's default summary/summaryHtml
156
+ * (equivalent to a handler returning `{}`).
157
+ *
158
+ * **Default: true** — a bare `enableSuggestionMode()` turns edits into
159
+ * suggestions with zero config. Pass `autoCommit: false` for detect-only
160
+ * mode (events fire, nothing commits until a subscriber calls the event's
161
+ * `commitSuggestion` builder).
157
162
  *
158
163
  * A provided `onTargetEditCommit` handler always wins — including its
159
- * null-return deferral contract — so existing integrations are
164
+ * null-return deferral contract — so handler-based integrations are
160
165
  * unaffected. The `targetEditCommit` event still fires; its pre-bound
161
166
  * `commitSuggestion` builder becomes a no-op for edits already
162
167
  * auto-committed by this flag (same double-commit guard as the handler
163
- * path). Default: false (commits require explicit authorization).
168
+ * path).
164
169
  */
165
170
  autoCommit?: boolean;
166
171
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "6.0.0-beta.31",
3
+ "version": "6.0.0-beta.33",
4
4
  "description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
5
5
  "homepage": "https://velt.dev",
6
6
  "keywords": [