dragble-vue-editor 1.0.5 → 1.0.6

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.
Files changed (2) hide show
  1. package/README.md +3 -22
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -315,7 +315,7 @@ The `id` you pass to `connectMCP()` is a **Bring Your Own ID (BYOI)** that maps
315
315
 
316
316
  **Why these rules?**
317
317
 
318
- - The `id` is used in database lookups, URL paths, and storage keys — special characters or extreme lengths would break routing
318
+ - The `id` is used in database lookups and URL paths — special characters or extreme lengths would break routing
319
319
  - Same `id` = resume the same session. Random UUIDs mean every page refresh creates a new session and loses AI context
320
320
  - Short IDs (< 8 chars) are too easy to guess, long IDs (> 128 chars) waste storage
321
321
 
@@ -331,28 +331,9 @@ editor.connectMCP({ id: "tenant_42_invoice_template_v3" }); // tenant + entity
331
331
  editor.connectMCP({ id: crypto.randomUUID() });
332
332
  ```
333
333
 
334
- ### Storage modes (compliance)
335
-
336
- Choose how much of the session lives on Dragble's servers:
337
-
338
- | Mode | Persistence | Use case |
339
- | ---------------- | ------------------------- | ------------------------------------------------------- |
340
- | `full` (default) | Metadata + design content | Standard SaaS; survives refresh, restart, device switch |
341
- | `metadata-only` | Metadata only | Audit logs without storing customer content |
342
- | `memory-only` | None — RAM only | HIPAA / SOC2 / strict data residency |
343
-
344
- ```ts
345
- editor.connectMCP({
346
- id: "user-42-doc-99",
347
- storage: "full", // default — best UX, refresh + cross-device resume
348
- // "metadata-only" // audit metadata only, no design content persisted
349
- // "memory-only" // nothing persisted (HIPAA / SOC2 / data residency)
350
- });
351
- ```
352
-
353
334
  ### Disconnecting
354
335
 
355
- `disconnectMCP()` permanently destroys the session — the database record is deleted and the session cannot be reopened:
336
+ `disconnectMCP()` permanently destroys the session — the session cannot be reopened:
356
337
 
357
338
  ```ts
358
339
  const { destroyed } = await editor.disconnectMCP();
@@ -371,7 +352,7 @@ Idle sessions are reaped after 2 hours of inactivity. Active sessions never expi
371
352
 
372
353
  | Method | Returns |
373
354
  | -------------------------------------------------- | ----------------------------------------------------------------------- |
374
- | `editor.connectMCP({ id, storage?, editorMode? })` | `{ sessionId, storageMode?, resumed? }` |
355
+ | `editor.connectMCP({ id, editorMode? })` | `{ sessionId, resumed? }` |
375
356
  | `editor.disconnectMCP()` | `{ destroyed }` — permanently deletes session |
376
357
  | `editor.getPairingCode()` | `{ code, expiresAt }` — generate a pairing code for end-user AI clients |
377
358
  | `editor.endPairing()` | `{ revoked }` — invalidate the active pairing code |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dragble-vue-editor",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "AI-powered Vue 3 email editor component. Drag-and-drop email builder for creating responsive email templates and newsletters. Build HTML emails visually with Dragble.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",