@moneypot/hub 1.17.0-dev.3 → 1.17.0-dev.4
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/src/db/transaction.js +1 -1
- package/dist/src/hash-chain/plugins/hub-preimage-hash-field.js +1 -1
- package/dist/src/hash-chain/plugins/hub-reveal-hash-chain.js +1 -1
- package/dist/src/plugins/chat/hub-chat-create-system-message.js +1 -1
- package/dist/src/plugins/chat/hub-chat-create-user-message.js +1 -1
- package/dist/src/plugins/chat/hub-chat-mod-management.js +1 -1
- package/dist/src/plugins/chat/hub-chat-mute-user.js +1 -1
- package/dist/src/plugins/chat/hub-chat-subscription.js +1 -1
- package/dist/src/plugins/chat/hub-chat-unmute-user.js +1 -1
- package/dist/src/plugins/hub-add-casino.js +1 -1
- package/dist/src/plugins/hub-authenticate.js +1 -1
- package/dist/src/plugins/hub-balance-alert.js +1 -1
- package/dist/src/plugins/hub-create-playground-session.js +1 -1
- package/dist/src/plugins/hub-current-x.js +1 -1
- package/dist/src/plugins/hub-put-alert.js +1 -1
- package/dist/src/plugins/hub-user-balance-by-currency.js +1 -1
- package/dist/src/plugins/hub-withdraw.js +1 -1
- package/package.json +2 -1
|
@@ -25,7 +25,7 @@ export const IsolationLevel = {
|
|
|
25
25
|
};
|
|
26
26
|
export async function withPgPoolTransaction(pool, callbackOrIsolationLevel, callbackOrRetryCount, retryCountOrMaxRetries = 0, maxRetries = 3) {
|
|
27
27
|
let callback;
|
|
28
|
-
let isolationLevel = IsolationLevel.
|
|
28
|
+
let isolationLevel = IsolationLevel.READ_COMMITTED;
|
|
29
29
|
let retryCount = 0;
|
|
30
30
|
if (typeof callbackOrIsolationLevel === "function") {
|
|
31
31
|
callback = callbackOrIsolationLevel;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moneypot/hub",
|
|
3
|
-
"version": "1.17.0-dev.
|
|
3
|
+
"version": "1.17.0-dev.4",
|
|
4
4
|
"author": "moneypot.com",
|
|
5
5
|
"homepage": "https://moneypot.com/hub",
|
|
6
6
|
"keywords": [
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "tsc && cp -R src/pg-versions dist/src/ && npm run build-dashboard",
|
|
36
36
|
"check": "tsc --noEmit && npm run check-dashboard",
|
|
37
|
+
"check-tests": "tsc -p tests/tsconfig.json --noEmit",
|
|
37
38
|
"check-dashboard": "cd ./dashboard && npm run check",
|
|
38
39
|
"lint": "eslint --fix . && npm run lint-dashboard",
|
|
39
40
|
"lint-dashboard": "cd ./dashboard && npm run lint",
|