@prisma-idb/runtime-idb 0.0.0 → 0.7.0

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.
Files changed (2) hide show
  1. package/README.md +3 -16
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,23 +1,10 @@
1
1
  # `@prisma-idb/runtime-idb`
2
2
 
3
- > Part of the [`@prisma-idb`](https://prisma-idb.dev/) driver stack — IndexedDB for [Prisma 8](https://www.prisma.io/blog/prisma-next-call-for-extension-authors).
3
+ The IndexedDB runtime for Prisma 8. It connects the adapter and driver, runs middleware, and checks that the database matches the contract.
4
4
 
5
- **runtime-idb** is the `RuntimeCore` subclass that wires together the adapter and driver into a complete Prisma 8 runtime.
5
+ You don't install it yourself; `@prisma-idb/client-idb` depends on it. Import `createIdbRuntime` from `@prisma-idb/runtime-idb/runtime` only if you're building your own client.
6
6
 
7
- ## Stack position
8
-
9
- ```
10
- family-idb (CLI / config)
11
- client-idb (ORM query builder)
12
- runtime-idb ← you are here (RuntimeCore)
13
- adapter-idb (query AST → IDB plan)
14
- driver-idb (window.indexedDB wrapper)
15
- target-idb (identity + migrations)
16
- ```
17
-
18
- ## Usage
19
-
20
- Consumed internally by the rest of the `@prisma-idb` family. You generally do not install this package directly — use [`@prisma-idb/family-idb`](https://www.npmjs.com/package/@prisma-idb/family-idb) as your entry point.
7
+ Part of [Prisma 8 IDB](https://prisma-idb.dev/docs/prisma-8), a typed IndexedDB client for Prisma 8. Start with the [Quick Start](https://prisma-idb.dev/docs/prisma-8/getting-started). For how the packages fit together, see [ARCHITECTURE.md](https://github.com/prisma-idb/prisma-idb/blob/main/packages/prisma-orm/docs/ARCHITECTURE.md).
21
8
 
22
9
  ## License
23
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma-idb/runtime-idb",
3
- "version": "0.0.0",
3
+ "version": "0.7.0",
4
4
  "description": "Prisma 8 IDB family — runtime (RuntimeCore subclass that wires adapter + driver)",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -28,15 +28,15 @@
28
28
  "./package.json": "./package.json"
29
29
  },
30
30
  "dependencies": {
31
- "@prisma/orm-framework": "8.0.0-rc.5",
32
- "@prisma-idb/adapter-idb": "0.0.0",
33
- "@prisma-idb/driver-idb": "0.0.0"
31
+ "@prisma-idb/adapter-idb": "0.7.0",
32
+ "@prisma-idb/driver-idb": "0.7.0",
33
+ "@prisma/orm-framework": "8.0.0-rc.5"
34
34
  },
35
35
  "devDependencies": {
36
36
  "fake-indexeddb": "^6.2.5",
37
37
  "tsdown": "^0.22.14",
38
38
  "typescript": "^6.0.3",
39
- "vitest": "^4.1.10"
39
+ "vitest": "^4.1.11"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"