@andrew_l/mongo-transaction 0.2.16 → 0.2.18
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 +4 -4
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# Mongo Transaction Toolkit
|
|
1
|
+
# Mongo Transaction Toolkit
|
|
2
2
|
|
|
3
|
-

|
|
4
|
-

|
|
5
|
-

|
|
3
|
+

|
|
4
|
+

|
|
5
|
+

|
|
6
6
|
|
|
7
7
|
This package solves a common issue with MongoDB's `session.withTransaction`, where the provided function might be executed multiple times due to retries. This can create challenges for managing side effects that need to be rolled back consistently during transaction retries or failures.
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@andrew_l/mongo-transaction",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.18",
|
|
4
|
+
"description": "Manages side effects in MongoDB transactions, rollback on failure and preventing duplicates on retries.",
|
|
4
5
|
"license": "MIT",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"keywords": [
|
|
@@ -37,8 +38,8 @@
|
|
|
37
38
|
"vitest": "^2.1.3"
|
|
38
39
|
},
|
|
39
40
|
"dependencies": {
|
|
40
|
-
"@andrew_l/context": "0.2.
|
|
41
|
-
"@andrew_l/toolkit": "0.2.
|
|
41
|
+
"@andrew_l/context": "0.2.18",
|
|
42
|
+
"@andrew_l/toolkit": "0.2.18"
|
|
42
43
|
},
|
|
43
44
|
"peerDependencies": {
|
|
44
45
|
"mongodb": "^5 || ^6"
|