@anfenn/dync 1.0.9 → 1.0.11

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/index.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  SqliteQueryContext,
7
7
  SyncAction,
8
8
  createLocalId
9
- } from "./chunk-MOYMEJP5.js";
9
+ } from "./chunk-6B5N26W3.js";
10
10
  import "./chunk-SQB6E7V2.js";
11
11
  export {
12
12
  Dync,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Dync
3
- } from "../chunk-MOYMEJP5.js";
3
+ } from "../chunk-6B5N26W3.js";
4
4
  import "../chunk-SQB6E7V2.js";
5
5
 
6
6
  // src/react/useDync.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anfenn/dync",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "private": false,
5
5
  "description": "Write once, run IndexedDB & SQLite with sync anywhere - React, React Native, Expo, Capacitor, Electron & Node.js",
6
6
  "keywords": [
@@ -214,7 +214,6 @@ export class SQLiteCollection<T = any> implements StorageCollection<T> {
214
214
  }
215
215
 
216
216
  async sortBy(key: string): Promise<T[]> {
217
- // Use native SQL ORDER BY instead of JS sorting
218
217
  const entries = await this.executeQuery({
219
218
  orderByOverride: { index: key, direction: 'asc' },
220
219
  });