Commit Graph

  • d5d171b280 feat: update version to 1.1.0 in package.json main tone 2025-12-02 15:49:46 +08:00
  • 0d5661d602 Merge pull request '加入插件及调用上下文' (#1) from dev into main tone 2025-12-02 15:48:35 +08:00
  • b440c38e73 feat: export getRPCContext from RPCContext dev tone 2025-12-02 15:46:07 +08:00
  • d936af9793 feat: add RPCContext tone 2025-12-02 15:03:33 +08:00
  • 2fa7b851ff feat: export AbstractRPCPlugin and related types from RPCPlugin tone 2025-11-28 14:13:02 +08:00
  • 4eac61144f Merge branch 'feature/rpc-plugin' into dev tone 2025-11-28 14:12:53 +08:00
  • 12afcb7a82 feat: add session management and authentication tests for RPC plugin tone 2025-11-28 14:12:37 +08:00
  • 40d0e79358 feat: add error reason to RPCError in callRequest method tone 2025-11-28 13:35:03 +08:00
  • 9a8733a77d feat: enhance onCallRequest method with request handling and hook execution tone 2025-11-28 11:08:19 +08:00
  • 1b5281e0c1 feat: add session and request handling to CallIncomingBeforeCtx and CallIncomingCtx interfaces tone 2025-11-28 11:08:03 +08:00
  • 3a4a54d37c test: enhance error handling in RPC disconnected test tone 2025-11-27 22:45:48 +08:00
  • ebb9ed21ad feat: enhance callRequest method with options validation and hook execution tone 2025-11-27 22:31:06 +08:00
  • 720a79ca7a feat: comment out abstract onInit and onDestroy methods in AbstractRPCPlugin class tone 2025-11-27 22:30:29 +08:00
  • 500e7c8fa6 feat: update CallOutgoingBeforeCtx and CallOutgoingCtx interfaces to use unknown type for options and result tone 2025-11-27 22:30:21 +08:00
  • 809a3759d9 feat: add unit tests for RPCPlugin hook execution and error handling tone 2025-11-27 21:36:41 +08:00
  • bc1445d3a5 feat: remove unused HookChainInterruptedError class from RPCPlugin tone 2025-11-27 21:31:49 +08:00
  • 24a14a8e1c feat: add RPCPlugin interface and abstract class with hook context definitions tone 2025-11-27 21:25:27 +08:00
  • 99c673a8dc feat: add plugin management methods to RPCHandler tone 2025-11-27 20:43:07 +08:00
  • b0bcd64b41 feat: add createDeferrablePromise utility function tone 2025-11-27 20:35:14 +08:00
  • e17a9591e1 feat: add tests for RPC protected methods and enhance RPCSession method protection tone 2025-11-15 18:08:27 +08:00
  • eb0574221e feat: add RPCConfig interface and integrate it into RPCHandler constructor tone 2025-11-15 18:07:57 +08:00
  • ab289186f1 feat: add public method utilities and corresponding tests tone 2025-11-15 18:07:21 +08:00
  • 36e0c17ad7 refactor: move call handlers to rpcSession tone 2025-11-15 13:03:09 +08:00
  • 821379f44f feat: pass provider instance to RPCSession constructor in RPCClient and RPCServer tone 2025-11-15 12:15:50 +08:00
  • bb85abd77e refactor: remove commented-out example usage in RPCHandler tone 2025-11-15 12:04:11 +08:00
  • b89187e4ac 1.0.2 tone 2025-10-15 17:24:03 +08:00
  • 2666388df7 test: add RPC disconnection handling test case tone 2025-10-15 17:21:04 +08:00
  • 3b9cc6dffb fix: attach finally cleanup to returned promise to avoid unhandled rejections tone 2025-10-15 17:12:57 +08:00
  • 387cbc0b25 fix: update ToDeepPromise type to use Awaited for promise resolution tone 2025-10-15 16:32:09 +08:00
  • d85f485149 fix: specify return type for getRandomAvailablePort promise tone 2025-10-15 16:02:15 +08:00
  • 6fbba3f4c6 feat: add getRandomAvailablePort function and update tests tone 2025-10-15 16:00:59 +08:00
  • ab288c24aa feat: enhance RPC connection handling with disconnection error and event emitter improvements tone 2025-10-15 15:29:48 +08:00
  • 5d8c32e8e8 fix: update package installation commands and import paths to use scoped package name tone 2025-10-15 12:53:55 +08:00
  • 5055a89d11 1.0.1 tone 2025-10-15 12:43:47 +08:00
  • 56956b7afe fix: revert version number to 1.0.0 in package.json tone 2025-10-15 12:43:42 +08:00
  • a8b5f1419d fix: update version number to 1.0.1 in package.json tone 2025-10-15 12:42:42 +08:00
  • 76878b5108 fix: update repository URL format in package.json tone 2025-10-15 12:41:32 +08:00
  • 9a34212aba feat: update package.json and tsconfig files for improved build process and structure tone 2025-10-15 12:37:15 +08:00
  • 4721157142 fix: correct spelling of 'connnect' to 'connect' in RPCHandler event listener tone 2025-10-15 12:37:06 +08:00
  • 8647c72dc2 fix: correct spelling of 'connect' in RPCHandlerEvents and event emission tone 2025-10-15 12:36:26 +08:00
  • 8bdae09a02 feat: export EventEmitter from utils tone 2025-10-15 12:36:20 +08:00
  • 2b3552605c chore: update .gitignore to include coverage and dist directories tone 2025-10-15 12:36:04 +08:00
  • c1d925452a feat(event-emitter): optimize implementation tone 2025-10-15 12:35:52 +08:00
  • ebb6407221 chore: add full source code tone 2025-10-14 23:53:27 +08:00
  • e7b9228d70 init tone 2025-10-14 23:20:16 +08:00