@converse/skeletor 3.1.4 → 3.1.5

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/CHANGES.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.1.5 (2026-07-22)
4
+
5
+ - Fix every write through the Node.js SQLite driver failing with `Record Not Found` while
6
+ the data was in fact stored.
7
+ - Switch TypeScript `moduleResolution` to `bundler` and add `types` conditions to the `exports` map.
8
+
3
9
  ## 3.1.4 (2026-06-23)
4
10
 
5
11
  - Fix the `autoSync` hydration promise clobbering a consumer's own `initialized` promise.
package/README.md CHANGED
@@ -1,7 +1,13 @@
1
- # Skeletor
1
+ <p align="center">
2
+ <img src="images/skeletor-logo.svg" alt="Skeletor" width="120" height="120">
3
+ </p>
2
4
 
3
- [![XMPP Chat](https://conference.conversejs.org/muc_badge/discuss@conference.conversejs.org)](https://inverse.chat/#converse/room?jid=discuss@conference.conversejs.org)
4
- [![CI Tests](https://github.com/conversejs/skeletor/actions/workflows/karma-tests.yml/badge.svg)](https://github.com/conversejs/skeletor/actions/workflows/karma-tests.yml)
5
+ <h1 align="center">Skeletor</h1>
6
+
7
+ <p align="center">
8
+ <a href="https://chat.conversejs.org/#converse/room?jid=discuss@conference.conversejs.org"><img alt="XMPP Chat" src="https://conference.conversejs.org/muc_badge/discuss@conference.conversejs.org"></a>
9
+ <a href="https://github.com/conversejs/skeletor/actions/workflows/karma-tests.yml"><img alt="CI Tests" src="https://github.com/conversejs/skeletor/actions/workflows/karma-tests.yml/badge.svg"></a>
10
+ </p>
5
11
 
6
12
  Skeletor is a lightweight, TypeScript-first reactive data library.
7
13
 
@@ -860,10 +860,16 @@ export declare interface StorageDriver {
860
860
  length(): Promise<number>;
861
861
  key(keyIndex: number): Promise<string | null>;
862
862
  keys(): Promise<string[]>;
863
- setItems?(items: Record<string, any>): Promise<void>;
863
+ /**
864
+ * Write several items in one go. A successful write is signalled by the
865
+ * promise settling, not by what it resolves with: drivers may resolve with
866
+ * the written items (localForage does) or with nothing, and callers must
867
+ * treat both as success.
868
+ */
869
+ setItems?(items: Record<string, any>): Promise<Record<string, any> | void>;
864
870
  getItems?(keys: string[]): Promise<Record<string, any>>;
865
871
  debouncedSetItems?: {
866
- (items: Record<string, any>): Promise<void>;
872
+ (items: Record<string, any>): Promise<Record<string, any> | void>;
867
873
  flush?: () => void;
868
874
  };
869
875
  }