PalmDevs
1c2ee844ed
fix(plugins/settings): event emitter leak
2025-07-18 01:16:31 +07:00
PalmDevs
15499cbdab
fix(lib/discord/types): use StyleProp for component style properties
2025-07-18 01:15:39 +07:00
PalmDevs
bcb82e1f4f
chore: format
2025-07-17 16:55:23 +07:00
PalmDevs
79ce47c2bc
feat(lib/modules/metro): use Map for storing module dependencies for quicker access, rename file
2025-07-17 16:55:08 +07:00
PalmDevs
7359567b3e
feat(lib/types): declare react native intrinsic elements
2025-07-16 20:16:57 +07:00
PalmDevs
4edc6c3821
fix(lib/react/jsx-runtime): fix typings issues
2025-07-16 20:05:20 +07:00
PalmDevs
0095a3e153
feat(lib/plugins): allow accessing react API in preInit
2025-07-16 20:02:18 +07:00
PalmDevs
63a1111107
fix(plugins/settings): same tooltip not repositioning in Plugins page
2025-07-16 19:12:24 +07:00
PalmDevs
74ef7ae005
chore(plugins/user-badges): refactor
2025-07-15 22:36:45 +07:00
PalmDevs
4f46b5a635
feat(lib/react/jsx-runtime)!: improve types
2025-07-15 22:05:11 +07:00
PalmDevs
74ac2f355c
feat(plugins): make some setting items copyable
2025-07-15 22:04:32 +07:00
PalmDevs
ab8e2a5772
fix(lib/discord/modules/settings): fix edge case on renavigation in refreshSettingsOverviewScreen
...
If a route was replaced before renavigation, renavigation would fail. This commit fixes that issue.
2025-07-14 23:46:28 +07:00
PalmDevs
8d4581f9c1
fix: register start-only plugins during start stage
...
Previously they were registered on init which may have caused some minor performance issues.
2025-07-14 23:13:52 +07:00
PalmDevs
050b147147
fix(lib/externals/react-native-clipboard): also clean up destructure references
2025-07-14 10:02:52 +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
fbc2d0e796
fix(lib/assets): do wait before proxified lookup
2025-07-14 09:54:30 +07:00
PalmDevs
e48e45226f
fix(utils/proxy): accept nested options in destructure
2025-07-14 09:53:06 +07:00
PalmDevs
74fef6a3e4
chore(lib/assets): correct typo, remove useless log
2025-07-13 20:04:42 +07:00
PalmDevs
db472c9cd1
fix(plugins/user-badges): remove getAsset signal
...
It was useless anyways since we imported at the top of the file.
2025-07-13 19:55:21 +07:00
PalmDevs
a98de1ce9d
chore(lib/assets)!: revert 056e082
2025-07-13 19:52:40 +07:00
PalmDevs
ec062a78df
feat(lib/assets): allow using AssetsRegistry during preinit
2025-07-13 19:29:44 +07:00
PalmDevs
7f88185d55
chore(plugins/no-track): reset color in warn log
2025-07-13 19:23:01 +07:00
PalmDevs
c949517e4a
fix(lib/modules/metro): mark module as initializing instead of optimistically marking as initialized during require
2025-07-13 19:22:15 +07:00
PalmDevs
cc7635005b
fix(lib/assets)!: rename exports
...
`AssetRegistry*` -> `AssetsRegistry*`
2025-07-13 19:20:54 +07:00
PalmDevs
874c074f1e
fix(lib/modules/finders): only run filter again if module is not blacklisted
2025-07-13 19:20:07 +07:00
PalmDevs
996e4f5994
fix(lib/utils/proxy)!: disallow passing type-strings to ProxifyOptions.hint
2025-07-13 19:18:41 +07:00
PalmDevs
c331f1fb84
fix(lib/assets): throw error when accessing uninitialized assets-registry
2025-07-13 18:12:18 +07:00
PalmDevs
96a8d576f4
fix(lib/discord/types): correct AlertModalProps['title'] type
2025-07-13 18:03:12 +07:00
PalmDevs
4522303440
feat(plugins): add user-badges
2025-07-13 18:02:36 +07:00
PalmDevs
8d00748a6a
chore(plugins/no-track): do not implicitly return
2025-07-13 15:59:45 +07:00
PalmDevs
d6be47d9a7
chore(plugins/settings): do not use deprecated types
2025-07-13 15:59:21 +07:00
PalmDevs
392179b8d3
fix(scripts/build): allow importing custom assets before assets-registry is initialized
2025-07-13 15:58:30 +07:00
PalmDevs
056e082fdb
feat(lib/assets): add isAssetsRegistryInitialized and onAssetsRegistryInitialized
2025-07-13 15:56:56 +07:00
PalmDevs
6a38136762
fix(lib)!: breaking changes
...
- Remove `noopFalse` from `@revenge-mod/utils/callback`
- Do not return result from unpatch/undo/unsub functions
- `onSettingsModulesLoaded` from `@revenge-mod/discord/modules/settings` now calls the callback immediately if settings modules are already loaded instead of throwing
2025-07-13 15:53:44 +07:00
PalmDevs
709a944d49
feat(lib/patcher/types): export UnpatchFunction
2025-07-13 15:47:45 +07:00
PalmDevs
37a20160db
fix: do not use emitter to emit error event
...
Discord's EventEmitter handles the `error` event specially for some reason.
2025-07-13 00:26:22 +07:00
PalmDevs
7bfb703e01
fix(lib/react/jsx-runtime): init patch set when undefined
2025-07-13 00:26:21 +07:00
PalmDevs
09114af96f
chore(plugins/logging): log start stage in dev builds
2025-07-13 00:26:11 +07:00
PalmDevs
0c5e636cb5
fix(plugins/no-track): wait for discord analytics modules during start stage
2025-07-13 00:16:41 +07:00
PalmDevs
811bd30756
chore: revert 8347e24
2025-07-12 21:05:27 +07:00
PalmDevs
5e06aa831d
feat: move hardcoded values to build constants, display source repo & license + remove github org in settings
2025-07-12 02:51:07 +07:00
PalmDevs
ce1847eafd
chore: add LICENSE
2025-07-12 01:43:28 +07:00
PalmDevs
0be2468059
fix(scripts/dev): import correct submodule [skip ci]
2025-07-11 17:59:36 +07:00
PalmDevs
0746db3648
chore(lib/plugins): move utils assignments to own lib
2025-07-11 17:55:54 +07:00
PalmDevs
b3d9f0c9ec
fix(lib/plugins): remove bad assignment
2025-07-11 17:49:30 +07:00
PalmDevs
f591fc7de9
feat(lib/plugins): expose utils, components to unscoped API
2025-07-11 17:43:23 +07:00
PalmDevs
4b2a612374
chore(lib/utils): do not pluralize submodules
2025-07-11 17:33:06 +07:00
PalmDevs
a2c97abd3b
feat(lib/utils/objects): export original Object.freeze
2025-07-11 17:16:33 +07:00
PalmDevs
fe97059933
feat(lib/modules): cache blacklisted modules
2025-07-11 17:15:49 +07:00
PalmDevs
83a3eb53fb
feat(lib/plugins): expose storage lib to unscoped API
2025-07-11 17:02:22 +07:00