4eac61144f
Merge branch 'feature/rpc-plugin' into dev
...
* feature/rpc-plugin:
feat: add session management and authentication tests for RPC plugin
feat: add error reason to RPCError in callRequest method
feat: enhance onCallRequest method with request handling and hook execution
feat: add session and request handling to CallIncomingBeforeCtx and CallIncomingCtx interfaces
feat: enhance callRequest method with options validation and hook execution
feat: comment out abstract onInit and onDestroy methods in AbstractRPCPlugin class
feat: update CallOutgoingBeforeCtx and CallOutgoingCtx interfaces to use unknown type for options and result
feat: add unit tests for RPCPlugin hook execution and error handling
feat: remove unused HookChainInterruptedError class from RPCPlugin
feat: add RPCPlugin interface and abstract class with hook context definitions
feat: add plugin management methods to RPCHandler
feat: add createDeferrablePromise utility function
2025-11-28 14:12:53 +08:00
12afcb7a82
feat: add session management and authentication tests for RPC plugin
2025-11-28 14:12:37 +08:00
40d0e79358
feat: add error reason to RPCError in callRequest method
2025-11-28 13:35:03 +08:00
9a8733a77d
feat: enhance onCallRequest method with request handling and hook execution
2025-11-28 11:08:19 +08:00
1b5281e0c1
feat: add session and request handling to CallIncomingBeforeCtx and CallIncomingCtx interfaces
2025-11-28 11:08:03 +08:00
3a4a54d37c
test: enhance error handling in RPC disconnected test
2025-11-27 22:45:48 +08:00
ebb9ed21ad
feat: enhance callRequest method with options validation and hook execution
2025-11-27 22:31:06 +08:00
720a79ca7a
feat: comment out abstract onInit and onDestroy methods in AbstractRPCPlugin class
2025-11-27 22:30:29 +08:00
500e7c8fa6
feat: update CallOutgoingBeforeCtx and CallOutgoingCtx interfaces to use unknown type for options and result
2025-11-27 22:30:21 +08:00
809a3759d9
feat: add unit tests for RPCPlugin hook execution and error handling
2025-11-27 21:36:41 +08:00
bc1445d3a5
feat: remove unused HookChainInterruptedError class from RPCPlugin
2025-11-27 21:31:49 +08:00
24a14a8e1c
feat: add RPCPlugin interface and abstract class with hook context definitions
2025-11-27 21:25:27 +08:00
99c673a8dc
feat: add plugin management methods to RPCHandler
2025-11-27 20:43:07 +08:00
b0bcd64b41
feat: add createDeferrablePromise utility function
2025-11-27 20:35:14 +08:00
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
b89187e4ac
1.0.2
2025-10-15 17:24:03 +08:00
tone
2666388df7
test: add RPC disconnection handling test case
2025-10-15 17:21:04 +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
5d8c32e8e8
fix: update package installation commands and import paths to use scoped package name
2025-10-15 12:53:55 +08:00
tone
5055a89d11
1.0.1
2025-10-15 12:43:47 +08:00
tone
56956b7afe
fix: revert version number to 1.0.0 in package.json
2025-10-15 12:43:42 +08:00
tone
a8b5f1419d
fix: update version number to 1.0.1 in package.json
2025-10-15 12:42:42 +08:00
tone
76878b5108
fix: update repository URL format in package.json
2025-10-15 12:41:32 +08:00
tone
9a34212aba
feat: update package.json and tsconfig files for improved build process and structure
2025-10-15 12:37:15 +08:00
tone
4721157142
fix: correct spelling of 'connnect' to 'connect' in RPCHandler event listener
2025-10-15 12:37:06 +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
2b3552605c
chore: update .gitignore to include coverage and dist directories
2025-10-15 12:36:04 +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
tone
e7b9228d70
init
2025-10-14 23:20:16 +08:00