selfstore 1.8.7 → 1.8.8

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
@@ -146,6 +146,11 @@ user closed picker/consent; 'manual' = no File System Access, offer
146
146
  downloadBackup()):
147
147
 
148
148
  await store.connectDrive(gisDriveAuth({ clientId }), { password? });
149
+ // simpler: selfstore('app', { drive: { clientId } }) builds that session for
150
+ // you (one per app, token kept across a reload, account remembered as the
151
+ // hint), restores a connected backup at start-up, and then answers
152
+ // store.account (who holds it) and store.resumeOffer() (the "reopen my
153
+ // backup" card for connectFlow's options.resume) with no call going out.
149
154
  await store.connectFile({ password? }); // Chromium FSA
150
155
  await store.connectWebdav({ url, username, password }, { password? });
151
156
  await store.connectTarget(anyBackupTarget, { password? }); // your own
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "selfstore",
3
- "version": "1.8.7",
3
+ "version": "1.8.8",
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",