Commit graph

34 commits

Author SHA1 Message Date
PalmDevs
ed9f4dee43
fix(lib/utils/proxy)!: remove proxy patch and isProxy getProxyTarget 2026-08-02 17:03:57 +07:00
PalmDevs
790c30a6d5
fix: debug build flags 2025-09-04 01:29:18 +07:00
PalmDevs
d5941354fa
fix(lib/utils/proxy): update types and documentation for destructure 2025-08-25 19:03:00 +07:00
PalmDevs
0d1fcb5c2d
feat(lib/utils/proxy)!: return non-proxified value if passed to unproxify 2025-08-04 09:36:11 +07:00
PalmDevs
1598a4940c
chore(lib): use asap function to queue tasks 2025-08-03 14:18:16 +07:00
PalmDevs
b81344f1d1
fix(lib/utils/proxy): attempt to use HermesInternal.enqueueJob to delay call with DEBUG_PROXIFIED_VALUES build flag 2025-07-26 12:37:58 +07:00
PalmDevs
3c6aa155ca
feat(lib): switch to typeof for better performance 2025-07-22 19:00:20 +07:00
PalmDevs
c1f56c7e60
feat(lib/utils/proxy): switch to objects for storage 2025-07-18 23:44:16 +07:00
PalmDevs
188e88ae47
fix(lib/utils/proxy): with DBEUG_PROXIFIED_VALUES flag, run factory on next event loop if possible
Prevents an edge case where `proxify` with a cleanup causes subsequent `destructure` calls to error because the assigned value is no longer a proxified value.

See ./lib/externals/src/react-native-clipboard.ts for reference.
2025-07-14 10:02:17 +07:00
PalmDevs
e48e45226f
fix(utils/proxy): accept nested options in destructure 2025-07-14 09:53:06 +07:00
PalmDevs
996e4f5994
fix(lib/utils/proxy)!: disallow passing type-strings to ProxifyOptions.hint 2025-07-13 19:18:41 +07:00
PalmDevs
4b2a612374
chore(lib/utils): do not pluralize submodules 2025-07-11 17:33:06 +07:00
PalmDevs
c66dace21b
chore: cleanup questionable code 2025-07-11 15:53:12 +07:00
PalmDevs
7645bfdf61
chore: new DEBUG_WAITS build flag, improve DBEUG_LOOKUPS build flag logs, other dev env fixes 2025-07-08 11:24:48 +07:00
PalmDevs
e9fedc8db4
feat: small performance wins
- Delay initializing unimportant parts until index module (ID 0) is required
- Lower memory usage by interacting with Metro's internal module list directly
2025-07-07 20:00:20 +07:00
PalmDevs
e714960335
fix(lib): fix type errors 2025-07-01 17:30:53 +07:00
PalmDevs
8851f6867b
fix(scripts/build): turn on DEBUG_MODULE_LOOKUPS build flag if dev build 2025-06-15 17:57:55 +07:00
PalmDevs
6594fc6fa1
chore(lib/utils): remove logger 2025-06-14 21:48:52 +07:00
PalmDevs
e57fd88846
chore: add build flag to debug proxified values 2025-06-12 23:24:55 +07:00
PalmDevs
5ec7e9bf5c
fix(lib/utils/proxy)!: retain function references by default with optional method binding in options 2025-06-10 22:13:08 +07:00
PalmDevs
f453a82dab
feat(lib/utils/proxy): allow passing any hint to proxify 2025-06-08 18:48:43 +07:00
PalmDevs
2b905801c3
chore: format 2025-06-03 16:24:58 +07:00
PalmDevs
47e10b3be0
feat(utils/proxy): add isProxified 2025-05-10 18:13:21 +07:00
PalmDevs
c51e5e6a13
fix(lib): refactor init and utils 2025-05-09 00:04:36 +07:00
PalmDevs
6407b0518f
fix: optimize typechecking performance 2025-05-07 17:34:19 +07:00
PalmDevs
125a803824
fix(lib/utils/proxy)!: do not forcefully proxify primitives 2025-05-05 19:22:56 +07:00
PalmDevs
8da47da0f9
fix(lib): simplify type checks 2025-04-16 16:17:43 +07:00
PalmDevs
e39ad598d9
fix(lib/utils/proxy): cleanup destructure 2025-04-10 00:55:58 +07:00
PalmDevs
9f0656f3a0
feat(lib/utils/proxy): add destructure helper, fix issues with unproxify 2025-04-09 05:26:17 +07:00
PalmDevs
337ed6e05b
feat(lib/utils/proxy): add unproxify function, improve typings, add workarounds 2025-04-09 03:33:17 +07:00
PalmDevs
bb22d64117
feat(lib/utils/proxy): make proxified signals cacheable, remove redundant proxy instances set 2025-04-08 22:49:22 +07:00
PalmDevs
a31002fba1
feat(lib/utils/proxy): add proxify function 2025-04-03 23:26:13 +07:00
PalmDevs
400026daec
feat(lib/utils/proxy): store targets 2025-03-30 23:28:03 +07:00
PalmDevs
8d84ebe491
chore: initial commit 2025-03-21 19:59:16 +07:00