@fedify/sqlite 1.10.0 → 1.11.0-dev.92

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright 2024–2025 Hong Minhee
3
+ Copyright 2024–2026 Hong Minhee
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of
6
6
  this software and associated documentation files (the "Software"), to deal in
package/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/sqlite",
3
- "version": "1.10.0",
3
+ "version": "1.11.0-dev.92+001a241e",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./src/mod.ts",
@@ -0,0 +1,2 @@
1
+ import { DatabaseSync } from "node:sqlite";
2
+ export { DatabaseSync };
package/dist/kv.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { PlatformDatabase } from "#sqlite";
1
+ import { DatabaseSync } from "./dist/sqlite.node.cjs";
2
2
  import { KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions } from "@fedify/fedify";
3
3
 
4
4
  //#region src/kv.d.ts
@@ -37,14 +37,14 @@ interface SqliteKvStoreOptions {
37
37
  */
38
38
  declare class SqliteKvStore implements KvStore {
39
39
  #private;
40
- readonly db: PlatformDatabase;
40
+ readonly db: DatabaseSync;
41
41
  readonly options: SqliteKvStoreOptions;
42
42
  /**
43
43
  * Creates a new SQLite key–value store.
44
44
  * @param db The SQLite database to use. Supports `node:sqlite` and `bun:sqlite`.
45
45
  * @param options The options for the key–value store.
46
46
  */
47
- constructor(db: PlatformDatabase, options?: SqliteKvStoreOptions);
47
+ constructor(db: DatabaseSync, options?: SqliteKvStoreOptions);
48
48
  /**
49
49
  * {@inheritDoc KvStore.get}
50
50
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/sqlite",
3
- "version": "1.10.0",
3
+ "version": "1.11.0-dev.92+001a241e",
4
4
  "description": "SQLite drivers for Fedify",
5
5
  "keywords": [
6
6
  "fedify",
@@ -62,7 +62,7 @@
62
62
  "es-toolkit": "^1.31.0"
63
63
  },
64
64
  "peerDependencies": {
65
- "@fedify/fedify": "^1.10.0"
65
+ "@fedify/fedify": "^1.11.0-dev.92+001a241e"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@std/async": "npm:@jsr/std__async@^1.0.13",