Commit Graph

15 Commits

Author SHA1 Message Date
tone
e17a9591e1 feat: add tests for RPC protected methods and enhance RPCSession method protection 2025-11-15 18:08:27 +08:00
tone
eb0574221e feat: add RPCConfig interface and integrate it into RPCHandler constructor 2025-11-15 18:07:57 +08:00
tone
ab289186f1 feat: add public method utilities and corresponding tests 2025-11-15 18:07:21 +08:00
tone
36e0c17ad7 refactor: move call handlers to rpcSession 2025-11-15 13:03:09 +08:00
tone
821379f44f feat: pass provider instance to RPCSession constructor in RPCClient and RPCServer 2025-11-15 12:15:50 +08:00
tone
bb85abd77e refactor: remove commented-out example usage in RPCHandler 2025-11-15 12:04:11 +08:00
tone
3b9cc6dffb fix: attach finally cleanup to returned promise to avoid unhandled rejections 2025-10-15 17:12:57 +08:00
tone
387cbc0b25 fix: update ToDeepPromise type to use Awaited for promise resolution 2025-10-15 16:32:09 +08:00
tone
d85f485149 fix: specify return type for getRandomAvailablePort promise 2025-10-15 16:02:15 +08:00
tone
6fbba3f4c6 feat: add getRandomAvailablePort function and update tests 2025-10-15 16:00:59 +08:00
tone
ab288c24aa feat: enhance RPC connection handling with disconnection error and event emitter improvements 2025-10-15 15:29:48 +08:00
tone
8647c72dc2 fix: correct spelling of 'connect' in RPCHandlerEvents and event emission 2025-10-15 12:36:26 +08:00
tone
8bdae09a02 feat: export EventEmitter from utils 2025-10-15 12:36:20 +08:00
tone
c1d925452a feat(event-emitter): optimize implementation 2025-10-15 12:35:52 +08:00
tone
ebb6407221 chore: add full source code 2025-10-14 23:53:27 +08:00