@stateledger/memory 0.0.1-experimental.0 → 0.1.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 +5 -9
- package/package.json +7 -3
package/README.md
CHANGED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
# @stateledger/memory
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
> Use it for tests, hello-world demos, and prototyping — **not production**.
|
|
5
|
-
> State is lost on process exit.
|
|
3
|
+
[](https://www.npmjs.com/package/@stateledger/memory)
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
---
|
|
5
|
+
In-memory adapter for [stateledger](https://github.com/enowdivine/stateledger).
|
|
6
|
+
Use it for tests, hello-world demos, and prototyping — **not production**.
|
|
7
|
+
State is lost on process exit.
|
|
12
8
|
|
|
13
9
|
## Install
|
|
14
10
|
|
|
@@ -59,7 +55,7 @@ console.log(await machine.history());
|
|
|
59
55
|
- Anything where you'd be sad if a server restart wiped the state.
|
|
60
56
|
|
|
61
57
|
For production, use [`@stateledger/prisma`](https://www.npmjs.com/package/@stateledger/prisma)
|
|
62
|
-
(
|
|
58
|
+
(Postgres-backed) or another persistent adapter.
|
|
63
59
|
|
|
64
60
|
## License
|
|
65
61
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stateledger/memory",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "In-memory adapter for stateledger — for tests, hello-world demos, and prototyping.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"author":
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "Enow Divine",
|
|
8
|
+
"email": "sirdivine16@gmail.com",
|
|
9
|
+
"url": "https://github.com/enowdivine"
|
|
10
|
+
},
|
|
7
11
|
"repository": {
|
|
8
12
|
"type": "git",
|
|
9
13
|
"url": "https://github.com/enowdivine/stateledger.git",
|
|
@@ -42,7 +46,7 @@
|
|
|
42
46
|
"access": "public"
|
|
43
47
|
},
|
|
44
48
|
"dependencies": {
|
|
45
|
-
"@stateledger/core": "0.
|
|
49
|
+
"@stateledger/core": "0.1.0"
|
|
46
50
|
},
|
|
47
51
|
"scripts": {
|
|
48
52
|
"build": "tsup",
|