@stacksjs/orm 0.75.611 → 0.75.613
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/transaction.d.ts +5 -4
- package/package.json +24 -24
package/dist/transaction.d.ts
CHANGED
|
@@ -5,10 +5,11 @@ import { db } from '@stacksjs/database/runtime';
|
|
|
5
5
|
* The transaction will automatically commit if the callback succeeds,
|
|
6
6
|
* or rollback if an error is thrown.
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
8
|
+
* A model call made from the callback is part of the transaction, however
|
|
9
|
+
* many `await`s later it runs: `User.update()` rolls back with it, and the
|
|
10
|
+
* model and `tx` each see what the other has written but not yet committed
|
|
11
|
+
* (stacksjs/stacks#3269). Work the callback starts and does not wait for, if
|
|
12
|
+
* it runs after the callback has returned, is an ordinary write.
|
|
12
13
|
*
|
|
13
14
|
* It is done when it returns: BEGIN, the callback and COMMIT have happened by
|
|
14
15
|
* the next line, and what the callback returned is the result. A callback that
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@stacksjs/orm",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "0.75.
|
|
5
|
+
"version": "0.75.613",
|
|
6
6
|
"description": "The Stacks ORM integration",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"contributors": [
|
|
@@ -63,32 +63,32 @@
|
|
|
63
63
|
"prepublishOnly": "bun run build"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@stacksjs/cache": "0.75.
|
|
67
|
-
"@stacksjs/cli": "0.75.
|
|
68
|
-
"@stacksjs/config": "0.75.
|
|
69
|
-
"@stacksjs/database": "0.75.
|
|
70
|
-
"@stacksjs/env": "0.75.
|
|
71
|
-
"@stacksjs/error-handling": "0.75.
|
|
72
|
-
"@stacksjs/events": "0.75.
|
|
73
|
-
"@stacksjs/logging": "0.75.
|
|
74
|
-
"@stacksjs/model-meta": "0.75.
|
|
75
|
-
"@stacksjs/pagination": "0.75.
|
|
76
|
-
"@stacksjs/path": "0.75.
|
|
77
|
-
"@stacksjs/query-builder": "0.75.
|
|
78
|
-
"@stacksjs/realtime": "0.75.
|
|
79
|
-
"@stacksjs/router": "0.75.
|
|
80
|
-
"@stacksjs/storage": "0.75.
|
|
81
|
-
"@stacksjs/strings": "0.75.
|
|
66
|
+
"@stacksjs/cache": "0.75.613",
|
|
67
|
+
"@stacksjs/cli": "0.75.613",
|
|
68
|
+
"@stacksjs/config": "0.75.613",
|
|
69
|
+
"@stacksjs/database": "0.75.613",
|
|
70
|
+
"@stacksjs/env": "0.75.613",
|
|
71
|
+
"@stacksjs/error-handling": "0.75.613",
|
|
72
|
+
"@stacksjs/events": "0.75.613",
|
|
73
|
+
"@stacksjs/logging": "0.75.613",
|
|
74
|
+
"@stacksjs/model-meta": "0.75.613",
|
|
75
|
+
"@stacksjs/pagination": "0.75.613",
|
|
76
|
+
"@stacksjs/path": "0.75.613",
|
|
77
|
+
"@stacksjs/query-builder": "0.75.613",
|
|
78
|
+
"@stacksjs/realtime": "0.75.613",
|
|
79
|
+
"@stacksjs/router": "0.75.613",
|
|
80
|
+
"@stacksjs/storage": "0.75.613",
|
|
81
|
+
"@stacksjs/strings": "0.75.613",
|
|
82
82
|
"@stacksjs/ts-validation": "^0.5.7",
|
|
83
|
-
"@stacksjs/validation": "0.75.
|
|
84
|
-
"bun-query-builder": "^0.6.
|
|
83
|
+
"@stacksjs/validation": "0.75.613",
|
|
84
|
+
"bun-query-builder": "^0.6.2",
|
|
85
85
|
"stripe": "23.0.0"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
|
-
"@stacksjs/auth": "0.75.
|
|
89
|
-
"@stacksjs/payments": "0.75.
|
|
90
|
-
"@stacksjs/queue": "0.75.
|
|
91
|
-
"@stacksjs/search-engine": "0.75.
|
|
88
|
+
"@stacksjs/auth": "0.75.613",
|
|
89
|
+
"@stacksjs/payments": "0.75.613",
|
|
90
|
+
"@stacksjs/queue": "0.75.613",
|
|
91
|
+
"@stacksjs/search-engine": "0.75.613"
|
|
92
92
|
},
|
|
93
93
|
"peerDependenciesMeta": {
|
|
94
94
|
"@stacksjs/auth": {
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|
|
105
|
-
"@stacksjs/types": "0.75.
|
|
105
|
+
"@stacksjs/types": "0.75.613",
|
|
106
106
|
"better-dx": "^0.2.39"
|
|
107
107
|
}
|
|
108
108
|
}
|