Commit graph

23 commits

Author SHA1 Message Date
PalmDevs
ab41ec060f
fix(lib/modules/finders/wait): use exports from parameter in cached waits 2025-08-02 17:26:10 +07:00
PalmDevs
578b78dd7e
feat(lib/modules/finders/waits): cached-only waits 2025-07-31 19:15:08 +07:00
PalmDevs
30c919a8a9
fix(lib/modules/finders/wait): waitForModuleByImportedPath exports always being bad 2025-07-21 21:28:34 +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
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
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
075f33f6c6
chore: cleanup 2025-07-05 13:56:52 +07:00
PalmDevs
2cff8ebf07
feat(lib/modules)!: add new options for lookup finders, include prefix from finders options, make utils functions safe again 2025-07-04 21:38:37 +07:00
PalmDevs
b56e6153a5
feat(lib/modules/metro/utils)!: remove confusing functions 2025-07-03 21:07:02 +07:00
PalmDevs
2b905801c3
chore: format 2025-06-03 16:24:58 +07:00
PalmDevs
a43cd5d564
feat!: plugins page, tons of API changes, and bug fixes
Plugins
- Settings: Plugins page is now semi-functional
- No Track: Added new plugin
- Developer Settings: Clean up properly
- Logging: Log in preInit stage
- Staff Settings: Add ReloadRequired flags when late-running

@revenge-mod/init
- Moved to the top-level src/index.ts instead

@revenge-mod/modules
- Switch `exports` and `id` parameters in finders APIs
- Lookups now return an array of exports and ID instead of just exports
  - Lookup ID APIs have been removed
- Add `finders.get` helper, a new alternative for `finders.find`
- Corrected documentation for subscription APIs

@revenge-mod/plugins
- Added new APIs for plugins to allow running during pre-init stages
- Added `unscoped.modules.finders.get*`
- Added `unscoped.react.native`

@revenge-mod/react
- native: Added `onRunApplication` and `onRunApplicationFinished`

@revenge-mod/utils
- callbacks: Add `noopFalse`
- promises: Fix `allSettled`
- promises: Add `sleep`
2025-05-18 22:24:48 +07:00
PalmDevs
bea3439c5e
fix(lib): refactor modules, react, utils 2025-05-09 21:21:06 +07:00
PalmDevs
6407b0518f
fix: optimize typechecking performance 2025-05-07 17:34:19 +07:00
PalmDevs
930f8221c0
chore: format 2025-05-05 21:17:42 +07:00
PalmDevs
20af127254
fix(lib)!: move modules/native/discord and its types to discord/native 2025-04-29 18:41:22 +07:00
PalmDevs
af23c2352e
feat(lib/modules/finders)!: add ability to use finders with blacklisted modules, add isModuleInitialized Metro util, added and changed filters 2025-04-16 14:23:48 +07:00
PalmDevs
f9c048b623
feat(lib/modules): export metro, fix finders result checks, refactor filters to use creator function, add loose dependency checks 2025-04-10 02:06:43 +07:00
PalmDevs
02098c8675
chore(lib/modules/finders): update docs 2025-04-09 04:10:41 +07:00
PalmDevs
e5178632ba
feat(lib/modules/finders)!: refactor, fix find bugs, add more lookup shorthands, add moduleStateAware filter 2025-04-09 03:42:06 +07:00
PalmDevs
ee31884246
fix: revert a few changes that broke building 2025-04-05 23:35:01 +07:00
PalmDevs
f15c3d38db
feat(lib/modules)!: refactor finders and metro APIs 2025-04-05 20:52:09 +07:00
PalmDevs
d92898ccc8
feat(lib): initial implementation of @revenge-mod/modules 2025-03-30 23:32:17 +07:00