Skip to content

Commit 3cbee55

Browse files
committed
Add escrow monitoring to internal background monitor
- Integrate escrow monitoring into runMonitorCycle() function in src/lib/payments/monitor.ts - Monitor pending escrows for deposits, mark as funded when deposit detected - Process released escrows by calling settlement API internally - Process refunded escrows by calling refund settlement API internally - Use existing checkBalance function for escrow balance checks - Add comprehensive test coverage for escrow monitoring functionality - Bump version to 0.4.13 in both package.json files - Escrow monitoring now runs automatically every 15 seconds alongside payment monitoring - No longer requires external HTTP cron calls for escrow processing Resolves escrow monitoring dependency on external cron jobs.
1 parent 60e0abc commit 3cbee55

File tree

4 files changed

+611
-3
lines changed

4 files changed

+611
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "coinpayportal",
3-
"version": "0.4.12",
3+
"version": "0.4.13",
44
"private": true,
55
"type": "module",
66
"bin": {

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@profullstack/coinpay",
3-
"version": "0.4.12",
3+
"version": "0.4.13",
44
"description": "CoinPay SDK & CLI — Accept cryptocurrency payments (BTC, ETH, SOL, POL, BCH, USDC) with wallet and swap support",
55
"type": "module",
66
"main": "./src/index.js",

0 commit comments

Comments
 (0)