@atscript/moost-db 0.1.128 → 0.1.129

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/index.cjs CHANGED
@@ -37,6 +37,7 @@ function badRequest(path, message, top = message) {
37
37
  //#region src/validation-interceptor.ts
38
38
  const dbErrorCodeToStatus = {
39
39
  CONFLICT: 409,
40
+ CAS_MISMATCH: 409,
40
41
  TX_WAIT_TIMEOUT: 503
41
42
  };
42
43
  function transformValidationError(error, reply) {
package/dist/index.mjs CHANGED
@@ -36,6 +36,7 @@ function badRequest(path, message, top = message) {
36
36
  //#region src/validation-interceptor.ts
37
37
  const dbErrorCodeToStatus = {
38
38
  CONFLICT: 409,
39
+ CAS_MISMATCH: 409,
39
40
  TX_WAIT_TIMEOUT: 503
40
41
  };
41
42
  function transformValidationError(error, reply) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/moost-db",
3
- "version": "0.1.128",
3
+ "version": "0.1.129",
4
4
  "description": "Generic database controller for Moost with Atscript.",
5
5
  "keywords": [
6
6
  "annotations",
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@uniqu/url": "^0.1.8",
47
- "@atscript/db-memory": "^0.1.128"
47
+ "@atscript/db-memory": "^0.1.129"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@atscript/core": "^0.1.92",
@@ -64,7 +64,7 @@
64
64
  "@wooksjs/event-core": "^0.7.23",
65
65
  "@wooksjs/http-body": "^0.7.23",
66
66
  "moost": "^0.6.37",
67
- "@atscript/db": "^0.1.128"
67
+ "@atscript/db": "^0.1.129"
68
68
  },
69
69
  "scripts": {
70
70
  "postinstall": "asc -f dts",