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
PalmDevs
8bd9f4f8b2
fix(lib/storage): allow imports during preinit
2025-07-11 16:58:53 +07:00
PalmDevs
f05885e559
feat(lib/modules/metro): blacklist primitives and empty objects for finders
2025-07-11 15:59:35 +07:00
PalmDevs
c66dace21b
chore: cleanup questionable code
2025-07-11 15:53:12 +07:00
PalmDevs
07c3425693
chore(patches/log-promise-rejections): do not implicitly return
2025-07-11 15:20:48 +07:00
PalmDevs
f4c5ea15a2
fix(plugins/logging): remove __BUILD_ENV__ references
2025-07-11 15:19:57 +07:00
PalmDevs
8babd1837a
feat(lib/plugins): log plugin errors in native as well
2025-07-11 15:19:27 +07:00
PalmDevs
3ef9f17188
fix(lib/discord/modules/settings): dispatch reset on next paint in if renavigating refreshSettingsOverviewScreen
2025-07-11 15:02:42 +07:00
PalmDevs
2b05b34a28
chore: lint and format
2025-07-11 01:15:50 +07:00
PalmDevs
8347e24e54
chore(lib/react)!: remove jsx-runtime
...
This has been made because no developer will likely ever require this API.
The current API assumes you already have an instance of the component, which means you can likely already patch that component instance itself.
The API can be made more powerful by taking any string names, and comparing it to the component's type name, type displayName, name, displayName, etc., but it will introduce performance bottlenecks.
2025-07-11 01:15:20 +07:00
PalmDevs
f824778519
fix(lib/modules/metro): improve performance by preallocating
2025-07-11 01:11:06 +07:00
PalmDevs
14920bc21a
fix(lib/react/jsx-runtime/patches): bug and performance fixes
...
- Compute fiber normally if there are no instead patches
- Store all patch kinds in one single Map
- Attempt cleanup after unpatch
2025-07-11 00:59:02 +07:00
PalmDevs
ab18bf6201
chore: update dependencies
2025-07-11 00:17:18 +07:00
PalmDevs
9e6614a1bd
chore: lint and format
2025-07-10 21:26:27 +07:00
PalmDevs
2a0d91878f
feat(lib/react): add jsx-runtime
2025-07-10 21:25:46 +07:00
PalmDevs
546bbc080a
chore(lib/patcher): add jsdoc
2025-07-10 21:24:04 +07:00
PalmDevs
78e8a96034
fix(lib/react)!: ReactJsxRuntime -> ReactJSXRuntime
...
JSX is JavaScript XML, which should be capitalized
2025-07-10 21:23:39 +07:00
PalmDevs
84c6edcfe2
fix: revert using Object.defineProperty instead of delete
...
Apparently it's somewhat faster to `delete` and set, than to use Object.defineProperty
2025-07-10 12:43:05 +07:00
PalmDevs
c63e6cebc8
fix(plugins/no-track): use hooks instead of modifying directly
2025-07-10 12:40:47 +07:00
PalmDevs
50baeaebbc
chore(scripts/build): remove useless compile flags
2025-07-10 12:39:42 +07:00
PalmDevs
82c593e9bb
chore(scripts/build): replace __BUILD_ENV__ with __DEV__
2025-07-10 12:39:25 +07:00
PalmDevs
705225f05a
fix(plugins/no-track): patch SentryUtils
2025-07-09 23:29:14 +07:00
PalmDevs
dd0ee59f94
feat(plugins/no-track): improve sentry blocking, noop AnalyticsTrackActionCreators
2025-07-09 20:15:46 +07:00
PalmDevs
aacb038d09
fix(lib/utils/objects): use Object.defineProperty instead of delete
2025-07-09 19:09:05 +07:00
PalmDevs
796f1cf392
feat(lib/modules/metro): patch all primitives to improve perf
2025-07-09 19:08:28 +07:00
PalmDevs
9560a8320b
feat(lib/modules/metro)!: more performance wins
2025-07-09 01:28:44 +07:00
PalmDevs
c75329b47d
feat(scripts/build): improve perf by changing compiler flags
2025-07-08 22:14:22 +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