@moneypot/hub 1.12.0-dev.2 → 1.12.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/README.md +1 -1
- package/dist/src/audit-log.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -79,7 +79,7 @@ insert into hub.api_key default values returning key;
|
|
|
79
79
|
### 1.12.x
|
|
80
80
|
|
|
81
81
|
- Added `hub.audit_log` table to track balance and bankroll changes.
|
|
82
|
-
- Read more: <https://docs.moneypot.com/
|
|
82
|
+
- Read more: <https://docs.moneypot.com/docs/controller-dev/audit-log>
|
|
83
83
|
- Removed built-in hub faucet and old withdraw system.
|
|
84
84
|
|
|
85
85
|
### 1.11.x
|
package/dist/src/audit-log.js
CHANGED
|
@@ -21,7 +21,7 @@ export async function insertAuditLog(pgClient, type, audit) {
|
|
|
21
21
|
)
|
|
22
22
|
VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12)
|
|
23
23
|
`, buildAuditParams(type, audit));
|
|
24
|
-
logger.
|
|
24
|
+
logger.debug({ ...audit }, "audit log inserted");
|
|
25
25
|
}
|
|
26
26
|
function buildAuditParams(type, audit) {
|
|
27
27
|
const balance = type === "player-balance" || type === "both"
|