selfstore 1.8.7 → 1.8.9
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/advanced.d.ts +7 -7
- package/dist/backups.d.ts +4 -4
- package/dist/{flows-vX9zy9bI.d.ts → connect-DaZFPJdt.d.ts} +4 -179
- package/dist/{drive-CTYvGg_7.d.ts → drive-B2fm71qD.d.ts} +2 -2
- package/dist/flows.d.ts +184 -5
- package/dist/households.d.ts +1 -1
- package/dist/index.d.ts +48 -8
- package/dist/index.js +53 -5
- package/dist/index.js.map +1 -1
- package/dist/{local-VLHtF3vT.d.ts → local-CldSa9EY.d.ts} +2 -2
- package/dist/{manager-DZ1c_aSS.d.ts → manager-BqzTVaep.d.ts} +1 -1
- package/dist/{s3-DvsnA-FK.d.ts → s3-DgyTwMRc.d.ts} +1 -1
- package/dist/{store-BiQ-BuVl.d.ts → store-CiLoRJmy.d.ts} +1 -1
- package/dist/widgets.d.ts +64 -6
- package/dist/widgets.js +138 -1
- package/dist/widgets.js.map +1 -1
- package/llms.txt +12 -1
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -40,7 +40,13 @@ 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>, <selfstore-destination
|
|
43
|
+
<selfstore-backups>, <selfstore-destination>, <selfstore-storage>.
|
|
44
|
+
START WITH <selfstore-storage>: assign .store and the whole journey is wired -
|
|
45
|
+
it shows the gate while there is no home and the destination panel once there
|
|
46
|
+
is, taking destinations (store.destinations()), the resume card
|
|
47
|
+
(store.resumeOffer()) and the account (store.account) from the store itself;
|
|
48
|
+
targets / manager / confirmAction / deferrable / recommended pass through to
|
|
49
|
+
the composed widgets. Framework-free
|
|
44
50
|
custom elements over the flows; theme via
|
|
45
51
|
--selfstore-* CSS custom properties and ::part() selectors; reword/localize
|
|
46
52
|
via the `labels` property (partial map over EN defaults); listen to
|
|
@@ -146,6 +152,11 @@ user closed picker/consent; 'manual' = no File System Access, offer
|
|
|
146
152
|
downloadBackup()):
|
|
147
153
|
|
|
148
154
|
await store.connectDrive(gisDriveAuth({ clientId }), { password? });
|
|
155
|
+
// simpler: selfstore('app', { drive: { clientId } }) builds that session for
|
|
156
|
+
// you (one per app, token kept across a reload, account remembered as the
|
|
157
|
+
// hint), restores a connected backup at start-up, and then answers
|
|
158
|
+
// store.account (who holds it) and store.resumeOffer() (the "reopen my
|
|
159
|
+
// backup" card for connectFlow's options.resume) with no call going out.
|
|
149
160
|
await store.connectFile({ password? }); // Chromium FSA
|
|
150
161
|
await store.connectWebdav({ url, username, password }, { password? });
|
|
151
162
|
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.
|
|
3
|
+
"version": "1.8.9",
|
|
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",
|