@prisma-idb/runtime-idb 0.6.1 → 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.
- package/README.md +3 -16
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,23 +1,10 @@
|
|
|
1
1
|
# `@prisma-idb/runtime-idb`
|
|
2
2
|
|
|
3
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
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,8 +28,8 @@
|
|
|
28
28
|
"./package.json": "./package.json"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@prisma-idb/adapter-idb": "0.
|
|
32
|
-
"@prisma-idb/driver-idb": "0.
|
|
31
|
+
"@prisma-idb/adapter-idb": "0.7.0",
|
|
32
|
+
"@prisma-idb/driver-idb": "0.7.0",
|
|
33
33
|
"@prisma/orm-framework": "8.0.0-rc.5"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|