Repository navigation
feat(core): Report library functions in integration options without a fingerprint - #26898
Conversation
… fingerprint Router hooks passed to integrations change with the library build and the engine, not with the config, so their fingerprints split the SDK config hash. Integrations now name those options through a second `defineIntegration` argument.
size-limit report 📦Compared: 9960e7a (PR test merge using develop at 57ff420) Against: 0ac5dd1 (develop) · base run #67994
|
Optional E2E testsAll optional checks were successful. 77 successful. See the run. Successful checks
|
…imitives in integration options
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f22de77. Configure here.
nicohrubec
left a comment
There was a problem hiding this comment.
nice, makes sense to me to exclude these

Router hooks like
useEffectpassed to integrations split the SDK config hash whenever the library build or the engine changed, fixed by letting integrations name those options indefineIntegrationso they're reported as[Function].Such changes should be picked up if we decide to report the framework version, so for the meanwhile this is not useful for us for any of our use-cases and is mostly noise.
It works like so:
The reason for that API is instead of a global list everyone pays for in bytes, each SDK pays for it's own list which is much smaller.
I added a test that two different
useLocationfunctions report the same payload while a user callback keeps its fingerprint.