selfstore 1.8.3 → 1.8.4

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/llms.txt CHANGED
@@ -40,7 +40,7 @@ collaborative editing (use a CRDT library), or Node-side storage.
40
40
  - 'selfstore/widgets' - the journeys as drop-in web components:
41
41
  defineSelfstoreWidgets() registers <selfstore-connect>, <selfstore-gate>,
42
42
  <selfstore-share>, <selfstore-join>, <selfstore-status>,
43
- <selfstore-backups>. Framework-free
43
+ <selfstore-backups>, <selfstore-destination>. Framework-free
44
44
  custom elements over the flows; theme via
45
45
  --selfstore-* CSS custom properties and ::part() selectors; reword/localize
46
46
  via the `labels` property (partial map over EN defaults); listen to
@@ -52,7 +52,18 @@ collaborative editing (use a CRDT library), or Node-side storage.
52
52
  (opens itself while status.action === 'choose-destination', shuts once the
53
53
  store has a durable home, event 'selfstore-gate-deferred' when the user
54
54
  stays device-only) with armed / deferrable / deferred props, brand|extra|
55
- footer slots, and gate.connect for the child; share renders ONE link per level (a level shows its live
55
+ footer slots, and gate.connect for the child; destination is the gate's
56
+ counterpart once a home exists - it names the destination kind, the account
57
+ holding it (account prop, e.g. driveTarget.account()) and whether it is
58
+ password-protected, composes <selfstore-status> for the state line, and RUNS
59
+ the gestures the engine owns rather than emitting them: export a copy
60
+ (exportBlob + save dialog, false = nothing written, markDownloaded only on a
61
+ real write) and stop saving here (detachTarget, behind confirmAction, local
62
+ data untouched); given `targets` it runs the connect journey in place to
63
+ change destination, and without them that button is absent rather than dead.
64
+ Loading a copy BACK is the one gesture it cannot run - the library holds no
65
+ records, the app's apply does - so it emits
66
+ 'selfstore-destination-action' { action: 'restore' }; share renders ONE link per level (a level shows its live
56
67
  link or a create button, nothing to name) with knobs levels / with-create /
57
68
  with-members / confirmAction (veto over revoke/remove/stop) / qrProvider
58
69
  (url to image, no dependency), and an engine exposing revokeAll() adds a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "selfstore",
3
- "version": "1.8.3",
3
+ "version": "1.8.4",
4
4
  "description": "Local-first storage for browser apps: an IndexedDB working copy, portable encrypted ZIP backups (AES-256-GCM over Argon2id), durable homes (disk, Google Drive, WebDAV) and a serverless multi-device merge.",
5
5
  "type": "module",
6
6
  "license": "MIT",