UNPKG

comctx

Version:

Use RPC to communicate easily across contexts in any JavaScript environment.

204 lines (87 loc) 7.13 kB
## [1.6.1](https://github.com/molvqingtai/comctx/compare/v1.6.0...v1.6.1) (2026-02-02) ### Bug Fixes * enable JavaScript evaluation for happy-dom v20 ([f880768](https://github.com/molvqingtai/comctx/commit/f88076837c5e784cf93825b755aeb66a5f4190e9)) # [1.6.0](https://github.com/molvqingtai/comctx/compare/v1.5.2...v1.6.0) (2026-01-29) ### Bug Fixes * improve Dependabot auto-merge workflow based on code review ([71fb739](https://github.com/molvqingtai/comctx/commit/71fb739b30d0adb56b73b25d905fa2f6adfd7aea)) ### Features * add Dependabot auto-merge workflow ([435554d](https://github.com/molvqingtai/comctx/commit/435554dee92698413518be44af6417f3950a532d)) ## [1.5.2](https://github.com/molvqingtai/comctx/compare/v1.5.1...v1.5.2) (2026-01-21) ### Performance Improvements * rename isRPCProxy -> isProxy & test files ([d473368](https://github.com/molvqingtai/comctx/commit/d473368523f29e4186fbbcdad1c7ec2735d8bae5)) ## [1.5.1](https://github.com/molvqingtai/comctx/compare/v1.5.0...v1.5.1) (2026-01-21) ### Bug Fixes * deep property access not working ([6b37031](https://github.com/molvqingtai/comctx/commit/6b3703120a370b9955d559be430b7a5d7397f397)) # [1.5.0](https://github.com/molvqingtai/comctx/compare/v1.4.3...v1.5.0) (2026-01-20) ### Bug Fixes * resolve lint infinite loop by renaming core package ([fa76f9a](https://github.com/molvqingtai/comctx/commit/fa76f9a456c07b9abd200b9c074f48cd4f5db869)) ### Features * add isRPCProxy function to detect RPC proxy objects ([f9e0781](https://github.com/molvqingtai/comctx/commit/f9e0781ebfbfabdb160bdb0d68c5332e4af5daa0)) ## [1.4.3](https://github.com/molvqingtai/comctx/compare/v1.4.2...v1.4.3) (2025-09-18) ### Bug Fixes * error not passed to the injector ([46d3363](https://github.com/molvqingtai/comctx/commit/46d33639574f01ae03dc3c5ee6afc30a159aa793)) ## [1.4.2](https://github.com/molvqingtai/comctx/compare/v1.4.1...v1.4.2) (2025-09-02) ### Performance Improvements * optimize file structure & delete default export ([78164f7](https://github.com/molvqingtai/comctx/commit/78164f750baa84202745d2dbdc07ea88ef2da359)) ## [1.4.1](https://github.com/molvqingtai/comctx/compare/v1.4.0...v1.4.1) (2025-08-25) ### Bug Fixes * unexpanded nested proxy does not work close[#47](https://github.com/molvqingtai/comctx/issues/47) ([dd5de25](https://github.com/molvqingtai/comctx/commit/dd5de25c62aa5141bc17a8199ca8bcf133df48df)) # [1.4.0](https://github.com/molvqingtai/comctx/compare/v1.3.0...v1.4.0) (2025-08-24) ### Features * added messageMeta and stricter message protocol ([2da7d8e](https://github.com/molvqingtai/comctx/commit/2da7d8ecf5dd42dacaa64f735b0ce8ed7bdcb7f4)) # [1.3.0](https://github.com/molvqingtai/comctx/compare/v1.2.0...v1.3.0) (2025-07-23) ### Features * support transfer of transferable objects ([a42c31f](https://github.com/molvqingtai/comctx/commit/a42c31f36ee8f66bc62661047730304a4801e073)) # [1.2.0](https://github.com/molvqingtai/comctx/compare/v1.1.5...v1.2.0) (2025-04-15) ### Features * delete env arg & support provide args ([a832596](https://github.com/molvqingtai/comctx/commit/a832596be6dd9ab65b75dfe729a200e7b0d6b702)) ## [1.1.5](https://github.com/molvqingtai/comctx/compare/v1.1.4...v1.1.5) (2025-04-15) ### Performance Improvements * support env arg ([43e16c5](https://github.com/molvqingtai/comctx/commit/43e16c5fdafe9390b01dd886be2f452abc1bd045)) ## [1.1.4](https://github.com/molvqingtai/comctx/compare/v1.1.3...v1.1.4) (2025-04-01) ### Performance Improvements * release all listeners after timeout ([ea79c8d](https://github.com/molvqingtai/comctx/commit/ea79c8dc21e242bfbf584a24ed559774f2a95a92)) ## [1.1.3](https://github.com/molvqingtai/comctx/compare/v1.1.2...v1.1.3) (2025-03-28) ### Performance Improvements * add shared-worker example ([6cd3599](https://github.com/molvqingtai/comctx/commit/6cd359938d4f1dcc457f459b80e96b2422490012)) ## [1.1.2](https://github.com/molvqingtai/comctx/compare/v1.1.1...v1.1.2) (2025-03-26) ### Bug Fixes * timer not released after timeout ([328affc](https://github.com/molvqingtai/comctx/commit/328affc712a580d203f93a71011ba757c46db73e)) ## [1.1.1](https://github.com/molvqingtai/comctx/compare/v1.1.0...v1.1.1) (2025-03-26) ### Performance Improvements * add web-worker example ([adfe758](https://github.com/molvqingtai/comctx/commit/adfe7580aed8e32b3c40410976377f0755f218de)) # [1.1.0](https://github.com/molvqingtai/comctx/compare/v1.0.9...v1.1.0) (2025-03-17) ### Features * support heartbeatTimeout ([5affa38](https://github.com/molvqingtai/comctx/commit/5affa385782ab99dbf38d377311a3da80a294890)) ### Performance Improvements * offMessage is not required ([025376d](https://github.com/molvqingtai/comctx/commit/025376d0972a9e027505f9fa17f47a59f5b0c907)) ## [1.0.9](https://github.com/molvqingtai/comctx/compare/v1.0.8...v1.0.9) (2025-02-18) ### Performance Improvements * update examples & readme ([73db12b](https://github.com/molvqingtai/comctx/commit/73db12b2899d35f64153e0b7893cb94d8195a148)) ## [1.0.8](https://github.com/molvqingtai/comctx/compare/v1.0.7...v1.0.8) (2025-02-15) ### Performance Improvements * freeze backup object ([cf35c35](https://github.com/molvqingtai/comctx/commit/cf35c35a0c0229109c6cba88153648dbba488d23)) ## [1.0.7](https://github.com/molvqingtai/comctx/compare/v1.0.6...v1.0.7) (2025-02-15) ### Bug Fixes * backup:true, causing an error when accessing the getter ([8447fe8](https://github.com/molvqingtai/comctx/commit/8447fe84c63bdfffabb0c894ec91cca65875cb33)) ## [1.0.6](https://github.com/molvqingtai/comctx/compare/v1.0.5...v1.0.6) (2025-02-15) ### Performance Improvements * remove redundant code & update examples ([e7c49cd](https://github.com/molvqingtai/comctx/commit/e7c49cd980c2f5026253a7448e1eadd20e813232)) ## [1.0.5](https://github.com/molvqingtai/comctx/compare/v1.0.4...v1.0.5) (2025-02-15) ### Performance Improvements * verify invalid messages ([9c2e45c](https://github.com/molvqingtai/comctx/commit/9c2e45cb243cd85c0e0d46af45e49e10b877be2a)) ## [1.0.4](https://github.com/molvqingtai/comctx/compare/v1.0.3...v1.0.4) (2025-02-15) ### Bug Fixes * external message may be empty ([d723bc1](https://github.com/molvqingtai/comctx/commit/d723bc1ae2ce16e91b40313e75928231a87064df)) ## [1.0.3](https://github.com/molvqingtai/comctx/compare/v1.0.2...v1.0.3) (2025-02-13) ### Bug Fixes * wait listener might not work ([5733a3e](https://github.com/molvqingtai/comctx/commit/5733a3ee88e8394ccfe5040eaf0b90b99b06e790)) ## [1.0.2](https://github.com/molvqingtai/comctx/compare/v1.0.1...v1.0.2) (2025-02-12) ### Performance Improvements * update docs & change slogan ([f8436c7](https://github.com/molvqingtai/comctx/commit/f8436c73e88bef6baa8d7fd52d5c545770292dd8)) ## [1.0.1](https://github.com/molvqingtai/comctx/compare/v1.0.0...v1.0.1) (2025-02-12) ### Performance Improvements * add comments ([023c98f](https://github.com/molvqingtai/comctx/commit/023c98fc5cc1fa5fa52679d4fa558b9fa601ab49)) # 1.0.0 (2025-02-12) ### Features * complete the core ([eaedf3d](https://github.com/molvqingtai/comctx/commit/eaedf3d9100b34f9ce8b25899cb3991216b37847))